#include "wx/list.h"
#include "wx/event.h"
#include "wx/cmdproc.h"
#include <wx/module.h>
#include "wx/general/a2dlist.h"
#include "wx/general/gen.h"


Go to the source code of this file.
Classes | |
| struct | a2dEventTableEntry |
| an entry from a static event table More... | |
| struct | a2dEventTable |
| for defining static event tables specific for a2dObject/a2dEvtHandler derived objects. More... | |
| class | a2dDynamicEventProperty |
| property used to add dynamic events to the a2dEvtHandler More... | |
| class | a2dEvent |
| class | a2dEvtHandler |
| a2dEvtHandler the base class for all objects which are handling events and are derived More... | |
| class | a2dCommandId |
| Each a2dCommand is given a command id at construction. More... | |
| class | a2dCommand |
| a base command for the a2dCommandProcessor More... | |
| class | a2dCommandException |
| For exceptions thrown from commands. More... | |
| class | a2dCommandGroup |
| a group of commands, used to group commands together for undo/redo More... | |
| class | a2dCommand_SetProperty |
| used to change a property on objects More... | |
| class | a2dPropertyEditEvent |
| see a2dCommandProcessorEvent More... | |
| class | a2dCommandProcessorEvent |
| Event sent to a2dCommandProcessor or a2dEventDistributer. More... | |
| class | a2dCommandProcessor |
| base command processor More... | |
| class | a2dSmrtPtrWrap< T > |
| help class which makes it possible to store a smart pointer as a wxObject* More... | |
| class | a2dDistributedEventReceiver |
| class used in a2dEventDistributer More... | |
| class | a2dEventDistributer |
| class to spread events sent to it to other class instances that are registrated More... | |
| class | a2dGeneralGlobal |
| One Global instance of this class exists, in order to get to global needed objects. More... | |
| class | a2dGeneralModule |
| initializes the general module More... | |
| class | a2dCommand_SetVariable |
| Set a string variable inside wxDocview. More... | |
| class | a2dCommand_SetVariable::Args |
| struct | a2dCommand_SetVariable::Args::argValuet |
| struct | a2dCommand_SetVariable::Args::argSett |
| class | a2dCommand_SetEnvironmentVariable |
| Set a environment variable. More... | |
| class | a2dCommand_SetEnvironmentVariable::Args |
| struct | a2dCommand_SetEnvironmentVariable::Args::argValuet |
| struct | a2dCommand_SetEnvironmentVariable::Args::argSett |
| class | a2dCommand_GetVariable |
| Get internal variable. More... | |
| class | a2dCommand_GetVariable::Args |
| struct | a2dCommand_GetVariable::Args::argValuet |
| struct | a2dCommand_GetVariable::Args::argSett |
| class | a2dCommand_GetEnvVariable |
| Get internal variable. More... | |
| class | a2dCommand_GetEnvVariable::Args |
| struct | a2dCommand_GetEnvVariable::Args::argValuet |
| struct | a2dCommand_GetEnvVariable::Args::argSett |
| class | a2dComEvent |
| see a2dComEvent More... | |
Defines | |
| #define | A2D_EVT_UPDATE_UI(id, func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_UPDATE_UI, id, wxID_ANY, (a2dObjectEventFunction) static_cast < a2dUpdateUIEventFunction > ( & func ), (wxObject *) NULL ), |
| updating user interface event | |
| #define | A2D_EVT_MENU(id, func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_COMMAND_MENU_SELECTED, id, wxID_ANY, (a2dObjectEventFunction) static_cast < a2dCommandEventFunction > ( & func ), (wxObject *) NULL ), |
| add menu event | |
| #define | A2D_EVT_CUSTOM(event, winid, func) A2D_DECLARE_EVENT_TABLE_ENTRY( event, winid, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) & func, (wxObject *) NULL ), |
| #define | A2D_EVT_CUSTOM_RANGE(event, id1, id2, func) A2D_DECLARE_EVENT_TABLE_ENTRY( event, id1, id2, (a2dObjectEventFunction) (a2dEventFunction) & func, (wxObject *) NULL ), |
| #define | A2D_EVT_SIZE(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_SIZE, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dSizeEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_SIZING(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_SIZING, -1, -1, (a2dObjectEventFunction) (a2dEventFunction) (a2dSizeEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_MOVE(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_MOVE, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dMoveEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_MOVING(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_MOVING, -1, -1, (a2dObjectEventFunction) (a2dEventFunction) (a2dMoveEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_CLOSE(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_CLOSE_WINDOW, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dCloseEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_END_SESSION(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_END_SESSION, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dCloseEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_QUERY_END_SESSION(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_QUERY_END_SESSION, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dCloseEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_PAINT(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_PAINT, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dPaintEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_NC_PAINT(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_NC_PAINT, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dPaintEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_ERASE_BACKGROUND(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_ERASE_BACKGROUND, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dEraseEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_CHAR(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_CHAR, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dCharEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_KEY_DOWN(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_KEY_DOWN, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dCharEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_KEY_UP(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_KEY_UP, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dCharEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_CHAR_HOOK(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_CHAR_HOOK, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dCharEventFunction) & func, NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_MENU_OPEN(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_MENU_OPEN, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dMenuEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_MENU_CLOSE(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_MENU_CLOSE, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dMenuEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_MENU_HIGHLIGHT(winid, func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_MENU_HIGHLIGHT, winid, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dMenuEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_MENU_HIGHLIGHT_ALL(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_MENU_HIGHLIGHT, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dMenuEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_SET_FOCUS(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_SET_FOCUS, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dFocusEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_KILL_FOCUS(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_KILL_FOCUS, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dFocusEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_CHILD_FOCUS(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_CHILD_FOCUS, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (wxCommandEventFunction) (a2dChildFocusEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_ACTIVATE(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_ACTIVATE, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dActivateEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_ACTIVATE_APP(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_ACTIVATE_APP, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dActivateEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_END_SESSION(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_END_SESSION, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dCloseEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_QUERY_END_SESSION(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_QUERY_END_SESSION, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dCloseEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_DROP_FILES(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_DROP_FILES, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dDropFilesEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_INIT_DIALOG(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_INIT_DIALOG, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dInitDialogEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_SYS_COLOUR_CHANGED(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_SYS_COLOUR_CHANGED, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dSysColourChangedFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_SHOW(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_SHOW, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dShowEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_MAXIMIZE(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_MAXIMIZE, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dMaximizeEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_ICONIZE(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_ICONIZE, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dIconizeEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_NAVIGATION_KEY(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_NAVIGATION_KEY, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dCommandEventFunction) (a2dNavigationKeyEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_PALETTE_CHANGED(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_PALETTE_CHANGED, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dPaletteChangedEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_QUERY_NEW_PALETTE(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_QUERY_NEW_PALETTE, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dQueryNewPaletteEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_WINDOW_CREATE(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_CREATE, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dWindowCreateEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_WINDOW_DESTROY(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_DESTROY, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dWindowDestroyEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_SET_CURSOR(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_SET_CURSOR, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dSetCursorEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_MOUSE_CAPTURE_CHANGED(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_MOUSE_CAPTURE_CHANGED, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) (a2dMouseCaptureChangedEventFunction) & func, (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_LEFT_DOWN(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_LEFT_DOWN, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) static_cast < a2dMouseEventFunction > ( & func ), (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_LEFT_UP(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_LEFT_UP, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) static_cast < a2dMouseEventFunction > ( & func ), (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_MIDDLE_DOWN(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_MIDDLE_DOWN, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) static_cast < a2dMouseEventFunction > ( & func ), (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_MIDDLE_UP(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_MIDDLE_UP, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) static_cast < a2dMouseEventFunction > ( & func ), (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_RIGHT_DOWN(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_RIGHT_DOWN, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) static_cast < a2dMouseEventFunction > ( & func ), (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_RIGHT_UP(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_RIGHT_UP, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) static_cast < a2dMouseEventFunction > ( & func ), (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_MOTION(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_MOTION, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) static_cast < a2dMouseEventFunction > ( & func ), (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_LEFT_DCLICK(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_LEFT_DCLICK, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) static_cast < a2dMouseEventFunction > ( & func ), (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_MIDDLE_DCLICK(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_MIDDLE_DCLICK, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) static_cast < a2dMouseEventFunction > ( & func ), (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_RIGHT_DCLICK(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_RIGHT_DCLICK, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) static_cast < a2dMouseEventFunction > ( & func ), (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_LEAVE_WINDOW(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_LEAVE_WINDOW, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) static_cast < a2dMouseEventFunction > ( & func ), (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_ENTER_WINDOW(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_ENTER_WINDOW, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) static_cast < a2dMouseEventFunction > ( & func ), (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_MOUSEWHEEL(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_MOUSEWHEEL, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) static_cast < a2dMouseEventFunction > ( & func ), (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_MOUSE_EVENTS(func) |
| #define | A2D_EVT_IDLE(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_IDLE, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) (a2dEventFunction) static_cast < a2dIdleEventFunction > ( & func ), (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_BUTTON(id, func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_COMMAND_BUTTON_CLICKED, id, wxID_ANY, (a2dObjectEventFunction) static_cast < a2dCommandEventFunction > ( & func ), (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_BUTTON_ANY(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_COMMAND_BUTTON_CLICKED, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) static_cast < a2dCommandEventFunction > ( & func ), (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_CHOICE(id, func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_COMMAND_CHOICE_SELECTED, id, wxID_ANY, (a2dObjectEventFunction) static_cast < a2dCommandEventFunction > ( & func ), (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_EVT_CHOICE_ANY(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_COMMAND_CHOICE_SELECTED, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) static_cast < a2dCommandEventFunction > ( & func ), (wxObject *) NULL ), |
| a2dEvtHandler equivalent of wxEvthandler macro | |
| #define | A2D_DECLARE_EVENT_TABLE_ENTRY(type, winid, idLast, fn, obj) a2dEventTableEntry(type, winid, idLast, fn, obj) |
| declarates one entry in a static event table. | |
| #define | A2D_DECLARE_EVENT_TABLE() |
| #define | A2D_BEGIN_EVENT_TABLE(theClass, baseClass) |
| #define | A2D_BEGIN_EVENT_TABLE_TEMPLATE1(theClass, baseClass, T1) |
| #define | A2D_BEGIN_EVENT_TABLE_TEMPLATE2(theClass, baseClass, T1, T2) |
| #define | A2D_BEGIN_EVENT_TABLE_TEMPLATE3(theClass, baseClass, T1, T2, T3) |
| #define | A2D_END_EVENT_TABLE() A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_NULL, 0, 0, 0, 0 ) }; |
| #define | a2d__DECLARE_EVT2(evt, id1, id2, fn) A2D_DECLARE_EVENT_TABLE_ENTRY(evt, id1, id2, fn, NULL), |
| #define | a2d__DECLARE_EVT1(evt, id, fn) a2d__DECLARE_EVT2(evt, id, wxID_ANY, fn) |
| #define | a2d__DECLARE_EVT0(evt, fn) a2d__DECLARE_EVT1(evt, wxID_ANY, fn) |
| #define | A2D_EVT_PROPOBJECT_EDITPROPERTIES_EVENT(func) A2D_DECLARE_EVENT_TABLE_ENTRY( a2dEVT_PROPOBJECT_EDITPROPERTIES_EVENT, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) static_cast < a2dPropertyEditEventFunction > ( & func ), (wxObject *) NULL ), |
| static event table macro for a2dCanvasObject when editing properties for a2dEvtHandler | |
| #define | EVT_PROPOBJECT_EDITPROPERTIES_EVENT(func) DECLARE_EVENT_TABLE_ENTRY( a2dEVT_PROPOBJECT_EDITPROPERTIES_EVENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast < a2dPropertyEditEventFunctionEvt > ( & func ), (wxObject *) NULL ), |
| static event table macro for NON a2dCanvasObject when editing properties for wxEvtHandler | |
| #define | A2D_EVT_DO(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_DO, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) static_cast< a2dObjectCommandProcessorEventFunction > (& func), (wxObject *) NULL ), |
| event sent from a2DocumentCommandProcessor when a command is initially done | |
| #define | A2D_EVT_UNDO(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_UNDO, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) static_cast< a2dObjectCommandProcessorEventFunction > (& func), (wxObject *) NULL ), |
| event sent from a2DocumentCommandProcessor when a command is undone | |
| #define | A2D_EVT_REDO(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_REDO, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) static_cast< a2dObjectCommandProcessorEventFunction > (& func), (wxObject *) NULL ), |
| event sent from a2DocumentCommandProcessor when a command is redone | |
| #define | A2D_EVT_MENUSTRINGS(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_MENUSTRINGS, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) static_cast< a2dObjectCommandProcessorEventFunction > (& func), (wxObject *) NULL ), |
| event sent to wxCommandProcessorEvents to adjust menu strings (e.g. for current undo/redo command) | |
| #define | A2D_EVT_BEGINBUSY(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_BEGINBUSY, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) static_cast< a2dObjectCommandProcessorEventFunction > (& func), (wxObject *) NULL ), |
| event sent from a2DocumentCommandProcessor when a command submit/execute is starting | |
| #define | A2D_EVT_ENDBUSY(func) A2D_DECLARE_EVENT_TABLE_ENTRY( wxEVT_ENDBUSY, wxID_ANY, wxID_ANY, (a2dObjectEventFunction) static_cast< a2dObjectCommandProcessorEventFunction > (& func), (wxObject *) NULL ), |
| event sent from a2DocumentCommandProcessor when a command submit/execute is ending | |
| #define | EVT_DO(func) DECLARE_EVENT_TABLE_ENTRY( wxEVT_DO, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxCommandProcessorEventFunction > (& func), (wxObject *) NULL ), |
| event sent from a2DocumentCommandProcessor when a command is initially done | |
| #define | EVT_UNDO(func) DECLARE_EVENT_TABLE_ENTRY( wxEVT_UNDO, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxCommandProcessorEventFunction > (& func), (wxObject *) NULL ), |
| event sent from a2DocumentCommandProcessor when a command is undone | |
| #define | EVT_MENUSTRINGS(func) DECLARE_EVENT_TABLE_ENTRY( wxEVT_MENUSTRINGS, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxCommandProcessorEventFunction > (& func), (wxObject *) NULL ), |
| event sent from a2DocumentCommandProcessor to adjust menu strings (e.g. for current undo/redo command) | |
| #define | A2D_ARGUMENT_SETTER(TYPE, ARGUMENT_NAME) |
| #define | a2dComEventHandler(func) (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(a2dComEventFunction, &func) |
| #define | a2dObjectComEventHandler(func) (a2dObjectEventFunction)(a2dEventFunction)wxStaticCastEvent(a2dObjectComEventFunction, &func) |
| #define | EVT_COM_EVENT(func) wx__DECLARE_EVT0( a2dEVT_COM_EVENT, a2dComEventHandler( func )) |
| static wxEvtHandler for communication event | |
| #define | A2D_EVT_COM_EVENT(func) a2d__DECLARE_EVT0( a2dEVT_COM_EVENT, a2dObjectComEventHandler( func )) |
| static a2dEvtHandler for communication event | |
Typedefs | |
|
typedef a2dPropertyIdProp < class a2dDynamicEventProperty > | a2dPropertyIdDynamicEventProperty |
| typedef void(a2dEvtHandler::* | a2dEvtHandlerEventFunction )(wxEvent &) |
| typedef a2dSmrtPtr< a2dCommand > | a2dCommandPtr |
|
typedef class A2DGENERALDLLEXP a2dSmrtPtrList< a2dCommand > | a2dCommandList |
| a list of commands used by the command processor or command groups | |
| typedef void(a2dEvtHandler::* | a2dPropertyEditEventFunction )(a2dPropertyEditEvent &) |
| event function for a2dPropertyEditEvent | |
| typedef void(wxEvtHandler::* | a2dPropertyEditEventFunctionEvt )(a2dPropertyEditEvent &) |
| event function for a2dPropertyEditEvent | |
| typedef void(a2dEvtHandler::* | a2dObjectCommandProcessorEventFunction )(a2dCommandProcessorEvent &) |
| typedef void(wxEvtHandler::* | wxCommandProcessorEventFunction )(a2dCommandProcessorEvent &) |
| typedef a2dSmrtPtrWrap < a2dCommand > | a2dCommandStore |
|
typedef a2dSmrtPtrList < a2dDistributedEventReceiver > | wxEventHandlersList |
| typedef void(wxEvtHandler::* | a2dComEventFunction )(a2dComEvent &) |
| typedef void(a2dEvtHandler::* | a2dObjectComEventFunction )(a2dComEvent &) |
Functions | |
| WX_DECLARE_HASH_MAP_WITH_DECL (wxString, a2dCommandId *, wxStringHash, wxStringEqual, a2dHashMapCommandIds, class A2DGENERALDLLEXP) | |
| This hash table is used for a2dCommandId with name. | |
| A2DGENERALDLLEXP_DATA (extern a2dSmrtPtr< a2dGeneralGlobal >) a2dGeneralGlobals | |
| only instance of a2dGeneralGlobal, to get to settings for dynamic variables and errors. | |
Variables | |
| class A2DGENERALDLLEXP | a2dEvtHandler |
| class A2DGENERALDLLEXP | a2dDynamicEventProperty |
| class A2DGENERALDLLEXP | a2dCommandProcessor |
| class A2DGENERALDLLEXP | a2dCommandId |
| class A2DGENERALDLLEXP | a2dHashMapCommandIds |
| class A2DGENERALDLLEXP | a2dHashMapCommandIds_wxImplementation_HashTable |
| class A2DGENERALDLLEXP | a2dHashMapCommandIds_wxImplementation_KeyEx |
wxDocview has its own event handling classes which are almost equal to the wxWidgets ones. But had to be duplicated to be able to have a a2dObject at the top the class tree. So things like an a2dCanvasObject can be serialized, even if it can handle events.
a2dGeneralGlobal is the class for storing basic stuff like error messages and application wide variables. It is also used for distributing messages ( a2dEventDistributer )with the wxDocview library.
a2dCommandProcessor is the basic class on which command processing is based.
Licence: wxWidgets licence
RCS-ID:
Definition in file comevt.h.
| #define A2D_ARGUMENT_SETTER | ( | TYPE, | |||
| ARGUMENT_NAME | ) |
| #define A2D_DECLARE_EVENT_TABLE | ( | ) |
Value:
private: \ static const a2dEventTableEntry sm_eventTableEntries[]; \ protected: \ static const a2dEventTable sm_eventTable; \ virtual const a2dEventTable* GetEventTable() const;
| typedef a2dSmrtPtrWrap< a2dCommand > a2dCommandStore |