10 _selected_stream_id(1.
f)
12 auto selected_stream_id = std::make_shared<ptr_option<float>>(0.f, 2.f, 1.f, 1.f,
14 std::map<float, std::string>{ {0.f,
"all"}, { 1.f,
"1" }, { 2.f,
"2" }});
48 auto current_key = std::make_pair(seq_id,
unique_id);
57 int seq_id_selected = (seq_id == 0) ? 1 : 0;
58 auto key_with_selected_id = std::make_pair(seq_id_selected,
unique_id);
rs2::frame process_frame(const rs2::frame_source &source, const rs2::frame &f) override
rs2_metadata_type get_frame_metadata(rs2_frame_metadata_value frame_metadata) const
stream_profile get_profile() const
bool supports_frame_metadata(rs2_frame_metadata_value frame_metadata) const
std::map< std::pair< int, int >, rs2::frame > _last_frames
void register_option(rs2_option id, std::shared_ptr< option > option)
GLsizei GLsizei GLchar * source
bool is_selected_id(int stream_index) const
bool should_process(const rs2::frame &frame) override
float _selected_stream_id