#include <rs-data-collect.h>
Classes | |
struct | frame_record |
Public Member Functions | |
void | collect_frame_attributes (rs2::frame f, std::chrono::time_point< std::chrono::high_resolution_clock > start_time) |
bool | collecting (std::chrono::time_point< std::chrono::high_resolution_clock > start_time) |
data_collector (std::shared_ptr< rs2::device > dev, ValueArg< int > &timeout, ValueArg< int > &max_frames) | |
data_collector (const data_collector &) | |
void | parse_and_configure (ValueArg< string > &config_file) |
void | save_data_to_file (const string &out_filename) |
const std::vector< rs2::sensor > & | selected_sensors () const |
~data_collector () | |
Private Member Functions | |
bool | configure_sensors () |
bool | parse_configuration (const std::string &line, const std::vector< std::string > &tokens, rs2_stream &type, int &width, int &height, rs2_format &format, int &fps, int &index) |
Private Attributes | |
std::shared_ptr< rs2::device > | _dev |
uint64_t | _max_frames |
application_stop | _stop_cond |
int64_t | _time_out_sec |
std::vector< rs2::sensor > | active_sensors |
std::map< std::pair< rs2_stream, int >, std::vector< frame_record > > | data_collection |
std::vector< stream_request > | requests_to_go |
std::vector< rs2::stream_profile > | selected_stream_profiles |
std::vector< stream_request > | user_requests |
Definition at line 177 of file rs-data-collect.h.
data_collector::data_collector | ( | std::shared_ptr< rs2::device > | dev, |
ValueArg< int > & | timeout, | ||
ValueArg< int > & | max_frames | ||
) |
Definition at line 22 of file rs-data-collect.cpp.
|
inline |
Definition at line 182 of file rs-data-collect.h.
rs_data_collect::data_collector::data_collector | ( | const data_collector & | ) |
void data_collector::collect_frame_attributes | ( | rs2::frame | f, |
std::chrono::time_point< std::chrono::high_resolution_clock > | start_time | ||
) |
Definition at line 137 of file rs-data-collect.cpp.
bool data_collector::collecting | ( | std::chrono::time_point< std::chrono::high_resolution_clock > | start_time | ) |
Definition at line 169 of file rs-data-collect.cpp.
|
private |
Definition at line 228 of file rs-data-collect.cpp.
Definition at line 32 of file rs-data-collect.cpp.
|
private |
Definition at line 197 of file rs-data-collect.cpp.
Definition at line 100 of file rs-data-collect.cpp.
|
inline |
Definition at line 190 of file rs-data-collect.h.
|
private |
Definition at line 239 of file rs-data-collect.h.
|
private |
Definition at line 244 of file rs-data-collect.h.
|
private |
Definition at line 246 of file rs-data-collect.h.
|
private |
Definition at line 245 of file rs-data-collect.h.
|
private |
Definition at line 242 of file rs-data-collect.h.
|
private |
Definition at line 240 of file rs-data-collect.h.
|
private |
Definition at line 241 of file rs-data-collect.h.
|
private |
Definition at line 243 of file rs-data-collect.h.
|
private |
Definition at line 241 of file rs-data-collect.h.