Public Member Functions | Private Attributes | List of all members
librealsense::software_device Class Reference

#include <software-device.h>

Inheritance diagram for librealsense::software_device:
Inheritance graph

Public Member Functions

software_sensoradd_software_sensor (const std::string &name)
std::shared_ptr< matchercreate_matcher (const frame_holder &frame) const override
std::shared_ptr< software_device_infoget_info ()
std::vector< tagged_profileget_profiles_tags () const override
software_sensorget_software_sensor (int index)
void register_destruction_callback (software_device_destruction_callback_ptr)
void register_extrinsic (const stream_interface &stream)
void set_matcher_type (rs2_matchers matcher)
 software_device ()
virtual ~software_device ()
- Public Member Functions inherited from librealsense::device
virtual bool compress_while_record () const override
virtual bool contradicts (const stream_profile_interface *a, const std::vector< stream_profile > &others) const override
size_t find_sensor_idx (const sensor_interface &s) const
std::shared_ptr< contextget_context () const override
platform::backend_device_group get_device_data () const override
std::pair< uint32_t, rs2_extrinsicsget_extrinsics (const stream_interface &stream) const override
sensor_interfaceget_sensor (size_t subdevice) override
const sensor_interfaceget_sensor (size_t subdevice) const override
size_t get_sensors_count () const override
void hardware_reset () override
bool is_valid () const override
virtual void stop_activity () const
void tag_profiles (stream_profiles profiles) const override
virtual ~device ()
- Public Member Functions inherited from librealsense::device_interface
virtual ~device_interface ()=default
- Public Member Functions inherited from librealsense::info_interface
virtual ~info_interface ()=default
- Public Member Functions inherited from librealsense::recordable< info_interface >
virtual ~recordable ()=default
- Public Member Functions inherited from librealsense::info_container
void create_snapshot (std::shared_ptr< info_interface > &snapshot) const override
void enable_recording (std::function< void(const info_interface &)> record_action) override
const std::stringget_info (rs2_camera_info info) const override
void register_info (rs2_camera_info info, const std::string &val)
bool supports_info (rs2_camera_info info) const override
void update (std::shared_ptr< extension_snapshot > ext) override
void update_info (rs2_camera_info info, const std::string &val)
- Public Member Functions inherited from librealsense::extension_snapshot
virtual ~extension_snapshot ()=default

Private Attributes

std::shared_ptr< software_device_info_info
rs2_matchers _matcher = RS2_MATCHER_DEFAULT
std::vector< std::shared_ptr< software_sensor > > _software_sensors
librealsense::software_device_destruction_callback_ptr _user_destruction_callback

Additional Inherited Members

- Protected Member Functions inherited from librealsense::device
int add_sensor (const std::shared_ptr< sensor_interface > &sensor_base)
int assign_sensor (const std::shared_ptr< sensor_interface > &sensor_base, uint8_t idx)
 device (std::shared_ptr< context > ctx, const platform::backend_device_group group, bool device_changed_notifications=false)
std::vector< rs2_formatmap_supported_color_formats (rs2_format source_format)
void register_stream_to_extrinsic_group (const stream_interface &stream, uint32_t groupd_index)
- Protected Attributes inherited from librealsense::device
std::map< int, std::pair< uint32_t, std::shared_ptr< const stream_interface > > > _extrinsics

Detailed Description

Definition at line 14 of file software-device.h.

Constructor & Destructor Documentation

librealsense::software_device::software_device ( )

Definition at line 9 of file software-device.cpp.

librealsense::software_device::~software_device ( )

Definition at line 16 of file software-device.cpp.

Member Function Documentation

software_sensor & librealsense::software_device::add_software_sensor ( const std::string name)

Definition at line 22 of file software-device.cpp.

std::shared_ptr< matcher > librealsense::software_device::create_matcher ( const frame_holder frame) const

Reimplemented from librealsense::device.

Definition at line 82 of file software-device.cpp.

std::shared_ptr< software_device_info > librealsense::software_device::get_info ( )

Definition at line 61 of file software-device.cpp.

std::vector<tagged_profile> librealsense::software_device::get_profiles_tags ( ) const

Implements librealsense::device_interface.

Definition at line 30 of file software-device.h.

software_sensor & librealsense::software_device::get_software_sensor ( int  index)

Definition at line 52 of file software-device.cpp.

void librealsense::software_device::register_destruction_callback ( software_device_destruction_callback_ptr  callback)

Definition at line 47 of file software-device.cpp.

void librealsense::software_device::register_extrinsic ( const stream_interface stream)

Definition at line 31 of file software-device.cpp.

void librealsense::software_device::set_matcher_type ( rs2_matchers  matcher)

Definition at line 68 of file software-device.cpp.

Member Data Documentation

std::shared_ptr<software_device_info> librealsense::software_device::_info

Definition at line 43 of file software-device.h.

rs2_matchers librealsense::software_device::_matcher = RS2_MATCHER_DEFAULT

Definition at line 42 of file software-device.h.

std::vector<std::shared_ptr<software_sensor> > librealsense::software_device::_software_sensors

Definition at line 40 of file software-device.h.

librealsense::software_device_destruction_callback_ptr librealsense::software_device::_user_destruction_callback

Definition at line 41 of file software-device.h.

The documentation for this class was generated from the following files:

Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:38