DUNE: Uniform Navigational Environment  2.3.0
Simulators::Dummy::Task Struct Reference

Detailed Description

Dummy simulator task

Public Member Functions

 Task (const std::string &name, Tasks::Context &ctx)
 
 ~Task (void)
 
void onUpdateParameters (void)
 
void onRequestActivation (void)
 
void onRequestDeactivation (void)
 
void task (void)
 

Public Attributes

Time::Counter< float > m_act_timer
 
Time::Counter< float > m_deact_timer
 
bool m_activating
 
bool m_deactivating
 
Arguments m_args
 

Constructor & Destructor Documentation

Simulators::Dummy::Task::Task ( const std::string &  name,
Tasks::Context &  ctx 
)
inline
Simulators::Dummy::Task::~Task ( void  )
inline

Member Function Documentation

void Simulators::Dummy::Task::onRequestActivation ( void  )
inline

On activation.

References m_act_timer, and m_activating.

void Simulators::Dummy::Task::onRequestDeactivation ( void  )
inline

On deactivation.

References m_deact_timer, and m_deactivating.

void Simulators::Dummy::Task::onUpdateParameters ( void  )
inline
void Simulators::Dummy::Task::task ( void  )
inline

Member Data Documentation

Time::Counter<float> Simulators::Dummy::Task::m_act_timer

Timer for activation process.

Referenced by onRequestActivation(), onUpdateParameters(), and task().

bool Simulators::Dummy::Task::m_activating

Activating.

Referenced by onRequestActivation(), and task().

Arguments Simulators::Dummy::Task::m_args

Task arguments.

Referenced by onUpdateParameters(), and Task().

Time::Counter<float> Simulators::Dummy::Task::m_deact_timer

Timer for deactivation process.

Referenced by onRequestDeactivation(), onUpdateParameters(), and task().

bool Simulators::Dummy::Task::m_deactivating

Deactivating.

Referenced by onRequestDeactivation(), and task().

Collaboration diagram for Simulators::Dummy::Task:
Collaboration graph