Functions
rs-terminal.cpp File Reference
#include <librealsense2/rs.hpp>
#include <iostream>
#include <fstream>
#include "tclap/CmdLine.h"
#include "parser.hpp"
#include "auto-complete.h"
#include <string>
Include dependency graph for rs-terminal.cpp:

Go to the source code of this file.

Functions

vector< uint8_tbuild_raw_command_data (const command &command, const vector< string > &params)
 
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)
 

Function Documentation

vector<uint8_t> build_raw_command_data ( const command command,
const vector< string > &  params 
)

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.

void read_script_file ( const string full_file_path,
vector< string > &  hex_lines 
)

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.



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