Kallisto Linux API
Library for interacting with Kallisto devices
KallistoHelper Class Reference

Static Public Member Functions

static KallistoImplgetKallistoWithAddress (const std::list< std::unique_ptr< hardware::KallistoImpl > > &device_list, std::string address)
 
static KallistoImplgetKallistoWithSensorHandle (const std::list< std::unique_ptr< hardware::KallistoImpl > > &device_list, unsigned int handle)
 

Member Function Documentation

◆ getKallistoWithAddress()

static KallistoImpl* getKallistoWithAddress ( const std::list< std::unique_ptr< hardware::KallistoImpl > > &  device_list,
std::string  address 
)
inlinestatic

Searches for the Kallisto with the passed address.

Parameters
device_listThe Kallisto list
addressThe Kallisto address
Returns
The Kallisto with the sensor or nullptr if not found.

◆ getKallistoWithSensorHandle()

static KallistoImpl* getKallistoWithSensorHandle ( const std::list< std::unique_ptr< hardware::KallistoImpl > > &  device_list,
unsigned int  handle 
)
inlinestatic

Searches for the Kallisto that contains the sensor with the passed handle.

Parameters
device_listThe Kallisto list
handleThe sensor handle
Returns
The Kallisto with the sensor or nullptr if not found.

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