NVIDIA DeepStream SDK API Reference

9.2 Release
9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp
Go to the documentation of this file.
1 // License: Apache 2.0. See LICENSE file in root directory.
2 // Copyright(c) 2017 Intel Corporation. All Rights Reserved.
3 
4 #ifndef LIBREALSENSE_RS2_SENSOR_HPP
5 #define LIBREALSENSE_RS2_SENSOR_HPP
6 
7 #include "rs_types.hpp"
8 #include "rs_frame.hpp"
9 #include "rs_processing.hpp"
10 #include "rs_options.hpp"
11 namespace rs2
12 {
13 
14  class notification
15  {
16  public:
18  {
19  rs2_error* e = nullptr;
20  _description = rs2_get_notification_description(nt, &e);
21  error::handle(e);
22  _timestamp = rs2_get_notification_timestamp(nt, &e);
23  error::handle(e);
24  _severity = rs2_get_notification_severity(nt, &e);
25  error::handle(e);
26  _category = rs2_get_notification_category(nt, &e);
27  error::handle(e);
28  _serialized_data = rs2_get_notification_serialized_data(nt, &e);
29  error::handle(e);
30  }
31 
32  notification() = default;
33 
39  {
40  return _category;
41  }
46  std::string get_description() const
47  {
48  return _description;
49  }
50 
55  double get_timestamp() const
56  {
57  return _timestamp;
58  }
59 
65  {
66  return _severity;
67  }
68 
73  std::string get_serialized_data() const
74  {
75  return _serialized_data;
76  }
77 
78  private:
79  std::string _description;
80  double _timestamp = -1;
83  std::string _serialized_data;
84  };
85 
86  template<class T>
87  class notifications_callback : public rs2_notifications_callback
88  {
89  T on_notification_function;
90  public:
91  explicit notifications_callback(T on_notification) : on_notification_function(on_notification) {}
92 
93  void on_notification(rs2_notification* _notification) override
94  {
95  on_notification_function(notification{ _notification });
96  }
97 
98  void release() override { delete this; }
99  };
100 
101 
102  class sensor : public options
103  {
104  public:
105 
106  using options::supports;
111  void open(const stream_profile& profile) const
112  {
113  rs2_error* e = nullptr;
114  rs2_open(_sensor.get(),
115  profile.get(),
116  &e);
117  error::handle(e);
118  }
119 
125  bool supports(rs2_camera_info info) const
126  {
127  rs2_error* e = nullptr;
128  auto is_supported = rs2_supports_sensor_info(_sensor.get(), info, &e);
129  error::handle(e);
130  return is_supported > 0;
131  }
132 
138  const char* get_info(rs2_camera_info info) const
139  {
140  rs2_error* e = nullptr;
141  auto result = rs2_get_sensor_info(_sensor.get(), info, &e);
142  error::handle(e);
143  return result;
144  }
145 
151  void open(const std::vector<stream_profile>& profiles) const
152  {
153  rs2_error* e = nullptr;
154 
155  std::vector<const rs2_stream_profile*> profs;
156  profs.reserve(profiles.size());
157  for (auto& p : profiles)
158  {
159  profs.push_back(p.get());
160  }
161 
163  profs.data(),
164  static_cast<int>(profiles.size()),
165  &e);
166  error::handle(e);
167  }
168 
173  void close() const
174  {
175  rs2_error* e = nullptr;
176  rs2_close(_sensor.get(), &e);
177  error::handle(e);
178  }
179 
184  template<class T>
185  void start(T callback) const
186  {
187  rs2_error* e = nullptr;
188  rs2_start_cpp(_sensor.get(), new frame_callback<T>(std::move(callback)), &e);
189  error::handle(e);
190  }
191 
195  void stop() const
196  {
197  rs2_error* e = nullptr;
198  rs2_stop(_sensor.get(), &e);
199  error::handle(e);
200  }
201 
206  template<class T>
207  void set_notifications_callback(T callback) const
208  {
209  rs2_error* e = nullptr;
211  new notifications_callback<T>(std::move(callback)), &e);
212  error::handle(e);
213  }
214 
219  std::vector<stream_profile> get_stream_profiles() const
220  {
221  std::vector<stream_profile> results{};
222 
223  rs2_error* e = nullptr;
224  std::shared_ptr<rs2_stream_profile_list> list(
225  rs2_get_stream_profiles(_sensor.get(), &e),
227  error::handle(e);
228 
229  auto size = rs2_get_stream_profiles_count(list.get(), &e);
230  error::handle(e);
231 
232  for (auto i = 0; i < size; i++)
233  {
234  stream_profile profile(rs2_get_stream_profile(list.get(), i, &e));
235  error::handle(e);
236  results.push_back(profile);
237  }
238 
239  return results;
240  }
241 
246  std::vector<stream_profile> get_active_streams() const
247  {
248  std::vector<stream_profile> results{};
249 
250  rs2_error* e = nullptr;
251  std::shared_ptr<rs2_stream_profile_list> list(
252  rs2_get_active_streams(_sensor.get(), &e),
254  error::handle(e);
255 
256  auto size = rs2_get_stream_profiles_count(list.get(), &e);
257  error::handle(e);
258 
259  for (auto i = 0; i < size; i++)
260  {
261  stream_profile profile(rs2_get_stream_profile(list.get(), i, &e));
262  error::handle(e);
263  results.push_back(profile);
264  }
265 
266  return results;
267  }
268 
273  std::vector<filter> get_recommended_filters() const
274  {
275  std::vector<filter> results{};
276 
277  rs2_error* e = nullptr;
278  std::shared_ptr<rs2_processing_block_list> list(
281  error::handle(e);
282 
283  auto size = rs2_get_recommended_processing_blocks_count(list.get(), &e);
284  error::handle(e);
285 
286  for (auto i = 0; i < size; i++)
287  {
288  auto f = std::shared_ptr<rs2_processing_block>(
289  rs2_get_processing_block(list.get(), i, &e),
291  error::handle(e);
292  results.push_back(f);
293  }
294 
295  return results;
296  }
297 
298  sensor& operator=(const std::shared_ptr<rs2_sensor> other)
299  {
300  options::operator=(other);
301  _sensor.reset();
302  _sensor = other;
303  return *this;
304  }
305 
306  sensor& operator=(const sensor& other)
307  {
308  *this = nullptr;
309  options::operator=(other._sensor);
310  _sensor = other._sensor;
311  return *this;
312  }
313  sensor() : _sensor(nullptr) {}
314 
315  operator bool() const
316  {
317  return _sensor != nullptr;
318  }
319 
320  const std::shared_ptr<rs2_sensor>& get() const
321  {
322  return _sensor;
323  }
324 
325  template<class T>
326  bool is() const
327  {
328  T extension(*this);
329  return extension;
330  }
331 
332  template<class T>
333  T as() const
334  {
335  T extension(*this);
336  return extension;
337  }
338 
339  explicit sensor(std::shared_ptr<rs2_sensor> dev)
340  :options((rs2_options*)dev.get()), _sensor(dev)
341  {
342  }
343  explicit operator std::shared_ptr<rs2_sensor>() { return _sensor; }
344 
345  protected:
346  friend context;
347  friend device_list;
348  friend device;
349  friend device_base;
350  friend roi_sensor;
351 
352  std::shared_ptr<rs2_sensor> _sensor;
353 
354 
355  };
356 
357  inline std::shared_ptr<sensor> sensor_from_frame(frame f)
358  {
359  std::shared_ptr<rs2_sensor> psens(f.get_sensor(), rs2_delete_sensor);
360  return std::make_shared<sensor>(psens);
361  }
362 
363  inline bool operator==(const sensor& lhs, const sensor& rhs)
364  {
365  if (!(lhs.supports(RS2_CAMERA_INFO_NAME) && lhs.supports(RS2_CAMERA_INFO_SERIAL_NUMBER)
366  && rhs.supports(RS2_CAMERA_INFO_NAME) && rhs.supports(RS2_CAMERA_INFO_SERIAL_NUMBER)))
367  return false;
368 
369  return std::string(lhs.get_info(RS2_CAMERA_INFO_NAME)) == rhs.get_info(RS2_CAMERA_INFO_NAME)
370  && std::string(lhs.get_info(RS2_CAMERA_INFO_SERIAL_NUMBER)) == rhs.get_info(RS2_CAMERA_INFO_SERIAL_NUMBER);
371  }
372 
373  class color_sensor : public sensor
374  {
375  public:
377  : sensor(s.get())
378  {
379  rs2_error* e = nullptr;
381  {
382  _sensor.reset();
383  }
384  error::handle(e);
385  }
386  operator bool() const { return _sensor.get() != nullptr; }
387  };
388 
389  class motion_sensor : public sensor
390  {
391  public:
393  : sensor(s.get())
394  {
395  rs2_error* e = nullptr;
397  {
398  _sensor.reset();
399  }
400  error::handle(e);
401  }
402  operator bool() const { return _sensor.get() != nullptr; }
403  };
404 
405  class fisheye_sensor : public sensor
406  {
407  public:
409  : sensor(s.get())
410  {
411  rs2_error* e = nullptr;
413  {
414  _sensor.reset();
415  }
416  error::handle(e);
417  }
418  operator bool() const { return _sensor.get() != nullptr; }
419  };
420 
421  class roi_sensor : public sensor
422  {
423  public:
425  : sensor(s.get())
426  {
427  rs2_error* e = nullptr;
428  if(rs2_is_sensor_extendable_to(_sensor.get(), RS2_EXTENSION_ROI, &e) == 0 && !e)
429  {
430  _sensor.reset();
431  }
432  error::handle(e);
433  }
434 
436  {
437  rs2_error* e = nullptr;
438  rs2_set_region_of_interest(_sensor.get(), roi.min_x, roi.min_y, roi.max_x, roi.max_y, &e);
439  error::handle(e);
440  }
441 
443  {
444  region_of_interest roi {};
445  rs2_error* e = nullptr;
446  rs2_get_region_of_interest(_sensor.get(), &roi.min_x, &roi.min_y, &roi.max_x, &roi.max_y, &e);
447  error::handle(e);
448  return roi;
449  }
450 
451  operator bool() const { return _sensor.get() != nullptr; }
452  };
453 
454  class depth_sensor : public sensor
455  {
456  public:
458  : sensor(s.get())
459  {
460  rs2_error* e = nullptr;
462  {
463  _sensor.reset();
464  }
465  error::handle(e);
466  }
467 
471  float get_depth_scale() const
472  {
473  rs2_error* e = nullptr;
474  auto res = rs2_get_depth_scale(_sensor.get(), &e);
475  error::handle(e);
476  return res;
477  }
478 
479  operator bool() const { return _sensor.get() != nullptr; }
480  explicit depth_sensor(std::shared_ptr<rs2_sensor> dev) : depth_sensor(sensor(dev)) {}
481  };
482 
483  class depth_stereo_sensor : public depth_sensor
484  {
485  public:
487  {
488  rs2_error* e = nullptr;
490  {
491  _sensor.reset();
492  }
493  error::handle(e);
494  }
495 
499  float get_stereo_baseline() const
500  {
501  rs2_error* e = nullptr;
502  auto res = rs2_get_stereo_baseline(_sensor.get(), &e);
503  error::handle(e);
504  return res;
505  }
506 
507  operator bool() const { return _sensor.get() != nullptr; }
508  };
509 
510 
511  class pose_sensor : public sensor
512  {
513  public:
515  : sensor(s.get())
516  {
517  rs2_error* e = nullptr;
519  {
520  _sensor.reset();
521  }
522  error::handle(e);
523  }
524 
534  bool import_localization_map(const std::vector<uint8_t>& lmap_buf) const
535  {
536  rs2_error* e = nullptr;
537  auto res = rs2_import_localization_map(_sensor.get(), lmap_buf.data(), uint32_t(lmap_buf.size()), &e);
538  error::handle(e);
539  return !!res;
540  }
541 
547  std::vector<uint8_t> export_localization_map() const
548  {
549  std::vector<uint8_t> results;
550  rs2_error* e = nullptr;
552  error::handle(e);
553  std::shared_ptr<const rs2_raw_data_buffer> loc_map(map, rs2_delete_raw_data);
554 
555  auto start = rs2_get_raw_data(loc_map.get(), &e);
556  error::handle(e);
557 
558  if (start)
559  {
560  auto size = rs2_get_raw_data_size(loc_map.get(), &e);
561  error::handle(e);
562 
563  results = std::vector<uint8_t>(start, start + size);
564  }
565  return results;
566  }
567 
578  bool set_static_node(const std::string& guid, const rs2_vector& pos, const rs2_quaternion& orient) const
579  {
580  rs2_error* e = nullptr;
581  auto res = rs2_set_static_node(_sensor.get(), guid.c_str(), pos, orient, &e);
582  error::handle(e);
583  return !!res;
584  }
585 
586 
598  bool get_static_node(const std::string& guid, rs2_vector& pos, rs2_quaternion& orient) const
599  {
600  rs2_error* e = nullptr;
601  auto res = rs2_get_static_node(_sensor.get(), guid.c_str(), &pos, &orient, &e);
602  error::handle(e);
603  return !!res;
604  }
605 
610  bool remove_static_node(const std::string& guid) const
611  {
612  rs2_error* e = nullptr;
613  auto res = rs2_remove_static_node(_sensor.get(), guid.c_str(), &e);
614  error::handle(e);
615  return !!res;
616  }
617 
618  operator bool() const { return _sensor.get() != nullptr; }
619  explicit pose_sensor(std::shared_ptr<rs2_sensor> dev) : pose_sensor(sensor(dev)) {}
620  };
621 
622  class wheel_odometer : public sensor
623  {
624  public:
626  : sensor(s.get())
627  {
628  rs2_error* e = nullptr;
630  {
631  _sensor.reset();
632  }
633  error::handle(e);
634  }
635 
640  bool load_wheel_odometery_config(const std::vector<uint8_t>& odometry_config_buf) const
641  {
642  rs2_error* e = nullptr;
643  auto res = rs2_load_wheel_odometry_config(_sensor.get(), odometry_config_buf.data(), uint32_t(odometry_config_buf.size()), &e);
644  error::handle(e);
645  return !!res;
646  }
647 
654  bool send_wheel_odometry(uint8_t wo_sensor_id, uint32_t frame_num, const rs2_vector& translational_velocity)
655  {
656  rs2_error* e = nullptr;
657  auto res = rs2_send_wheel_odometry(_sensor.get(), wo_sensor_id, frame_num, translational_velocity, &e);
658  error::handle(e);
659  return !!res;
660  }
661 
662  operator bool() const { return _sensor.get() != nullptr; }
663  explicit wheel_odometer(std::shared_ptr<rs2_sensor> dev) : wheel_odometer(sensor(dev)) {}
664  };
665 
666  class calibrated_sensor : public sensor
667  {
668  public:
670  : sensor( s.get() )
671  {
672  rs2_error* e = nullptr;
674  {
675  _sensor.reset();
676  }
677  error::handle( e );
678  }
679 
680  operator bool() const { return _sensor.get() != nullptr; }
681 
684  {
685  rs2_error* e = nullptr;
686  rs2_override_intrinsics( _sensor.get(), &intr, &e );
687  error::handle( e );
688  }
689 
692  {
693  rs2_error* e = nullptr;
694  rs2_override_extrinsics( _sensor.get(), &extr, &e );
695  error::handle( e );
696  }
697 
700  {
701  rs2_error* e = nullptr;
702  rs2_dsm_params params = { 0 };
703  rs2_get_dsm_params( _sensor.get(), &params, &e );
704  error::handle( e );
705  return params;
706  }
707 
711  void override_dsm_params( rs2_dsm_params const & params )
712  {
713  rs2_error* e = nullptr;
714  rs2_override_dsm_params( _sensor.get(), &params, &e );
715  error::handle( e );
716  }
717 
721  {
722  rs2_error* e = nullptr;
724  error::handle( e );
725  }
726  };
727 
728  class max_usable_range_sensor : public sensor
729  {
730  public:
732  : sensor(s.get())
733  {
734  rs2_error* e = nullptr;
736  {
737  _sensor.reset();
738  }
739  error::handle(e);
740  }
741 
742  operator bool() const { return _sensor.get() != nullptr; }
743 
748  {
749  rs2_error* e = nullptr;
750  auto res = rs2_get_max_usable_depth_range(_sensor.get(), &e);
751  error::handle(e);
752  return res;
753  }
754  };
755 
756  class debug_stream_sensor : public sensor
757  {
758  public:
760  : sensor( s.get() )
761  {
762  rs2_error * e = nullptr;
764  {
765  _sensor.reset();
766  }
767  error::handle( e );
768  }
769 
770  operator bool() const { return _sensor.get() != nullptr; }
771 
776  std::vector< stream_profile > get_debug_stream_profiles() const
777  {
778  std::vector< stream_profile > results;
779 
780  rs2_error * e = nullptr;
781  std::shared_ptr< rs2_stream_profile_list > list(
784  error::handle( e );
785 
786  auto size = rs2_get_stream_profiles_count( list.get(), &e );
787  error::handle( e );
788 
789  for( auto i = 0; i < size; i++ )
790  {
791  stream_profile profile( rs2_get_stream_profile( list.get(), i, &e ) );
792  error::handle( e );
793  results.push_back( profile );
794  }
795 
796  return results;
797  }
798  };
799 }
800 #endif // LIBREALSENSE_RS2_SENSOR_HPP
rs2_set_notifications_callback_cpp
void rs2_set_notifications_callback_cpp(const rs2_sensor *sensor, rs2_notifications_callback *callback, rs2_error **error)
set callback to get notifications from specified device
rs2_vector
3D vector in Euclidean coordinate space
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:129
rs2::depth_sensor::get_depth_scale
float get_depth_scale() const
Retrieves mapping between the units of the depth image and meters.
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:471
rs2_delete_processing_block
void rs2_delete_processing_block(rs2_processing_block *block)
Deletes the processing block.
rs2::sensor::roi_sensor
friend roi_sensor
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:350
rs2::depth_stereo_sensor::get_stereo_baseline
float get_stereo_baseline() const
Retrieve the stereoscopic baseline value from the sensor.
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:499
rs2::sensor::open
void open(const stream_profile &profile) const
open sensor for exclusive access, by committing to a configuration
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:111
rs2_load_wheel_odometry_config
int rs2_load_wheel_odometry_config(const rs2_sensor *sensor, const unsigned char *odometry_config_buf, unsigned int blob_size, rs2_error **error)
Load Wheel odometer settings from host to device.
rs2_quaternion
Quaternion used to represent rotation
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:135
rs2::sensor_from_frame
std::shared_ptr< sensor > sensor_from_frame(frame f)
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:357
rs2::wheel_odometer
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:622
rs2::sensor::device_base
friend device_base
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:349
rs2_get_processing_block
rs2_processing_block * rs2_get_processing_block(const rs2_processing_block_list *list, int index, rs2_error **error)
Returns specific processing blocks from processing blocks list.
rs2_extrinsics
Cross-stream extrinsics: encodes the topology describing how the different devices are oriented.
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_sensor.h:96
rs2::stream_profile
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp:22
rs2_get_stereo_baseline
float rs2_get_stereo_baseline(rs2_sensor *sensor, rs2_error **error)
Retrieve the stereoscopic baseline value from sensor.
rs2::debug_stream_sensor::get_debug_stream_profiles
std::vector< stream_profile > get_debug_stream_profiles() const
Retrieves the list of debug stream profiles supported by the sensor.
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:776
rs2_get_depth_scale
float rs2_get_depth_scale(rs2_sensor *sensor, rs2_error **error)
When called on a depth sensor, this method will return the number of meters represented by a single d...
rs2_override_intrinsics
void rs2_override_intrinsics(const rs2_sensor *sensor, const rs2_intrinsics *intrinsics, rs2_error **error)
Override intrinsics of a given sensor that supports calibrated_sensor.
rs2::region_of_interest::min_x
int min_x
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_types.hpp:186
rs2::sensor::get_stream_profiles
std::vector< stream_profile > get_stream_profiles() const
Retrieves the list of stream profiles supported by the sensor.
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:219
rs2_get_static_node
int rs2_get_static_node(const rs2_sensor *sensor, const char *guid, rs2_vector *pos, rs2_quaternion *orient, rs2_error **error)
Retrieve a named location tag.
rs2_notification_category
rs2_notification_category
Category of the librealsense notification.
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:17
rs2::sensor::supports
bool supports(rs2_camera_info info) const
check if specific camera info is supported
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:125
rs2_intrinsics
Video stream intrinsics.
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:58
rs2::sensor::sensor
sensor(std::shared_ptr< rs2_sensor > dev)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:339
rs2_override_dsm_params
void rs2_override_dsm_params(rs2_sensor const *sensor, rs2_dsm_params const *p_params, rs2_error **error)
Set the sensor DSM parameters This should ideally be done when the stream is NOT running.
rs2::pose_sensor::set_static_node
bool set_static_node(const std::string &guid, const rs2_vector &pos, const rs2_quaternion &orient) const
Creates a named virtual landmark in the current map, known as static node.
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:578
rs2::sensor::set_notifications_callback
void set_notifications_callback(T callback) const
register notifications callback
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:207
rs2::options
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp:11
rs2_remove_static_node
int rs2_remove_static_node(const rs2_sensor *sensor, const char *guid, rs2_error **error)
Remove a named location tag.
rs2_get_notification_timestamp
rs2_time_t rs2_get_notification_timestamp(rs2_notification *notification, rs2_error **error)
retrieve timestamp from notification handle
rs2::wheel_odometer::wheel_odometer
wheel_odometer(sensor s)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:625
rs2_dsm_params
Video DSM (Digital Sync Module) parameters for calibration (same layout as in FW ac_depth_params) Thi...
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:74
rs2::sensor::open
void open(const std::vector< stream_profile > &profiles) const
open sensor for exclusive access, by committing to composite configuration, specifying one or more st...
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:151
rs2::notification::get_category
rs2_notification_category get_category() const
retrieve the notification category
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:38
rs2::notifications_callback
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:87
rs2_import_localization_map
int rs2_import_localization_map(const rs2_sensor *sensor, const unsigned char *lmap_blob, unsigned int blob_size, rs2_error **error)
Imports a localization map from file to tm2 tracking device.
rs2::calibrated_sensor::reset_calibration
void reset_calibration()
Reset the sensor DSM calibration.
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:720
rs2_stop
void rs2_stop(const rs2_sensor *sensor, rs2_error **error)
stops streaming from specified configured device
rs2::depth_sensor::depth_sensor
depth_sensor(std::shared_ptr< rs2_sensor > dev)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:480
rs2_set_static_node
int rs2_set_static_node(const rs2_sensor *sensor, const char *guid, const rs2_vector pos, const rs2_quaternion orient, rs2_error **error)
Create a named location tag.
rs2::roi_sensor::set_region_of_interest
void set_region_of_interest(const region_of_interest &roi)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:435
rs2_notifications_callback
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_types.hpp:39
rs2::notification::notification
notification(rs2_notification *nt)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:17
rs2_camera_info
rs2_camera_info
Read-only strings that can be queried from the device.
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_sensor.h:22
rs2::sensor::close
void close() const
close sensor for exclusive access this method should be used for releasing sensor resource
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:173
RS2_EXTENSION_DEPTH_STEREO_SENSOR
@ RS2_EXTENSION_DEPTH_STEREO_SENSOR
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:185
RS2_EXTENSION_MAX_USABLE_RANGE_SENSOR
@ RS2_EXTENSION_MAX_USABLE_RANGE_SENSOR
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:221
rs2_get_notification_serialized_data
const char * rs2_get_notification_serialized_data(rs2_notification *notification, rs2_error **error)
retrieve serialized data from notification handle
rs2::wheel_odometer::wheel_odometer
wheel_odometer(std::shared_ptr< rs2_sensor > dev)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:663
rs2::region_of_interest::max_y
int max_y
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_types.hpp:189
RS2_EXTENSION_DEPTH_SENSOR
@ RS2_EXTENSION_DEPTH_SENSOR
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:175
rs2_send_wheel_odometry
int rs2_send_wheel_odometry(const rs2_sensor *sensor, char wo_sensor_id, unsigned int frame_num, const rs2_vector translational_velocity, rs2_error **error)
Send wheel odometry data for each individual sensor (wheel)
RS2_EXTENSION_FISHEYE_SENSOR
@ RS2_EXTENSION_FISHEYE_SENSOR
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:212
rs2::roi_sensor::get_region_of_interest
region_of_interest get_region_of_interest() const
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:442
rs2_get_notification_category
rs2_notification_category rs2_get_notification_category(rs2_notification *notification, rs2_error **error)
retrieve category from notification handle
rs2::notification::get_serialized_data
std::string get_serialized_data() const
retrieve the notification's serialized data
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:73
rs2_log_severity
rs2_log_severity
Severity of the librealsense logger.
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:153
rs2::wheel_odometer::send_wheel_odometry
bool send_wheel_odometry(uint8_t wo_sensor_id, uint32_t frame_num, const rs2_vector &translational_velocity)
Send wheel odometry data for each individual sensor (wheel)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:654
rs2::color_sensor::color_sensor
color_sensor(sensor s)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:376
RS2_EXTENSION_POSE_SENSOR
@ RS2_EXTENSION_POSE_SENSOR
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:202
rs2_get_recommended_processing_blocks_count
int rs2_get_recommended_processing_blocks_count(const rs2_processing_block_list *list, rs2_error **error)
Returns the processing blocks list size.
rs2_open
void rs2_open(rs2_sensor *device, const rs2_stream_profile *profile, rs2_error **error)
open subdevice for exclusive access, by committing to a configuration
rs2::sensor::sensor
sensor()
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:313
rs2::sensor::operator=
sensor & operator=(const std::shared_ptr< rs2_sensor > other)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:298
rs2::wheel_odometer::load_wheel_odometery_config
bool load_wheel_odometery_config(const std::vector< uint8_t > &odometry_config_buf) const
Load Wheel odometer settings from host to device.
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:640
rs2_get_dsm_params
void rs2_get_dsm_params(rs2_sensor const *sensor, rs2_dsm_params *p_params_out, rs2_error **error)
Get the DSM parameters for a sensor.
rs2::max_usable_range_sensor::max_usable_range_sensor
max_usable_range_sensor(sensor s)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:731
rs2::sensor::get_active_streams
std::vector< stream_profile > get_active_streams() const
Retrieves the list of stream profiles currently streaming on the sensor.
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:246
rs2::sensor::context
friend context
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:346
rs2_raw_data_buffer
struct rs2_raw_data_buffer rs2_raw_data_buffer
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:260
rs2_delete_stream_profiles_list
void rs2_delete_stream_profiles_list(rs2_stream_profile_list *list)
delete stream profiles list
rs_types.hpp
rs2::pose_sensor::remove_static_node
bool remove_static_node(const std::string &guid) const
Removes a static node from the current map.
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:610
rs2::depth_sensor
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:454
RS2_EXTENSION_COLOR_SENSOR
@ RS2_EXTENSION_COLOR_SENSOR
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:210
rs2::notifications_callback::on_notification
void on_notification(rs2_notification *_notification) override
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:93
rs2::calibrated_sensor::override_dsm_params
void override_dsm_params(rs2_dsm_params const &params)
Set the sensor DSM parameters This should ideally be done when the stream is NOT running.
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:711
rs2::options::supports
bool supports(rs2_option option) const
check if particular option is supported
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp:19
RS2_CAMERA_INFO_SERIAL_NUMBER
@ RS2_CAMERA_INFO_SERIAL_NUMBER
Device serial number.
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_sensor.h:24
rs2_options
struct rs2_options rs2_options
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:283
rs2::pose_sensor::get_static_node
bool get_static_node(const std::string &guid, rs2_vector &pos, rs2_quaternion &orient) const
Gets the current pose of a static node that was created in the current map or in an imported map.
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:598
rs2::sensor::_sensor
std::shared_ptr< rs2_sensor > _sensor
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:352
rs2_get_region_of_interest
void rs2_get_region_of_interest(const rs2_sensor *sensor, int *min_x, int *min_y, int *max_x, int *max_y, rs2_error **error)
gets the active region of interest to be used by auto-exposure algorithm
rs_frame.hpp
rs2
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/rs.hpp:17
RS2_EXTENSION_WHEEL_ODOMETER
@ RS2_EXTENSION_WHEEL_ODOMETER
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:203
rs2::sensor::is
bool is() const
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:326
rs2::sensor
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:102
rs2::notification
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:14
rs2::sensor::get_recommended_filters
std::vector< filter > get_recommended_filters() const
get the recommended list of filters by the sensor
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:273
RS2_EXTENSION_ROI
@ RS2_EXTENSION_ROI
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:174
rs2_delete_sensor
void rs2_delete_sensor(rs2_sensor *sensor)
delete relasense sensor
rs2_delete_raw_data
void rs2_delete_raw_data(const rs2_raw_data_buffer *buffer)
Delete rs2_raw_data_buffer.
absl::move
constexpr absl::OTABSL_OPTION_NAMESPACE_NAME::remove_reference_t< T > && move(T &&t) noexcept
Definition: includes/opentelemetry/nostd/internal/absl/utility/utility.h:199
rs2_get_stream_profiles_count
int rs2_get_stream_profiles_count(const rs2_stream_profile_list *list, rs2_error **error)
get the number of supported stream profiles
rs2_supports_sensor_info
int rs2_supports_sensor_info(const rs2_sensor *sensor, rs2_camera_info info, rs2_error **error)
check if specific sensor info is supported
rs2_get_notification_severity
rs2_log_severity rs2_get_notification_severity(rs2_notification *notification, rs2_error **error)
retrieve severity from notification handle
rs2::calibrated_sensor::calibrated_sensor
calibrated_sensor(sensor s)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:669
rs2_get_stream_profile
const rs2_stream_profile * rs2_get_stream_profile(const rs2_stream_profile_list *list, int index, rs2_error **error)
Get pointer to specific stream profile.
RS2_NOTIFICATION_CATEGORY_COUNT
@ RS2_NOTIFICATION_CATEGORY_COUNT
Number of enumeration values.
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:25
rs2::depth_stereo_sensor::depth_stereo_sensor
depth_stereo_sensor(sensor s)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:486
rs2_notification
struct rs2_notification rs2_notification
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:286
rs2::region_of_interest
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_types.hpp:184
rs2::debug_stream_sensor::debug_stream_sensor
debug_stream_sensor(sensor s)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:759
rs2_reset_sensor_calibration
void rs2_reset_sensor_calibration(rs2_sensor const *sensor, rs2_error **error)
Reset the sensor DSM parameters This should ideally be done when the stream is NOT running.
rs2_get_recommended_processing_blocks
rs2_processing_block_list * rs2_get_recommended_processing_blocks(rs2_sensor *sensor, rs2_error **error)
Returns the list of recommended processing blocks for a specific sensor.
RS2_CAMERA_INFO_NAME
@ RS2_CAMERA_INFO_NAME
Friendly name.
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_sensor.h:23
rs2::stream_profile::get
const rs2_stream_profile * get() const
Get back the internal stream profile instance.
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp:137
rs2::roi_sensor::roi_sensor
roi_sensor(sensor s)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:424
rs2::calibrated_sensor::override_extrinsics
void override_extrinsics(rs2_extrinsics const &extr)
Override the intrinsics at the sensor level, as DEPTH_TO_RGB calibration does.
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:691
pydeepstreamdoc::tensor::TensorDoc::size
constexpr const char * size
Definition: service-maker/sources/python/src/bindings/docstrings/tensordoc.h:46
rs2_start_cpp
void rs2_start_cpp(const rs2_sensor *sensor, rs2_frame_callback *callback, rs2_error **error)
start streaming from specified configured sensor
rs2_is_sensor_extendable_to
int rs2_is_sensor_extendable_to(const rs2_sensor *sensor, rs2_extension extension, rs2_error **error)
Test if the given sensor can be extended to the requested extension.
rs2::operator==
bool operator==(const sensor &lhs, const sensor &rhs)
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:363
rs2::pose_sensor::pose_sensor
pose_sensor(std::shared_ptr< rs2_sensor > dev)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:619
rs2::sensor::operator=
sensor & operator=(const sensor &other)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:306
rs2::motion_sensor::motion_sensor
motion_sensor(sensor s)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:392
rs2::options::operator=
options & operator=(const options &other)
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp:134
rs2::sensor::stop
void stop() const
stop streaming
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:195
rs_processing.hpp
rs2_override_extrinsics
void rs2_override_extrinsics(const rs2_sensor *sensor, const rs2_extrinsics *extrinsics, rs2_error **error)
Override extrinsics of a given sensor that supports calibrated_sensor.
rs2::sensor::get_info
const char * get_info(rs2_camera_info info) const
retrieve camera specific information, like versions of various internal components
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:138
rs2_get_active_streams
rs2_stream_profile_list * rs2_get_active_streams(rs2_sensor *sensor, rs2_error **error)
check how subdevice is streaming
rs2_get_debug_stream_profiles
rs2_stream_profile_list * rs2_get_debug_stream_profiles(rs2_sensor *sensor, rs2_error **error)
retrieve list of debug stream profiles that given subdevice can provide
rs2::sensor::get
const std::shared_ptr< rs2_sensor > & get() const
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:320
rs2_set_region_of_interest
void rs2_set_region_of_interest(const rs2_sensor *sensor, int min_x, int min_y, int max_x, int max_y, rs2_error **error)
sets the active region of interest to be used by auto-exposure algorithm
rs2::region_of_interest::min_y
int min_y
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_types.hpp:187
rs2::max_usable_range_sensor::get_max_usable_depth_range
float get_max_usable_depth_range() const
Retrieves the maximum range of the camera given the amount of ambient light in the scene.
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:747
rs2_open_multiple
void rs2_open_multiple(rs2_sensor *device, const rs2_stream_profile **profiles, int count, rs2_error **error)
open subdevice for exclusive access, by committing to composite configuration, specifying one or more...
RS2_EXTENSION_DEBUG_STREAM_SENSOR
@ RS2_EXTENSION_DEBUG_STREAM_SENSOR
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:222
rs_options.hpp
rs2::pose_sensor::pose_sensor
pose_sensor(sensor s)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:514
rs2_export_localization_map
const rs2_raw_data_buffer * rs2_export_localization_map(const rs2_sensor *sensor, rs2_error **error)
Extract and store the localization map of tm2 tracking device to file.
rs2_get_sensor_info
const char * rs2_get_sensor_info(const rs2_sensor *sensor, rs2_camera_info info, rs2_error **error)
retrieve sensor specific information, like versions of various internal components
rs2_get_raw_data_size
int rs2_get_raw_data_size(const rs2_raw_data_buffer *buffer, rs2_error **error)
get the size of rs2_raw_data_buffer
RS2_EXTENSION_MOTION_SENSOR
@ RS2_EXTENSION_MOTION_SENSOR
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:211
rs2::sensor::device
friend device
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:348
rs2::calibrated_sensor::get_dsm_params
rs2_dsm_params get_dsm_params() const
Override the intrinsics at the sensor level, as DEPTH_TO_RGB calibration does.
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:699
rs2::sensor::as
T as() const
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:333
rs2_get_notification_description
const char * rs2_get_notification_description(rs2_notification *notification, rs2_error **error)
retrieve description from notification handle
rs2::notifications_callback::notifications_callback
notifications_callback(T on_notification)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:91
rs2::pose_sensor
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:511
rs2::fisheye_sensor::fisheye_sensor
fisheye_sensor(sensor s)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:408
rs2::error::handle
static void handle(rs2_error *e)
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_types.hpp:144
RS2_EXTENSION_CALIBRATED_SENSOR
@ RS2_EXTENSION_CALIBRATED_SENSOR
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:218
RS2_LOG_SEVERITY_COUNT
@ RS2_LOG_SEVERITY_COUNT
Number of enumeration values.
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:160
rs2::pose_sensor::export_localization_map
std::vector< uint8_t > export_localization_map() const
Get relocalization map that is currently on device, created and updated during most recent tracking s...
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:547
rs2_close
void rs2_close(const rs2_sensor *sensor, rs2_error **error)
stop any streaming from specified subdevice
rs2::calibrated_sensor::override_intrinsics
void override_intrinsics(rs2_intrinsics const &intr)
Override the intrinsics at the sensor level, as DEPTH_TO_RGB calibration does.
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:683
rs2::frame_callback
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_frame.hpp:1158
rs2::sensor::device_list
friend device_list
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:347
rs2::notification::get_timestamp
double get_timestamp() const
retrieve the notification arrival timestamp
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:55
rs2_get_stream_profiles
rs2_stream_profile_list * rs2_get_stream_profiles(rs2_sensor *sensor, rs2_error **error)
check if physical subdevice is supported
rs2_get_raw_data
const unsigned char * rs2_get_raw_data(const rs2_raw_data_buffer *buffer, rs2_error **error)
Retrieve char array from rs2_raw_data_buffer.
rs2_get_max_usable_depth_range
float rs2_get_max_usable_depth_range(rs2_sensor const *sensor, rs2_error **error)
When called on a depth sensor, this method will return the maximum range of the camera given the amou...
rs2::pose_sensor::import_localization_map
bool import_localization_map(const std::vector< uint8_t > &lmap_buf) const
Load relocalization map onto device.
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:534
rs2_delete_recommended_processing_blocks
void rs2_delete_recommended_processing_blocks(rs2_processing_block_list *list)
Deletes processing blocks list.
rs2::notifications_callback::release
void release() override
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:98
rs2::notification::get_description
std::string get_description() const
retrieve the notification description
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:46
rs2::sensor::start
void start(T callback) const
Start passing frames into user provided callback.
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:185
rs2::notification::notification
notification()=default
rs2::region_of_interest::max_x
int max_x
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_types.hpp:188
rs2::depth_sensor::depth_sensor
depth_sensor(sensor s)
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:457
rs2::notification::get_severity
rs2_log_severity get_severity() const
retrieve the notification severity
Definition: 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_sensor.hpp:64
rs2_error
struct rs2_error rs2_error
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:258