One event being built by EventBuilder: its contributions (a variable-length array that follows the object), the bit list of contributors still missing, accumulated damage and payload size.
More...
#include <EbEvent.hh>
Inherits Pds::LinkedList< T >.
|
| | EbEvent (uint64_t contract, EbEvent *after, const Pds::EbDgram *ctrb, unsigned immData, const time_point_t &t0) |
| | Start an event with the first contribution ctrb, remove its source bit from contract to form the remaining list, and insert the event into the list after after.
|
| |
| | ~EbEvent () |
| | Does nothing; empty body.
|
| |
| unsigned | immData () const |
| | Return the immediate data kept for this event (from the first contribution, replaced by a later contribution whose value is greater than MAX_ENTRIES).
|
| |
| uint64_t | sequence () const |
| | Return the pulse ID of the first contribution.
|
| |
| size_t | size () const |
| | Return the sum of the XTC payload sizes of all contributions, in bytes.
|
| |
| uint64_t | remaining () const |
| | Return the bit list of contributors that have not yet contributed; 0 means complete.
|
| |
| uint64_t | contract () const |
| | Return the bit list of contributors expected for this event.
|
| |
| XtcData::Damage | damage () const |
| | Return the accumulated damage.
|
| |
| void | damage (XtcData::Damage::Value) |
| | Increase the accumulated damage by value (XtcData::Damage::increase()).
|
| |
| const Pds::EbDgram *const | creator () const |
| | Return the first contribution, which created the event.
|
| |
| const Pds::EbDgram *const * | begin () const |
| | Return a pointer to the first element of the contributions array.
|
| |
| const Pds::EbDgram **const | end () const |
| | Return a pointer one past the last contribution.
|
| |
| void | dump (unsigned detail, int number) |
| | Print one line about the event (pulse ID, control, env, size, source, remaining and contract bits, age and latency) to stderr; with non-zero detail, also number and the list pointers.
|
| |
|
| | 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.
|
| |
One event being built by EventBuilder: its contributions (a variable-length array that follows the object), the bit list of contributors still missing, accumulated damage and payload size.
Allocated from a pool sized by EventBuilder.
◆ EbEvent()
| Pds::Eb::EbEvent::EbEvent |
( |
uint64_t |
contract, |
|
|
EbEvent * |
after, |
|
|
const Pds::EbDgram * |
ctrb, |
|
|
unsigned |
immData, |
|
|
const time_point_t & |
t0 |
|
) |
| |
Start an event with the first contribution ctrb, remove its source bit from contract to form the remaining list, and insert the event into the list after after.
Throws a C string if the source is not in contract.
◆ ~EbEvent()
| Pds::Eb::EbEvent::~EbEvent |
( |
| ) |
|
|
inline |
Does nothing; empty body.
◆ begin()
| const Pds::EbDgram *const * Pds::Eb::EbEvent::begin |
( |
| ) |
const |
|
inline |
Return a pointer to the first element of the contributions array.
◆ contract()
| uint64_t Pds::Eb::EbEvent::contract |
( |
| ) |
const |
|
inline |
Return the bit list of contributors expected for this event.
◆ creator()
| const Pds::EbDgram *const Pds::Eb::EbEvent::creator |
( |
| ) |
const |
|
inline |
Return the first contribution, which created the event.
◆ damage() [1/2]
Return the accumulated damage.
◆ damage() [2/2]
◆ dump()
| void Pds::Eb::EbEvent::dump |
( |
unsigned |
detail, |
|
|
int |
number |
|
) |
| |
Print one line about the event (pulse ID, control, env, size, source, remaining and contract bits, age and latency) to stderr; with non-zero detail, also number and the list pointers.
◆ end()
Return a pointer one past the last contribution.
◆ immData()
| unsigned Pds::Eb::EbEvent::immData |
( |
| ) |
const |
|
inline |
Return the immediate data kept for this event (from the first contribution, replaced by a later contribution whose value is greater than MAX_ENTRIES).
◆ remaining()
| uint64_t Pds::Eb::EbEvent::remaining |
( |
| ) |
const |
|
inline |
Return the bit list of contributors that have not yet contributed; 0 means complete.
◆ sequence()
| uint64_t Pds::Eb::EbEvent::sequence |
( |
| ) |
const |
|
inline |
Return the pulse ID of the first contribution.
◆ size()
| size_t Pds::Eb::EbEvent::size |
( |
| ) |
const |
|
inline |
Return the sum of the XTC payload sizes of all contributions, in bytes.
◆ EventBuilder
◆ PoolDeclare
| Pds::Eb::EbEvent::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: