DUNE: Uniform Navigational Environment
2.4.1
|
SVS simulator task.
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
void | onResourceInitialization (void) |
void | onResourceAcquisition (void) |
void | onResourceRelease (void) |
void | consume (const IMC::SimulatedState *msg) |
void | task (void) |
Public Attributes | |
IMC::SimulatedState | m_sstate |
IMC::SoundSpeed | m_sspeed |
Random::Generator * | m_prng |
Arguments | m_args |
|
inline |
|
inline |
References m_sstate.
|
inline |
Acquire resources.
References m_args, m_prng, Simulators::SVS::Arguments::prng_seed, and Simulators::SVS::Arguments::prng_type.
|
inline |
Initialize resources.
|
inline |
Release resources.
References m_prng.
|
inline |
Arguments Simulators::SVS::Task::m_args |
Task arguments.
Referenced by onResourceAcquisition(), Task(), and task().
Random::Generator* Simulators::SVS::Task::m_prng |
PRNG handle.
Referenced by onResourceAcquisition(), onResourceRelease(), and task().
IMC::SoundSpeed Simulators::SVS::Task::m_sspeed |
Current sound speed.
Referenced by task().
IMC::SimulatedState Simulators::SVS::Task::m_sstate |
Simulated state.
Referenced by consume().