DUNE: Uniform Navigational Environment  2.5.0
Supervisors::Power::Task Struct Reference

Public Member Functions

 Task (const std::string &name, Tasks::Context &ctx)
 
void onResourceInitialization (void)
 
void consume (const IMC::PowerOperation *msg)
 
void onMain (void)
 

Public Attributes

Arguments m_args
 
Commandm_cmd
 

Constructor & Destructor Documentation

Supervisors::Power::Task::Task ( const std::string &  name,
Tasks::Context &  ctx 
)
inline

Member Function Documentation

void Supervisors::Power::Task::consume ( const IMC::PowerOperation *  msg)
inline
void Supervisors::Power::Task::onResourceInitialization ( void  )
inline

Member Data Documentation

Arguments Supervisors::Power::Task::m_args

Task arguments.

Referenced by consume(), onMain(), and Task().

Command* Supervisors::Power::Task::m_cmd

Command.

Referenced by consume(), and onMain().

Collaboration diagram for Supervisors::Power::Task:
Collaboration graph