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...
Inherits ObjectPtr< 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.
◆ addParameter()
DataRuleBuilderPtr addParameter |
( |
const daq::StringPtr & |
name, |
|
|
const daq::BaseObjectPtr & |
parameter |
|
) |
| const |
|
inline |
Adds a string-object pair parameter to the Dictionary of Data rule parameters.
- Parameters
-
name | The string-type name of the parameter. |
parameter | The object-type parameter. |
◆ build()
daq::DataRulePtr build |
( |
| ) |
const |
|
inline |
Builds and returns a Data rule object using the currently set values of the Builder.
- Returns
- The built Data rule.
◆ getParameters()
daq::DictPtr<daq::IString, daq::IBaseObject> getParameters |
( |
| ) |
const |
|
inline |
Gets a dictionary of string-object key-value pairs representing the parameters used to evaluate the rule.
- Returns
- The dictionary containing the rule parameter members.
◆ getType()
Gets the type of the data rule.
- Returns
- The type of the data rule.
◆ setParameters()
DataRuleBuilderPtr setParameters |
( |
const daq::DictPtr< daq::IString, daq::IBaseObject > & |
parameters | ) |
const |
|
inline |
Sets a dictionary of string-object key-value pairs representing the parameters used to evaluate the rule.
- Parameters
-
parameters | The dictionary containing the rule parameter members. |
◆ setType()
Sets the type of the data rule.
- Parameters
-
type | The type of the data rule. |