Static Public Member Functions | List of all members
aditof::SensorEnumeratorFactory Class Reference

Provides the means to construct different types of sensors enumerators. Based on the connection type (on target, USB, Network), different enumerators need to be used. More...

#include <sensor_enumerator_factory.h>

Static Public Member Functions

static std::unique_ptr< SensorEnumeratorInterfacebuildNetworkSensorEnumerator (const std::string &ip)
 
static std::unique_ptr< SensorEnumeratorInterfacebuildOfflineSensorEnumerator ()
 
static std::unique_ptr< SensorEnumeratorInterfacebuildTargetSensorEnumerator ()
 Factory method to create an enumerator to look for sensors on target. Factory method will return null if the call is not made on target. More...
 
static std::unique_ptr< SensorEnumeratorInterfacebuildUsbSensorEnumerator ()
 

Detailed Description

Provides the means to construct different types of sensors enumerators. Based on the connection type (on target, USB, Network), different enumerators need to be used.

Definition at line 48 of file sensor_enumerator_factory.h.

Member Function Documentation

◆ buildNetworkSensorEnumerator()

std::unique_ptr< SensorEnumeratorInterface > SensorEnumeratorFactory::buildNetworkSensorEnumerator ( const std::string ip)
static

Factory method to create an enumerator to look for sensors over network.

Returns
std::unique_ptr<DeviceEnumeratorInterface>

Definition at line 71 of file sensor_enumerator_factory.cpp.

◆ buildOfflineSensorEnumerator()

std::unique_ptr< SensorEnumeratorInterface > SensorEnumeratorFactory::buildOfflineSensorEnumerator ( )
static

Factory method to create an offline enumerator.

Returns
std::unique_ptr<DeviceEnumeratorInterface>

Definition at line 82 of file sensor_enumerator_factory.cpp.

◆ buildTargetSensorEnumerator()

std::unique_ptr< SensorEnumeratorInterface > SensorEnumeratorFactory::buildTargetSensorEnumerator ( )
static

Factory method to create an enumerator to look for sensors on target. Factory method will return null if the call is not made on target.

Returns
std::unique_ptr<SensorEnumeratorInterface>

Definition at line 53 of file sensor_enumerator_factory.cpp.

◆ buildUsbSensorEnumerator()

std::unique_ptr< SensorEnumeratorInterface > SensorEnumeratorFactory::buildUsbSensorEnumerator ( )
static

Factory method to create an enumerator to look for sensors over USB.

Returns
std::unique_ptr<DeviceEnumeratorInterface>

Definition at line 62 of file sensor_enumerator_factory.cpp.


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


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