DUNE: Uniform Navigational Environment
2.4.0
|
Public Types | |
typedef std::map< std::string, IMC::EntityState > | LeakSet |
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
void | onResourceInitialization (void) |
void | onUpdateParameters (void) |
void | onEntityReservation (void) |
void | onReportEntityState (void) |
void | consume (const IMC::LeakSimulation *ls) |
void | setStatus (const std::vector< std::string > &v, bool ok) |
void | setStatus (bool ok) |
void | onMain (void) |
Public Attributes | |
Arguments | m_args |
LeakSet | m_leaks |
typedef std::map<std::string, IMC::EntityState> Simulators::Leaks::Task::LeakSet |
Convenience typedef.
|
inline |
References Simulators::Leaks::Arguments::leak_ents, and m_args.
|
inline |
References setStatus().
|
inline |
References m_leaks.
|
inline |
|
inline |
References m_leaks.
|
inline |
|
inline |
References Simulators::Leaks::Arguments::leak_ents, m_args, and setStatus().
|
inline |
Set status for leak sensors in a given vector.
[in] | v | vector of leak sensors. |
[in] | ok | discrete state. |
References m_leaks.
Referenced by consume(), and onUpdateParameters().
|
inline |
Arguments Simulators::Leaks::Task::m_args |
Task arguments.
Referenced by onUpdateParameters(), and Task().
LeakSet Simulators::Leaks::Task::m_leaks |
Leak set.
Referenced by onEntityReservation(), onReportEntityState(), and setStatus().