DUNE: Uniform Navigational Environment  2019.02.1
Simulators::Gaussian::Task Struct Reference

Detailed Description

Gaussian simulator task.

Public Member Functions

 Task (const std::string &name, Tasks::Context &ctx)
 
void onUpdateParameters (void)
 
void onResourceAcquisition (void)
 
void onResourceRelease (void)
 
void consume (const IMC::SimulatedState *msg)
 
void task (void)
 

Public Attributes

IMC::Message * m_msg
 
IMC::SimulatedState m_last_state
 
Random::Generatorm_prng
 
Arguments m_args
 

Constructor & Destructor Documentation

Member Function Documentation

void Simulators::Gaussian::Task::consume ( const IMC::SimulatedState *  msg)
inline
void Simulators::Gaussian::Task::onResourceAcquisition ( void  )
inline
void Simulators::Gaussian::Task::onResourceRelease ( void  )
inline

Release resources.

void Simulators::Gaussian::Task::onUpdateParameters ( void  )
inline

Member Data Documentation

Arguments Simulators::Gaussian::Task::m_args

Task arguments.

IMC::SimulatedState Simulators::Gaussian::Task::m_last_state

Last simulated state.

IMC::Message* Simulators::Gaussian::Task::m_msg

IMC message to be produced.

Random::Generator* Simulators::Gaussian::Task::m_prng

Pseudo-random number generator.

Collaboration diagram for Simulators::Gaussian::Task:
Collaboration graph