MIRA
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
MileageTask Class Referenceabstract

Subtask that has purpose to drive at least a given mileage before the task is done. More...

#include <navigation/tasks/MileageTask.h>

Inheritance diagram for MileageTask:
Inheritance graph
[legend]

Public Member Functions

 MileageTask ()
 Constructs a mileage task with mileage 0. More...
 
 MileageTask (float m)
 Constructs a mileage task with given mileage. More...
 
template<typename Reflector >
void reflect (Reflector &r)
 The reflect method. More...
 
Class const & getClass () const
 

Static Public Member Functions

static PseudoClass const & CLASS ()
 

Public Attributes

float mileage
 The requested mileage. More...
 

Protected Member Functions

virtual Class const & internalGetClass () const=0
 

Detailed Description

Subtask that has purpose to drive at least a given mileage before the task is done.

The mileage is given as an absolute value.

Constructor & Destructor Documentation

◆ MileageTask() [1/2]

MileageTask ( )
inline

Constructs a mileage task with mileage 0.

◆ MileageTask() [2/2]

MileageTask ( float  m)
inline

Constructs a mileage task with given mileage.

Parameters
[in]mThe requested mileage.

Member Function Documentation

◆ reflect()

void reflect ( Reflector &  r)
inline

The reflect method.

Member Data Documentation

◆ mileage

float mileage

The requested mileage.


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