Listenable

The Listenable template is a virtual implementation which handles the listener UDAs, storing them within a local "listeners" mapping.

mixin template Listenable () {
ListenerObject[] listeners;
}

Members

Functions

registerListener
void registerListener(ListenerObject obj)

Registers a listener from a ListenerObject

Meta