Inheritance diagram for CP_EventHandler_Imp:
Windows Messages | |
virtual LRESULT CALLBACK | EventHandlerProc (HWND inHwnd, UINT iMsg, WPARAM wParam, LPARAM lParam) throw () |
LRESULT | CallDefault () throw () |
Public Member Functions | |
void | disconnect_all () |
void | signal_connect (CP_Signal *inSender) |
void | signal_disconnect (CP_Signal *inSender) |
Constructor / Destructor | |
CP_EventHandler_Imp () | |
Constructor. | |
virtual | ~CP_EventHandler_Imp () |
Destructor. | |
Constructor / Destructor | |
CP_EventHandler_Imp () | |
Constructor. | |
CP_EventHandler_Imp (EventTargetRef inTarget) | |
virtual | ~CP_EventHandler_Imp () |
Destructor. | |
Constructor / Destructor | |
CP_EventHandler_Imp () | |
Constructor. | |
virtual | ~CP_EventHandler_Imp () |
Destructor. | |
Protected Member Functions | |
virtual OSWindow | FindOSWindowFromMessage (OSWindow inWindow, LPARAM inLParam, UINT inMsg) |
Protected Attributes | |
CP_EventHandler_Map | fEventHandlers |
EventTargetRef | fTarget |
EventHandlerRef | fEventHandlerRef |
WPARAM | fWParam |
LPARAM | fLParam |
WNDPROC | fnOldWndProc |
HWND | fHWND |
UINT | fIMsg |
sender_set | fSenders |
Static Private Member Functions | |
Callback | |
static pascal::OSStatus | EventHandlerProc (EventHandlerCallRef inHandlerCallRef, EventRef inEvent, void *inUserData) throw () |
|
Constructor.
|
|
Desstructor.
|
|
|
|
Constructor.
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
|
|
Removes the event hanndler associated with the passed in event class and event kind.
|
|
Removes the event hanndler associated with the passed in event class and event kind.
|
|
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.
|
|
Returns the Windows window proc callback used with this event handler.
|
|
Sets the Windows window proc callback used with this event handler.
|
|
Returns the wParam for this event.
|
|
Returns the lParam for this event.
|
|
|
|
Callback for the Windows window message handler when it has a registered event to process. This will look up the CP_EventSignal and call it to handle the event.
Reimplemented in CP_EventHandler_Imp_MDIFrame. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Map that contains all of the registered handlers. |
|
Carbon Event target ref. |
|
List of registered event handlers. |
|
WPARAM for this event. |
|
LPARAM for this event. |
|
Callback to be used when there is no event handler for this event. |
|
|
|
|