Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
sr300.h
Go to the documentation of this file.
1 // License: Apache 2.0. See LICENSE file in root directory.
2 // Copyright(c) 2015 Intel Corporation. All Rights Reserved.
3 
4 #pragma once
5 #ifndef LIBREALSENSE_SR300_H
6 #define LIBREALSENSE_SR300_H
7 
8 #include <atomic>
9 #include "ivcam-private.h"
10 #include "ivcam-device.h"
11 
12 #define SR300_PRODUCT_ID 0x0aa5
13 
14 namespace rsimpl
15 {
16 
17  class sr300_camera final : public iv_camera
18  {
19  void set_fw_logger_option(double value);
20  unsigned get_fw_logger_option();
21 
22  public:
23  sr300_camera(std::shared_ptr<uvc::device> device, const static_device_info & info, const ivcam::camera_calib_params & calib);
25 
26  void set_options(const rs_option options[], size_t count, const double values[]) override;
27  void get_options(const rs_option options[], size_t count, double values[]) override;
28 
29  virtual void start_fw_logger(char fw_log_op_code, int grab_rate_in_ms, std::timed_mutex& mutex) override;
30  virtual void stop_fw_logger() override;
31  };
32 
33  std::shared_ptr<rs_device> make_sr300_device(std::shared_ptr<uvc::device> device);
34 }
35 
36 #endif
Definition: ivcam-device.h:23
Definition: sr300.h:18
virtual void stop_fw_logger() override
sr300_camera(std::shared_ptr< uvc::device > device, const static_device_info &info, const ivcam::camera_calib_params &calib)
~sr300_camera()
Definition: sr300.h:24
void set_options(const rs_option options[], size_t count, const double values[]) override
void get_options(const rs_option options[], size_t count, double values[]) override
virtual void start_fw_logger(char fw_log_op_code, int grab_rate_in_ms, std::timed_mutex &mutex) override
Definition: archive.h:13
std::shared_ptr< rs_device > make_sr300_device(std::shared_ptr< uvc::device > device)
rs_option
Defines general configuration controls.
Definition: rs.h:129
Definition: ivcam-private.h:17
Definition: types.h:269