Specialisation for void member slots management. More...
#include <managers.hpp>
Protected Member Functions | |
MemberSlots () | |
Private Member Functions | |
sigslots::MemberSlot< void, FunctionClass > * | addSlot (void(FunctionClass::*func)(void), FunctionClass &instance) |
Add a slot. | |
unsigned int | capacity () const |
The number of slots that can be attached to member functions. | |
unsigned int | stored () const |
The number of slots stored. | |
Private Attributes | |
unsigned int | size |
sigslots::MemberSlot< void, FunctionClass > | slots [Capacity] |
Friends | |
template<unsigned int Capacity_, typename FunctionClass_ > | |
sigslots::Error | connect (Signal< void, Capacity_ > &signal, void(FunctionClass_::*f)(void), FunctionClass_ &o) |
template<typename Data_ , typename FunctionClass_ > | |
unsigned int | member_slots_capacity (const FunctionClass_ &object) |
template<typename Data_ , typename FunctionClass_ > | |
unsigned int | member_slots_stored (const FunctionClass_ &object) |
Specialisation for void member slots management.
Definition at line 257 of file managers.hpp.
ecl::lite::MemberSlots< void, FunctionClass, Capacity >::MemberSlots | ( | ) | [inline, protected] |
Definition at line 274 of file managers.hpp.
sigslots::MemberSlot<void,FunctionClass>* ecl::lite::MemberSlots< void, FunctionClass, Capacity >::addSlot | ( | void(FunctionClass::*)(void) | func, |
FunctionClass & | instance | ||
) | [inline, private] |
Add a slot.
This is used 'under the hood' by the connectors.
func | : the function to slot. |
instance | : the class instance associated with the function. |
Definition at line 300 of file managers.hpp.
unsigned int ecl::lite::MemberSlots< void, FunctionClass, Capacity >::capacity | ( | ) | const [inline, private, virtual] |
The number of slots that can be attached to member functions.
Reimplemented from ecl::lite::sigslots::MemberSlotsBase< void, FunctionClass >.
Definition at line 289 of file managers.hpp.
unsigned int ecl::lite::MemberSlots< void, FunctionClass, Capacity >::stored | ( | ) | const [inline, private, virtual] |
The number of slots stored.
Reimplemented from ecl::lite::sigslots::MemberSlotsBase< void, FunctionClass >.
Definition at line 282 of file managers.hpp.
sigslots::Error connect | ( | Signal< void, Capacity_ > & | signal, |
void(FunctionClass_::*)(void) | f, | ||
FunctionClass_ & | o | ||
) | [friend] |
unsigned int member_slots_capacity | ( | const FunctionClass_ & | object | ) | [friend] |
unsigned int member_slots_stored | ( | const FunctionClass_ & | object | ) | [friend] |
unsigned int ecl::lite::MemberSlots< void, FunctionClass, Capacity >::size [private] |
Definition at line 315 of file managers.hpp.
sigslots::MemberSlot<void,FunctionClass> ecl::lite::MemberSlots< void, FunctionClass, Capacity >::slots[Capacity] [private] |
Definition at line 316 of file managers.hpp.