openDAQ
Open data acquisition platform
+ Collaboration diagram for Factories:

Detailed Description

Functions

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

Function Documentation

◆ FunctionBlockType()

FunctionBlockTypePtr FunctionBlockType ( const StringPtr id,
const StringPtr name,
const StringPtr description,
const PropertyObjectPtr defaultConfig = PropertyObject() 
)
inline

Creates a FunctionBlockType 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.
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.