class event

Base class for an event. More...

Definition#include <lycad_chargen/event.h>
Inherited bymodifierEvent
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Members


Detailed Description

Base class for an event. It should never be directly instantiated, only inherited. Also, a copy constructor must be defined in all derived classes.

All events should be derived from this base class and then passed via the event_generator class' fireEvent method to it's respective listeners.

EVENT_TYPE type

type

[protected]

event_generator * source

source

[protected]

 event ()

event

 ~event ()

~event

[virtual]

EVENT_TYPE  getType ()

getType

event_generatorgetSource ()

getSource

void  setSource (event_generator *src)

setSource