NSCL DDAS
12.1-001
Support for XIA DDAS at FRIB
|
Class to manage data flow and timestamp ordering. More...
#include <DDASSorter.h>
Public Member Functions | |
DDASSorter (CRingBuffer &source, CRingBuffer &sink, float window=10.0) | |
Constructor. More... | |
~DDASSorter () | |
Destructor. More... | |
void | operator() () |
Defines the dataflow of the sorter. More... | |
Class to manage data flow and timestamp ordering.
The DDASSorter class processes ring items:
DDASSorter::DDASSorter | ( | CRingBuffer & | source, |
CRingBuffer & | sink, | ||
float | window = 10.0 |
||
) |
Constructor.
source | Input data ringbuffer. |
sink | Output data ringbuffer. |
window | Accumulation window in seconds. |
DDASSorter::~DDASSorter | ( | ) |
Destructor.
Delete the managed objects.
void DDASSorter::operator() | ( | ) |
Defines the dataflow of the sorter.
Get data from CRingBufferChunkAccess and call processChunk to process it.