#include <VFATFrameCollection.h>
Classes | |
class | Iterator |
the VFATFrameCollection interator More... | |
Public Types | |
typedef std::pair < TotemFramePosition, const VFATFrame * > | value_type |
pair: frame DAQ position, frame data More... | |
Public Member Functions | |
virtual bool | Empty () const =0 |
returns whether the collection is empty More... | |
virtual const VFATFrame * | GetFrameByID (unsigned int ID) const =0 |
returns pointer to frame with ID, performs NO duplicity check (if there is precisely one frame with this 12bit ID) More... | |
virtual const VFATFrame * | GetFrameByIndex (TotemFramePosition index) const =0 |
returns frame at given position in Slink frame More... | |
virtual const VFATFrame * | GetFrameByIndexID (TotemFramePosition index, unsigned int ID) |
returns frame at given position in Slink frame and checks 12bit ID More... | |
virtual unsigned int | Size () const =0 |
return the number of VFAT frames in the collection More... | |
VFATFrameCollection () | |
virtual | ~VFATFrameCollection () |
Protected Member Functions | |
virtual value_type | BeginIterator () const =0 |
returns the beginning of the collection More... | |
virtual bool | IsEndIterator (const value_type &) const =0 |
checks whether the iterator points over the end of the collection More... | |
virtual value_type | NextIterator (const value_type &) const =0 |
shifts the iterator More... | |
Interface class for VFAT-frame collections.
Definition at line 22 of file VFATFrameCollection.h.
typedef std::pair<TotemFramePosition, const VFATFrame*> VFATFrameCollection::value_type |
pair: frame DAQ position, frame data
Definition at line 44 of file VFATFrameCollection.h.
|
inline |
Definition at line 25 of file VFATFrameCollection.h.
|
inlinevirtual |
Definition at line 26 of file VFATFrameCollection.h.
|
protectedpure virtual |
returns the beginning of the collection
Implemented in SimpleVFATFrameCollection.
Referenced by VFATFrameCollection::Iterator::Iterator().
|
pure virtual |
returns whether the collection is empty
Implemented in SimpleVFATFrameCollection.
|
pure virtual |
returns pointer to frame with ID, performs NO duplicity check (if there is precisely one frame with this 12bit ID)
Implemented in SimpleVFATFrameCollection.
|
pure virtual |
returns frame at given position in Slink frame
Implemented in SimpleVFATFrameCollection.
Referenced by GetFrameByIndexID().
|
virtual |
returns frame at given position in Slink frame and checks 12bit ID
Definition at line 14 of file VFATFrameCollection.cc.
References VFATFrame::getChipID(), GetFrameByIndex(), and NULL.
|
protectedpure virtual |
checks whether the iterator points over the end of the collection
Implemented in SimpleVFATFrameCollection.
Referenced by VFATFrameCollection::Iterator::IsEnd().
|
protectedpure virtual |
shifts the iterator
Implemented in SimpleVFATFrameCollection.
Referenced by VFATFrameCollection::Iterator::Next().
|
pure virtual |
return the number of VFAT frames in the collection
Implemented in SimpleVFATFrameCollection.