openDAQ
Open data acquisition platform
Device info
+ Collaboration diagram for Device info:

Detailed Description

Modules

 Factories
 

Classes

struct  IDeviceInfo
 Contains standard information about an openDAQ device and device type. The Device Info object is a Property Object, allowing for custom String, Int, Bool, or Float-type properties to be added. More...
 
struct  IDeviceInfoConfig
 Configuration component of Device info objects. Contains setter methods that are available until the object is frozen. More...
 
class  DeviceInfoConfigPtr
 Configuration component of Device info objects. Contains setter methods that are available until the object is frozen. More...
 
class  GenericDeviceInfoPtr< InterfaceType >
 Contains standard information about an openDAQ device and device type. The Device Info object is a Property Object, allowing for custom String, Int, Bool, or Float-type properties to be added. More...
 

Functions

void setName (const daq::StringPtr &name) const
 Sets the name of the device. More...
 
void setConnectionString (const daq::StringPtr &connectionString) const
 Sets the string representation of a connection address used to connect to the device. More...
 
void setDeviceType (const daq::DeviceTypePtr &deviceType) const
 Sets a device type as an object providing type id, name, short description and default device configuration. More...
 
void setManufacturer (const daq::StringPtr &manufacturer) const
 Sets the company that manufactured the device. More...
 
void setManufacturerUri (const daq::StringPtr &manufacturerUri) const
 Sets the unique identifier of the company that manufactured the device. This identifier should be a fully qualified domain name; however, it may be a GUID or similar construct that ensures global uniqueness. More...
 
void setModel (const daq::StringPtr &model) const
 Sets the model of the device. More...
 
void setProductCode (const daq::StringPtr &productCode) const
 Sets the unique combination of numbers and letters used to identify the device. More...
 
void setDeviceRevision (const daq::StringPtr &deviceRevision) const
 Sets the revision level of the device. More...
 
void setHardwareRevision (const daq::StringPtr &hardwareRevision) const
 Sets the revision level of the hardware. More...
 
void setSoftwareRevision (const daq::StringPtr &softwareRevision) const
 sets the revision level of the software component More...
 
void setDeviceManual (const daq::StringPtr &deviceManual) const
 Sets the address of the user manual. It may be a pathname in the file system or a URL (Web address) More...
 
void setDeviceClass (const daq::StringPtr &deviceClass) const
 Sets the purpose of the device. For example "TestMeasurementDevice". More...
 
void setSerialNumber (const daq::StringPtr &serialNumber) const
 Sets the serial number of the device. More...
 
void setProductInstanceUri (const daq::StringPtr &productInstanceUri) const
 Sets the globally unique resource identifier provided by the manufacturer. The recommended syntax of the ProductInstanceUri is: <ManufacturerUri>/<any string> where <any string> is unique among all instances using the same ManufacturerUri. More...
 
void setRevisionCounter (daq::Int revisionCounter) const
 Sets the incremental counter indicating the number of times the configuration data has been modified. More...
 
void setAssetId (const daq::StringPtr &id) const
 Sets the asset ID of the device. Represents a user writable alphanumeric character sequence uniquely identifying a component. More...
 
void setMacAddress (const daq::StringPtr &macAddress) const
 Sets the Mac address of the device. More...
 
void setParentMacAddress (const daq::StringPtr &macAddress) const
 Sets the Mac address of the device's parent. More...
 
void setPlatform (const daq::StringPtr &platform) const
 Sets the platform of the device. The platform specifies whether real hardware is used or if the device is simulated. More...
 
void setPosition (daq::Int position) const
 Sets the position of the device. The position specifies the position within a given system. For example in which slot or slice the device is in. More...
 
void setSystemType (const daq::StringPtr &type) const
 Sets the system type. The system type can, for example, be LayeredSystem, StandaloneSystem, or RackSystem. More...
 
void setSystemUuid (const daq::StringPtr &uuid) const
 Sets the system UUID that represents a unique ID of a system. All devices in a system share this UUID. More...
 
void setLocation (const daq::StringPtr &location) const
 Sets the device's location. More...
 

Function Documentation

◆ setAssetId()

void setAssetId ( const daq::StringPtr &  id) const
inline

Sets the asset ID of the device. Represents a user writable alphanumeric character sequence uniquely identifying a component.

Parameters
idThe asset ID of the device.

The ID is provided by the integrator or user of the device. It contains typically an identifier in a branch, use case or user specific naming scheme. This could be for example a reference to an electric scheme.

◆ setConnectionString()

void setConnectionString ( const daq::StringPtr &  connectionString) const
inline

Sets the string representation of a connection address used to connect to the device.

Parameters
connectionStringThe string used to connect to the device.

◆ setDeviceClass()

void setDeviceClass ( const daq::StringPtr &  deviceClass) const
inline

Sets the purpose of the device. For example "TestMeasurementDevice".

Parameters
deviceClassThe class of the device.

◆ setDeviceManual()

void setDeviceManual ( const daq::StringPtr &  deviceManual) const
inline

Sets the address of the user manual. It may be a pathname in the file system or a URL (Web address)

Parameters
deviceManualThe manual of the device.

◆ setDeviceRevision()

void setDeviceRevision ( const daq::StringPtr &  deviceRevision) const
inline

Sets the revision level of the device.

Parameters
deviceRevisionThe device revision level.

◆ setDeviceType()

void setDeviceType ( const daq::DeviceTypePtr &  deviceType) const
inline

Sets a device type as an object providing type id, name, short description and default device configuration.

Parameters
[out]deviceTypeThe device type object

◆ setHardwareRevision()

void setHardwareRevision ( const daq::StringPtr &  hardwareRevision) const
inline

Sets the revision level of the hardware.

Parameters
hardwareRevisionThe hardware revision of the device.

◆ setLocation()

void setLocation ( const daq::StringPtr &  location) const
inline

Sets the device's location.

Parameters
locationThe device's location.

◆ setMacAddress()

void setMacAddress ( const daq::StringPtr &  macAddress) const
inline

Sets the Mac address of the device.

Parameters
macAddressThe Mac address.

◆ setManufacturer()

void setManufacturer ( const daq::StringPtr &  manufacturer) const
inline

Sets the company that manufactured the device.

Parameters
manufacturerThe manufacturer of the device.

◆ setManufacturerUri()

void setManufacturerUri ( const daq::StringPtr &  manufacturerUri) const
inline

Sets the unique identifier of the company that manufactured the device. This identifier should be a fully qualified domain name; however, it may be a GUID or similar construct that ensures global uniqueness.

Parameters
manufacturerUriThe manufacturer uri of the device.

◆ setModel()

void setModel ( const daq::StringPtr &  model) const
inline

Sets the model of the device.

Parameters
modelThe model of the device.

◆ setName()

void setName ( const daq::StringPtr &  name) const
inline

Sets the name of the device.

Parameters
nameThe name of the device.

◆ setParentMacAddress()

void setParentMacAddress ( const daq::StringPtr &  macAddress) const
inline

Sets the Mac address of the device's parent.

Parameters
macAddressThe parent's Mac address.

◆ setPlatform()

void setPlatform ( const daq::StringPtr &  platform) const
inline

Sets the platform of the device. The platform specifies whether real hardware is used or if the device is simulated.

Parameters
platformThe platform of the device.

◆ setPosition()

void setPosition ( daq::Int  position) const
inline

Sets the position of the device. The position specifies the position within a given system. For example in which slot or slice the device is in.

Parameters
positionThe platform of the device.

◆ setProductCode()

void setProductCode ( const daq::StringPtr &  productCode) const
inline

Sets the unique combination of numbers and letters used to identify the device.

Parameters
productCodeThe product code of the device.

◆ setProductInstanceUri()

void setProductInstanceUri ( const daq::StringPtr &  productInstanceUri) const
inline

Sets the globally unique resource identifier provided by the manufacturer. The recommended syntax of the ProductInstanceUri is: <ManufacturerUri>/<any string> where <any string> is unique among all instances using the same ManufacturerUri.

Parameters
productInstanceUriThe product instance uri of the device.

◆ setRevisionCounter()

void setRevisionCounter ( daq::Int  revisionCounter) const
inline

Sets the incremental counter indicating the number of times the configuration data has been modified.

Parameters
revisionCounterThe revision counter of the device.

◆ setSerialNumber()

void setSerialNumber ( const daq::StringPtr &  serialNumber) const
inline

Sets the serial number of the device.

Parameters
serialNumberThe serial number of the device.

◆ setSoftwareRevision()

void setSoftwareRevision ( const daq::StringPtr &  softwareRevision) const
inline

sets the revision level of the software component

Parameters
softwareRevisionThe software revision of the device.

◆ setSystemType()

void setSystemType ( const daq::StringPtr &  type) const
inline

Sets the system type. The system type can, for example, be LayeredSystem, StandaloneSystem, or RackSystem.

Parameters
typeThe system type of the device.

◆ setSystemUuid()

void setSystemUuid ( const daq::StringPtr &  uuid) const
inline

Sets the system UUID that represents a unique ID of a system. All devices in a system share this UUID.

Parameters
uuidThe unique ID of a system.