Hedgehog
3.1.0
A library to generate hybrid pipeline workflow systems
|
Implementor for the NotifierAbstraction. More...
#include "implementor_notifier.h"
Public Member Functions | |
ImplementorNotifier () | |
Default constructor. | |
virtual | ~ImplementorNotifier ()=default |
Default destructor. | |
std::set< abstraction::NotifierAbstraction * > & | notifiers () |
Accessor to the linked NotifierAbstraction. | |
virtual void | initialize (abstraction::NotifierAbstraction *notifierAbstraction) |
Initialize the implementor Notifier by setting the corresponding abstraction. | |
virtual std::set< abstraction::SlotAbstraction * > const & | connectedSlots () const =0 |
Accessor to the connected slots. | |
virtual void | addSlot (abstraction::SlotAbstraction *slot)=0 |
Add a slot to the connected slots. | |
virtual void | removeSlot (abstraction::SlotAbstraction *slot)=0 |
Remove a slot to the connected slots. | |
virtual void | notify ()=0 |
Notify the connected slots to wake up. | |
virtual void | notifyAllTerminated ()=0 |
Notify the connected slots that this notifier is terminated. | |
Protected Attributes | |
std::unique_ptr< std::set< abstraction::NotifierAbstraction * > > | abstractNotifiers_ = nullptr |
Set of linked NotifierAbstraction. | |
Implementor for the NotifierAbstraction.
Definition at line 39 of file implementor_notifier.h.
|
inlineexplicit |
Default constructor.
Definition at line 46 of file implementor_notifier.h.
|
virtualdefault |
Default destructor.
|
pure virtual |
Add a slot to the connected slots.
slot | Slot to add |
Implemented in hh::core::implementor::DefaultNotifier, and hh::core::implementor::GraphNotifier.
|
pure virtual |
Accessor to the connected slots.
Implemented in hh::core::implementor::DefaultNotifier, and hh::core::implementor::GraphNotifier.
|
inlinevirtual |
Initialize the implementor Notifier by setting the corresponding abstraction.
notifierAbstraction | Notifier abstraction to set |
Reimplemented in hh::core::implementor::GraphNotifier.
Definition at line 58 of file implementor_notifier.h.
|
inline |
Accessor to the linked NotifierAbstraction.
Definition at line 54 of file implementor_notifier.h.
|
pure virtual |
Notify the connected slots to wake up.
Implemented in hh::core::implementor::DefaultNotifier, and hh::core::implementor::GraphNotifier.
|
pure virtual |
Notify the connected slots that this notifier is terminated.
Implemented in hh::core::implementor::DefaultNotifier, and hh::core::implementor::GraphNotifier.
|
pure virtual |
Remove a slot to the connected slots.
slot | Slot to remove |
Implemented in hh::core::implementor::DefaultNotifier, and hh::core::implementor::GraphNotifier.
|
protected |
Set of linked NotifierAbstraction.
Definition at line 42 of file implementor_notifier.h.