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

#include <FecBuffer.h>

Inheritance diagram for DybDaq::FecBuffer:
Inheritance graph
[legend]
Collaboration diagram for DybDaq::FecBuffer:
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 ~FecBuffer ()
const FecTraitsfecTraits () 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

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

 FecBuffer ()
 FecBuffer (const FecBuffer &)
FecBufferoperator= (const FecBuffer &)

Detailed Description

Definition at line 15 of file FecBuffer.h.


Constructor & Destructor Documentation

FecBuffer::~FecBuffer ( ) [virtual]

Definition at line 19 of file FecBuffer.cc.

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

Definition at line 9 of file FecBuffer.cc.

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

Definition at line 14 of file FecBuffer.cc.

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

Member Function Documentation

const FecTraits & FecBuffer::fecTraits ( ) const

Definition at line 23 of file FecBuffer.cc.

{
   return dynamic_cast<const FecTraits&>( daqTraits() );
}
FecBuffer& DybDaq::FecBuffer::operator= ( const FecBuffer ) [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:55 for FecReadoutFormat by doxygen 1.7.4