#include <Sensor.hpp>
|
std::unique_ptr< SensorImpl > | impl_ |
|
Definition at line 40 of file Sensor.hpp.
ob::Sensor::Sensor |
( |
std::unique_ptr< SensorImpl > |
impl | ) |
|
virtual ob::Sensor::~Sensor |
( |
| ) |
|
|
virtualnoexcept |
sensor type
- Returns
- OBSensorType returns the sensor type
Get the list of stream profiles.
- Returns
- std::shared_ptr<StreamProfileList> returns the stream configuration list
Open frame data stream and set up a callback.
- Parameters
-
streamProfile | Stream configuration |
callback | Set the callback when frame data arrives |
void ob::Sensor::stop |
( |
| ) |
|
void ob::Sensor::switchProfile |
( |
std::shared_ptr< StreamProfile > |
streamProfile | ) |
|
Dynamically switch resolutions.
- Parameters
-
streamProfile | Resolution to switch |
std::unique_ptr<SensorImpl> ob::Sensor::impl_ |
|
protected |
The documentation for this class was generated from the following file:
- /root/libobsensor/include/libobsensor/hpp/Sensor.hpp