20 class pipeline :
public std::enable_shared_from_this<pipeline>
24 explicit pipeline(std::shared_ptr<librealsense::context>
ctx);
34 std::shared_ptr<device_interface>
wait_for_device(
const std::chrono::milliseconds&
timeout = std::chrono::hours::max(),
36 std::shared_ptr<librealsense::context>
get_context()
const;
53 std::shared_ptr<librealsense::context>
_ctx;
57 std::unique_ptr<syncer_process_unit>
_syncer;
std::unique_ptr< aggregator > _aggregator
std::shared_ptr< rs2_frame_callback > frame_callback_ptr
bool poll_for_frames(frame_holder *frame)
frame_holder wait_for_frames(unsigned int timeout_ms)
GLsizei const GLchar *const * string
std::vector< rs2_stream > _synced_streams
bool try_wait_for_frames(frame_holder *frame, unsigned int timeout_ms)
std::unique_ptr< syncer_process_unit > _syncer
void unsafe_start(std::shared_ptr< config > conf)
pipeline(std::shared_ptr< librealsense::context > ctx)
std::vector< int > on_start(std::shared_ptr< profile > profile)
std::shared_ptr< profile > start(std::shared_ptr< config > conf, frame_callback_ptr callback=nullptr)
frame_callback_ptr get_callback(std::vector< int > unique_ids)
frame_callback_ptr _streams_callback
std::shared_ptr< profile > _active_profile
std::shared_ptr< config > _prev_conf
GLbitfield GLuint64 timeout
std::shared_ptr< profile > unsafe_get_active_profile() const
std::shared_ptr< librealsense::context > get_context() const
int _playback_stopped_token
std::shared_ptr< device_interface > wait_for_device(const std::chrono::milliseconds &timeout=std::chrono::hours::max(), const std::string &serial="")
std::shared_ptr< profile > get_active_profile() const
std::shared_ptr< librealsense::context > _ctx