Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes
WithRobot::iAsciiProtocol Class Reference

#include <myahrs_plus.hpp>

Inheritance diagram for WithRobot::iAsciiProtocol:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 iAsciiProtocol ()
virtual ~iAsciiProtocol ()

Static Public Attributes

static const uint8_t MSG_CRC_DELIMITER = '*'
static const uint8_t MSG_HDR_COMMAND = '@'
static const uint8_t MSG_HDR_RESPONSE = '~'
static const uint8_t MSG_HDR_SENSOR_DATA = '$'
static const uint8_t MSG_TAIL_CR = '\r'
static const uint8_t MSG_TAIL_LF = '\n'

Protected Member Functions

void push_byte (unsigned char c)
virtual void update_attributes (std::vector< std::string > &tokens)=0

Private Member Functions

bool parse_message (const char *ascii_frame)

Private Attributes

bool debug
FrameBuffer frame_buffer

Detailed Description

Definition at line 722 of file myahrs_plus.hpp.


Constructor & Destructor Documentation

Definition at line 736 of file myahrs_plus.hpp.

virtual WithRobot::iAsciiProtocol::~iAsciiProtocol ( ) [inline, virtual]

Definition at line 738 of file myahrs_plus.hpp.


Member Function Documentation

bool WithRobot::iAsciiProtocol::parse_message ( const char *  ascii_frame) [inline, private]

Definition at line 771 of file myahrs_plus.hpp.

void WithRobot::iAsciiProtocol::push_byte ( unsigned char  c) [inline, protected]

Definition at line 741 of file myahrs_plus.hpp.

virtual void WithRobot::iAsciiProtocol::update_attributes ( std::vector< std::string > &  tokens) [protected, pure virtual]

Member Data Documentation

Definition at line 733 of file myahrs_plus.hpp.

Definition at line 732 of file myahrs_plus.hpp.

const uint8_t WithRobot::iAsciiProtocol::MSG_CRC_DELIMITER = '*' [static]

Definition at line 727 of file myahrs_plus.hpp.

const uint8_t WithRobot::iAsciiProtocol::MSG_HDR_COMMAND = '@' [static]

Definition at line 725 of file myahrs_plus.hpp.

const uint8_t WithRobot::iAsciiProtocol::MSG_HDR_RESPONSE = '~' [static]

Definition at line 726 of file myahrs_plus.hpp.

const uint8_t WithRobot::iAsciiProtocol::MSG_HDR_SENSOR_DATA = '$' [static]

Definition at line 724 of file myahrs_plus.hpp.

const uint8_t WithRobot::iAsciiProtocol::MSG_TAIL_CR = '\r' [static]

Definition at line 728 of file myahrs_plus.hpp.

const uint8_t WithRobot::iAsciiProtocol::MSG_TAIL_LF = '\n' [static]

Definition at line 729 of file myahrs_plus.hpp.


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


myahrs_driver
Author(s): Yoonseok Pyo
autogenerated on Sat Jun 8 2019 10:27:56