Simple Generator implementation. More...
#include <Generator.h>
Public Member Functions | |
virtual void | receiveDTR (DTR_ptr dtr) |
void | run (const std::string &source, const std::string &destination) |
Simple Generator implementation.
This Generator implementation is included in the data staging library for for basic direct testing of the library and to show how a Generator can be written. It has one method, run(), which creates a single DTR and submits it to the Scheduler.
virtual void DataStaging::Generator::receiveDTR | ( | DTR_ptr | dtr | ) | [virtual] |
Implementation of callback from DTRCallback.
Callback method used when DTR processing is complete to pass back to the generator. The DTR is passed by value so that the scheduler can delete its copy of the object after calling this method.
Implements DataStaging::DTRCallback.