#include <config.h>
Classes | |
struct | device_request |
Public Member Functions | |
bool | can_resolve (std::shared_ptr< pipeline > pipe) |
config () | |
config (const config &other) | |
void | disable_all_streams () |
void | disable_stream (rs2_stream stream, int index=-1) |
void | enable_all_stream () |
void | enable_device (const std::string &serial) |
void | enable_device_from_file (const std::string &file, bool repeat_playback) |
void | enable_record_to_file (const std::string &file) |
void | enable_stream (rs2_stream stream, int index, uint32_t width, uint32_t height, rs2_format format, uint32_t framerate) |
std::shared_ptr< profile > | get_cached_resolved_profile () |
bool | get_repeat_playback () |
std::shared_ptr< profile > | resolve (std::shared_ptr< pipeline > pipe, const std::chrono::milliseconds &timeout=std::chrono::milliseconds(0)) |
Private Member Functions | |
util::config | filter_stream_requests (const stream_profiles &profiles) const |
stream_profiles | get_default_configuration (std::shared_ptr< device_interface > dev) |
std::shared_ptr< device_interface > | get_or_add_playback_device (std::shared_ptr< context > ctx, const std::string &file) |
std::shared_ptr< profile > | resolve (std::shared_ptr< device_interface > dev) |
std::shared_ptr< device_interface > | resolve_device_requests (std::shared_ptr< pipeline > pipe, const std::chrono::milliseconds &timeout) |
Private Attributes | |
device_request | _device_request |
bool | _enable_all_streams = false |
std::mutex | _mtx |
bool | _playback_loop |
std::shared_ptr< profile > | _resolved_profile |
std::map< std::pair< rs2_stream, int >, stream_profile > | _stream_requests |
std::vector< std::pair< rs2_stream, int > > | _streams_to_disable |
librealsense::pipeline::config::config | ( | ) |
Definition at line 11 of file pipeline/config.cpp.
|
inline |
bool librealsense::pipeline::config::can_resolve | ( | std::shared_ptr< pipeline > | pipe | ) |
Definition at line 225 of file pipeline/config.cpp.
void librealsense::pipeline::config::disable_all_streams | ( | ) |
Definition at line 91 of file pipeline/config.cpp.
void librealsense::pipeline::config::disable_stream | ( | rs2_stream | stream, |
int | index = -1 |
||
) |
Definition at line 70 of file pipeline/config.cpp.
void librealsense::pipeline::config::enable_all_stream | ( | ) |
Definition at line 25 of file pipeline/config.cpp.
void librealsense::pipeline::config::enable_device | ( | const std::string & | serial | ) |
Definition at line 34 of file pipeline/config.cpp.
void librealsense::pipeline::config::enable_device_from_file | ( | const std::string & | file, |
bool | repeat_playback = true |
||
) |
Definition at line 41 of file pipeline/config.cpp.
void librealsense::pipeline::config::enable_record_to_file | ( | const std::string & | file | ) |
Definition at line 53 of file pipeline/config.cpp.
void librealsense::pipeline::config::enable_stream | ( | rs2_stream | stream, |
int | index, | ||
uint32_t | width, | ||
uint32_t | height, | ||
rs2_format | format, | ||
uint32_t | framerate | ||
) |
Definition at line 15 of file pipeline/config.cpp.
|
private |
Definition at line 100 of file pipeline/config.cpp.
std::shared_ptr< profile > librealsense::pipeline::config::get_cached_resolved_profile | ( | ) |
Definition at line 64 of file pipeline/config.cpp.
|
private |
Definition at line 309 of file pipeline/config.cpp.
|
private |
Definition at line 244 of file pipeline/config.cpp.
bool librealsense::pipeline::config::get_repeat_playback | ( | ) |
Definition at line 323 of file pipeline/config.cpp.
std::shared_ptr< profile > librealsense::pipeline::config::resolve | ( | std::shared_ptr< pipeline > | pipe, |
const std::chrono::milliseconds & | timeout = std::chrono::milliseconds(0) |
||
) |
Definition at line 183 of file pipeline/config.cpp.
|
private |
Definition at line 136 of file pipeline/config.cpp.
|
private |
Definition at line 262 of file pipeline/config.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |