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

#include <core_sensors.hpp>

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

Classes

struct  Data
 
struct  Flags
 

Public Member Functions

void build_special_variable (float &variable, ecl::PushAndPop< unsigned char > &byteStream)
 
 CoreSensors ()
 
bool deserialise (ecl::PushAndPop< unsigned char > &byteStream)
 
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::CoreSensors::Data data
 
lqueue< uint > queue_front_echo
 
lqueue< uint > queue_front_infrared
 
lqueue< uint > queue_rear_echo
 
lqueue< uint > queue_rear_infrared
 
- 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 36 of file core_sensors.hpp.

Constructor & Destructor Documentation

xbot::CoreSensors::CoreSensors ( )
inline

Definition at line 39 of file core_sensors.hpp.

Member Function Documentation

void xbot::CoreSensors::build_special_variable ( float &  variable,
ecl::PushAndPop< unsigned char > &  byteStream 
)

Definition at line 142 of file core_sensors.cpp.

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

Implements packet_handler::payloadBase.

Definition at line 49 of file core_sensors.cpp.

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

Implements packet_handler::payloadBase.

Definition at line 27 of file core_sensors.cpp.

Member Data Documentation

struct xbot::CoreSensors::Data xbot::CoreSensors::data
lqueue<uint> xbot::CoreSensors::queue_front_echo

Definition at line 74 of file core_sensors.hpp.

lqueue<uint> xbot::CoreSensors::queue_front_infrared

Definition at line 70 of file core_sensors.hpp.

lqueue<uint> xbot::CoreSensors::queue_rear_echo

Definition at line 75 of file core_sensors.hpp.

lqueue<uint> xbot::CoreSensors::queue_rear_infrared

Definition at line 71 of file core_sensors.hpp.


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