openDAQ
Open data acquisition platform
+ Collaboration diagram for Factories:

Detailed Description

Functions

StreamingTypePtr StreamingType (const StringPtr &id, const StringPtr &name, const StringPtr &description, const StringPtr &prefix, const PropertyObjectPtr &defaultConfig=PropertyObject())
 Creates a StreamingType pointer, with the id, name, description and optional defaultConfig. More...
 
StructTypePtr StreamingTypeStructType ()
 Creates the Struct type object that defines the Function block type struct.
 

Function Documentation

◆ StreamingType()

StreamingTypePtr StreamingType ( const StringPtr id,
const StringPtr name,
const StringPtr description,
const StringPtr prefix,
const PropertyObjectPtr defaultConfig = PropertyObject() 
)
inline

Creates a StreamingType pointer, with the id, name, description and optional defaultConfig.

Parameters
idThe unique type ID of the function block.
nameThe name of the function block. Eg. FFT.
descriptionA short description of the function block and its behaviour.
prefixThe prefix of the connection string used to add this streaming connection to a device.
defaultConfigThe property object, to be cloned and returned, each time user creates default configuration object. This way each instance of the function block has its own configuration object.