CEventListenerBase Class

class CEventListenerBase

This template class is provided as a convenient way to implement event listener interfaces in concrete classes. This template implements QueryInterface and HandleEvent. The event listener interface is one of the two template parameters, and is used as the base class in the template declaration. The interface passed in is assumed to be derived from IEventListener. The other template parameter is a pointer to the interface ID for the event listener interface.

Defined in: EventListener.h

Class Template Arguments

interfacebase_t

Event listener interface to implement.