Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
TargetSensorEnumerator Class Reference

#include <target_sensor_enumerator.h>

Inheritance diagram for TargetSensorEnumerator:
Inheritance graph
[legend]

Classes

struct  SensorInfo
 
struct  SoftwareVersions
 

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...
 
 ~TargetSensorEnumerator ()=default
 
- Public Member Functions inherited from aditof::SensorEnumeratorInterface
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 Types

enum  SensorType { SensorType::SENSOR_ADSD3500 }
 

Private Member Functions

std::string getVersionOfComponent (const std::string &component) const
 

Private Attributes

std::string m_cardImageVersion
 
std::string m_kernelVersion
 
std::string m_rfsVersion
 
std::string m_sdkVersion
 
std::vector< SensorInfom_sensorsInfo
 
std::string m_uBootVersion
 

Detailed Description

Definition at line 38 of file target_sensor_enumerator.h.

Member Enumeration Documentation

◆ SensorType

Enumerator
SENSOR_ADSD3500 

ADSD3500 sensor.

Definition at line 57 of file target_sensor_enumerator.h.

Constructor & Destructor Documentation

◆ ~TargetSensorEnumerator()

TargetSensorEnumerator::~TargetSensorEnumerator ( )
default

Member Function Documentation

◆ getDepthSensors()

Status TargetSensorEnumerator::getDepthSensors ( std::vector< std::shared_ptr< aditof::DepthSensorInterface >> &  depthSensors)
overridevirtual

Definition at line 46 of file target_sensor_enumerator.cpp.

◆ getKernelVersion()

aditof::Status TargetSensorEnumerator::getKernelVersion ( std::string kernelVersion) const
overridevirtual

Get the kernel version that is installed on the embedded system that the camera is attached to.

Parameters
[out]kernelVersion- string containing data abouth the version.
Returns
Status

Implements aditof::SensorEnumeratorInterface.

Definition at line 108 of file target_sensor_enumerator.cpp.

◆ getSdVersion()

aditof::Status TargetSensorEnumerator::getSdVersion ( std::string sdVersion) const
overridevirtual

Get the SD card image version on the embedded system that the camera is attached to.

Parameters
[out]sdVersion- string containing data abouth the version.
Returns
Status

Implements aditof::SensorEnumeratorInterface.

Definition at line 120 of file target_sensor_enumerator.cpp.

◆ getUbootVersion()

aditof::Status TargetSensorEnumerator::getUbootVersion ( std::string uBootVersion) const
overridevirtual

Get the U-Boot version that is installed on the embedded system that the camera is attached to.

Parameters
[out]uBootVersion- string containing data abouth the version.
Returns
Status

Implements aditof::SensorEnumeratorInterface.

Definition at line 96 of file target_sensor_enumerator.cpp.

◆ getVersionOfComponent()

std::string TargetSensorEnumerator::getVersionOfComponent ( const std::string component) const
private

Definition at line 69 of file target_sensor_enumerator.cpp.

◆ searchSensors()

Status TargetSensorEnumerator::searchSensors ( )
overridevirtual

Do a search for the available sensors.

Returns
Status

Implements aditof::SensorEnumeratorInterface.

Definition at line 106 of file sensor_enumerator_imx.cpp.

Member Data Documentation

◆ m_cardImageVersion

std::string TargetSensorEnumerator::m_cardImageVersion
private

Definition at line 75 of file target_sensor_enumerator.h.

◆ m_kernelVersion

std::string TargetSensorEnumerator::m_kernelVersion
private

Definition at line 77 of file target_sensor_enumerator.h.

◆ m_rfsVersion

std::string TargetSensorEnumerator::m_rfsVersion
private

Definition at line 78 of file target_sensor_enumerator.h.

◆ m_sdkVersion

std::string TargetSensorEnumerator::m_sdkVersion
private

Definition at line 79 of file target_sensor_enumerator.h.

◆ m_sensorsInfo

std::vector<SensorInfo> TargetSensorEnumerator::m_sensorsInfo
private

Definition at line 74 of file target_sensor_enumerator.h.

◆ m_uBootVersion

std::string TargetSensorEnumerator::m_uBootVersion
private

Definition at line 76 of file target_sensor_enumerator.h.


The documentation for this class was generated from the following files:


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