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

Public Member Functions

 Task (const std::string &name, Tasks::Context &ctx)
 
void onResourceAcquisition (void)
 
void onResourceRelease (void)
 
void onUpdateParameters (void)
 
void sendTarget (void)
 
void task (void)
 

Public Attributes

Arguments m_args
 
Random::Generatorm_prng
 
fp32_t m_cog
 
fp32_t m_sog
 
fp64_t m_lat
 
fp64_t m_lon
 

Constructor & Destructor Documentation

Simulators::Target::Task::Task ( const std::string &  name,
Tasks::Context &  ctx 
)
inline

Member Function Documentation

void Simulators::Target::Task::onResourceAcquisition ( void  )
inline

Acquire resources.

void Simulators::Target::Task::onResourceRelease ( void  )
inline

Release resources.

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

Member Data Documentation

Arguments Simulators::Target::Task::m_args

Task arguments.

fp32_t Simulators::Target::Task::m_cog

Target Course Over Ground.

fp64_t Simulators::Target::Task::m_lat

Target Latitude.

fp64_t Simulators::Target::Task::m_lon

Target Longitude.

Random::Generator* Simulators::Target::Task::m_prng

PRNG handle.

fp32_t Simulators::Target::Task::m_sog

Target Speed Over Ground.

Collaboration diagram for Simulators::Target::Task:
Collaboration graph