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

In This Package:

DybDaq::ByteInspector Class Reference

#include <ByteInspector.h>

List of all members.


Public Types

typedef std::vector< BitsInspector * > Bits

Public Member Functions

 ByteInspector (unsigned int value, Bits *bits)
 Creates an instance of this class.
virtual ~ByteInspector ()
 Destroy this instance of the class.
unsigned int value () const
 Returns the value of this byte.
const Bitsbits () const
 Returns the collection of bit inspectors that make up this byte.

Private Member Functions

 ByteInspector ()
 Suppress default.
 ByteInspector (ByteInspector &rhs)
 Suppress default.
ByteInspectoroperator= (ByteInspector &rhs)
 Suppress default.

Private Attributes

const unsigned int m_value
 The value of this byte.
Bitsm_bits
 The collection of bit inspectors that make up this byte.

Detailed Description

Definition at line 21 of file ByteInspector.h.


Member Typedef Documentation

typedef std::vector<BitsInspector*> DybDaq::ByteInspector::Bits

Definition at line 25 of file ByteInspector.h.


Constructor & Destructor Documentation

ByteInspector::ByteInspector ( unsigned int  value,
Bits bits 
)

Creates an instance of this class.

Definition at line 17 of file ByteInspector.cc.

00018                                          :
00019 m_value(value),
00020 m_bits(bits) {
00021 }

ByteInspector::~ByteInspector (  )  [virtual]

Destroy this instance of the class.

Definition at line 23 of file ByteInspector.cc.

00023                               {
00024     if (0 != m_bits) {
00025         const Bits::const_iterator finished = m_bits->end();
00026         for (Bits::iterator bitsInfo = m_bits->begin();
00027              finished != bitsInfo;
00028              ++bitsInfo) {
00029             delete *bitsInfo;
00030         }
00031         delete m_bits;
00032     }
00033 }

DybDaq::ByteInspector::ByteInspector (  )  [private]

Suppress default.

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

Suppress default.


Member Function Documentation

unsigned int ByteInspector::value (  )  const

Returns the value of this byte.

Definition at line 35 of file ByteInspector.cc.

00035                                         {
00036     return m_value;
00037 }

const ByteInspector::Bits & ByteInspector::bits (  )  const

Returns the collection of bit inspectors that make up this byte.

Definition at line 39 of file ByteInspector.cc.

00039                                                    {
00040     return *m_bits;
00041 }

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

Suppress default.


Member Data Documentation

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

The value of this byte.

Definition at line 70 of file ByteInspector.h.

Bits* DybDaq::ByteInspector::m_bits [private]

The collection of bit inspectors that make up this byte.

Definition at line 75 of file ByteInspector.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