sr300.h
Go to the documentation of this file.
00001 // License: Apache 2.0. See LICENSE file in root directory.
00002 // Copyright(c) 2015 Intel Corporation. All Rights Reserved.
00003 
00004 #pragma once
00005 #ifndef LIBREALSENSE_SR300_H
00006 #define LIBREALSENSE_SR300_H
00007 
00008 #include <atomic>
00009 #include "ivcam-private.h"
00010 #include "ivcam-device.h"
00011 
00012 #define SR300_PRODUCT_ID 0x0aa5
00013 
00014 namespace rsimpl
00015 {
00016 
00017     class sr300_camera final : public iv_camera
00018     {
00019         void set_fw_logger_option(double value);
00020         unsigned get_fw_logger_option();
00021 
00022     public:
00023         sr300_camera(std::shared_ptr<uvc::device> device, const static_device_info & info, const ivcam::camera_calib_params & calib);
00024         ~sr300_camera() {};
00025 
00026         void set_options(const rs_option options[], size_t count, const double values[]) override;
00027         void get_options(const rs_option options[], size_t count, double values[]) override;
00028 
00029         virtual void start_fw_logger(char fw_log_op_code, int grab_rate_in_ms, std::timed_mutex& mutex) override;
00030         virtual void stop_fw_logger() override;
00031     };
00032 
00033     std::shared_ptr<rs_device> make_sr300_device(std::shared_ptr<uvc::device> device);
00034 }
00035 
00036 #endif


librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Tue Jun 25 2019 19:54:39