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 | setActiveParameter (bool value) |
void | consume (const IMC::PowerOperation *msg) |
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 |
bool | m_slave_alive |
unsigned | m_slave_id |
|
inline |
|
inline |
References DUNE::Time::Counter< T >::getRemaining(), m_act_timer, m_slave_alive, DUNE::Time::Counter< T >::overflow(), and setActiveParameter().
Referenced by onMain().
|
inline |
References m_act_timer, and DUNE::Time::Counter< T >::overflow().
Referenced by onMain().
|
inline |
References m_slave_alive, and m_slave_id.
|
inline |
References m_slave_id.
|
inline |
|
inline |
|
inline |
References checkActivation(), and checkDeactivation().
|
inline |
|
inline |
References m_act_timer, m_slave_id, setActiveParameter(), and DUNE::Time::Counter< T >::setTop().
|
inline |
References m_args, m_slave_id, and Power::DOAMv2::Arguments::slave_system.
|
inline |
Referenced by onDeactivation(), and onRequestActivation().
|
inline |
References m_args, and Power::DOAMv2::Arguments::slave_entity.
Referenced by checkActivation(), and onRequestDeactivation().
Counter<double> Power::DOAMv2::Task::m_act_timer |
Activation timer.
Referenced by checkActivation(), checkDeactivation(), onRequestActivation(), and onRequestDeactivation().
Arguments Power::DOAMv2::Task::m_args |
Task arguments.
Referenced by onDeactivation(), onRequestActivation(), onUpdateParameters(), setActiveParameter(), and Task().
bool Power::DOAMv2::Task::m_slave_alive |
True if slave CPU is alive.
Referenced by checkActivation(), consume(), and onRequestActivation().
unsigned Power::DOAMv2::Task::m_slave_id |
System id of the slave DUNE instance.
Referenced by consume(), onRequestDeactivation(), and onUpdateParameters().