|
Hedgehog
3.1.0
A library to generate hybrid pipeline workflow systems
|
Implementor for the SenderAbstraction. More...
#include "implementor_sender.h"


Public Member Functions | |
| 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. | |
Protected Attributes | |
| std::unique_ptr< std::set< abstraction::SenderAbstraction< Output > * > > | abstractSenders_ = nullptr |
| Linked SenderAbstraction. | |
Implementor for the SenderAbstraction.
| Output | Type of output data |
Definition at line 44 of file implementor_sender.h.
|
inlineexplicit |
Default constructor.
Definition at line 51 of file implementor_sender.h.
|
virtualdefault |
Default destructor.
|
pure virtual |
Add a receiver to the set of connected receivers.
| receiver | Receiver to add |
Implemented in hh::core::implementor::DefaultSender< Output >, and hh::core::implementor::GraphSender< Output >.
|
pure virtual |
Accessor to the connected receivers.
Implemented in hh::core::implementor::DefaultSender< Output >, hh::core::implementor::DefaultSender< Outputs >, and hh::core::implementor::GraphSender< Output >.
|
inlinevirtual |
Initialize the implementor Sender by setting the corresponding abstraction.
| senderAbstraction | Sending abstraction to set |
Reimplemented in hh::core::implementor::GraphSender< Output >.
Definition at line 63 of file implementor_sender.h.
|
pure virtual |
Remove a receiver to the set of connected receivers.
| receiver | Receiver to remove |
Implemented in hh::core::implementor::DefaultSender< Output >, and hh::core::implementor::GraphSender< Output >.
|
pure virtual |
Send a data to successor node.
| data | Data to send |
Implemented in hh::core::implementor::DefaultSender< Output >, and hh::core::implementor::GraphSender< Output >.
|
inline |
Accessor to the SenderAbstraction.
Definition at line 59 of file implementor_sender.h.
|
protected |
Linked SenderAbstraction.
Definition at line 47 of file implementor_sender.h.