openDAQ
Open data acquisition platform
Factories
+ Collaboration diagram for Factories:

Detailed Description

Functions

DeviceInfoConfigPtr DeviceInfo (const StringPtr &connectionString, const StringPtr &name="", const StringPtr &customSdkVersion=nullptr)
 Creates a DeviceInfoConfig with a connection string and optional name. More...
 
NetworkInterfacePtr NetworkInterface (const StringPtr &name, const StringPtr &ownerDeviceManufacturerName, const StringPtr &ownerDeviceSerialNumber, const BaseObjectPtr &moduleManager)
 Creates a Network interface object with the specified name and additional parameters. More...
 

Function Documentation

◆ DeviceInfo()

DeviceInfoConfigPtr DeviceInfo ( const StringPtr connectionString,
const StringPtr name = "",
const StringPtr customSdkVersion = nullptr 
)
inline

Creates a DeviceInfoConfig with a connection string and optional name.

Parameters
connectionStringString used to connect to the device.
nameThe name of the device. Optional parameter.
customSdkVersionUsed when the device uses a custom SDK version. Optional parameter.

◆ NetworkInterface()

NetworkInterfacePtr NetworkInterface ( const StringPtr name,
const StringPtr ownerDeviceManufacturerName,
const StringPtr ownerDeviceSerialNumber,
const BaseObjectPtr moduleManager 
)
inline

Creates a Network interface object with the specified name and additional parameters.

Parameters
nameThe name of the interface (e.g. "eth0").
ownerDeviceManufacturerNameThe manufacturer name of the device which owns the interface.
ownerDeviceSerialNumberThe serial number of the device which owns the interface.
moduleManagerThe module manager.