CreateMultiFuncWithQ
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Creates a multi-func processing object and processing function of the FlowMsgQueue type. This function is internally used in the framework and not directly used 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