/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Friends
DybDaq::RtmData Class Reference

#include <RtmData.h>

Inheritance diagram for DybDaq::RtmData:
Inheritance graph
Collaboration diagram for DybDaq::RtmData:
Collaboration graph

List of all members.

Public Types

typedef std::pair< const char
*, unsigned int > 
typedef std::vector< OutputBufferOutputBufferList
typedef std::vector
< ByteInspector * > 
typedef std::vector
< BitsInspector * > 

Public Member Functions

 RtmData (const unsigned int rpcCFId, const bool transErr, const bool romAlmostFull, const bool rtmAlmostFull, const bool fullFlag, const bool validGPS, const bool validCLK, const bool usingUTC, const unsigned int second, const unsigned int nanoSecond, const int accumulation, const unsigned int triggerRot, const unsigned int triggerMap, const RtmTraits &traits)
 RtmData (const ByteBuffer &byteBuffer, const RtmTraits &traits)
virtual ~RtmData ()
unsigned int rpcCFId () const
bool transErr () const
bool forceTrigger () const
bool romAlmostFull () const
bool rtmAlmostFull () const
bool fullFlag () const
bool validGPS () const
bool validCLK () const
bool usingUTC () const
unsigned int second () const
unsigned int nanoSecond () const
int accumulation () const
unsigned int triggerRot () const
unsigned int trigRot1Type () const
unsigned int trigRot1 () const
unsigned int trigRot2Type () const
unsigned int trigRot2 () const
unsigned int triggerMap () const
unsigned int trigMap1Type () const
unsigned int trigMap1 () const
unsigned int trigMap2Type () const
unsigned int trigMap2 () const
virtual unsigned int bufferSize () const
void setRpcCFId (const unsigned int rpcCFId)
void setTransErr (const bool transErr)
void setForceTrigger (const bool forceTrigger)
void setRomAlmostFull (const bool romAlmostFull)
void setRtmAlmostFull (const bool rtmAlmostFull)
void setFullFlag (const bool fullFlag)
void setValidGPS (const bool validGPS)
void setValidCLK (const bool validCLK)
void setUsingUTC (const bool usingUTC)
void setSecond (const unsigned int second)
void setNanoSecond (const unsigned int nanoSecond)
void setAccumulation (const int accumulation)
void setTriggerRot (const unsigned int triggerRot)
void setTriggerMap (const unsigned int triggerMap)
const RtmTraitsrtmTraits () const
bool hasDaqTraits () const
virtual const DaqTraitsdaqTraits () const
virtual unsigned int gather (OutputBufferList &outputBuffers) const
virtual unsigned int inspect (DaqBuffer::Bytes &inspectors) const

Static Public Attributes

static const unsigned int kBytesInInt
static const unsigned int kUndefinedFormatComponent

Protected Member Functions

virtual unsigned int formatComponent () const
const char * buffer () const
char * buffer ()
bool hasByteBuffer () const
const ByteBufferbyteBuffer () const
unsigned int fillInspectors (DaqBuffer::Bytes &inspectors, unsigned int component, unsigned int cursor) const
virtual bool readBool (const unsigned int field) const
virtual int readInt (const unsigned int field) const
virtual unsigned char readUnsignedChar (const unsigned int field) const
virtual unsigned int readUnsignedInt (const unsigned int field) const
virtual void writeField (const bool value, const unsigned int field)
virtual void writeField (const int value, const unsigned int field)
virtual void writeField (const unsigned int value, const unsigned int field)

Private Member Functions

 RtmData ()
 RtmData (const RtmData &)
RtmDataoperator= (const RtmData &)


class RtmReadout

Detailed Description

Definition at line 14 of file RtmData.h.

Constructor & Destructor Documentation

RtmData::RtmData ( const unsigned int  rpcCFId,
const bool  transErr,
const bool  romAlmostFull,
const bool  rtmAlmostFull,
const bool  fullFlag,
const bool  validGPS,
const bool  validCLK,
const bool  usingUTC,
const unsigned int  second,
const unsigned int  nanoSecond,
const int  accumulation,
const unsigned int  triggerRot,
const unsigned int  triggerMap,
const RtmTraits traits 
RtmData::RtmData ( const ByteBuffer byteBuffer,
const RtmTraits traits 

Definition at line 40 of file RtmData.cc.

   : RtmBuffer(byteBuffer, traits)
   byteBuffer.position( byteBuffer.position() + rtmTraits().rtmSize() * kBytesInInt );
RtmData::~RtmData ( ) [virtual]

Definition at line 46 of file RtmData.cc.

DybDaq::RtmData::RtmData ( ) [private]
DybDaq::RtmData::RtmData ( const RtmData ) [private]

Member Function Documentation

unsigned int RtmData::rpcCFId ( ) const

Definition at line 54 of file RtmData.cc.

bool RtmData::transErr ( ) const

Definition at line 58 of file RtmData.cc.

bool RtmData::forceTrigger ( ) const

Definition at line 62 of file RtmData.cc.

bool RtmData::romAlmostFull ( ) const

Definition at line 66 of file RtmData.cc.

bool RtmData::rtmAlmostFull ( ) const

Definition at line 70 of file RtmData.cc.

bool RtmData::fullFlag ( ) const

Definition at line 74 of file RtmData.cc.

bool RtmData::validGPS ( ) const

Definition at line 78 of file RtmData.cc.

bool RtmData::validCLK ( ) const

Definition at line 82 of file RtmData.cc.

bool RtmData::usingUTC ( ) const

Definition at line 86 of file RtmData.cc.

unsigned int RtmData::second ( ) const

Definition at line 90 of file RtmData.cc.

unsigned int RtmData::nanoSecond ( ) const

Definition at line 94 of file RtmData.cc.

int RtmData::accumulation ( ) const

Definition at line 98 of file RtmData.cc.

unsigned int RtmData::triggerRot ( ) const

Definition at line 102 of file RtmData.cc.

unsigned int RtmData::trigRot1Type ( ) const

Definition at line 106 of file RtmData.cc.

unsigned int RtmData::trigRot1 ( ) const

Definition at line 110 of file RtmData.cc.

unsigned int RtmData::trigRot2Type ( ) const

Definition at line 114 of file RtmData.cc.

unsigned int RtmData::trigRot2 ( ) const

Definition at line 118 of file RtmData.cc.

unsigned int RtmData::triggerMap ( ) const

Definition at line 122 of file RtmData.cc.

unsigned int RtmData::trigMap1Type ( ) const

Definition at line 126 of file RtmData.cc.

unsigned int RtmData::trigMap1 ( ) const

Definition at line 130 of file RtmData.cc.

unsigned int RtmData::trigMap2Type ( ) const

Definition at line 134 of file RtmData.cc.

unsigned int RtmData::trigMap2 ( ) const

Definition at line 138 of file RtmData.cc.

unsigned int RtmData::bufferSize ( ) const [virtual]

Implements DybDaq::DaqBuffer.

Definition at line 142 of file RtmData.cc.

   return rtmTraits().rtmSize();
unsigned int RtmData::formatComponent ( ) const [protected, virtual]

Reimplemented from DybDaq::DaqBuffer.

Definition at line 50 of file RtmData.cc.

    return RtmTraits::kData;
RtmData& DybDaq::RtmData::operator= ( const RtmData ) [private]
void RtmData::setRpcCFId ( const unsigned int  rpcCFId)

Definition at line 147 of file RtmData.cc.

void RtmData::setTransErr ( const bool  transErr)

Definition at line 151 of file RtmData.cc.

void RtmData::setForceTrigger ( const bool  forceTrigger)

Definition at line 155 of file RtmData.cc.

void RtmData::setRomAlmostFull ( const bool  romAlmostFull)

Definition at line 159 of file RtmData.cc.

void RtmData::setRtmAlmostFull ( const bool  rtmAlmostFull)

Definition at line 163 of file RtmData.cc.

void RtmData::setFullFlag ( const bool  fullFlag)

Definition at line 167 of file RtmData.cc.

void RtmData::setValidGPS ( const bool  validGPS)

Definition at line 171 of file RtmData.cc.

void RtmData::setValidCLK ( const bool  validCLK)

Definition at line 175 of file RtmData.cc.

void RtmData::setUsingUTC ( const bool  usingUTC)

Definition at line 179 of file RtmData.cc.

void RtmData::setSecond ( const unsigned int  second)

Definition at line 183 of file RtmData.cc.

void RtmData::setNanoSecond ( const unsigned int  nanoSecond)

Definition at line 187 of file RtmData.cc.

void RtmData::setAccumulation ( const int  accumulation)

Definition at line 191 of file RtmData.cc.

void RtmData::setTriggerRot ( const unsigned int  triggerRot)

Definition at line 195 of file RtmData.cc.

void RtmData::setTriggerMap ( const unsigned int  triggerMap)

Definition at line 199 of file RtmData.cc.

const RtmTraits & RtmBuffer::rtmTraits ( ) const [inherited]

Definition at line 23 of file RtmBuffer.cc.

   return dynamic_cast<const RtmTraits&>( daqTraits() );

Friends And Related Function Documentation

friend class RtmReadout [friend]

Definition at line 19 of file RtmData.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 Fri May 16 2014 09:52:52 for RtmReadoutFormat by doxygen 1.7.4