Public Member Functions | Private Member Functions | Private Attributes | List of all members
librealsense::terminal_parser Class Reference

#include <terminal-parser.h>

Public Member Functions

std::vector< uint8_tparse_command (const std::string &command) const
std::vector< uint8_tparse_response (const std::string &command, const std::vector< uint8_t > &response) const
 terminal_parser (const std::string &xml_content)

Private Member Functions

std::vector< uint8_tbuild_raw_command_data (const command_from_xml &command, const std::vector< std::string > &params) const
void get_command_and_params_from_input (const std::string &line, command_from_xml &command, std::vector< std::string > &params) const

Private Attributes

commands_xml _cmd_xml
std::map< std::string, xml_parser_function_format_type_to_lambda

Detailed Description

Definition at line 13 of file terminal-parser.h.

Constructor & Destructor Documentation

librealsense::terminal_parser::terminal_parser ( const std::string xml_content)

Definition at line 12 of file terminal-parser.cpp.

Member Function Documentation

vector< uint8_t > librealsense::terminal_parser::build_raw_command_data ( const command_from_xml command,
const std::vector< std::string > &  params 
) const

Definition at line 71 of file terminal-parser.cpp.

void librealsense::terminal_parser::get_command_and_params_from_input ( const std::string line,
command_from_xml command,
std::vector< std::string > &  params 
) const

Definition at line 92 of file terminal-parser.cpp.

std::vector< uint8_t > librealsense::terminal_parser::parse_command ( const std::string command) const

Definition at line 22 of file terminal-parser.cpp.

std::vector< uint8_t > librealsense::terminal_parser::parse_response ( const std::string command,
const std::vector< uint8_t > &  response 
) const

Definition at line 40 of file terminal-parser.cpp.

Member Data Documentation

commands_xml librealsense::terminal_parser::_cmd_xml

Definition at line 31 of file terminal-parser.h.

std::map<std::string, xml_parser_function> librealsense::terminal_parser::_format_type_to_lambda

Definition at line 30 of file terminal-parser.h.

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

Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:38