Template Function ecl::lite::sigslots::connect(ecl::lite::Signal<Data, Capacity>&, GlobalSlot<Data>&)

Function Documentation

template<typename Data, unsigned int Capacity>
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:

  • NoError

  • OutOfResourcesError : when the capacity of the signal is exceeded.

Parameters:
  • signal – : the signal for connection.

  • slot – : the global slot for connection