|
Blender
V2.59
|
#include <GHOST_IEventConsumer.h>

Public Member Functions | |
| virtual | ~GHOST_IEventConsumer () |
| virtual bool | processEvent (GHOST_IEvent *event)=0 |
Interface class for objects interested in receiving events. Objects interested in events should inherit this class and implement the processEvent() method. They should then be registered with the system that they want to receive events. The system will call the processEvent() method for every installed event consumer to pass events.
Definition at line 49 of file GHOST_IEventConsumer.h.
| virtual GHOST_IEventConsumer::~GHOST_IEventConsumer | ( | ) | [inline, virtual] |
Destructor.
Definition at line 55 of file GHOST_IEventConsumer.h.
| virtual bool GHOST_IEventConsumer::processEvent | ( | GHOST_IEvent * | event | ) | [pure virtual] |
This method is called by the system when it has events to dispatch.
| event | The event that can be handled or ignored. |
Implemented in Application, GPG_Application, GHOST_CallbackEventConsumer, and GHOST_EventPrinter.