ResourceLimitedNodeBody Named Requirement#
The type Body satisfies ResourceLimitedNodeBody if it
satisfies the following requirements:
ResourceLimitedNodeBody Requirements: Pseudo-Signature, Semantics
Body::Body(const Body& other);
Copies the body.
Body::~Body();
Destroys the body.
void Body::operator()(const Input& input, OutputPortsType& ports,
ResourceHandle1& resource_handle1, ..., ResourceHandleN& resource_handleN);
Below, rl_node denotes the resource_limited_node instance into which the Body object
is passed during construction, and rl_node_type is its type.
Requirements:
The
Inputtype must be the same as theInputtemplate argument ofrl_node_type.The
OutputPortsTypemust be the same asrl_node_type::output_ports_typemember type.ResourceHandle1, …,ResourceHandleNmust be the same asresource_limiter::resource_handle_typemember type of the correspondingresource_limiterpassed torl_nodeduring construction.
Processes the input message.
May call try_put on any of the output ports, possibly multiple times per port.