CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 13 of file DTROSErrorNotifier.cc.

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

Destructor.

Definition at line 15 of file DTROSErrorNotifier.cc.

15 {}

Member Function Documentation

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
DTROSErrorWord error_
int errorType() const
Definition: DTDDUWords.h:278
tuple cout
Definition: gather_cfg.py:144

Member Data Documentation

DTROSErrorWord DTROSErrorNotifier::error_
private

Definition at line 26 of file DTROSErrorNotifier.h.

Referenced by print().