DUNE: Uniform Navigational Environment  2019.02.1
Supervisors::Delegator::Task Struct Reference

Public Member Functions

 Task (const std::string &name, Tasks::Context &ctx)
 
bool onWriteParamsXML (std::ostream &os) const
 
void onUpdateParameters (void)
 
void onResourceInitialization (void)
 
void consume (const IMC::EntityParameters *msg)
 
void onQueryEntityParameters (const IMC::QueryEntityParameters *msg)
 
void onSetEntityParameters (const IMC::SetEntityParameters *msg)
 
void onPopEntityParameters (const IMC::PopEntityParameters *msg)
 
void onPushEntityParameters (const IMC::PushEntityParameters *msg)
 
void sendActiveParameter (const std::string &value)
 
void onRequestActivation (void)
 
void onRequestDeactivation (void)
 
bool isFromSurrogate (const IMC::Message *msg)
 
void consume (const IMC::EntityInfo *msg)
 
void consume (const IMC::EntityState *msg)
 
void consume (const IMC::EntityActivationState *msg)
 
void queryEntityInfo (void)
 
void relayFrom (const IMC::Message *msg)
 
void relayTo (const IMC::Message *msg)
 
void onMain (void)
 

Public Attributes

unsigned m_sid
 
unsigned m_eid
 
Counter< double > m_query_info_timer
 
Arguments m_args
 

Constructor & Destructor Documentation

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

Member Function Documentation

void Supervisors::Delegator::Task::consume ( const IMC::EntityParameters *  msg)
inline
void Supervisors::Delegator::Task::consume ( const IMC::EntityInfo *  msg)
inline
void Supervisors::Delegator::Task::consume ( const IMC::EntityState *  msg)
inline
void Supervisors::Delegator::Task::consume ( const IMC::EntityActivationState *  msg)
inline
bool Supervisors::Delegator::Task::isFromSurrogate ( const IMC::Message *  msg)
inline
void Supervisors::Delegator::Task::onMain ( void  )
inline
void Supervisors::Delegator::Task::onPopEntityParameters ( const IMC::PopEntityParameters *  msg)
inline
void Supervisors::Delegator::Task::onPushEntityParameters ( const IMC::PushEntityParameters *  msg)
inline
void Supervisors::Delegator::Task::onQueryEntityParameters ( const IMC::QueryEntityParameters *  msg)
inline
void Supervisors::Delegator::Task::onRequestActivation ( void  )
inline
void Supervisors::Delegator::Task::onRequestDeactivation ( void  )
inline
void Supervisors::Delegator::Task::onResourceInitialization ( void  )
inline
void Supervisors::Delegator::Task::onSetEntityParameters ( const IMC::SetEntityParameters *  msg)
inline
void Supervisors::Delegator::Task::onUpdateParameters ( void  )
inline
bool Supervisors::Delegator::Task::onWriteParamsXML ( std::ostream &  os) const
inline
void Supervisors::Delegator::Task::queryEntityInfo ( void  )
inline
void Supervisors::Delegator::Task::relayFrom ( const IMC::Message *  msg)
inline
void Supervisors::Delegator::Task::relayTo ( const IMC::Message *  msg)
inline
void Supervisors::Delegator::Task::sendActiveParameter ( const std::string &  value)
inline

Member Data Documentation

Arguments Supervisors::Delegator::Task::m_args

Task arguments.

unsigned Supervisors::Delegator::Task::m_eid

Surrogate entity id.

Counter<double> Supervisors::Delegator::Task::m_query_info_timer
unsigned Supervisors::Delegator::Task::m_sid

Surrogate system id.

Collaboration diagram for Supervisors::Delegator::Task:
Collaboration graph