|
Hedgehog
3.1.0
A library to generate hybrid pipeline workflow systems
|
Default concrete implementation of the sender abstraction for the graph core. More...
#include "graph_sender.h"


Public Member Functions | |
| GraphSender ()=default | |
| Default constructor. | |
| virtual | ~GraphSender ()=default |
| Default destructor. | |
| void | initialize (abstraction::SenderAbstraction< Output > *senderAbstraction) override |
| Redefine the implementor to do nothing, the graph do nothing by itself. | |
| std::set< abstraction::ReceiverAbstraction< Output > * > const & | connectedReceivers () const override |
| Do nothing, throw an error, a graph is not really connected to other nodes. | |
| void | addReceiver (abstraction::ReceiverAbstraction< Output > *receiver) override |
| Add receiver node to graph's output node. | |
| void | removeReceiver (abstraction::ReceiverAbstraction< Output > *receiver) override |
| Remove receiver node to graph's output node. | |
| void | send (std::shared_ptr< Output > data) override |
| Do nothing, throw an error, a graph is not really connected to other nodes. | |
Public Member Functions inherited from hh::core::implementor::ImplementorSender< Output > | |
| ImplementorSender () | |
| Default constructor. | |
| virtual | ~ImplementorSender ()=default |
| Default destructor. | |
| std::set< abstraction::SenderAbstraction< Output > * > & | senders () |
| Accessor to the SenderAbstraction. | |
| virtual void | initialize (abstraction::SenderAbstraction< Output > *senderAbstraction) |
| Initialize the implementor Sender by setting the corresponding abstraction. | |
| virtual std::set< abstraction::ReceiverAbstraction< Output > * > const & | connectedReceivers () const =0 |
| Accessor to the connected receivers. | |
| virtual void | addReceiver (abstraction::ReceiverAbstraction< Output > *receiver)=0 |
| Add a receiver to the set of connected receivers. | |
| virtual void | removeReceiver (abstraction::ReceiverAbstraction< Output > *receiver)=0 |
| Remove a receiver to the set of connected receivers. | |
| virtual void | send (std::shared_ptr< Output > data)=0 |
| Send a data to successor node. | |
Additional Inherited Members | |
Protected Attributes inherited from hh::core::implementor::ImplementorSender< Output > | |
| std::unique_ptr< std::set< abstraction::SenderAbstraction< Output > * > > | abstractSenders_ = nullptr |
| Linked SenderAbstraction. | |
Default concrete implementation of the sender abstraction for the graph core.
| Output | Output type |
Definition at line 32 of file graph_sender.h.
|
explicitdefault |
Default constructor.
|
virtualdefault |
Default destructor.
|
inlineoverridevirtual |
Add receiver node to graph's output node.
| receiver | Receiver node to add to graph's output node |
Implements hh::core::implementor::ImplementorSender< Output >.
Definition at line 54 of file graph_sender.h.
|
inlineoverridevirtual |
Do nothing, throw an error, a graph is not really connected to other nodes.
| std::runtime_error | A graph has no connected ReceiverAbstraction by itself. |
Implements hh::core::implementor::ImplementorSender< Output >.
Definition at line 48 of file graph_sender.h.
|
inlineoverridevirtual |
Redefine the implementor to do nothing, the graph do nothing by itself.
| senderAbstraction | Abstraction not used |
Reimplemented from hh::core::implementor::ImplementorSender< Output >.
Definition at line 43 of file graph_sender.h.
|
inlineoverridevirtual |
Remove receiver node to graph's output node.
| receiver | Receiver node to remove to graph's output node |
Implements hh::core::implementor::ImplementorSender< Output >.
Definition at line 60 of file graph_sender.h.
|
inlineoverridevirtual |
Do nothing, throw an error, a graph is not really connected to other nodes.
| data | not used data |
| std::runtime_error | A graph has no connected ReceiverAbstraction by itself. |
Implements hh::core::implementor::ImplementorSender< Output >.
Definition at line 67 of file graph_sender.h.