Classes | |
class | Error |
Extends the generic ecl error handler with some time specific error strings. More... | |
class | GlobalSlot |
A slot with global/static callback function. More... | |
class | GlobalSlot< void > |
A slot with global/static callback function. More... | |
class | MemberSlot |
A slot with member callback function. More... | |
class | MemberSlot< void, FunctionClass > |
A slot with member callback function. More... | |
class | MemberSlotsBase |
Used internally to retrieve info about members lots. More... | |
class | MemberSlotsBase< void, FunctionClass > |
Used internally to retrieve info about void member slots. More... | |
class | SlotBase |
Parent slot class with the common, publicly exposed interface. More... | |
class | SlotBase< void > |
Parent slot class with the common, publicly exposed interface. More... | |
Enumerations | |
enum | ErrorFlag { NoError = 0, UnknownError = -1, OutOfResourcesError = -21 } |
Error flags for lite sigslots. More... | |
Functions | |
template<typename Data , unsigned int Capacity, typename FunctionClass > | |
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. | |
template<typename Data , unsigned int Capacity> | |
ecl::lite::sigslots::Error | connect (ecl::lite::Signal< Data, Capacity > &signal, GlobalSlot< Data > &slot) |
Internal worker used to connect a signal with a slot. |
Error flags for lite sigslots.
This is a subset of the ecl_errors class, reproduced here for semi-compatibility. Try and keep these matched with the ErrorFlag enums in ecl_errors for consistency.
NoError |
No error (often a meaningful error state in itself). |
UnknownError |
Unknown error type. |
OutOfResourcesError |
Out of resources, cannot proceed. |
Definition at line 30 of file errors.hpp.
ecl::lite::sigslots::Error ecl::lite::sigslots::connect | ( | ecl::lite::Signal< Data, Capacity > & | signal, |
MemberSlot< Data, FunctionClass > & | slot | ||
) |
Internal worker used to connect a signal with a slot.
Valid return values:
signal | : the signal for connection. |
slot | : the member slot for connection |
Definition at line 47 of file connect.hpp.
ecl::lite::sigslots::Error ecl::lite::sigslots::connect | ( | ecl::lite::Signal< Data, Capacity > & | signal, |
GlobalSlot< Data > & | slot | ||
) |
Internal worker used to connect a signal with a slot.
Valid return values:
signal | : the signal for connection. |
slot | : the global slot for connection |
Definition at line 63 of file connect.hpp.