2 #ifndef _YI_EVENT_HANLDER_PROXY_H_ 3 #define _YI_EVENT_HANLDER_PROXY_H_ 38 bool PreFilter(
const std::shared_ptr<CYIEventDispatcher> &pDispatcher,
CYIEvent *pEvent);
40 bool PostFilter(
const std::shared_ptr<CYIEventDispatcher> &pDispatcher,
CYIEvent *pEvent);
48 std::atomic<CYIEventHandler *> m_pEventHandler;
bool UnregisterEventFilter(CYIEventFilter *pFilter)
Allows registering of event filters which can be used to perform processing on an event before and af...
Definition: YiEventHandler.h:25
bool RegisterEventFilter(CYIEventFilter *pFilter)
bool HandleEvent(const std::shared_ptr< CYIEventDispatcher > &pDispatcher, CYIEvent *pEvent)
Base class for events.
Definition: YiEvent.h:489
bool PreFilter(const std::shared_ptr< CYIEventDispatcher > &pDispatcher, CYIEvent *pEvent)
bool PostFilter(const std::shared_ptr< CYIEventDispatcher > &pDispatcher, CYIEvent *pEvent)
Stores, queues and dispatches events as well as sending notifications to IYIEventDispatcherListener o...
Definition: YiEventDispatcher.h:65
Allows children that inherit from this class to implement processing before and after events are hand...
Definition: YiEventFilter.h:24
Proxy for a CYIEventHandler allowing safe destruction of the internal event handler objects...
Definition: YiEventHandlerProxy.h:26