12 #ifndef ECL_SIGSLOTS_LITE_CONNECT_HPP_ 13 #define ECL_SIGSLOTS_LITE_CONNECT_HPP_ 46 template <
typename Data,
unsigned int Capacity,
typename FunctionClass>
62 template <
typename Data,
unsigned int Capacity>
88 template <
typename Data,
unsigned int Capacity,
typename FunctionClass>
115 template <
typename Data,
unsigned int Capacity>
118 if ( slot != NULL ) {
140 template <
unsigned int Capacity,
typename FunctionClass>
147 if ( slot != NULL ) {
162 template <
unsigned int Capacity>
165 if ( slot != NULL ) {
Error handling types and classes for lite sigslots.
A slot with global/static callback function.
sigslots::Error connect(sigslots::SlotBase< Data > &slot)
Connect the signal to the specified slot.
Used internally to retrieve info about members lots.
A slot with member callback function.
Used internally to retrieve info about void member slots.
Specialisation of the signal for data-less sigslots.
ecl::lite::sigslots::Error connect(ecl::lite::Signal< Data, Capacity > &signal, MemberSlot< Data, FunctionClass > &slot)
Internal worker used to connect a signal with a slot.
A slot with member callback function.
static sigslots::GlobalSlot< Data > * addSlot(void(*func)(Data))
Add a slot.
virtual sigslots::MemberSlot< Data, FunctionClass > * addSlot(void(FunctionClass::*func)(Data), FunctionClass &instance)=0
Extends the generic ecl error handler with some time specific error strings.
virtual sigslots::MemberSlot< void, FunctionClass > * addSlot(void(FunctionClass::*func)(), FunctionClass &instance)=0
A slot with global/static callback function.
Simple slots - these are actually all hidden from the user.