Inheritance diagram for CP_EventHandler_Imp_MDIFrame:
Public Member Functions | |
void | disconnect_all () |
void | signal_connect (CP_Signal *inSender) |
void | signal_disconnect (CP_Signal *inSender) |
Events | |
void | Add (UInt32 inClass, UInt32 inKind, CP_EventSignal *inEventSignal, OSWindow inWindow=NULL) |
void | Remove (UInt32 inEventClass, UInt32 inEventKind) |
bool | HasHandler (UInt32 inEventClass, UInt32 inEventKind) |
CP_EventSignal * | FindHandler (UInt32 inEventClass, UInt32 inEventKind) |
Events | |
void | Add (UInt32 inClass, UInt32 inKind, CP_EventSignal *inEventSignal, OSWindow inWindow=NULL) |
void | Remove (UInt32 inEventClass, UInt32 inEventKind) |
bool | HasHandler (UInt32 inEventClass, UInt32 inEventKind) |
CP_EventSignal * | FindHandler (UInt32 inEventClass, UInt32 inEventKind) |
Events | |
void | Add (UInt32 inClass, UInt32 inKind, CP_EventSignal *inEventSignal, OSWindow inWindow) |
void | Remove (UInt32 inEventClass, UInt32 inEventKind, OSWindow inWindow) |
bool | HasHandler (UInt32 inEventClass, UInt32 inEventKind, OSWindow inWindow) |
CP_EventSignal * | FindHandler (UInt32 inEventClass, UInt32 inEventKind, OSWindow inWindow, LPARAM inLParam) |
void | RemoveAll () |
Getters | |
EventTargetRef | GetEventTargetRef () |
Setters | |
void | SetEventTargetRef (EventTargetRef inTarget) |
Getters | |
WNDPROC | GetWndProc () |
void | SetWndProc (WNDPROC inWndProc) |
WPARAM | GetWParam () |
LPARAM | GetLParam () |
HWND | GetHWND () |
Events | |
void | Add (UInt32 inClass, UInt32 inKind, CP_EventSignal *inEventSignal, OSWindow inWindow=NULL) |
void | Remove (UInt32 inEventClass, UInt32 inEventKind) |
bool | HasHandler (UInt32 inEventClass, UInt32 inEventKind) |
CP_EventSignal * | FindHandler (UInt32 inEventClass, UInt32 inEventKind) |
Events | |
void | Add (UInt32 inClass, UInt32 inKind, CP_EventSignal *inEventSignal, OSWindow inWindow=NULL) |
void | Remove (UInt32 inEventClass, UInt32 inEventKind) |
bool | HasHandler (UInt32 inEventClass, UInt32 inEventKind) |
CP_EventSignal * | FindHandler (UInt32 inEventClass, UInt32 inEventKind) |
Getters | |
EventTargetRef | GetEventTargetRef () |
Setters | |
void | SetEventTargetRef (EventTargetRef inTarget) |
Events | |
void | Add (UInt32 inClass, UInt32 inKind, CP_EventSignal *inEventSignal, OSWindow inWindow) |
void | Remove (UInt32 inEventClass, UInt32 inEventKind, OSWindow inWindow) |
void | RemoveAll () |
bool | HasHandler (UInt32 inEventClass, UInt32 inEventKind, OSWindow inWindow) |
CP_EventSignal * | FindHandler (UInt32 inEventClass, UInt32 inEventKind, OSWindow inWindow, LPARAM inLParam) |
Getters | |
WNDPROC | GetWndProc () |
void | SetWndProc (WNDPROC inWndProc) |
WPARAM | GetWParam () |
LPARAM | GetLParam () |
HWND | GetHWND () |
Constructor / Destructor | |
CP_EventHandler_Imp_MDIFrame () | |
Constructor. | |
virtual | ~CP_EventHandler_Imp_MDIFrame () |
Destructor. | |
Events | |
virtual LRESULT CALLBACK | EventHandlerProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam) throw () |
Events | |
void | Add (UInt32 inClass, UInt32 inKind, CP_EventSignal *inEventSignal, OSWindow inWindow=NULL) |
void | Remove (UInt32 inEventClass, UInt32 inEventKind) |
bool | HasHandler (UInt32 inEventClass, UInt32 inEventKind) |
CP_EventSignal * | FindHandler (UInt32 inEventClass, UInt32 inEventKind) |
Events | |
void | Add (UInt32 inClass, UInt32 inKind, CP_EventSignal *inEventSignal, OSWindow inWindow=NULL) |
void | Remove (UInt32 inEventClass, UInt32 inEventKind) |
bool | HasHandler (UInt32 inEventClass, UInt32 inEventKind) |
CP_EventSignal * | FindHandler (UInt32 inEventClass, UInt32 inEventKind) |
Events | |
void | Add (UInt32 inClass, UInt32 inKind, CP_EventSignal *inEventSignal, OSWindow inWindow) |
void | Remove (UInt32 inEventClass, UInt32 inEventKind, OSWindow inWindow) |
bool | HasHandler (UInt32 inEventClass, UInt32 inEventKind, OSWindow inWindow) |
CP_EventSignal * | FindHandler (UInt32 inEventClass, UInt32 inEventKind, OSWindow inWindow, LPARAM inLParam) |
void | RemoveAll () |
Getters | |
EventTargetRef | GetEventTargetRef () |
Setters | |
void | SetEventTargetRef (EventTargetRef inTarget) |
Getters | |
WNDPROC | GetWndProc () |
void | SetWndProc (WNDPROC inWndProc) |
WPARAM | GetWParam () |
LPARAM | GetLParam () |
HWND | GetHWND () |
Windows Messages | |
LRESULT | CallDefault () throw () |
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 |
|
Constructor.
|
|
Destructor.
|
|
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. This callback will handle events directed to the MDI frame window.
Reimplemented from CP_EventHandler_Imp. |
|
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.
|
|
|
|
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 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 CP_EventSignal that will handle the passed in Carbon Event, based on the event class and event kind.
|
|
|
|
|
|
Removes the event hanndler associated with the passed in 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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. |
|
|
|
|