DUNE: Uniform Navigational Environment
2019.02.0
|
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
void | onResourceInitialization (void) |
void | consume (const IMC::PowerChannelControl *msg) |
void | consume (const IMC::PowerOperation *msg) |
void | powerDown (void) |
void | powerDownAbort (void) |
bool | powerDownCommand (void) |
bool | powerDownAbortCommand (void) |
void | notifySlaves (IMC::PowerOperation::OperationEnum op) |
void | controlSystemPower (IMC::PowerChannelControl::OperationEnum op) |
bool | powerDownInProgress (void) |
bool | powerDownAborted (void) |
void | onMain (void) |
Public Attributes | |
std::set< uint16_t > | m_notified_slaves |
int | m_power_op |
Arguments | m_args |
|
inline |
|
inline |
References m_notified_slaves, powerDownAborted(), and powerDownInProgress().
|
inline |
References m_power_op.
|
inline |
References m_args, and Supervisors::Power::Arguments::pwr_main.
Referenced by powerDown(), and powerDownAbort().
|
inline |
References m_args, m_notified_slaves, and Supervisors::Power::Arguments::slave_systems.
Referenced by powerDown(), and powerDownAbort().
|
inline |
References powerDown(), powerDownAbort(), powerDownAborted(), and powerDownInProgress().
|
inline |
|
inline |
References controlSystemPower(), m_notified_slaves, m_power_op, notifySlaves(), powerDownCommand(), and powerDownInProgress().
Referenced by onMain().
|
inline |
References controlSystemPower(), m_notified_slaves, m_power_op, notifySlaves(), powerDownAbortCommand(), and powerDownAborted().
Referenced by onMain().
|
inline |
References Supervisors::Power::Arguments::cmd_pwr_down_abort, and m_args.
Referenced by powerDownAbort().
|
inline |
References m_power_op.
Referenced by consume(), onMain(), and powerDownAbort().
|
inline |
References Supervisors::Power::Arguments::cmd_pwr_down, and m_args.
Referenced by powerDown().
|
inline |
References m_power_op.
Referenced by consume(), onMain(), and powerDown().
Arguments Supervisors::Power::Task::m_args |
Task arguments.
Referenced by controlSystemPower(), notifySlaves(), powerDownAbortCommand(), powerDownCommand(), and Task().
std::set<uint16_t> Supervisors::Power::Task::m_notified_slaves |
Set of slave system not yet powered-off.
Referenced by consume(), notifySlaves(), powerDown(), and powerDownAbort().
int Supervisors::Power::Task::m_power_op |
Last power operation.
Referenced by consume(), powerDown(), powerDownAbort(), powerDownAborted(), and powerDownInProgress().