29 std::shared_ptr<profile>
resolve(std::shared_ptr<pipeline>
pipe,
const std::chrono::milliseconds&
timeout = std::chrono::milliseconds(0));
55 std::shared_ptr<profile>
resolve(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)
bool can_resolve(std::shared_ptr< pipeline > pipe)
GLsizei const GLchar *const * string
void enable_device(const std::string &serial)
config(const config &other)
void enable_device_from_file(const std::string &file, bool repeat_playback)
std::shared_ptr< device_interface > resolve_device_requests(std::shared_ptr< pipeline > pipe, const std::chrono::milliseconds &timeout)
void disable_stream(rs2_stream stream, int index=-1)
GLint GLsizei GLsizei height
GLint GLint GLsizei GLint GLenum format
std::shared_ptr< profile > get_cached_resolved_profile()
std::string record_output
rs2_format
A stream's format identifies how binary data is encoded within a frame.
stream_profiles get_default_configuration(std::shared_ptr< device_interface > dev)
std::vector< std::shared_ptr< stream_profile_interface >> stream_profiles
rs2_stream
Streams are different types of data provided by RealSense devices.
void disable_all_streams()
std::shared_ptr< profile > _resolved_profile
util::config filter_stream_requests(const stream_profiles &profiles) const
device_request _device_request
GLbitfield GLuint64 timeout
std::vector< std::pair< rs2_stream, int > > _streams_to_disable
void enable_record_to_file(const std::string &file)
std::map< std::pair< rs2_stream, int >, stream_profile > _stream_requests
bool get_repeat_playback()
void enable_stream(rs2_stream stream, int index, uint32_t width, uint32_t height, rs2_format format, uint32_t framerate)
std::shared_ptr< profile > resolve(std::shared_ptr< pipeline > pipe, const std::chrono::milliseconds &timeout=std::chrono::milliseconds(0))