27 void close()
override;
54 template <rs2_extension E,
typename P>
bool extend_to_aux(P*
p,
void** ext);
88 on_notification_function(_notification);
stream_profiles get_active_streams() const override
private const recordable< T > & snapshot
GLenum GLuint GLenum GLsizei const GLchar * message
rs2_camera_info
Read-only strings that can be queried from the device. Not all information attributes are available o...
option & get_option(rs2_option id) override
boost_foreach_argument_dependent_lookup_hack tag
bool m_register_notification_to_base
rs2_option
Defines general configuration controls. These can generally be mapped to camera UVC controls...
virtual processing_blocks get_recommended_processing_blocks() const override
std::shared_ptr< rs2_frame_callback > frame_callback_ptr
int m_before_start_callback_token
frame_callback_ptr m_frame_callback
void start(frame_callback_ptr callback) override
void stop_with_error(const std::string &message)
void hook_sensor_callbacks()
std::function< void(frame_interface *)> on_frame
librealsense::notifications_callback_ptr m_user_notification_callback
GLsizei const GLchar *const * string
stream_profiles get_stream_profiles(int tag=profile_tag::PROFILE_TAG_ANY) const override
void on_frame(rs2_frame *fref) override
void record_frame(frame_holder holder)
int register_before_streaming_changes_callback(std::function< void(bool)> callback) override
void open(const stream_profiles &requests) override
def info(name, value, persistent=False)
device_interface & get_device() override
std::function< void(rs2_notification *)> on_notification_function
frame_callback_ptr m_original_callback
notifications_callback_ptr get_notifications_callback() const override
std::function< void(frame_holder)> on_frame_function
std::atomic_bool m_is_recording
bool supports_option(rs2_option id) const override
std::shared_ptr< rs2_notifications_callback > notifications_callback_ptr
const std::string & get_info(rs2_camera_info info) const override
bool extend_to_aux(P *p, void **ext)
void unregister_before_start_callback(int token) override
signal< record_sensor, frame_holder > on_frame
bool is_streaming() const override
frame_callback_ptr wrap_frame_callback(frame_callback_ptr callback)
void register_notifications_callback(notifications_callback_ptr callback) override
signal< record_sensor, rs2_extension, std::shared_ptr< extension_snapshot > > on_extension_change
record_sensor(device_interface &device, sensor_interface &sensor)
void on_notification(rs2_notification *_notification) override
signal< record_sensor, const notification & > on_notification
std::vector< std::shared_ptr< stream_profile_interface >> stream_profiles
frame_callback_ptr get_frames_callback() const override
rs2_extension
Specifies advanced interfaces (capabilities) objects may implement.
void set_frames_callback(frame_callback_ptr callback) override
void enable_sensor_options_recording()
bool extend_to(rs2_extension extension_type, void **ext) override
void disable_sensor_options_recording()
frame_holder_callback(std::function< void(frame_holder)> on_frame)
std::set< int > m_recorded_streams_ids
void disable_sensor_hooks()
void enable_sensor_hooks()
notification_callback(std::function< void(rs2_notification *)> on_notification)
bool supports_info(rs2_camera_info info) const override
void unhook_sensor_callbacks()
std::set< rs2_option > m_recording_options
device_interface & m_parent_device
struct rs2_frame rs2_frame