DUNE: Uniform Navigational Environment  2019.02.1
Transports::TCP::Client::Task Struct Reference

Public Member Functions

 Task (const std::string &name, Tasks::Context &ctx)
 
 ~Task (void)
 
void onResourceAcquisition (void)
 
void onResourceRelease (void)
 
void onDataTransmission (const uint8_t *p, unsigned int len)
 
void onDataReception (uint8_t *p, unsigned int n, double timeout)
 

Public Attributes

Arguments m_args
 
TCPSocket * m_sock
 
IMC::Parser m_parser
 

Constructor & Destructor Documentation

Transports::TCP::Client::Task::Task ( const std::string &  name,
Tasks::Context &  ctx 
)
inline
Transports::TCP::Client::Task::~Task ( void  )
inline

Member Function Documentation

void Transports::TCP::Client::Task::onDataReception ( uint8_t *  p,
unsigned int  n,
double  timeout 
)
inline
void Transports::TCP::Client::Task::onDataTransmission ( const uint8_t *  p,
unsigned int  len 
)
inline
void Transports::TCP::Client::Task::onResourceAcquisition ( void  )
inline
void Transports::TCP::Client::Task::onResourceRelease ( void  )
inline

Member Data Documentation

Arguments Transports::TCP::Client::Task::m_args
IMC::Parser Transports::TCP::Client::Task::m_parser
TCPSocket* Transports::TCP::Client::Task::m_sock
Collaboration diagram for Transports::TCP::Client::Task:
Collaboration graph