Inheritance diagram for CP_EventHandler_Imp:
Public Member Functions | |
Constructor / Destructor | |
CP_EventHandler_Imp () | |
Constructor. | |
CP_EventHandler_Imp (EventTargetRef inTarget) | |
virtual | ~CP_EventHandler_Imp () |
Destructor. | |
Protected Attributes | |
CP_EventHandler_Map | fEventHandlers |
EventTargetRef | fTarget |
EventHandlerRef | fEventHandlerRef |
Static Private Member Functions | |
Callback | |
static pascal::OSStatus | EventHandlerProc (EventHandlerCallRef inHandlerCallRef, EventRef inEvent, void *inUserData) throw () |
|
Constructor.
|
|
Constructor.
|
|
Desstructor.
|
|
Adds the passed in event and event signal handler to the list of events we maintain. This will also register with the Carbon Event handler the fact that we handle the passed in event class and event kind.
|
|
Removes the event hanndler associated with the passed in event class and event kind. This will also delete the event signal associated with the event class and kind, if the event is found.
|
|
Returns true if we have an installed handler for the passed in inEventClass and inEventKind.
|
|
Returns the CP_EventSignal that will handle the passed in Carbon Event, based on the event class and event kind.
|
|
|
|
|
|
Callback for the Carbon Event handler when it has a registered event to process. This will look up the CP_EventSignal and call it to handle the event.
|
|
|
|
Map that contains all of the registered handlers. |
|
Carbon Event target ref. |