Classes | Public Member Functions | Public Attributes | List of all members
xbot::Sensors Class Reference

#include <sensors.hpp>

Inheritance diagram for xbot::Sensors:
Inheritance graph
[legend]

Classes

struct  Data
 

Public Member Functions

bool deserialise (ecl::PushAndPop< unsigned char > &byteStream)
 
 Sensors ()
 
bool serialise (ecl::PushAndPop< unsigned char > &byteStream)
 
- Public Member Functions inherited from packet_handler::payloadBase
 payloadBase (const bool is_dynamic_=false, const unsigned char length_=0)
 
virtual ~payloadBase ()
 

Public Attributes

struct xbot::Sensors::Data data
 
- Public Attributes inherited from packet_handler::payloadBase
const bool is_dynamic
 
const unsigned char length
 
bool yes
 

Additional Inherited Members

- Protected Member Functions inherited from packet_handler::payloadBase
template<typename T >
void buildBytes (const T &V, ecl::PushAndPop< unsigned char > &buffer)
 
template<>
void buildBytes (const float &V, ecl::PushAndPop< unsigned char > &buffer)
 
template<typename T >
void buildVariable (T &V, ecl::PushAndPop< unsigned char > &buffer)
 
template<>
void buildVariable (float &V, ecl::PushAndPop< unsigned char > &buffer)
 

Detailed Description

Definition at line 35 of file sensors.hpp.

Constructor & Destructor Documentation

xbot::Sensors::Sensors ( )
inline

Definition at line 38 of file sensors.hpp.

Member Function Documentation

bool xbot::Sensors::deserialise ( ecl::PushAndPop< unsigned char > &  byteStream)
virtual

Implements packet_handler::payloadBase.

Definition at line 45 of file sensors.cpp.

bool xbot::Sensors::serialise ( ecl::PushAndPop< unsigned char > &  byteStream)
virtual

Implements packet_handler::payloadBase.

Definition at line 27 of file sensors.cpp.

Member Data Documentation

struct xbot::Sensors::Data xbot::Sensors::data

The documentation for this class was generated from the following files:


xbot_driver
Author(s): Roc, wangpeng@droid.ac.cn
autogenerated on Sat Oct 10 2020 03:27:38