DUNE: Uniform Navigational Environment  2016.03.0
UserInterfaces::Buttons::Task Struct Reference

Public Member Functions

 Task (const std::string &name, Tasks::Context &ctx)
 
void onResourceAcquisition (void)
 
void onResourceRelease (void)
 
void onMain (void)
 

Public Attributes

Hardware::Buttons * m_buttons
 
IMC::ButtonEvent m_button_event
 
Arguments m_args
 

Constructor & Destructor Documentation

UserInterfaces::Buttons::Task::Task ( const std::string &  name,
Tasks::Context &  ctx 
)
inline

Member Function Documentation

void UserInterfaces::Buttons::Task::onMain ( void  )
inline
void UserInterfaces::Buttons::Task::onResourceAcquisition ( void  )
inline
void UserInterfaces::Buttons::Task::onResourceRelease ( void  )
inline

References m_buttons.

Member Data Documentation

Arguments UserInterfaces::Buttons::Task::m_args

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

IMC::ButtonEvent UserInterfaces::Buttons::Task::m_button_event

Referenced by onMain().

Hardware::Buttons* UserInterfaces::Buttons::Task::m_buttons
Collaboration diagram for UserInterfaces::Buttons::Task:
Collaboration graph