Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ONE::util::ActionEvent Class Reference

Inheritance diagram for ONE::util::ActionEvent:

Inheritance graph
[legend]
List of all members.

Detailed Description

representation for a (switchable) command

Author:
Daniel Seibert


Public Member Functions

 ActionEvent (ActionDispatcher *src, const Command &cmd)
 Event (ActionDispatcher *src)
 creates a new event.
const CommandgetCommand () const
ActionDispatchergetSource () const
 provides access to the source of the event.


Constructor & Destructor Documentation

ONE::util::ActionEvent::ActionEvent ActionDispatcher src,
const Command cmd
 


Member Function Documentation

ONE::util::Event< ActionDispatcher >::Event ActionDispatcher src  )  [inherited]
 

creates a new event.

Parameters:
src the source of the event

const Command& ONE::util::ActionEvent::getCommand  )  const [inline]
 

ActionDispatcher * ONE::util::Event< ActionDispatcher >::getSource  )  const [inherited]
 

provides access to the source of the event.

The source of an event is the EventDispatcher that created and dispatched it.

Returns:
this event's source


Generated on Wed Sep 7 19:03:30 2005 for ONEngine by  doxygen 1.4.3