Object that represents a node outlet. More...
|outpin (const std::string &name_r)|
|virtual std::string||rename (const std::string &name_r)|
|Overrides named::rename. |
|virtual bool||push (std::unique_ptr< packet< T >> packet_p)|
|Moves a packet to the pipe. |
|Public Member Functions inherited from flow::pin< T >|
|pin (const std::string &name_r)|
|pin (const pin< T > &o)|
|Public Member Functions inherited from flow::named|
|named (const std::string &name_r)|
|Constructor the takes a name. |
|named (named &&name_rr)|
|Move constructor. |
|named (const named &name_r)|
|Copy constructor. |
|virtual const std::string &||name () const|
|A const reference to this object's name. |
|class||producer< T >|
|Protected Attributes inherited from flow::pin< T >|
< pipe< T >, std::unique_ptr
< std::mutex > > >
|Shared ownership of a pipe with the pin to which this pin is connected. |
Object that represents a node outlet.
Nodes that produce packets, i.e. producers and transformers, have at least one outpin.
|name_r||The name to give this outpin.|
Moves a packet to the pipe.
Attempts to move the packet on the pipe. If the pipe has reached capacity, the call to pipe::push will fail and packet_p will remain valid.
trueif the packet was successfully moved to the pipe, false otherwise.