| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

DybDaq::BitsInspector Class Reference

#include <BitsInspector.h>

Collaboration diagram for DybDaq::BitsInspector:

[legend]
List of all members.

Public Member Functions

 BitsInspector (unsigned int value, const DybDaq::BitsDefinition &definition)
 Creates an instance of this class.
virtual ~BitsInspector ()
 Destroy this instance of the class.
unsigned int lowBit () const
 The least significant bit containing this value.
unsigned int highBit () const
 The most significant bit containing this value.
unsigned int value () const
 The value contained in these bits.
const std::string & description () const
 The description og the value contained in these bits.

Private Member Functions

 BitsInspector ()
 Suppress default.
 BitsInspector (BitsInspector &rhs)
 Suppress default.
BitsInspectoroperator= (BitsInspector &rhs)
 Suppress default.

Private Attributes

const unsigned int m_value
 The value of these bits.
const DybDaq::BitsDefinitionm_definition
 The definition of these bits.

Detailed Description

Definition at line 20 of file BitsInspector.h.


Constructor & Destructor Documentation

BitsInspector::BitsInspector ( unsigned int  value,
const DybDaq::BitsDefinition definition 
)

Creates an instance of this class.

Definition at line 16 of file BitsInspector.cc.

00017                                                                      :
00018 m_value(value),
00019 m_definition(definition) {
00020 }

BitsInspector::~BitsInspector (  )  [virtual]

Destroy this instance of the class.

Definition at line 22 of file BitsInspector.cc.

00022                               {
00023 }

DybDaq::BitsInspector::BitsInspector (  )  [private]

Suppress default.

DybDaq::BitsInspector::BitsInspector ( BitsInspector rhs  )  [private]

Suppress default.


Member Function Documentation

unsigned int BitsInspector::lowBit (  )  const

The least significant bit containing this value.

Definition at line 25 of file BitsInspector.cc.

00025                                          {
00026     return m_definition.lowBit();
00027 }

unsigned int BitsInspector::highBit (  )  const

The most significant bit containing this value.

Definition at line 29 of file BitsInspector.cc.

00029                                           {
00030     return m_definition.highBit();
00031 }

unsigned int BitsInspector::value (  )  const

The value contained in these bits.

Definition at line 33 of file BitsInspector.cc.

00033                                         {
00034     return m_value;
00035 }

const string & BitsInspector::description (  )  const

The description og the value contained in these bits.

Definition at line 37 of file BitsInspector.cc.

00037                                                {
00038     return m_definition.description();
00039 }

BitsInspector& DybDaq::BitsInspector::operator= ( BitsInspector rhs  )  [private]

Suppress default.


Member Data Documentation

const unsigned int DybDaq::BitsInspector::m_value [private]

The value of these bits.

Definition at line 77 of file BitsInspector.h.

const DybDaq::BitsDefinition& DybDaq::BitsInspector::m_definition [private]

The definition of these bits.

Definition at line 82 of file BitsInspector.h.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:07:43 2011 for DaqReadoutFormat by doxygen 1.4.7