Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes
WithRobot::iNodeParser Class Reference

#include <myahrs_plus.hpp>

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

List of all members.

Classes

struct  Node
struct  Stream
struct  Varient

Public Types

enum  Tag {
  TAG_TYPE_NONE = 0, TAG_TYPE_INT8 = 1, TAG_TYPE_UINT8 = 2, TAG_TYPE_INT16 = 3,
  TAG_TYPE_UINT16 = 4, TAG_TYPE_INT32 = 5, TAG_TYPE_UINT32 = 6, TAG_TYPE_INT64 = 7,
  TAG_TYPE_UINT64 = 8, TAG_TYPE_FLOAT32 = 9, TAG_TYPE_FLOAT64 = 10, TAG_TYPE_STRING = 11,
  TAG_HAS_LEAF_NODES = (0x01<<7), TAG_NEXT_NODE_EXIST = (0x01<<6), TAG_LIST_NODE = (0x01<<5), TAG_TYPE_MASK = 0x0F
}

Public Member Functions

 iNodeParser (unsigned char *stream=0, size_t stream_len=0)
virtual void new_node (std::vector< Node > &node_list)=0
void parse ()
virtual ~iNodeParser ()

Private Member Functions

void read_nodes ()

Private Attributes

bool debug
Stream istream
std::vector< Nodenode_list

Detailed Description

Definition at line 926 of file myahrs_plus.hpp.


Member Enumeration Documentation

Enumerator:
TAG_TYPE_NONE 
TAG_TYPE_INT8 
TAG_TYPE_UINT8 
TAG_TYPE_INT16 
TAG_TYPE_UINT16 
TAG_TYPE_INT32 
TAG_TYPE_UINT32 
TAG_TYPE_INT64 
TAG_TYPE_UINT64 
TAG_TYPE_FLOAT32 
TAG_TYPE_FLOAT64 
TAG_TYPE_STRING 
TAG_HAS_LEAF_NODES 
TAG_NEXT_NODE_EXIST 
TAG_LIST_NODE 
TAG_TYPE_MASK 

Definition at line 929 of file myahrs_plus.hpp.


Constructor & Destructor Documentation

WithRobot::iNodeParser::iNodeParser ( unsigned char *  stream = 0,
size_t  stream_len = 0 
) [inline]

Definition at line 1072 of file myahrs_plus.hpp.

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

Definition at line 1073 of file myahrs_plus.hpp.


Member Function Documentation

virtual void WithRobot::iNodeParser::new_node ( std::vector< Node > &  node_list) [pure virtual]
void WithRobot::iNodeParser::parse ( ) [inline]

Definition at line 1075 of file myahrs_plus.hpp.

void WithRobot::iNodeParser::read_nodes ( ) [inline, private]

Definition at line 1083 of file myahrs_plus.hpp.


Member Data Documentation

Definition at line 1067 of file myahrs_plus.hpp.

Definition at line 1066 of file myahrs_plus.hpp.

std::vector<Node> WithRobot::iNodeParser::node_list [private]

Definition at line 1069 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