Parser to read the type code of a tcp sequence.
More...
#include <ParseUserNameData.h>
|
uint8_t | readMajorNumber (std::vector< uint8_t >::const_iterator data_ptr) const |
|
uint8_t | readMinorNumber (std::vector< uint8_t >::const_iterator data_ptr) const |
|
uint32_t | readNameLength (std::vector< uint8_t >::const_iterator data_ptr) const |
|
uint8_t | readReleaseNumber (std::vector< uint8_t >::const_iterator data_ptr) const |
|
std::string | readUserName (std::vector< uint8_t >::const_iterator data_ptr) const |
|
std::string | readVersionIndicator (std::vector< uint8_t >::const_iterator data_ptr) const |
|
Parser to read the type code of a tcp sequence.
Definition at line 52 of file ParseUserNameData.h.
sick::data_processing::ParseUserNameData::ParseUserNameData |
( |
| ) |
|
Parses a tcp sequence to read the type code of the sensor.
- Parameters
-
buffer | The incoming tcp sequence. |
user_name | Reference to the user name, which will be written while parsing. |
- Returns
- If parsing was successful.
Definition at line 45 of file ParseUserNameData.cpp.
uint8_t sick::data_processing::ParseUserNameData::readMajorNumber |
( |
std::vector< uint8_t >::const_iterator |
data_ptr | ) |
const |
|
private |
uint8_t sick::data_processing::ParseUserNameData::readMinorNumber |
( |
std::vector< uint8_t >::const_iterator |
data_ptr | ) |
const |
|
private |
uint32_t sick::data_processing::ParseUserNameData::readNameLength |
( |
std::vector< uint8_t >::const_iterator |
data_ptr | ) |
const |
|
private |
uint8_t sick::data_processing::ParseUserNameData::readReleaseNumber |
( |
std::vector< uint8_t >::const_iterator |
data_ptr | ) |
const |
|
private |
std::string sick::data_processing::ParseUserNameData::readUserName |
( |
std::vector< uint8_t >::const_iterator |
data_ptr | ) |
const |
|
private |
std::string sick::data_processing::ParseUserNameData::readVersionIndicator |
( |
std::vector< uint8_t >::const_iterator |
data_ptr | ) |
const |
|
private |
The documentation for this class was generated from the following files: