Specialisation for void global slots management. More...
#include <managers.hpp>
Static Public Attributes | |
static const unsigned int | capacity |
Number of global void functions that can be slotted. More... | |
Static Private Member Functions | |
static sigslots::GlobalSlot< void > * | addSlot (void(*func)(void)) |
Add a slot. More... | |
static unsigned int | stored (const bool increment=false) |
Number of slots currently stored. More... | |
Friends | |
template<unsigned int Capacity_> | |
sigslots::Error | connect (Signal< void, Capacity_ > &signal, void(*function)(void)) |
template<typename Data > | |
unsigned int | global_slots_stored () |
Specialisation for void global slots management.
Dummy | : dummy argument to enable capacity to be a const expr for array bounds |
Definition at line 325 of file managers.hpp.
|
inlinestaticprivate |
Add a slot.
This is used 'under the hood' by the connectors.
func | : the function to slot. |
Definition at line 366 of file managers.hpp.
|
inlinestaticprivate |
Number of slots currently stored.
This is used for two purposes, 1) for recall and 2) to increment since it holds a static variable internally. This is triggered by the boolean argument which has a default value that can be hidden when doing 1).
increment | : increment the storage value (called from addSlot) |
Definition at line 352 of file managers.hpp.
|
friend |
|
friend |
Definition at line 29 of file utilities.hpp.
|
static |
Number of global void functions that can be slotted.
Definition at line 327 of file managers.hpp.