2 #ifndef _YI_EVENT_TARGET_H_ 3 #define _YI_EVENT_TARGET_H_ 96 virtual bool ProcessEvent(
const std::shared_ptr<CYIEventDispatcher> &pDispatcher,
CYIEvent *pEvent);
103 class EventListenerEntry
107 bool operator==(
const EventListenerEntry& rhs)
const;
127 #endif // _YI_EVENT_TARGET_H_ Definition: YiEventTarget.h:25
The base class for an C++ object that has RTTI information and is accesible from script source code...
Definition: YiScriptableRTTIObject.h:28
Allows registering of event filters which can be used to perform processing on an event before and af...
Definition: YiEventHandler.h:25
Base class for events.
Definition: YiEvent.h:489
Definition: YiEventTarget.h:24
Definition: YiEventTarget.h:23
YI_EVENT_TYPE
The event type of the CYIEvent class instance.
Definition: YiEvent.h:23
YI_SPECIAL_EVENT_TARGET_TYPE
Definition: YiEventTarget.h:18
Definition: YiEventTarget.h:44
Definition: YiEventTarget.h:22
Definition: YiEventTarget.h:20
bool RemoveEventListener(YI_EVENT_TYPE eEventType, CYIEventHandler *pListener, EVENT_PHASE ePhase=BUBBLE)
Definition: YiEventTarget.h:27
virtual ~CYIEventTarget()
Definition: YiEventTarget.h:21
bool AddEventListener(YI_EVENT_TYPE eEventType, CYIEventHandler *pListener, EVENT_PHASE ePhase=BUBBLE)
Represents an event target of type YI_SPECIAL_EVENT_TARGET_TYPE.
Definition: YiEventTarget.h:37
EVENT_PHASE
Definition: YiEventTarget.h:42
void SetSpecialTypeFlag(YI_SPECIAL_EVENT_TARGET_TYPE eType)
std::vector< EventListenerEntry > m_listeners
Definition: YiEventTarget.h:117
void ClearSpecialTypeFlag(YI_SPECIAL_EVENT_TARGET_TYPE eType)
YI_SPECIAL_EVENT_TARGET_TYPE GetSpecialTypes() const
virtual bool ProcessEvent(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
bool operator==(const CYIVariant &rLHS, const CYIVariant &rRHS)
Supported types: Int, String, Float, FloatVector and Quaternion.
YI_SPECIAL_EVENT_TARGET_TYPE m_eSpecialTypes
Definition: YiEventTarget.h:116
Definition: YiEventTarget.h:45
Definition: YiEventTarget.h:26