openDAQ
Open data acquisition platform
+ Collaboration diagram for Data rule:

Detailed Description

Modules

 Factories
 

Classes

struct  IDataRule
 Rule that defines how a signal value is calculated from an implicit initialization value when the rule type is not Explicit. More...
 
struct  IDataRuleBuilder
 Configuration component of Data rule objects. Contains setter methods that allow for Data rule parameter configuration, and a build method that builds the Data rule. More...
 
struct  IRulePrivate
 Private rule interface implemented by Dimension rules, Data rules and Scaling. Allows for parameter verification. More...
 
class  DataRuleBuilderPtr
 Configuration component of Data rule objects. Contains setter methods that allow for Data rule parameter configuration, and a build method that builds the Data rule. More...
 
class  DataRulePtr
 Enumeration of available Data rule types. More...
 
class  RulePrivatePtr
 Private rule interface implemented by Dimension rules, Data rules and Scaling. Allows for parameter verification. More...
 

Enumerations

enum  DataRuleType { Other = 0, Linear, Constant, Explicit }
 Enumeration of available Data rule types. More...
 

Enumeration Type Documentation

◆ DataRuleType

enum DataRuleType
strong

Enumeration of available Data rule types.

Enumerator
Other 

The rule is unknown to openDAQ and cannot be handled automatically.

Linear 

The parameters contain a delta and start parameters member. The value is calculated as: inputValue * delta + start .

Constant 

The value is a constant, as defined in the constant parameter field.

Explicit 

The value is explicitly defined and is part of the signal's packet buffers.