Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Classes | Public Member Functions | List of all members
librealsense::sr300_camera Class Referencefinal

#include <sr300.h>

Inheritance diagram for librealsense::sr300_camera:
librealsense::device librealsense::debug_interface librealsense::device_interface librealsense::info_container librealsense::recordable< debug_interface > librealsense::info_interface librealsense::info_interface librealsense::extension_snapshot librealsense::recordable< info_interface > librealsense::recordable< info_interface >

Classes

class  preset_option
 
class  sr300_color_sensor
 
class  sr300_depth_sensor
 

Public Member Functions

std::shared_ptr< uvc_sensorcreate_color_device (std::shared_ptr< context > ctx, const platform::uvc_device_info &color)
 
std::shared_ptr< uvc_sensorcreate_depth_device (std::shared_ptr< context > ctx, const platform::uvc_device_info &depth)
 
std::vector< uint8_t > send_receive_raw_data (const std::vector< uint8_t > &input) override
 
void hardware_reset () override
 
uvc_sensorget_depth_sensor ()
 
 sr300_camera (std::shared_ptr< context > ctx, const platform::uvc_device_info &color, const platform::uvc_device_info &depth, const platform::usb_device_info &hwm_device, const platform::backend_device_group &group, bool register_device_notifications)
 
void rs2_apply_ivcam_preset (int preset)
 
void create_snapshot (std::shared_ptr< debug_interface > &snapshot) const override
 
void enable_recording (std::function< void(const debug_interface &)> record_action) override
 
virtual std::shared_ptr< matchercreate_matcher (const frame_holder &frame) const override
 
- Public Member Functions inherited from librealsense::device
virtual ~device ()
 
size_t get_sensors_count () const override
 
sensor_interfaceget_sensor (size_t subdevice) override
 
const sensor_interfaceget_sensor (size_t subdevice) 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
 
bool is_valid () const override
 
- 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
const std::string & get_info (rs2_camera_info info) const override
 
bool supports_info (rs2_camera_info info) const override
 
void register_info (rs2_camera_info info, const std::string &val)
 
void update_info (rs2_camera_info info, const std::string &val)
 
void create_snapshot (std::shared_ptr< info_interface > &snapshot) const override
 
void enable_recording (std::function< void(const info_interface &)> record_action) override
 
void update (std::shared_ptr< extension_snapshot > ext) override
 
- Public Member Functions inherited from librealsense::extension_snapshot
virtual ~extension_snapshot ()=default
 
- Public Member Functions inherited from librealsense::recordable< debug_interface >
virtual ~recordable ()=default
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ sr300_camera()

librealsense::sr300_camera::sr300_camera ( std::shared_ptr< context ctx,
const platform::uvc_device_info color,
const platform::uvc_device_info depth,
const platform::usb_device_info hwm_device,
const platform::backend_device_group group,
bool  register_device_notifications 
)

Member Function Documentation

◆ create_color_device()

std::shared_ptr<uvc_sensor> librealsense::sr300_camera::create_color_device ( std::shared_ptr< context ctx,
const platform::uvc_device_info color 
)
inline

◆ create_depth_device()

std::shared_ptr<uvc_sensor> librealsense::sr300_camera::create_depth_device ( std::shared_ptr< context ctx,
const platform::uvc_device_info depth 
)
inline

◆ create_matcher()

virtual std::shared_ptr<matcher> librealsense::sr300_camera::create_matcher ( const frame_holder frame) const
overridevirtual

Reimplemented from librealsense::device.

◆ create_snapshot()

void librealsense::sr300_camera::create_snapshot ( std::shared_ptr< debug_interface > &  snapshot) const
overridevirtual

Create a snapshot of the deriving extension. A snapshot of T is a reflection of the state and memory of T at the time of the call

Implements librealsense::recordable< debug_interface >.

◆ enable_recording()

void librealsense::sr300_camera::enable_recording ( std::function< void(const debug_interface &)>  recording_function)
overridevirtual

Instruct the derived class to begin notifying on changes Derived class should call the recording_function with a reference of themselves

Implements librealsense::recordable< debug_interface >.

◆ get_depth_sensor()

uvc_sensor& librealsense::sr300_camera::get_depth_sensor ( )
inline

◆ hardware_reset()

void librealsense::sr300_camera::hardware_reset ( )
inlineoverridevirtual

Reimplemented from librealsense::device.

◆ rs2_apply_ivcam_preset()

void librealsense::sr300_camera::rs2_apply_ivcam_preset ( int  preset)
inline

◆ send_receive_raw_data()

std::vector<uint8_t> librealsense::sr300_camera::send_receive_raw_data ( const std::vector< uint8_t > &  input)
inlineoverridevirtual

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