11 class software_sensor;
12 class software_device_info;
26 std::shared_ptr<software_device_info>
get_info();
32 std::vector<tagged_profile> markers;
43 std::shared_ptr<software_device_info>
_info;
48 std::weak_ptr<software_device>
_dev;
62 address <<
"software-device://";
63 if (
auto dev = _dev.lock())
66 address << (
unsigned long long)ptr;
71 std::shared_ptr<device_interface>
create(std::shared_ptr<context>,
bool)
const override 94 std::shared_ptr<stream_profile_interface> add_video_stream(
rs2_video_stream video_stream,
bool is_default=
false);
95 std::shared_ptr<stream_profile_interface> add_motion_stream(
rs2_motion_stream motion_stream,
bool is_default =
false);
96 std::shared_ptr<stream_profile_interface> add_pose_stream(
rs2_pose_stream pose_stream,
bool is_default =
false);
98 bool extend_to(
rs2_extension extension_type,
void** ptr)
override;
103 void close()
override;
106 void stop()
override;
113 void update_read_only_option(
rs2_option option,
float val);
135 void create_snapshot(std::shared_ptr<depth_stereo_sensor>& snapshot)
const override {}
164 std::shared_ptr<stream_profile_interface> find_profile_by_uid(
int uid);
stream_profiles _profiles
void create_snapshot(std::shared_ptr< depth_sensor > &snapshot) const override
stereo_extension(software_sensor *owner)
platform::backend_device_group get_device_data() const override
GLuint const GLchar * name
void create_snapshot(std::shared_ptr< depth_stereo_sensor > &snapshot) const override
rs2_option
Defines general configuration controls. These can generally be mapped to camera UVC controls...
virtual ~software_device()
std::shared_ptr< rs2_frame_callback > frame_callback_ptr
std::shared_ptr< software_device_info > _info
lazy< depth_extension > _depth_extension
All the parameters required to define a video stream.
All the parameters required to define a pose frame.
float get_stereo_baseline_mm() const override
std::map< rs2_frame_metadata_value, rs2_metadata_type > _metadata_map
void create_snapshot(std::shared_ptr< depth_sensor > &snapshot) const override
GLsizei const GLchar *const * string
static const textual_icon stop
std::shared_ptr< device_interface > create(std::shared_ptr< context >, bool) const override
void register_destruction_callback(software_device_destruction_callback_ptr)
lazy< stereo_extension > _stereo_extension
float get_depth_scale() const override
void register_extrinsic(const stream_interface &stream)
std::vector< rs2::stream_profile > init_stream_profiles(sw_context &sctx, std::shared_ptr< rs2::software_sensor > ss, std::string sensor_name, rs2::video_stream_profile c, rs2::video_stream_profile d)
All the parameters required to define a pose stream.
rs2_matchers
Specifies types of different matchers.
software_recommended_proccesing_blocks _pbs
All the parameters required to define a motion stream.
software_sensor & add_software_sensor(const std::string &name)
~software_recommended_proccesing_blocks() override
std::vector< std::shared_ptr< stream_profile_interface >> stream_profiles
std::shared_ptr< software_device_info > get_info()
processing_blocks get_recommended_processing_blocks() const override
std::vector< tagged_profile > get_profiles_tags() const override
void enable_recording(std::function< void(const depth_sensor &)> recording_function) override
All the parameters required to define a sensor notification.
software_device_info(std::shared_ptr< software_device > dev)
rs2_extension
Specifies advanced interfaces (capabilities) objects may implement.
long long rs2_metadata_type
float get_depth_scale() const override
librealsense::software_device_destruction_callback_ptr _user_destruction_callback
All the parameters required to define a motion frame.
void enable_recording(std::function< void(const depth_stereo_sensor &)> recording_function) override
GLuint GLuint64EXT address
std::vector< std::shared_ptr< software_sensor > > _software_sensors
std::shared_ptr< matcher > create_matcher(const frame_holder &frame) const override
software_sensor & get_software_sensor(int index)
All the parameters required to define a video frame.
std::shared_ptr< device_interface > create_device(bool) const override
processing_blocks _blocks
std::shared_ptr< rs2_software_device_destruction_callback > software_device_destruction_callback_ptr
std::weak_ptr< software_device > _dev
rs2_frame_metadata_value
Per-Frame-Metadata is the set of read-only properties that might be exposed for each individual frame...
void set_matcher_type(rs2_matchers matcher)
MAP_EXTENSION(RS2_EXTENSION_POINTS, librealsense::points)
depth_extension(software_sensor *owner)
void enable_recording(std::function< void(const depth_sensor &)> recording_function) override