Public Member Functions | Private Attributes | Static Private Attributes | List of all members
NetworkSensorEnumerator Class Reference

#include <network_sensor_enumerator.h>

Inheritance diagram for NetworkSensorEnumerator:
Inheritance graph
[legend]

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...
 
 NetworkSensorEnumerator (const std::string &ip)
 
virtual aditof::Status searchSensors () override
 Do a search for the available sensors. More...
 
 ~NetworkSensorEnumerator ()
 
- 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 Attributes

std::string m_imageSensorsInfo
 
std::string m_ip
 
std::string m_kernelVersion
 
std::string m_sdVersion
 
std::string m_uBootVersion
 

Static Private Attributes

static int sensorCount
 

Detailed Description

Definition at line 39 of file network_sensor_enumerator.h.

Constructor & Destructor Documentation

◆ NetworkSensorEnumerator()

NetworkSensorEnumerator::NetworkSensorEnumerator ( const std::string ip)

Definition at line 44 of file network_sensor_enumerator.cpp.

◆ ~NetworkSensorEnumerator()

NetworkSensorEnumerator::~NetworkSensorEnumerator ( )
default

Member Function Documentation

◆ getDepthSensors()

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

Definition at line 109 of file network_sensor_enumerator.cpp.

◆ getKernelVersion()

aditof::Status NetworkSensorEnumerator::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 128 of file network_sensor_enumerator.cpp.

◆ getSdVersion()

aditof::Status NetworkSensorEnumerator::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 134 of file network_sensor_enumerator.cpp.

◆ getUbootVersion()

aditof::Status NetworkSensorEnumerator::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 122 of file network_sensor_enumerator.cpp.

◆ searchSensors()

Status NetworkSensorEnumerator::searchSensors ( )
overridevirtual

Do a search for the available sensors.

Returns
Status

Implements aditof::SensorEnumeratorInterface.

Definition at line 49 of file network_sensor_enumerator.cpp.

Member Data Documentation

◆ m_imageSensorsInfo

std::string NetworkSensorEnumerator::m_imageSensorsInfo
private

Definition at line 57 of file network_sensor_enumerator.h.

◆ m_ip

std::string NetworkSensorEnumerator::m_ip
private

Definition at line 56 of file network_sensor_enumerator.h.

◆ m_kernelVersion

std::string NetworkSensorEnumerator::m_kernelVersion
private

Definition at line 61 of file network_sensor_enumerator.h.

◆ m_sdVersion

std::string NetworkSensorEnumerator::m_sdVersion
private

Definition at line 62 of file network_sensor_enumerator.h.

◆ m_uBootVersion

std::string NetworkSensorEnumerator::m_uBootVersion
private

Definition at line 60 of file network_sensor_enumerator.h.

◆ sensorCount

int NetworkSensorEnumerator::sensorCount
staticprivate

Definition at line 59 of file network_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