#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.
References Empty(), GetFrameByID(), GetFrameByIndex(), GetFrameByIndexID(), and Size().
|
protectedpure virtual |
returns the beginning of the collection
Implemented in SimpleVFATFrameCollection.
Referenced by VFATFrameCollection::Iterator::IsEnd(), and VFATFrameCollection::Iterator::Iterator().
|
pure virtual |
returns whether the collection is empty
Implemented in SimpleVFATFrameCollection.
Referenced by ~VFATFrameCollection().
|
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.
Referenced by ~VFATFrameCollection().
|
pure virtual |
returns frame at given position in Slink frame
Implemented in SimpleVFATFrameCollection.
Referenced by GetFrameByIndexID(), and ~VFATFrameCollection().
|
virtual |
returns frame at given position in Slink frame and checks 12bit ID
Definition at line 14 of file VFATFrameCollection.cc.
References VFATFrame::getChipID(), and GetFrameByIndex().
Referenced by ~VFATFrameCollection().
|
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::IsEnd(), and VFATFrameCollection::Iterator::Next().
|
pure virtual |
return the number of VFAT frames in the collection
Implemented in SimpleVFATFrameCollection.
Referenced by ~VFATFrameCollection().