#include <usb_sensor_enumerator.h>
Classes | |
struct | SensorInfo |
Public Member Functions | |
virtual aditof::Status | getDepthSensors (std::vector< std::shared_ptr< aditof::DepthSensorInterface >> &depthSensors) override |
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. More... | |
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. More... | |
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. More... | |
virtual aditof::Status | searchSensors () override |
Do a search for the available sensors. More... | |
~UsbSensorEnumerator () | |
![]() | |
virtual aditof::Status | getDepthSensors (std::vector< std::shared_ptr< aditof::DepthSensorInterface >> &depthSensors)=0 |
Get the available depth sensors. More... | |
virtual | ~SensorEnumeratorInterface ()=default |
Destructor. More... | |
Private Attributes | |
int | fd |
std::string | m_kernelVersion |
std::string | m_sdVersion |
std::string | m_sensorName |
std::vector< SensorInfo > | m_sensorsInfo |
std::string | m_uBootVersion |
Definition at line 38 of file usb_sensor_enumerator.h.
|
default |
|
overridevirtual |
Definition at line 199 of file linux/usb_sensor_enumerator.cpp.
|
overridevirtual |
Get the kernel version that is installed on the embedded system that the camera is attached to.
[out] | kernelVersion | - string containing data abouth the version. |
Implements aditof::SensorEnumeratorInterface.
Definition at line 220 of file linux/usb_sensor_enumerator.cpp.
|
overridevirtual |
Get the SD card image version on the embedded system that the camera is attached to.
[out] | sdVersion | - string containing data abouth the version. |
Implements aditof::SensorEnumeratorInterface.
Definition at line 225 of file linux/usb_sensor_enumerator.cpp.
|
overridevirtual |
Get the U-Boot version that is installed on the embedded system that the camera is attached to.
[out] | uBootVersion | - string containing data abouth the version. |
Implements aditof::SensorEnumeratorInterface.
Definition at line 214 of file linux/usb_sensor_enumerator.cpp.
|
overridevirtual |
Do a search for the available sensors.
Implements aditof::SensorEnumeratorInterface.
Definition at line 56 of file linux/usb_sensor_enumerator.cpp.
|
private |
Definition at line 59 of file usb_sensor_enumerator.h.
|
private |
Definition at line 63 of file usb_sensor_enumerator.h.
|
private |
Definition at line 64 of file usb_sensor_enumerator.h.
|
private |
Definition at line 57 of file usb_sensor_enumerator.h.
|
private |
Definition at line 61 of file usb_sensor_enumerator.h.
|
private |
Definition at line 62 of file usb_sensor_enumerator.h.