#include <librealsense2/rs.hpp>
#include <iostream>
#include <fstream>
#include "tclap/CmdLine.h"
#include "parser.hpp"
#include "auto-complete.h"
#include <string>
Go to the source code of this file.
Functions | |
vector< uint8_t > | build_raw_command_data (const command &command, const vector< string > ¶ms) |
auto_complete | get_auto_complete_obj (bool is_application_in_hex_mode, const map< string, command > &commands_map) |
void | hex_mode (const string &line, rs2::device &dev) |
int | main (int argc, char **argv) |
void | read_script_file (const string &full_file_path, vector< string > &hex_lines) |
rs2::device | wait_for_device (const rs2::device_hub &hub, bool print_info=true) |
void | xml_mode (const string &line, const commands_xml &cmd_xml, rs2::device &dev, map< string, xml_parser_function > &format_type_to_lambda) |
Definition at line 19 of file rs-terminal.cpp.
auto_complete get_auto_complete_obj | ( | bool | is_application_in_hex_mode, |
const map< string, command > & | commands_map | ||
) |
Definition at line 119 of file rs-terminal.cpp.
void hex_mode | ( | const string & | line, |
rs2::device & | dev | ||
) |
Definition at line 96 of file rs-terminal.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 158 of file rs-terminal.cpp.
Definition at line 130 of file rs-terminal.cpp.
rs2::device wait_for_device | ( | const rs2::device_hub & | hub, |
bool | print_info = true |
||
) |
Definition at line 145 of file rs-terminal.cpp.
void xml_mode | ( | const string & | line, |
const commands_xml & | cmd_xml, | ||
rs2::device & | dev, | ||
map< string, xml_parser_function > & | format_type_to_lambda | ||
) |
Definition at line 40 of file rs-terminal.cpp.