DUNE: Uniform Navigational Environment
2016.09.0
|
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::Temperature | m_temp |
IMC::SoundSpeed | m_sspeed |
IMC::Conductivity | m_cond |
IMC::Salinity | m_salinity |
IMC::Depth | m_depth |
IMC::SimulatedState | m_sstate |
Random::Generator * | m_prng |
Arguments | m_args |
|
inline |
References m_args, Simulators::CTD::Arguments::mean_cond, Simulators::CTD::Arguments::mean_temp, Simulators::CTD::Arguments::prng_seed, Simulators::CTD::Arguments::prng_type, Simulators::CTD::Arguments::std_dev_cond, Simulators::CTD::Arguments::std_dev_depth, and Simulators::CTD::Arguments::std_dev_temp.
|
inline |
References m_sstate.
|
inline |
Acquire resources.
References m_args, m_prng, Simulators::CTD::Arguments::prng_seed, and Simulators::CTD::Arguments::prng_type.
|
inline |
Initialize resources.
|
inline |
Release resources.
References m_prng.
|
inline |
References DUNE::Math::Random::Generator::gaussian(), m_args, m_cond, m_depth, m_prng, m_salinity, m_sspeed, m_sstate, m_temp, Simulators::CTD::Arguments::mean_cond, Simulators::CTD::Arguments::mean_temp, Simulators::CTD::Arguments::std_dev_cond, Simulators::CTD::Arguments::std_dev_depth, and Simulators::CTD::Arguments::std_dev_temp.
Arguments Simulators::CTD::Task::m_args |
Task arguments.
Referenced by onResourceAcquisition(), Task(), and task().
IMC::Conductivity Simulators::CTD::Task::m_cond |
Referenced by task().
IMC::Depth Simulators::CTD::Task::m_depth |
Referenced by task().
Random::Generator* Simulators::CTD::Task::m_prng |
PRNG handle.
Referenced by onResourceAcquisition(), onResourceRelease(), and task().
IMC::Salinity Simulators::CTD::Task::m_salinity |
Referenced by task().
IMC::SoundSpeed Simulators::CTD::Task::m_sspeed |
Current sound speed.
Referenced by task().
IMC::SimulatedState Simulators::CTD::Task::m_sstate |
IMC::Temperature Simulators::CTD::Task::m_temp |
Temperature.
Referenced by task().