MipTasks::OfflinerTask Class Reference
[Offliner Task]

Task for the offline execution of other tasks. More...

#include <OfflinerTask.h>

Inheritance diagram for MipTasks::OfflinerTask:

MipTasks::Task MIPObject

List of all members.

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.


Detailed Description

Task for the offline execution of other tasks.

Author:
Paolo Stegagno & Marco Cognetti

Constructor & Destructor Documentation

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.


Member Function Documentation

TaskPlate MipTasks::OfflinerTask::getPlate (  )  const [inline, virtual]

Gets task plate (mandatory).

Note:
It must be defined for all implemented task.

Implements MipTasks::Task.

Time MipTasks::OfflinerTask::getMaxDuration (  )  [inline, virtual]

Gets maxDuration, maximum allowed duration for a single call to the run function.

Note:
It must be defined for all implemented task.

Implements MipTasks::Task.

Time MipTasks::OfflinerTask::getMaxSamplPeriod (  )  [inline, virtual]

Gets maxSamplPeriod, maximum allowed time period between two calls of a run.

Note:
It must be defined for all implemented task.

Implements MipTasks::Task.

Time MipTasks::OfflinerTask::getMinSamplPeriod (  )  [inline, virtual]

Gets minSamplPeriod, minimum allowed time period between two calls of a run.

Note:
It must be defined for all implemented task.

Implements MipTasks::Task.

TaskOutputs MipTasks::OfflinerTask::run ( void   )  [virtual]

Run function.

Implements MipTasks::Task.


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

Generated on Mon Feb 20 07:01:13 2017 for MIP by  doxygen 1.5.6