SetMultiOutputs
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Sets the output of the specified index and options in batches. This function is called by the func function.
Prototype
1 | int32_t SetMultiOutputs(uint32_t outIdx, const std::vector<std::shared_ptr<FlowMsg>> &outMsgs, const OutOptions &options) = 0 |
Command-Line Options
Parameter |
Input/Output |
Description |
|---|---|---|
outIdx |
Input |
Output index, starting from 0. |
outMsgs |
Input |
List of the output message. |
options |
Input |
OutOptions corresponding to the output. |
Returns
- 0: success
- Other values: failure. For details, see UDF Error Codes.
Troubleshooting
None
Constraints
None
Parent topic: GetOutputNum