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
const std::shared_ptr< rsimpl::uvc::device > device
Definition: device.h:77
Definition: archive.h:12
unsigned get_fw_logger_option()
Definition: sr300.cpp:156
rs_option
Defines general configuration controls.
Definition: rs.h:128
GLuint GLuint GLsizei count
Definition: glext.h:111
sr300_camera(std::shared_ptr< uvc::device > device, const static_device_info &info, const ivcam::camera_calib_params &calib)
Definition: sr300.cpp:116
void set_fw_logger_option(double value)
Definition: sr300.cpp:142
GLsizei const GLfloat * value
Definition: glext.h:693
void get_options(const rs_option options[], size_t count, double values[]) override
Definition: sr300.cpp:199
GLenum GLsizei GLsizei GLint * values
Definition: glext.h:1484
std::shared_ptr< rs_device > make_sr300_device(std::shared_ptr< uvc::device > device)
Definition: sr300.cpp:250
void set_options(const rs_option options[], size_t count, const double values[]) override
Definition: sr300.cpp:161
virtual void start_fw_logger(char fw_log_op_code, int grab_rate_in_ms, std::timed_mutex &mutex) override
Definition: sr300.cpp:132
virtual void stop_fw_logger() override
Definition: sr300.cpp:137


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