Intel® oneAPI Threading Building Blocks Developer Guide and API Reference
MultifunctionNodeBody
[req.multifunction_node_body]
A type Body satisfies MultifunctionNodeBody if it meets the following requirements:
MultifunctionNodeBody Requirements: Pseudo-Signature, Semantics
Copy constructor.
Body::~Body()
Destructor.
voidBody::operator()(constInput&v, OutputPortsType&p)
Requirements:
The Input type must be the same as the Input template type argument of the multifunction_node instance in which the Body object is passed during construction.
The OutputPortsType type must be the same as the output_ports_type member type of the multifunction_node instance in which the Body object is passed during construction.
Performs operation on v. May call try_put() on zero or more of the output ports. May call try_put() on any output port multiple times.