CreateMultiFuncWithQ
Applicable Products
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Creates a multi-function processing object and processing function whose input type is FlowMsgQueue. This function is used internally by the framework and shall not be directly invoked by users.
Prototype
This function is used to create FlowFunc processing objects and processing functions, with FlowMsgQueue as the streaming input parameter.
1 2 | int32_t CreateMultiFuncWithQ(std::shared_ptr<MetaMultiFunc> &multiFunc, std::map<AscendString, PROC_FUNC_WITH_CONTEXT_Q> &procFuncWithQMap) const |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
multiFunc |
Output |
Multi-func instance object |
procFuncWithQMap |
Output |
Multi-FlowFunc processing function whose input type is FlowMsgQueue. |
Returns
- FLOW_FUNC_SUCCESS: success
- Other values: failure
Exception Handling
None
Constraints
None
Parent topic: Class FlowFuncRegistrar