RegisterMultiFunc
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Registers multiple FlowFunc.
You are advised to use MetaMultiFunc Registration Function Macro to register FlowFunc.
Prototype
- This function is used when a common FlowFunc is registered, that is, when the input of the FlowFunc is flowMsg.
1bool RegisterMultiFunc(const char *flowFuncName, const MULTI_FUNC_CREATOR_FUNC &funcCreator) noexcept
- This function is used when a streaming input FlowFunc (the function's input parameter is a queue) is registered, that is, when the input of the FlowFunc is flowMsgQueue.
1bool RegisterMultiFunc(const char *flowFuncName, const MULTI_FUNC_WITH_Q_CREATOR_FUNC &funcWithQCreator) noexcept
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
flowFuncName |
Input |
Name of Flowfunc. The value cannot be NULL and must end with \0. |
funcCreator/funcWithQCreator |
Input |
Creation function of multiple FlowFunc. |
Returns
- true
- false
Exception Handling
None
Constraints
None
Parent topic: Class MetaMultiFunc