MipTasks::DriverTask Class Reference
[Driver]

DriverTask class. More...

#include <Driver.h>

Inheritance diagram for MipTasks::DriverTask:

MipTasks::Task MIPObject

List of all members.

Public Member Functions

 DriverTask (ResourcePointers resources, int argc, const char *argv[])
 Constructor.
 ~DriverTask ()
 Destructor.
TaskPlate getPlate () const
 Get task plate (mandatory), it must be defined for all implemented task.
Time getMaxDuration ()
 Get maxSamplPeriod, maximum allowed time period between two calls of a run.
Time getMaxSamplPeriod ()
 Get minSamplPeriod, minimum allowed time period between two calls of a run.
Time getMinSamplPeriod ()
 Get minSamplPeriod, minimum allowed time period between two calls of a run.
TaskOutputs run ()
 Run function.


Detailed Description

DriverTask class.

Author:
Fabrizio Ramundo

Constructor & Destructor Documentation

MipTasks::DriverTask::DriverTask ( ResourcePointers  resources,
int  argc,
const char *  argv[] 
)

Constructor.

  • reads and sets the options of the task;
    • looks for the following mandatory Resources: SharedMem, one of MobileRob/MobileRob3D;
    • looks for the following non mandatory Resources: CommModule;
    • instantiates (if requested) the obstacle avoidance algorithm requested in the options;

MipTasks::DriverTask::~DriverTask (  ) 

Destructor.


Member Function Documentation

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

Get task plate (mandatory), it must be defined for all implemented task.

Implements MipTasks::Task.

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

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

Implements MipTasks::Task.

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

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

Implements MipTasks::Task.

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

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

Implements MipTasks::Task.

TaskOutputs MipTasks::DriverTask::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