You.i Engine
CYITaskEventHandler Class Reference

Detailed Description

Handles events where tasks are executed when the event is processed on an event queue.

#include <event/YiTaskEventHandler.h>

Inheritance diagram for CYITaskEventHandler:

Public Member Functions

virtual bool HandleEvent (const std::shared_ptr< CYIEventDispatcher > &pDispatcher, CYIEvent *pEvent) override
- Public Member Functions inherited from CYIEventHandler
 CYIEventHandler ()
 CYIEventHandler (const CYIEventHandler &)
virtual ~CYIEventHandler ()
CYIEventHandleroperator= (const CYIEventHandler &)
bool RegisterEventFilter (CYIEventFilter *pFilter)
bool UnregisterEventFilter (CYIEventFilter *pFilter)
bool PreFilter (const std::shared_ptr< CYIEventDispatcher > &pDispatcher, CYIEvent *pEvent)
bool PostFilter (const std::shared_ptr< CYIEventDispatcher > &pDispatcher, CYIEvent *pEvent)
bool AreEventsEnabled () const
void EnableEvents (bool enable)

Additional Inherited Members

- Protected Attributes inherited from CYIEventHandler
bool m_enableEvents

Member Function Documentation

◆ HandleEvent()

virtual bool CYITaskEventHandler::HandleEvent ( const std::shared_ptr< CYIEventDispatcher > &  pDispatcher,
CYIEvent pEvent 

Performs the task execution. Returns true if the event is of type YI_TASK and false otherwise.

Implements CYIEventHandler.

The documentation for this class was generated from the following file: