lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
Pds::Eb::EbEpoch Class Reference

List element for one epoch of the event builder; holds the list of events pending in that epoch. More...

#include <EbEpoch.hh>

Inherits Pds::LinkedList< T >.

Public Member Functions

 EbEpoch (uint64_t key, EbEpoch *after)
 Construct with an empty pending list and the given key, and insert this epoch into the list after after.
 
 ~EbEpoch ()
 Remove this epoch from its list.
 
void dump (unsigned detail, int number)
 Print this epoch (with its list pointers when detail is non-zero) and its pending events (all of them when detail is non-zero, otherwise only the first) to stderr; number labels the epoch.
 

Public Attributes

 PoolDeclare
 Macro from Pool.hh that declares an operator new allocating from a Pds::Pool and an operator delete that returns the buffer to its pool.
 
LinkedList< EbEvent > pending
 List head of the events pending in this epoch.
 
uint64_t key
 Epoch sequence number (key).
 

Detailed Description

List element for one epoch of the event builder; holds the list of events pending in that epoch.

Constructor & Destructor Documentation

◆ EbEpoch()

Pds::Eb::EbEpoch::EbEpoch ( uint64_t  key,
EbEpoch *  after 
)
inline

Construct with an empty pending list and the given key, and insert this epoch into the list after after.

◆ ~EbEpoch()

Pds::Eb::EbEpoch::~EbEpoch ( )
inline

Remove this epoch from its list.

Member Function Documentation

◆ dump()

void Pds::Eb::EbEpoch::dump ( unsigned  detail,
int  number 
)

Print this epoch (with its list pointers when detail is non-zero) and its pending events (all of them when detail is non-zero, otherwise only the first) to stderr; number labels the epoch.

Member Data Documentation

◆ key

uint64_t Pds::Eb::EbEpoch::key

Epoch sequence number (key).

◆ pending

LinkedList<EbEvent> Pds::Eb::EbEpoch::pending

List head of the events pending in this epoch.

◆ PoolDeclare

Pds::Eb::EbEpoch::PoolDeclare

Macro from Pool.hh that declares an operator new allocating from a Pds::Pool and an operator delete that returns the buffer to its pool.


The documentation for this class was generated from the following file: