#include <comevt.h>


Public Types | |
| enum | a2dReceiverHandlerType { a2dReceiverwxEvtHandler, a2dReceivera2dObject } |
Public Member Functions | |
| a2dDistributedEventReceiver (wxEvtHandler *handler) | |
| constructor | |
| a2dDistributedEventReceiver (a2dObject *handler) | |
| void | AddWantedEventType (wxEventType type) |
| void | RemoveWantedEventType (wxEventType type) |
| void | AddNotWantedEventType (wxEventType type) |
| void | RemoveNotWantedEventType (wxEventType type) |
| bool | WantsType (wxEventType type) |
Public Attributes | |
| wxObject * | m_handler |
| the wrapped handler | |
| a2dReceiverHandlerType | m_type |
| bool | m_valid |
| true when not unregistered | |
Protected Member Functions | |
| virtual a2dObject * | Clone (CloneOptions options) const |
| create an exact copy of this property | |
| void | DoSave (wxObject *parent, a2dIOHandlerXmlSerOut &out, a2dXmlSer_flag xmlparts, a2dObjectList *towrite) |
| Save settings. | |
| void | DoLoad (wxObject *parent, a2dIOHandlerXmlSerIn &parser, a2dXmlSer_flag xmlparts) |
| Load settings. | |
Protected Attributes | |
| a2dlist< wxEventType > | m_eventTypesWanted |
| a2dlist< wxEventType > | m_eventTypesNotWanted |
It is possible that in the a2dEventDistributer an event wxEvtHandler is Unregistered when iterating through all registered handlers. This class prevents going to already unregistered handlers while iterating in a2dEventDistributer::ProcessEvent(). At the end of the iteration all unregistered are removed. So in fact delayed deletion.
Definition at line 1541 of file comevt.h.