CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions | Private Attributes

DTROSErrorWord Class Reference

#include <DTDDUWords.h>

List of all members.

Public Member Functions

int cerosID () const
 DTROSErrorWord (const uint32_t index)
 DTROSErrorWord (const DTROSErrorWord &obj)
 DTROSErrorWord ()
 Constructor.
int errorType () const
int robID () const
virtual ~DTROSErrorWord ()
 Destructor.

Static Public Member Functions

static void set (uint32_t &word, int error_type, int rob_id)

Private Attributes

uint32_t word_

Detailed Description

DT ROS Error interpreter. It interprets the Error type, the ROB_ID (2 bits) and the CEROS ID (6 bits)

Date:
2009/05/07 07:57:03
Revision:
1.13
Author:
M. Zanetti - INFN Padova

Definition at line 309 of file DTDDUWords.h.


Constructor & Destructor Documentation

DTROSErrorWord::DTROSErrorWord ( ) [inline]

Constructor.

Definition at line 314 of file DTDDUWords.h.

{}
DTROSErrorWord::DTROSErrorWord ( const DTROSErrorWord obj) [inline]

Definition at line 316 of file DTDDUWords.h.

References VarParsing::obj.

{ *this = obj; }
DTROSErrorWord::DTROSErrorWord ( const uint32_t  index) [inline]

Definition at line 318 of file DTDDUWords.h.

                                       : 
    word_(index) {}
virtual DTROSErrorWord::~DTROSErrorWord ( ) [inline, virtual]

Destructor.

Definition at line 322 of file DTDDUWords.h.

{}

Member Function Documentation

int DTROSErrorWord::cerosID ( ) const [inline]

Definition at line 326 of file DTDDUWords.h.

References ERROR_CEROS_ID_MASK, errorType(), and word_.

{return errorType()==4 ? (word_ & ERROR_CEROS_ID_MASK) : 0;}
int DTROSErrorWord::errorType ( ) const [inline]
int DTROSErrorWord::robID ( ) const [inline]
static void DTROSErrorWord::set ( uint32_t &  word,
int  error_type,
int  rob_id 
) [inline, static]

Member Data Documentation

uint32_t DTROSErrorWord::word_ [private]

Definition at line 342 of file DTDDUWords.h.

Referenced by cerosID(), errorType(), and robID().