Public Member Functions | |
void | register (GenericSignal) |
Provides an interface that must be implemented by classes that own Signals in a managed way.
Definition at line 36 of file signal.d.
|
Deriving classes must implement this function to keep a list of Signals that it owns, and disconnect() them in the destructor (so that connected Slots remove their reference). Also, deriving classes must provide and use a method (say, .discard()) to disconnect all signals when the object is no longer used, so that it may be garbage collected. |