DUNE: Uniform Navigational Environment
2.4.1
|
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
void | onUpdateParameters (void) |
void | consume (const IMC::Heartbeat *msg) |
void | consume (const IMC::PowerOperation *msg) |
void | sendPowerChannelControl (const std::string &name, bool value) |
void | setActiveParameter (bool value) |
void | onRequestActivation (void) |
void | checkActivation (void) |
void | onActivation (void) |
void | onRequestDeactivation (void) |
void | checkDeactivation (void) |
void | onDeactivation (void) |
void | onMain (void) |
Public Attributes | |
bool | m_activating |
bool | m_deactivating |
Counter< double > | m_act_timer |
bool | m_slave_alive |
unsigned | m_slave_id |
Arguments | m_args |
|
inline |
|
inline |
References DUNE::Time::Counter< T >::getRemaining(), m_act_timer, m_activating, m_slave_alive, DUNE::Time::Counter< T >::overflow(), and setActiveParameter().
Referenced by onMain().
|
inline |
References m_act_timer, m_deactivating, and DUNE::Time::Counter< T >::overflow().
Referenced by onMain().
|
inline |
References m_activating, m_slave_alive, and m_slave_id.
|
inline |
References m_slave_id.
|
inline |
References m_activating.
|
inline |
References m_args, m_deactivating, Power::LEDCON::Arguments::pwr_chn, and sendPowerChannelControl().
|
inline |
References checkActivation(), and checkDeactivation().
|
inline |
|
inline |
References m_act_timer, m_deactivating, m_slave_id, setActiveParameter(), and DUNE::Time::Counter< T >::setTop().
|
inline |
References m_args, m_slave_id, and Power::LEDCON::Arguments::slave_system.
|
inline |
Referenced by onDeactivation(), and onRequestActivation().
|
inline |
References m_args, and Power::LEDCON::Arguments::slave_entity.
Referenced by checkActivation(), and onRequestDeactivation().
Counter<double> Power::LEDCON::Task::m_act_timer |
Activation timer.
Referenced by checkActivation(), checkDeactivation(), onRequestActivation(), and onRequestDeactivation().
bool Power::LEDCON::Task::m_activating |
True if the task is activating.
Referenced by checkActivation(), consume(), onActivation(), and onRequestActivation().
Arguments Power::LEDCON::Task::m_args |
Task arguments.
Referenced by onDeactivation(), onRequestActivation(), onUpdateParameters(), setActiveParameter(), and Task().
bool Power::LEDCON::Task::m_deactivating |
True if the task is deactivating.
Referenced by checkDeactivation(), onDeactivation(), and onRequestDeactivation().
bool Power::LEDCON::Task::m_slave_alive |
True if slave CPU is alive.
Referenced by checkActivation(), consume(), and onRequestActivation().
unsigned Power::LEDCON::Task::m_slave_id |
System id of the slave DUNE instance.
Referenced by consume(), onRequestDeactivation(), and onUpdateParameters().