#include <terminal-parser.h>
Public Member Functions | |
std::vector< uint8_t > | parse_command (const std::string &command) const |
std::vector< uint8_t > | parse_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_t > | build_raw_command_data (const command_from_xml &command, const std::vector< std::string > ¶ms) const |
void | get_command_and_params_from_input (const std::string &line, command_from_xml &command, std::vector< std::string > ¶ms) const |
Private Attributes | |
commands_xml | _cmd_xml |
std::map< std::string, xml_parser_function > | _format_type_to_lambda |
Definition at line 13 of file terminal-parser.h.
librealsense::terminal_parser::terminal_parser | ( | const std::string & | xml_content | ) |
Definition at line 12 of file terminal-parser.cpp.
|
private |
Definition at line 71 of file terminal-parser.cpp.
|
private |
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.
|
private |
Definition at line 31 of file terminal-parser.h.
|
private |
Definition at line 30 of file terminal-parser.h.