Hedgehog
3.1.0
A library to generate hybrid pipeline workflow systems
|
Default concrete implementation of slot interface. More...
#include "default_slot.h"
Public Member Functions | |
DefaultSlot () | |
Default constructor. | |
~DefaultSlot () override=default | |
Default destructor. | |
std::set< abstraction::NotifierAbstraction * > const & | connectedNotifiers () const override |
Accessor to the connected notifiers. | |
bool | hasNotifierConnected () const override |
Test if there is any notifiers connected. | |
void | addNotifier (abstraction::NotifierAbstraction *const notifier) override |
Add a notifier to the list of connected notifiers. | |
void | removeNotifier (abstraction::NotifierAbstraction *const notifier) override |
Remove a notifier to the list of connected notifiers. | |
![]() | |
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. | |
Private Attributes | |
std::unique_ptr< std::set< abstraction::NotifierAbstraction * > > const | notifiers_ = nullptr |
List of notifiers linked to this slot. | |
Additional Inherited Members | |
![]() | |
std::unique_ptr< std::set< abstraction::SlotAbstraction * > > | abstractSlots_ = nullptr |
Set of linked SlotAbstraction. | |
Default concrete implementation of slot interface.
Definition at line 37 of file default_slot.h.
|
inlineexplicit |
Default constructor.
Definition at line 44 of file default_slot.h.
|
overridedefault |
Default destructor.
|
inlineoverridevirtual |
Add a notifier to the list of connected notifiers.
notifier | Notifier to add to the list of connected notifiers |
Implements hh::core::implementor::ImplementorSlot.
Definition at line 60 of file default_slot.h.
|
inlineoverridevirtual |
Accessor to the connected notifiers.
Implements hh::core::implementor::ImplementorSlot.
Definition at line 52 of file default_slot.h.
|
inlineoverridevirtual |
Test if there is any notifiers connected.
Implements hh::core::implementor::ImplementorSlot.
Definition at line 56 of file default_slot.h.
|
inlineoverridevirtual |
Remove a notifier to the list of connected notifiers.
notifier | Notifier to remove from the list of connected notifiers |
Implements hh::core::implementor::ImplementorSlot.
Definition at line 64 of file default_slot.h.
|
private |
List of notifiers linked to this slot.
Definition at line 40 of file default_slot.h.