DUNE: Uniform Navigational Environment
2016.05.0
|
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
void | onUpdateParameters (void) |
void | consume (const IMC::Heartbeat *msg) |
void | sendPowerChannelControl (const std::string &name, 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 | |
Arguments | m_args |
Counter< double > | m_act_timer |
unsigned | m_slave_id |
bool | m_slave_alive |
|
inline |
|
inline |
|
inline |
References m_act_timer, and DUNE::Time::Counter< T >::overflow().
Referenced by onMain().
|
inline |
References m_slave_alive, and m_slave_id.
|
inline |
|
inline |
References m_args, Supervisors::SlaveCPU::Arguments::pwr_chn, and sendPowerChannelControl().
|
inline |
References checkActivation(), and checkDeactivation().
|
inline |
|
inline |
|
inline |
References m_args, m_slave_id, and Supervisors::SlaveCPU::Arguments::slave_system.
|
inline |
Referenced by checkActivation(), onDeactivation(), and onRequestActivation().
Counter<double> Supervisors::SlaveCPU::Task::m_act_timer |
Activation timer.
Referenced by checkActivation(), checkDeactivation(), onRequestActivation(), and onRequestDeactivation().
Arguments Supervisors::SlaveCPU::Task::m_args |
Task arguments.
Referenced by checkActivation(), onDeactivation(), onRequestActivation(), onRequestDeactivation(), onUpdateParameters(), and Task().
bool Supervisors::SlaveCPU::Task::m_slave_alive |
True if slave CPU is alive.
Referenced by checkActivation(), consume(), and onRequestActivation().
unsigned Supervisors::SlaveCPU::Task::m_slave_id |
System id of the slave DUNE instance.
Referenced by consume(), onRequestDeactivation(), and onUpdateParameters().