Classes | Public Member Functions | Public Attributes | List of all members
kobuki::Firmware Class Reference

#include <firmware.hpp>

Inheritance diagram for kobuki::Firmware:
Inheritance graph
[legend]

Classes

struct  Data
 

Public Member Functions

int check_major_version ()
 
int check_minor_version ()
 
bool constrain ()
 
int current_major_version ()
 
int current_minor_version ()
 
std::string current_version ()
 
bool deserialise (ecl::PushAndPop< unsigned char > &byteStream)
 
 Firmware ()
 
int flashed_major_version ()
 
int flashed_minor_version ()
 
std::string flashed_version ()
 
bool serialise (ecl::PushAndPop< unsigned char > &byteStream)
 
void showMe ()
 
- Public Member Functions inherited from packet_handler::payloadBase
 payloadBase (const bool is_dynamic_=false, const unsigned char length_=0)
 
virtual ~payloadBase ()
 

Public Attributes

struct kobuki::Firmware::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 42 of file firmware.hpp.

Constructor & Destructor Documentation

kobuki::Firmware::Firmware ( )
inline

Definition at line 45 of file firmware.hpp.

Member Function Documentation

int kobuki::Firmware::check_major_version ( )
inline

Definition at line 128 of file firmware.hpp.

int kobuki::Firmware::check_minor_version ( )
inline

Definition at line 136 of file firmware.hpp.

bool kobuki::Firmware::constrain ( )
inline

Definition at line 97 of file firmware.hpp.

int kobuki::Firmware::current_major_version ( )
inline

Definition at line 122 of file firmware.hpp.

int kobuki::Firmware::current_minor_version ( )
inline

Definition at line 123 of file firmware.hpp.

std::string kobuki::Firmware::current_version ( )
inline

Definition at line 106 of file firmware.hpp.

bool kobuki::Firmware::deserialise ( ecl::PushAndPop< unsigned char > &  byteStream)
inlinevirtual

Implements packet_handler::payloadBase.

Definition at line 60 of file firmware.hpp.

int kobuki::Firmware::flashed_major_version ( )
inline

Definition at line 125 of file firmware.hpp.

int kobuki::Firmware::flashed_minor_version ( )
inline

Definition at line 126 of file firmware.hpp.

std::string kobuki::Firmware::flashed_version ( )
inline

Definition at line 114 of file firmware.hpp.

bool kobuki::Firmware::serialise ( ecl::PushAndPop< unsigned char > &  byteStream)
inlinevirtual

Implements packet_handler::payloadBase.

Definition at line 51 of file firmware.hpp.

void kobuki::Firmware::showMe ( )
inline

Definition at line 102 of file firmware.hpp.

Member Data Documentation

struct kobuki::Firmware::Data kobuki::Firmware::data

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


kobuki_driver
Author(s): Daniel Stonier , Younghun Ju , Jorge Santos Simon
autogenerated on Mon Mar 27 2017 01:02:59