DUNE: Uniform Navigational Environment
2019.02.0
|
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
void | onUpdateParameters (void) |
void | onResourceInitialization (void) |
void | reset (void) |
std::string | center (const std::string &var) |
std::string | fill (const std::string &var) |
void | requestAbort (const std::string &sys) |
void | requestPing (const std::string &sys) |
void | consume (const IMC::Abort *msg) |
void | consume (const IMC::AcousticSystemsQuery *msg) |
void | consume (const IMC::PowerOperation *msg) |
void | consume (const IMC::AcousticOperation *msg) |
void | consume (const IMC::ButtonEvent *msg) |
void | selectSystem (bool increment=true) |
void | pingSystem (const std::string &sys) |
void | abortSystem (const std::string &sys) |
void | executeOnPowerDown (void) |
void | checkTimeout (void) |
void | updateProgressBar (void) |
void | onMain (void) |
Public Attributes | |
Arguments | m_args |
IMC::LcdControl | m_lcd |
std::set< std::string > | m_sys |
std::set< std::string > ::const_iterator | m_sys_itr |
IMC::AcousticSystems | m_acoustic_systems |
Mode | m_mode |
bool | m_power_down |
bool | m_power_down_now |
Command * | m_cmd |
double | m_last_acop |
unsigned | m_prog_bar |
|
inline |
References UserInterfaces::MantaPanel::Arguments::banner, UserInterfaces::MantaPanel::Arguments::btn_abort, UserInterfaces::MantaPanel::Arguments::btn_ping, UserInterfaces::MantaPanel::Arguments::btn_sys, UserInterfaces::MantaPanel::Arguments::cmd_pwr_down, UserInterfaces::MantaPanel::Arguments::cmd_pwr_down_abort, UserInterfaces::MantaPanel::Arguments::lcd_row_len, m_args, UserInterfaces::MantaPanel::Arguments::pwr_chn_cpu, UserInterfaces::MantaPanel::Arguments::sys_addr_sections, UserInterfaces::MantaPanel::Arguments::sys_exclude, and UserInterfaces::MantaPanel::Arguments::systems.
|
inline |
References fill(), m_last_acop, m_lcd, m_mode, and UserInterfaces::MantaPanel::MODE_SYS_ABORT.
Referenced by consume().
|
inline |
References UserInterfaces::MantaPanel::Arguments::lcd_row_len, and m_args.
Referenced by checkTimeout(), consume(), executeOnPowerDown(), onResourceInitialization(), and selectSystem().
|
inline |
References center(), m_last_acop, m_lcd, m_mode, and UserInterfaces::MantaPanel::MODE_NONE.
Referenced by onMain().
|
inline |
References requestAbort().
|
inline |
References m_acoustic_systems.
|
inline |
|
inline |
References abortSystem(), fill(), m_lcd, pingSystem(), and reset().
|
inline |
References UserInterfaces::MantaPanel::Arguments::btn_abort, UserInterfaces::MantaPanel::Arguments::btn_ping, UserInterfaces::MantaPanel::Arguments::btn_sys, m_args, m_mode, m_sys, m_sys_itr, UserInterfaces::MantaPanel::MODE_NONE, UserInterfaces::MantaPanel::MODE_SYS_SELECT, requestAbort(), requestPing(), and selectSystem().
|
inline |
|
inline |
References UserInterfaces::MantaPanel::Arguments::lcd_row_len, and m_args.
Referenced by abortSystem(), consume(), pingSystem(), selectSystem(), and updateProgressBar().
|
inline |
References checkTimeout(), executeOnPowerDown(), and updateProgressBar().
|
inline |
References UserInterfaces::MantaPanel::Arguments::banner, center(), m_args, m_lcd, and selectSystem().
|
inline |
|
inline |
References fill(), m_last_acop, m_lcd, m_mode, and UserInterfaces::MantaPanel::MODE_SYS_PING.
Referenced by consume().
|
inline |
Referenced by consume().
|
inline |
Referenced by consume().
|
inline |
References m_last_acop, m_mode, and UserInterfaces::MantaPanel::MODE_NONE.
Referenced by consume().
|
inline |
References center(), fill(), m_lcd, m_mode, m_sys, m_sys_itr, and UserInterfaces::MantaPanel::MODE_SYS_SELECT.
Referenced by consume(), and onResourceInitialization().
|
inline |
References fill(), UserInterfaces::MantaPanel::Arguments::lcd_row_len, m_args, m_last_acop, m_lcd, m_mode, UserInterfaces::MantaPanel::MODE_NONE, and UserInterfaces::MantaPanel::MODE_SYS_SELECT.
Referenced by onMain().
IMC::AcousticSystems UserInterfaces::MantaPanel::Task::m_acoustic_systems |
Message with list of supported systems.
Referenced by consume(), and onUpdateParameters().
Arguments UserInterfaces::MantaPanel::Task::m_args |
Task arguments.
Referenced by center(), consume(), executeOnPowerDown(), fill(), onResourceInitialization(), onUpdateParameters(), Task(), and updateProgressBar().
Command* UserInterfaces::MantaPanel::Task::m_cmd |
Referenced by executeOnPowerDown().
double UserInterfaces::MantaPanel::Task::m_last_acop |
Time of last acoustic operation dispatch.
Referenced by abortSystem(), checkTimeout(), pingSystem(), reset(), and updateProgressBar().
IMC::LcdControl UserInterfaces::MantaPanel::Task::m_lcd |
Referenced by abortSystem(), checkTimeout(), consume(), executeOnPowerDown(), onResourceInitialization(), pingSystem(), selectSystem(), and updateProgressBar().
Mode UserInterfaces::MantaPanel::Task::m_mode |
Current mode.
Referenced by abortSystem(), checkTimeout(), consume(), pingSystem(), reset(), selectSystem(), and updateProgressBar().
bool UserInterfaces::MantaPanel::Task::m_power_down |
True if powering down.
Referenced by consume(), and executeOnPowerDown().
bool UserInterfaces::MantaPanel::Task::m_power_down_now |
True if powering down immediately.
Referenced by consume(), and executeOnPowerDown().
unsigned UserInterfaces::MantaPanel::Task::m_prog_bar |
Progress bar.
std::set<std::string> UserInterfaces::MantaPanel::Task::m_sys |
Supported system names.
Referenced by consume(), onUpdateParameters(), and selectSystem().
std::set<std::string>::const_iterator UserInterfaces::MantaPanel::Task::m_sys_itr |
System names iterator.
Referenced by consume(), onUpdateParameters(), and selectSystem().