offline_sensor_enumerator.h
Go to the documentation of this file.
1 #ifndef OFFLINE_SENSOR_ENUMERATOR_H
2 #define OFFLINE_SENSOR_ENUMERATOR_H
3 
5 
7  public:
9  ~OfflineSensorEnumerator() = default;
10 
11  public:
12  virtual aditof::Status searchSensors() override;
13  virtual aditof::Status
14  getDepthSensors(std::vector<std::shared_ptr<aditof::DepthSensorInterface>>
15  &depthSensors) override;
16  virtual aditof::Status
17  getUbootVersion(std::string &uBootVersion) const override;
18  virtual aditof::Status
19  getKernelVersion(std::string &kernelVersion) const override;
20  virtual aditof::Status getSdVersion(std::string &sdVersion) const override;
21 
22  private:
23  std::vector<std::string> m_sensorsInfo;
24 };
25 
26 #endif // OFFLINE_SENSOR_ENUMERATOR_H
OfflineSensorEnumerator::~OfflineSensorEnumerator
~OfflineSensorEnumerator()=default
OfflineSensorEnumerator::getSdVersion
virtual aditof::Status getSdVersion(std::string &sdVersion) const override
Get the SD card image version on the embedded system that the camera is attached to.
Definition: offline_sensor_enumerator.cpp:38
OfflineSensorEnumerator::getUbootVersion
virtual aditof::Status getUbootVersion(std::string &uBootVersion) const override
Get the U-Boot version that is installed on the embedded system that the camera is attached to.
Definition: offline_sensor_enumerator.cpp:28
string
GLsizei const GLchar *const * string
Definition: glcorearb.h:3083
OfflineSensorEnumerator
Definition: offline_sensor_enumerator.h:6
OfflineSensorEnumerator::getDepthSensors
virtual aditof::Status getDepthSensors(std::vector< std::shared_ptr< aditof::DepthSensorInterface >> &depthSensors) override
Definition: offline_sensor_enumerator.cpp:14
OfflineSensorEnumerator::searchSensors
virtual aditof::Status searchSensors() override
Do a search for the available sensors.
Definition: offline_sensor_enumerator.cpp:23
OfflineSensorEnumerator::m_sensorsInfo
std::vector< std::string > m_sensorsInfo
Definition: offline_sensor_enumerator.h:23
sensor_enumerator_interface.h
OfflineSensorEnumerator::OfflineSensorEnumerator
OfflineSensorEnumerator()
Definition: offline_sensor_enumerator.cpp:4
aditof::Status
Status
Status of any operation that the TOF sdk performs.
Definition: status_definitions.h:48
OfflineSensorEnumerator::getKernelVersion
virtual aditof::Status getKernelVersion(std::string &kernelVersion) const override
Get the kernel version that is installed on the embedded system that the camera is attached to.
Definition: offline_sensor_enumerator.cpp:33
aditof::SensorEnumeratorInterface
Can search for sensors and retrieve sensors by category.
Definition: sensor_enumerator_interface.h:47


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:57