Frontend::GUI::EventListener Class Reference

Interface for listening for events. More...

#include <Event.h>

Inheritance diagram for Frontend::GUI::EventListener:

Frontend::Object Frontend::Utils::Keyboard Frontend::Utils::Mouse List of all members.

Public Member Functions

virtual void OnEvent (Event *e)=0
 Called when an event was raised.
void AddRef ()
 Adds a reference to the object.
void Release ()
 Releases a reference on the object.
unsigned int GetRefCount ()
 Returns the number of references on the object.

Detailed Description

Interface for listening for events.


Member Function Documentation

void Frontend::Object::AddRef  )  [inherited]
 

Adds a reference to the object.

Aqcuires an additional ownership on the object. The object will not be deleted until all owners have called Release() on it.

See also:
Release()

unsigned int Frontend::Object::GetRefCount  )  [inline, inherited]
 

Returns the number of references on the object.

Returns:
The number of references on the object.

virtual void Frontend::GUI::EventListener::OnEvent Event e  )  [pure virtual]
 

Called when an event was raised.

Implemented in Frontend::Utils::Keyboard, and Frontend::Utils::Mouse.

void Frontend::Object::Release  )  [inherited]
 

Releases a reference on the object.

If you are an owner of an object, use this function to release it when you are done with it. The object will not be deleted until all owners have called Release() on it.


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