ARC SDK
|
The base class from which all callback-enabled classes should be derived. More...
#include <arc/data-staging/DTR.h>
Public Member Functions | |
virtual | ~DTRCallback () |
Empty virtual destructor. | |
virtual void | receiveDTR (DTR_ptr dtr)=0 |
Defines the callback method called when a DTR is pushed to this object. More... | |
The base class from which all callback-enabled classes should be derived.
This class is a container for a callback method which is called when a DTR is to be passed to a component. Several components in data staging (eg Scheduler, Generator) are subclasses of DTRCallback, which allows them to receive DTRs through the callback system.
|
pure virtual |
Defines the callback method called when a DTR is pushed to this object.
The automatic memory management of DTR_ptr ensures that the DTR object is only deleted when the last copy is deleted.
Implemented in DataStaging::Scheduler, DataStaging::Processor, DataStaging::DataDelivery, and Generator.