Time-of-Flight-SDK
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< 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 ()
 
static std::unique_ptr< SensorEnumeratorInterfacebuildNetworkSensorEnumerator (const std::string &ip)
 
static std::unique_ptr< SensorEnumeratorInterfacebuildOfflineSensorEnumerator ()
 

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()

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

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

Returns
std::unique_ptr<DeviceEnumeratorInterface>

◆ buildOfflineSensorEnumerator()

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

Factory method to create an offline enumerator.

Returns
std::unique_ptr<DeviceEnumeratorInterface>

◆ buildTargetSensorEnumerator()

static std::unique_ptr<SensorEnumeratorInterface> aditof::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>

◆ buildUsbSensorEnumerator()

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

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

Returns
std::unique_ptr<DeviceEnumeratorInterface>

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