Template Function ecl::lite::sigslots::connect(ecl::lite::Signal<Data, Capacity>&, MemberSlot<Data, FunctionClass>&)
Defined in File connect.hpp
Function Documentation
-
template<typename Data, unsigned int Capacity, typename FunctionClass>
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:
NoError
OutOfResourcesError : when the capacity of the signal is exceeded.
- Parameters:
signal – : the signal for connection.
slot – : the member slot for connection