#include <EventsDispatcher.h>
Inheritance diagram for GUI::EventsDispatcher:

Public Member Functions | |
| int | startListen () throw (GuiException) |
| Start the message loop. | |
| void | registerController (WidgetController *controller_ptr) |
| Register a new controller object for event handling. | |
Static Public Member Functions | |
| static LRESULT CALLBACK | WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
| Standard window procedure, called by the system. | |
| void GUI::EventsDispatcher::registerController | ( | WidgetController * | controller_ptr | ) |
Register a new controller object for event handling.
The relative widget factory register the controller after creation.
| controller_ptr | pointer to the desired controller |
| int GUI::EventsDispatcher::startListen | ( | ) | throw (GuiException) |
Start the message loop.
This method start a message loop and exit only if an exception was throw or if the apllication terminate
| LRESULT CALLBACK GUI::EventsDispatcher::WindowProcedure | ( | HWND | hwnd, | |
| UINT | message, | |||
| WPARAM | wParam, | |||
| LPARAM | lParam | |||
| ) | [static] |
Standard window procedure, called by the system.
This callback is called by the system, if there is a widget controller registered for the corresponding handle the message was notified to the controller object.
1.4.7