NSCL DDAS  12.1-001
Support for XIA DDAS at FRIB
Public Member Functions | List of all members
DDASSorter Class Reference

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...
 

Detailed Description

Class to manage data flow and timestamp ordering.

The DDASSorter class processes ring items:

Constructor & Destructor Documentation

◆ DDASSorter()

DDASSorter::DDASSorter ( CRingBuffer &  source,
CRingBuffer &  sink,
float  window = 10.0 
)

Constructor.

Parameters
sourceInput data ringbuffer.
sinkOutput data ringbuffer.
windowAccumulation window in seconds.

◆ ~DDASSorter()

DDASSorter::~DDASSorter ( )

Destructor.

Delete the managed objects.

Member Function Documentation

◆ operator()()

void DDASSorter::operator() ( )

Defines the dataflow of the sorter.

Get data from CRingBufferChunkAccess and call processChunk to process it.


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