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.

13 : error_(error) {}

◆ ~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.

17  {
18  cout << "[DTUnpackingModule]: WARNING!! ROS Error of type " << error_.errorType() << ", from ROB " << error_.robID()
19  << endl;
20 }

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

Member Data Documentation

◆ error_

DTROSErrorWord DTROSErrorNotifier::error_
private

Definition at line 26 of file DTROSErrorNotifier.h.

Referenced by print().

DTROSErrorWord::robID
int robID() const
Definition: DTDDUWords.h:279
gather_cfg.cout
cout
Definition: gather_cfg.py:144
DTROSErrorNotifier::error_
DTROSErrorWord error_
Definition: DTROSErrorNotifier.h:26
relativeConstraints.error
error
Definition: relativeConstraints.py:53
DTROSErrorWord::errorType
int errorType() const
Definition: DTDDUWords.h:278