|
OrbbecSDK 2.8.7
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
|
#include <Sensor.hpp>
Public Member Functions | |
| SensorList (ob_sensor_list_t *impl) | |
| ~SensorList () noexcept | |
| uint32_t | getCount () const |
| Get the number of sensors. | |
| OBSensorType | getSensorType (uint32_t index) const |
| Get the type of the specified sensor. | |
| std::shared_ptr< Sensor > | getSensor (uint32_t index) const |
| Get a sensor by index number. | |
| std::shared_ptr< Sensor > | getSensor (OBSensorType sensorType) const |
| Get a sensor by sensor type. | |
| uint32_t | count () const |
| OBSensorType | type (uint32_t index) const |
Definition at line 160 of file Sensor.hpp.
|
inlineexplicit |
Definition at line 165 of file Sensor.hpp.
|
inlinenoexcept |
Definition at line 167 of file Sensor.hpp.
|
inline |
Get the number of sensors.
Definition at line 178 of file Sensor.hpp.
Referenced by count().
|
inline |
Get the type of the specified sensor.
| [in] | index | The sensor index. |
Definition at line 192 of file Sensor.hpp.
Referenced by type().
|
inline |
Get a sensor by index number.
| [in] | index | The sensor index. The range is [0, count-1]. If the index exceeds the range, an exception will be thrown. |
Definition at line 206 of file Sensor.hpp.
|
inline |
Get a sensor by sensor type.
| [in] | sensorType | The sensor type to obtain. |
Definition at line 220 of file Sensor.hpp.
|
inline |
Definition at line 229 of file Sensor.hpp.
Referenced by getCount().
|
inline |
Definition at line 233 of file Sensor.hpp.
Referenced by getSensorType().