/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
DybDaq::RtmBuffer Class Reference

#include <RtmBuffer.h>

Inheritance diagram for DybDaq::RtmBuffer:
Inheritance graph
[legend]
Collaboration diagram for DybDaq::RtmBuffer:
Collaboration graph
[legend]

List of all members.

Public Types

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

Public Member Functions

virtual ~RtmBuffer ()
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
virtual unsigned int bufferSize () const =0

Static Public Attributes

static const unsigned int kBytesInInt
static const unsigned int kUndefinedFormatComponent

Protected Member Functions

 RtmBuffer (char *buffer, const RtmTraits &traits, const unsigned int size=0)
 RtmBuffer (const ByteBuffer &byteBuffer, const RtmTraits &traits)
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)
virtual unsigned int formatComponent () const

Private Member Functions

 RtmBuffer ()
 RtmBuffer (const RtmBuffer &)
RtmBufferoperator= (const RtmBuffer &)

Detailed Description

Definition at line 15 of file RtmBuffer.h.


Constructor & Destructor Documentation

RtmBuffer::~RtmBuffer ( ) [virtual]

Definition at line 19 of file RtmBuffer.cc.

{
}
RtmBuffer::RtmBuffer ( char *  buffer,
const RtmTraits traits,
const unsigned int  size = 0 
) [protected]

Definition at line 9 of file RtmBuffer.cc.

   : DaqBuffer(buffer, traits, size)
{
}
RtmBuffer::RtmBuffer ( const ByteBuffer byteBuffer,
const RtmTraits traits 
) [protected]

Definition at line 14 of file RtmBuffer.cc.

   : DaqBuffer(byteBuffer, traits)
{
}
DybDaq::RtmBuffer::RtmBuffer ( ) [private]
DybDaq::RtmBuffer::RtmBuffer ( const RtmBuffer ) [private]

Member Function Documentation

const RtmTraits & RtmBuffer::rtmTraits ( ) const

Definition at line 23 of file RtmBuffer.cc.

{
   return dynamic_cast<const RtmTraits&>( daqTraits() );
}
RtmBuffer& DybDaq::RtmBuffer::operator= ( const RtmBuffer ) [private]

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