CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
DTROSErrorNotifier Class Reference

#include <DTROSErrorNotifier.h>

Public Member Functions

 DTROSErrorNotifier (DTROSErrorWord error)
 Constructor. More...
 
void print ()
 Print out the error information >>> FIXME: to be implemented. More...
 
virtual ~DTROSErrorNotifier ()
 Destructor. More...
 

Private Attributes

DTROSErrorWord error_
 

Detailed Description

Author
M. Zanetti - INFN Padova

Definition at line 12 of file DTROSErrorNotifier.h.

Constructor & Destructor Documentation

◆ DTROSErrorNotifier()

DTROSErrorNotifier::DTROSErrorNotifier ( DTROSErrorWord  error)

Constructor.

Definition at line 13 of file DTROSErrorNotifier.cc.

◆ ~DTROSErrorNotifier()

DTROSErrorNotifier::~DTROSErrorNotifier ( )
virtual

Destructor.

Definition at line 15 of file DTROSErrorNotifier.cc.

15 {}

Member Function Documentation

◆ print()

void DTROSErrorNotifier::print ( void  )

Print out the error information >>> FIXME: to be implemented.

Definition at line 17 of file DTROSErrorNotifier.cc.

References gather_cfg::cout, error_, DTROSErrorWord::errorType(), and DTROSErrorWord::robID().

17  {
18  cout << "[DTUnpackingModule]: WARNING!! ROS Error of type " << error_.errorType() << ", from ROB " << error_.robID()
19  << endl;
20 }
int robID() const
Definition: DTDDUWords.h:279
int errorType() const
Definition: DTDDUWords.h:278
DTROSErrorWord error_

Member Data Documentation

◆ error_

DTROSErrorWord DTROSErrorNotifier::error_
private

Definition at line 26 of file DTROSErrorNotifier.h.

Referenced by print().