DUNE: Uniform Navigational Environment  2019.02.1
Sensors::SCH311X::Task Struct Reference

Public Member Functions

 Task (const std::string &name, Tasks::Context &ctx)
 
void onUpdateParameters (void)
 
void onResourceInitialization (void)
 
void onEntityReservation (void)
 
double readValue (const char *file)
 
void task (void)
 

Public Attributes

Path m_paths [c_max_temps]
 
IMC::Temperature m_temps [c_max_temps]
 
Arguments m_args
 

Constructor & Destructor Documentation

Sensors::SCH311X::Task::Task ( const std::string &  name,
Tasks::Context &  ctx 
)
inline

Member Function Documentation

void Sensors::SCH311X::Task::onEntityReservation ( void  )
inline
void Sensors::SCH311X::Task::onResourceInitialization ( void  )
inline
void Sensors::SCH311X::Task::onUpdateParameters ( void  )
inline
double Sensors::SCH311X::Task::readValue ( const char *  file)
inline

Read value from file.

Parameters
[in]filefile descriptor.
Returns
value from descriptor.
void Sensors::SCH311X::Task::task ( void  )
inline

Member Data Documentation

Arguments Sensors::SCH311X::Task::m_args

Task arguments.

Path Sensors::SCH311X::Task::m_paths[c_max_temps]

Temperature file paths.

IMC::Temperature Sensors::SCH311X::Task::m_temps[c_max_temps]

Temperature messages.

Collaboration diagram for Sensors::SCH311X::Task:
Collaboration graph