Public Member Functions | Public Attributes | Private Member Functions | List of all members
WithRobot::iNodeParser::Stream Struct Reference

Public Member Functions

int getc ()
 
int peek ()
 
void read_list (uint8_t value_type, std::vector< Varient > &list, size_t count)
 
std::string read_string ()
 
template<typename T >
void read_value (T &value)
 
bool read_value (uint8_t value_type, Varient &v)
 
 Stream (unsigned char *s, size_t l)
 

Public Attributes

unsigned char * buffer
 
bool debug
 
size_t length
 
size_t pos
 

Private Member Functions

void print_buffer ()
 

Detailed Description

Definition at line 996 of file myahrs_plus.hpp.

Constructor & Destructor Documentation

WithRobot::iNodeParser::Stream::Stream ( unsigned char *  s,
size_t  l 
)
inline

Definition at line 1002 of file myahrs_plus.hpp.

Member Function Documentation

int WithRobot::iNodeParser::Stream::getc ( )
inline

Definition at line 1006 of file myahrs_plus.hpp.

int WithRobot::iNodeParser::Stream::peek ( )
inline

Definition at line 1011 of file myahrs_plus.hpp.

void WithRobot::iNodeParser::Stream::print_buffer ( )
inlineprivate

Definition at line 1056 of file myahrs_plus.hpp.

void WithRobot::iNodeParser::Stream::read_list ( uint8_t  value_type,
std::vector< Varient > &  list,
size_t  count 
)
inline

Definition at line 1040 of file myahrs_plus.hpp.

std::string WithRobot::iNodeParser::Stream::read_string ( )
inline

Definition at line 1049 of file myahrs_plus.hpp.

template<typename T >
void WithRobot::iNodeParser::Stream::read_value ( T &  value)
inline

Definition at line 1017 of file myahrs_plus.hpp.

bool WithRobot::iNodeParser::Stream::read_value ( uint8_t  value_type,
Varient v 
)
inline

Definition at line 1023 of file myahrs_plus.hpp.

Member Data Documentation

unsigned char* WithRobot::iNodeParser::Stream::buffer

Definition at line 997 of file myahrs_plus.hpp.

bool WithRobot::iNodeParser::Stream::debug

Definition at line 1000 of file myahrs_plus.hpp.

size_t WithRobot::iNodeParser::Stream::length

Definition at line 999 of file myahrs_plus.hpp.

size_t WithRobot::iNodeParser::Stream::pos

Definition at line 998 of file myahrs_plus.hpp.


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


myahrs_driver
Author(s): Yoonseok Pyo
autogenerated on Thu Jul 16 2020 03:08:51