Class hierarchy Compound list File list Compound Members

# Event Class Reference

Generic Event. More...

List of all members.

## Public Members

- enum Type { Nothing , Collision , Generic }
    Types of events available.

- Event (Type ET)
    Constructs an empty event with the specified type.

- virtual ~Event ()
    Destroys an event.

- void addArg (Data Arg)
    Add an argument to the event.

- Data getArg (int Position)
    Retrieve an argument (Containable*) throws IndexOutOfBounds.

- int getValue () const
    Needed for Integral_Containable.

- Type getType () const
    Returns the type of event.

## Detailed Description

Generic Event.

Types are predefined, but parameters are totally dynamic.

## Member Enumeration Type Documentation

### enum Event::Type

Types of events available.

## Member Function Documentation

### Event::Event(Type ET)

Constructs an empty event with the specified type.

### virtual Event::~Event()`[virtual]`

Destroys an event.

### void Event::addArg(Data Arg)

Add an argument to the event.

### Data Event::getArg(int Position)

Retrieve an argument (Containable*) throws IndexOutOfBounds.

### int Event::getValue() const

Needed for Integral_Containable.

### Type Event::getType() const

Returns the type of event.

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

- WO_Cache.h