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

Detailed Description

Task.

Public Member Functions

 Task (const std::string &name, Tasks::Context &ctx)
 
void onUpdateParameters (void)
 
void onResourceInitialization (void)
 
void onResourceRelease (void)
 
void setAddress (void)
 
void getData (void)
 
void task (void)
 

Public Attributes

TCPSocket * m_sock
 
Counter< float > m_wdog
 
Arguments m_args
 

Constructor & Destructor Documentation

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

Member Function Documentation

void Sensors::Genesys::Task::getData ( void  )
inline

Extract data from device.

void Sensors::Genesys::Task::onResourceInitialization ( void  )
inline
void Sensors::Genesys::Task::onResourceRelease ( void  )
inline

Release resources.

void Sensors::Genesys::Task::onUpdateParameters ( void  )
inline
void Sensors::Genesys::Task::setAddress ( void  )
inline

Send node address to establish communication.

References Sensors::Genesys::Arguments::addr.

void Sensors::Genesys::Task::task ( void  )
inline

Member Data Documentation

Arguments Sensors::Genesys::Task::m_args

Configuration parameters.

TCPSocket* Sensors::Genesys::Task::m_sock

TCP socket.

Counter<float> Sensors::Genesys::Task::m_wdog

Input Watchdog.

Collaboration diagram for Sensors::Genesys::Task:
Collaboration graph