DUNE: Uniform Navigational Environment
2019.02.0
|
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
~Task (void) | |
void | onResourceRelease (void) |
void | onResourceAcquisition (void) |
void | onEntityResolution (void) |
void | onResourceInitialization (void) |
void | onUpdateParameters (void) |
void | validatePattern (Patterns type, const std::string &label) |
void | consume (const IMC::EntityState *msg) |
void | consume (const IMC::PowerOperation *msg) |
void | consume (const IMC::VehicleState *msg) |
void | setLEDs (bool state) |
void | initializeLEDs (void) |
void | switchPattern (void) |
void | onMain (void) |
Public Attributes | |
std::vector< AbstractOutput * > | m_outs |
std::vector< unsigned > | m_patterns [PAT_COUNT] |
std::vector< unsigned > * | m_current |
unsigned | m_cursor |
uint8_t | m_current_id |
int | m_next_id |
std::set< unsigned > | m_critical_eids |
bool | m_critical_error |
Arguments | m_args |
|
inline |
|
inline |
References onResourceRelease().
|
inline |
References m_critical_eids, m_critical_error, and m_next_id.
|
inline |
References m_next_id, and switchPattern().
|
inline |
References m_critical_error, m_current_id, and m_next_id.
|
inline |
References m_args, m_next_id, setLEDs(), UserInterfaces::LEDs::Arguments::start_delay, and switchPattern().
Referenced by onMain().
|
inline |
References UserInterfaces::LEDs::Arguments::critical, m_args, and m_critical_eids.
|
inline |
References initializeLEDs(), m_current, m_cursor, m_outs, setLEDs(), and switchPattern().
|
inline |
|
inline |
|
inline |
|
inline |
References m_current, m_current_id, and m_patterns.
|
inline |
References m_outs.
Referenced by initializeLEDs(), and onMain().
|
inline |
References m_current, m_current_id, m_next_id, and m_patterns.
Referenced by consume(), initializeLEDs(), and onMain().
|
inline |
References m_outs, and m_patterns.
Arguments UserInterfaces::LEDs::Task::m_args |
Referenced by initializeLEDs(), onEntityResolution(), onResourceAcquisition(), and Task().
std::set<unsigned> UserInterfaces::LEDs::Task::m_critical_eids |
Critical entities.
Referenced by consume(), and onEntityResolution().
bool UserInterfaces::LEDs::Task::m_critical_error |
Referenced by consume().
std::vector<unsigned>* UserInterfaces::LEDs::Task::m_current |
Referenced by onMain(), onUpdateParameters(), and switchPattern().
uint8_t UserInterfaces::LEDs::Task::m_current_id |
Referenced by consume(), onUpdateParameters(), and switchPattern().
unsigned UserInterfaces::LEDs::Task::m_cursor |
Referenced by onMain().
int UserInterfaces::LEDs::Task::m_next_id |
Referenced by consume(), initializeLEDs(), and switchPattern().
std::vector<AbstractOutput*> UserInterfaces::LEDs::Task::m_outs |
Referenced by onMain(), onResourceAcquisition(), onResourceRelease(), setLEDs(), and validatePattern().
std::vector<unsigned> UserInterfaces::LEDs::Task::m_patterns[PAT_COUNT] |
Referenced by onUpdateParameters(), switchPattern(), and validatePattern().