CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 ( DTROSErrorWord  error)

Constructor.

Definition at line 14 of file DTROSErrorNotifier.cc.

14 : error_(error) {}
DTROSErrorWord error_
DTROSErrorNotifier::~DTROSErrorNotifier ( )
virtual

Destructor.

Definition at line 17 of file DTROSErrorNotifier.cc.

17 {}

Member Function Documentation

void DTROSErrorNotifier::print ( void  )

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

Definition at line 20 of file DTROSErrorNotifier.cc.

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

20  {
21 
22  cout<<"[DTUnpackingModule]: WARNING!! ROS Error of type "<<error_.errorType()
23  <<", from ROB "<<error_.robID()<<endl;
24 
25 }
int robID() const
Definition: DTDDUWords.h:319
DTROSErrorWord error_
int errorType() const
Definition: DTDDUWords.h:318
tuple cout
Definition: gather_cfg.py:121

Member Data Documentation

DTROSErrorWord DTROSErrorNotifier::error_
private

Definition at line 29 of file DTROSErrorNotifier.h.

Referenced by print().