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


Public Member Functions | |
| GraphSlot ()=default | |
| Default constructor. | |
| ~GraphSlot () override=default | |
| Default destructor. | |
| void | initialize (abstraction::SlotAbstraction *slotAbstraction) override |
| Redefine the implementor to do nothing, the graph do nothing by itself. | |
| std::set< abstraction::NotifierAbstraction * > const & | connectedNotifiers () const override |
| Do nothing, throw an error. | |
| bool | hasNotifierConnected () const override |
| Do nothing, throw an error. | |
| void | addNotifier (abstraction::NotifierAbstraction *notifier) override |
| Add a notifier to all input nodes. | |
| void | removeNotifier (abstraction::NotifierAbstraction *notifier) override |
| Remove a notifier to all input nodes. | |
Public Member Functions inherited from hh::core::implementor::ImplementorSlot | |
| ImplementorSlot () | |
| Default constructor. | |
| virtual | ~ImplementorSlot ()=default |
| Default destructor. | |
| std::set< abstraction::SlotAbstraction * > & | slots () |
| Accessor to the linked SlotAbstraction. | |
| virtual void | initialize (abstraction::SlotAbstraction *slotAbstraction) |
| Initialize the implementor Slot by setting the corresponding abstraction. | |
| virtual std::set< abstraction::NotifierAbstraction * > const & | connectedNotifiers () const =0 |
| Accessor to the connected notifiers. | |
| virtual bool | hasNotifierConnected () const =0 |
| Test if there is any notifiers connected. | |
| virtual void | addNotifier (abstraction::NotifierAbstraction *notifier)=0 |
| Add a notifier to the set of NotifierAbstraction. | |
| virtual void | removeNotifier (abstraction::NotifierAbstraction *notifier)=0 |
| Remove notifier to the set of NotifierAbstraction. | |
Additional Inherited Members | |
Protected Attributes inherited from hh::core::implementor::ImplementorSlot | |
| std::unique_ptr< std::set< abstraction::SlotAbstraction * > > | abstractSlots_ = nullptr |
| Set of linked SlotAbstraction. | |
Default concrete implementation of the slot abstraction for the graph core.
Definition at line 34 of file graph_slot.h.
|
explicitdefault |
Default constructor.
|
overridedefault |
Default destructor.
|
inlineoverridevirtual |
Add a notifier to all input nodes.
| notifier | Notifier top add to the input nodes |
Implements hh::core::implementor::ImplementorSlot.
Definition at line 63 of file graph_slot.h.
|
inlineoverridevirtual |
Do nothing, throw an error.
| std::runtime_error | A graph has no connected connectedNotifiers by itself |
Implements hh::core::implementor::ImplementorSlot.
Definition at line 50 of file graph_slot.h.
|
inlineoverridevirtual |
Do nothing, throw an error.
| std::runtime_error | A graph has no connected connectedNotifiers by itself |
Implements hh::core::implementor::ImplementorSlot.
Definition at line 57 of file graph_slot.h.
|
inlineoverridevirtual |
Redefine the implementor to do nothing, the graph do nothing by itself.
| slotAbstraction | Abstraction not used |
Reimplemented from hh::core::implementor::ImplementorSlot.
Definition at line 45 of file graph_slot.h.
|
inlineoverridevirtual |
Remove a notifier to all input nodes.
| notifier | Notifier top remove to the input nodes |
Implements hh::core::implementor::ImplementorSlot.
Definition at line 69 of file graph_slot.h.