Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
rsimpl::zr300_camera Class Referencefinal

#include <zr300.h>

Inheritance diagram for rsimpl::zr300_camera:
Inheritance graph
[legend]

Public Member Functions

unsigned long long get_frame_counter_by_usb_cmd ()
 
rs_extrinsics get_motion_extrinsics_from (rs_stream from) const override
 
rs_motion_intrinsics get_motion_intrinsics () const override
 
void get_option_range (rs_option option, double &min, double &max, double &step, double &def) override
 
void get_options (const rs_option options[], size_t count, double values[]) override
 
rs_stream select_key_stream (const std::vector< rsimpl::subdevice_mode_selection > &selected_modes) override
 
void send_blob_to_device (rs_blob_type type, void *data, int size) override
 
void set_options (const rs_option options[], size_t count, const double values[]) override
 
void start (rs_source source) override
 
void start_motion_tracking () override
 
void stop (rs_source source) override
 
void stop_motion_tracking () override
 
bool supports_option (rs_option option) const override
 
 zr300_camera (std::shared_ptr< uvc::device > device, const static_device_info &info, motion_module_calibration fe_intrinsic, calibration_validator validator)
 
 ~zr300_camera ()
 
- Public Member Functions inherited from rsimpl::ds::ds_device
std::shared_ptr< frame_timestamp_readercreate_frame_timestamp_reader (int subdevice) const
 
std::vector< std::shared_ptr< frame_timestamp_reader > > create_frame_timestamp_readers () const override
 
 ds_device (std::shared_ptr< uvc::device > device, const static_device_info &info, calibration_validator validator)
 
void on_before_start (const std::vector< subdevice_mode_selection > &selected_modes) override
 
rs_stream select_key_stream (const std::vector< rsimpl::subdevice_mode_selection > &selected_modes) override
 
virtual void start_fw_logger (char fw_log_op_code, int grab_rate_in_ms, std::timed_mutex &mutex) override
 
virtual void stop_fw_logger () override
 
 ~ds_device ()
 
- Public Member Functions inherited from rs_device_base
rs_frame_refclone_frame (rs_frame_ref *frame) override
 
void disable_motion_tracking () override
 
void disable_stream (rs_stream stream) override
 
void enable_motion_tracking () override
 
void enable_stream (rs_stream stream, int width, int height, rs_format format, int fps, rs_output_buffer_format output) override
 
void enable_stream_preset (rs_stream stream, rs_preset preset) override
 
const char * get_camera_info (rs_camera_info info) const override
 
float get_depth_scale () const override
 
const char * get_firmware_version () const override
 
const char * get_name () const override
 
const char * get_option_description (rs_option option) const override
 
const char * get_serial () const override
 
const rsimpl::stream_interfaceget_stream_interface (rs_stream stream) const override
 
const char * get_usb_port_id () const override
 
bool is_capturing () const override
 
int is_motion_tracking_active () const override
 
bool poll_all_streams () override
 
void release_frame (rs_frame_ref *ref) override
 
 rs_device_base (std::shared_ptr< rsimpl::uvc::device > device, const rsimpl::static_device_info &info, rsimpl::calibration_validator validator=rsimpl::calibration_validator())
 
virtual rs_stream select_key_stream (const std::vector< rsimpl::subdevice_mode_selection > &selected_modes)=0
 
void set_motion_callback (rs_motion_callback *callback) override
 
void set_motion_callback (void(*on_event)(rs_device *device, rs_motion_data data, void *user), void *user) override
 
void set_stream_callback (rs_stream stream, void(*on_frame)(rs_device *device, rs_frame_ref *frame, void *user), void *user) override
 
void set_stream_callback (rs_stream stream, rs_frame_callback *callback) override
 
void set_timestamp_callback (void(*on_event)(rs_device *device, rs_timestamp_data data, void *user), void *user) override
 
void set_timestamp_callback (rs_timestamp_callback *callback) override
 
virtual bool supports (rs_capabilities capability) const override
 
virtual bool supports (rs_camera_info info_param) const override
 
void wait_all_streams () override
 
virtual ~rs_device_base ()
 
- Public Member Functions inherited from rs_device
virtual ~rs_device ()
 

Protected Member Functions

void on_before_callback (rs_stream, rs_frame_ref *, std::shared_ptr< rsimpl::frame_archive >) override
 
void toggle_motion_module_events (bool bOn)
 
void toggle_motion_module_power (bool bOn)
 
- Protected Member Functions inherited from rsimpl::ds::ds_device
std::vector< supported_optionget_ae_range_vec ()
 
uint32_t get_lr_framerate () const
 
bool is_disparity_mode_enabled () const
 
void on_update_depth_units (uint32_t units)
 
void on_update_disparity_multiplier (double multiplier)
 
- Protected Member Functions inherited from rs_device_base
virtual void disable_auto_option (int subdevice, rs_option auto_opt)
 
const rsimpl::uvc::device & get_device () const
 
rsimpl::uvc::device & get_device ()
 
virtual void on_before_callback (rs_stream, rs_frame_ref *, std::shared_ptr< rsimpl::frame_archive >)
 
virtual void start_video_streaming ()
 
virtual void stop_video_streaming ()
 

Protected Attributes

std::timed_mutex usbMutex
 
- Protected Attributes inherited from rsimpl::ds::ds_device
time_pad start_stop_pad
 
- Protected Attributes inherited from rs_device_base
rsimpl::device_config config
 
std::atomic< intframes_drops_counter
 
std::atomic< bool > keep_fw_logger_alive
 
bool motion_module_ready
 

Private Member Functions

unsigned get_auto_exposure_state (rs_option option)
 
unsigned get_fw_logger_option ()
 
void set_auto_exposure_state (rs_option option, double value)
 
void set_fw_logger_option (double value)
 
bool validate_motion_extrinsics (rs_stream) const
 
bool validate_motion_intrinsics () const
 

Private Attributes

std::shared_ptr< auto_exposure_mechanismauto_exposure
 
fisheye_auto_exposure_state auto_exposure_state
 
motion_module_calibration fe_intrinsic
 
motion_module::mm_config motion_module_configuration
 
motion_module::motion_module_control motion_module_ctrl
 
std::atomic< bool > to_add_frames
 

Additional Inherited Members

- Static Public Member Functions inherited from rsimpl::ds::ds_device
static void set_common_ds_config (std::shared_ptr< uvc::device > device, static_device_info &info, const ds::ds_info &cam_info)
 
- Static Public Member Functions inherited from rs_device_base
static void update_device_info (rsimpl::static_device_info &info)
 

Detailed Description

Definition at line 287 of file zr300.h.

Constructor & Destructor Documentation

rsimpl::zr300_camera::zr300_camera ( std::shared_ptr< uvc::device >  device,
const static_device_info info,
motion_module_calibration  fe_intrinsic,
calibration_validator  validator 
)

Definition at line 20 of file zr300.cpp.

rsimpl::zr300_camera::~zr300_camera ( )

Definition at line 28 of file zr300.cpp.

Member Function Documentation

unsigned rsimpl::zr300_camera::get_auto_exposure_state ( rs_option  option)
private

Definition at line 141 of file zr300.cpp.

unsigned long long rsimpl::zr300_camera::get_frame_counter_by_usb_cmd ( )

Definition at line 336 of file zr300.cpp.

unsigned rsimpl::zr300_camera::get_fw_logger_option ( )
private

Definition at line 168 of file zr300.cpp.

rs_extrinsics rsimpl::zr300_camera::get_motion_extrinsics_from ( rs_stream  from) const
overridevirtual

Reimplemented from rs_device_base.

Definition at line 299 of file zr300.cpp.

rs_motion_intrinsics rsimpl::zr300_camera::get_motion_intrinsics ( ) const
overridevirtual

Reimplemented from rs_device_base.

Definition at line 272 of file zr300.cpp.

void rsimpl::zr300_camera::get_option_range ( rs_option  option,
double &  min,
double &  max,
double &  step,
double &  def 
)
overridevirtual

Reimplemented from rsimpl::ds::ds_device.

Definition at line 318 of file zr300.cpp.

void rsimpl::zr300_camera::get_options ( const rs_option  options[],
size_t  count,
double  values[] 
)
overridevirtual

Reimplemented from rsimpl::ds::ds_device.

Definition at line 83 of file zr300.cpp.

void rsimpl::zr300_camera::on_before_callback ( rs_stream  stream,
rs_frame_ref frame,
std::shared_ptr< rsimpl::frame_archive archive 
)
overrideprotected

Definition at line 146 of file zr300.cpp.

rs_stream rsimpl::zr300_camera::select_key_stream ( const std::vector< rsimpl::subdevice_mode_selection > &  selected_modes)
override

Definition at line 249 of file zr300.cpp.

void rsimpl::zr300_camera::send_blob_to_device ( rs_blob_type  type,
void data,
int  size 
)
overridevirtual

Reimplemented from rs_device_base.

Definition at line 130 of file zr300.cpp.

void rsimpl::zr300_camera::set_auto_exposure_state ( rs_option  option,
double  value 
)
private

Definition at line 173 of file zr300.cpp.

void rsimpl::zr300_camera::set_fw_logger_option ( double  value)
private

Definition at line 154 of file zr300.cpp.

void rsimpl::zr300_camera::set_options ( const rs_option  options[],
size_t  count,
const double  values[] 
)
overridevirtual

Reimplemented from rsimpl::ds::ds_device.

Definition at line 45 of file zr300.cpp.

void rsimpl::zr300_camera::start ( rs_source  source)
overridevirtual

Reimplemented from rsimpl::ds::ds_device.

Definition at line 211 of file zr300.cpp.

void rsimpl::zr300_camera::start_motion_tracking ( )
overridevirtual

Reimplemented from rs_device_base.

Definition at line 234 of file zr300.cpp.

void rsimpl::zr300_camera::stop ( rs_source  source)
overridevirtual

Reimplemented from rsimpl::ds::ds_device.

Definition at line 223 of file zr300.cpp.

void rsimpl::zr300_camera::stop_motion_tracking ( )
overridevirtual

Reimplemented from rs_device_base.

Definition at line 242 of file zr300.cpp.

bool rsimpl::zr300_camera::supports_option ( rs_option  option) const
overridevirtual

Reimplemented from rsimpl::ds::ds_device.

Definition at line 281 of file zr300.cpp.

void rsimpl::zr300_camera::toggle_motion_module_events ( bool  bOn)
protected

Definition at line 204 of file zr300.cpp.

void rsimpl::zr300_camera::toggle_motion_module_power ( bool  bOn)
protected

Definition at line 199 of file zr300.cpp.

bool rsimpl::zr300_camera::validate_motion_extrinsics ( rs_stream  from_stream) const
private

Definition at line 345 of file zr300.cpp.

bool rsimpl::zr300_camera::validate_motion_intrinsics ( ) const
private

Definition at line 379 of file zr300.cpp.

Member Data Documentation

std::shared_ptr<auto_exposure_mechanism> rsimpl::zr300_camera::auto_exposure
private

Definition at line 292 of file zr300.h.

fisheye_auto_exposure_state rsimpl::zr300_camera::auto_exposure_state
private

Definition at line 291 of file zr300.h.

motion_module_calibration rsimpl::zr300_camera::fe_intrinsic
private

Definition at line 334 of file zr300.h.

motion_module::mm_config rsimpl::zr300_camera::motion_module_configuration
private

Definition at line 290 of file zr300.h.

motion_module::motion_module_control rsimpl::zr300_camera::motion_module_ctrl
private

Definition at line 289 of file zr300.h.

std::atomic<bool> rsimpl::zr300_camera::to_add_frames
private

Definition at line 293 of file zr300.h.

std::timed_mutex rsimpl::zr300_camera::usbMutex
protected

Definition at line 300 of file zr300.h.


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


librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Fri Mar 13 2020 03:16:19