#include <OfflinerTask.h>
Public Member Functions | |
OfflinerTask (ResourcePointers resources, int argc, const char *argv[]) | |
Constructor. | |
~OfflinerTask () | |
Destructor. | |
TaskPlate | getPlate () const |
Gets task plate (mandatory). | |
Time | getMaxDuration () |
Gets maxDuration, maximum allowed duration for a single call to the run function. | |
Time | getMaxSamplPeriod () |
Gets maxSamplPeriod, maximum allowed time period between two calls of a run. | |
Time | getMinSamplPeriod () |
Gets minSamplPeriod, minimum allowed time period between two calls of a run. | |
TaskOutputs | run () |
Run function. |
MipTasks::OfflinerTask::OfflinerTask | ( | ResourcePointers | resources, | |
int | argc, | |||
const char * | argv[] | |||
) |
Constructor.
The following lines asks for a DraWin and save a pointer to it in the variables of the task. The DraWin is not a mandatory resource of this task, so if not provided from ResourceUtilities::macroResFromPlate, the programm only gives a warning.
MipTasks::OfflinerTask::~OfflinerTask | ( | ) |
Destructor.
TaskPlate MipTasks::OfflinerTask::getPlate | ( | ) | const [inline, virtual] |
Gets task plate (mandatory).
Implements MipTasks::Task.
Time MipTasks::OfflinerTask::getMaxDuration | ( | ) | [inline, virtual] |
Gets maxDuration, maximum allowed duration for a single call to the run function.
Implements MipTasks::Task.
Time MipTasks::OfflinerTask::getMaxSamplPeriod | ( | ) | [inline, virtual] |
Gets maxSamplPeriod, maximum allowed time period between two calls of a run.
Implements MipTasks::Task.
Time MipTasks::OfflinerTask::getMinSamplPeriod | ( | ) | [inline, virtual] |
Gets minSamplPeriod, minimum allowed time period between two calls of a run.
Implements MipTasks::Task.
TaskOutputs MipTasks::OfflinerTask::run | ( | void | ) | [virtual] |