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

ONE::util::TextEvent Class Reference

Inheritance diagram for ONE::util::TextEvent:

Inheritance graph
[legend]
List of all members.

Detailed Description

an Event that carries a string

This event class may be used to pass text or command messages to listeners.

Author:
Daniel Seibert


Public Member Functions

 Event (TextDispatcher *src)
 creates a new event.
TextDispatchergetSource () const
 provides access to the source of the event.
const string & getText () const
 TextEvent (TextDispatcher *src, const string &t)


Constructor & Destructor Documentation

ONE::util::TextEvent::TextEvent TextDispatcher src,
const string &  t
 


Member Function Documentation

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

creates a new event.

Parameters:
src the source of the event

TextDispatcher * ONE::util::Event< TextDispatcher >::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

const string& ONE::util::TextEvent::getText  )  const
 


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