Inherits ObjectPtr< IFunctionBlockWrapper >.
Enables to change the configuration behaviour of a function block.
Function block wrapper is used when a parent function block creates a child function block. Often it is required that the child function block does not expose all configuration features to the client SDK code. Some configuration is performed by the parent function block. Therefore it is required that the parent function block is able to hide and/or change configuration parameters of the child function block.
The parent function block should create an instance of a function block wrapper to modify the configuration interface of the child function block. The original function block is passed as a parameter to factory function. The parent function block should configure access to the original child function block using the functions on function block wrapper. Then it should publish the wrapped function block.
|
void | includeInputPort (const daq::StringPtr &inputPortName) const |
| Includes the input port to a list of input ports on the function block. More...
|
|
void | excludeInputPort (const daq::StringPtr &inputPortName) const |
| Excludes the input port from a list of input ports on the function block. More...
|
|
void | includeSignal (const daq::StringPtr &signalLocalId) const |
| Includes the signal to a list of signals on the function block. More...
|
|
void | excludeSignal (const daq::StringPtr &signalLocalId) const |
| Excludes the signal from a list of signals on the function block. More...
|
|
void | includeProperty (const daq::StringPtr &propertyName) const |
| Includes the property to a list of visible properties on the function block. More...
|
|
void | excludeProperty (const daq::StringPtr &propertyName) const |
| Excludes the property from a list of visible properties on the function block. More...
|
|
void | includeFunctionBlock (const daq::StringPtr &functionBlockLocalId) const |
| Includes the function block to a list of sub-function blocks on the function block. More...
|
|
void | excludeFunctionBlock (const daq::StringPtr &functionBlockLocalId) const |
| Excludes the function block from a list of sub-function blocks on the function block. More...
|
|
void | setPropertyCoercer (const daq::StringPtr &propertyName, const daq::CoercerPtr &coercer) const |
| Sets a custom coercer for the property. More...
|
|
void | setPropertyValidator (const daq::StringPtr &propertyName, const daq::ValidatorPtr &validator) const |
| Sets a custom validator for the property. More...
|
|
void | setPropertySelectionValues (const daq::StringPtr &propertyName, const daq::ListPtr< daq::IString > &enumValues) const |
| Sets a list of accepted selection values. More...
|
|
daq::FunctionBlockPtr | getWrappedFunctionBlock () const |
| Returns the wrapped function block which was passed as a parameter to the constructor/factory. More...
|
|