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

Detailed Description

Functions

ServerTypePtr ServerType (const StringPtr &id, const StringPtr &name, const StringPtr &description, const PropertyObjectPtr &defaultConfig=PropertyObject())
 Creates a ServerTypeConfigPtr pointer, with the id, name, description and optional defaultConfig. More...
 
StructTypePtr ServerTypeStructType ()
 Creates the Struct type object that defines the Server type struct.
 

Function Documentation

◆ ServerType()

ServerTypePtr ServerType ( const StringPtr id,
const StringPtr name,
const StringPtr description,
const PropertyObjectPtr defaultConfig = PropertyObject() 
)
inline

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

Parameters
idThe unique type ID of the server.
nameThe name of the server type.
descriptionA short description of the server type.
defaultConfigThe property object, to be cloned and returned, each time user creates default configuration object. This way each instance of the server has its own configuration object.