Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

anoid::base::Event Class Reference

#include <event.hh>

Inheritance diagram for anoid::base::Event:

Inheritance graph
[legend]
Collaboration diagram for anoid::base::Event:

Collaboration graph
[legend]
List of all members.

Public Methods

std::string getType ()
 Event ()
virtual void fire ()
void addArgument (Object *o)
void addData (void *d)

Protected Attributes

std::string type
int argc
std::vector< Object * > argv
int datacount
std::vector< void * > data

Constructor & Destructor Documentation

anoid::base::Event::Event   [inline]
 

Definition at line 20 of file event.hh.

References argc, and datacount.


Member Function Documentation

void anoid::base::Event::addArgument Object   o
 

Definition at line 6 of file event.cc.

References argc, and argv.

void anoid::base::Event::addData void *    d
 

Definition at line 11 of file event.cc.

References data, and datacount.

virtual void anoid::base::Event::fire   [inline, virtual]
 

Reimplemented in CollisionEvent, and anoid::base::Message.

Definition at line 21 of file event.hh.

std::string anoid::base::Event::getType   [inline]
 

Definition at line 19 of file event.hh.

References type.


Member Data Documentation

int anoid::base::Event::argc [protected]
 

Definition at line 14 of file event.hh.

Referenced by addArgument(), Event(), and anoid::base::Message::fire().

std::vector<Object *> anoid::base::Event::argv [protected]
 

Definition at line 15 of file event.hh.

Referenced by addArgument(), and anoid::base::Message::fire().

std::vector<void *> anoid::base::Event::data [protected]
 

Definition at line 17 of file event.hh.

Referenced by addData().

int anoid::base::Event::datacount [protected]
 

Definition at line 16 of file event.hh.

Referenced by addData(), and Event().

std::string anoid::base::Event::type [protected]
 

Definition at line 13 of file event.hh.

Referenced by CollisionMessage::CollisionMessage(), getType(), KeyboardMessage::KeyboardMessage(), and PointerMessage::PointerMessage().


The documentation for this class was generated from the following files:
Anoid NG © Michael Westergaard, Martin Stig Stissing, Ronni Michael Laursen, and Kristian Bisgaard Lassen