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

Date:
2007/05/07 16:16:39
Revision:
1.3
Author
M. Zanetti - INFN Padova

Definition at line 14 of file DTROSErrorNotifier.h.

Constructor & Destructor Documentation

DTROSErrorNotifier::DTROSErrorNotifier ( DTROSErrorWord  error)

Constructor.

Definition at line 16 of file DTROSErrorNotifier.cc.

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

Destructor.

Definition at line 19 of file DTROSErrorNotifier.cc.

19 {}

Member Function Documentation

void DTROSErrorNotifier::print ( void  )

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

Definition at line 22 of file DTROSErrorNotifier.cc.

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

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

Member Data Documentation

DTROSErrorWord DTROSErrorNotifier::error_
private

Definition at line 31 of file DTROSErrorNotifier.h.

Referenced by print().