Event Class Reference
Base class for all event types.
More...
#include <Pt/Event.h>
List of all members.
|
Public Member Functions |
|
virtual | ~Event () |
| | Destructor.
|
|
virtual Event & | clone (Allocator &allocator) const =0 |
|
virtual void | destroy (Allocator &allocator)=0 |
|
virtual const std::type_info & | typeInfo () const =0 |
| | Returns the type info for this class of events.
|
Detailed Description
Specific
Event objects, subclass from
Event and implement the clone() and
typeInfo() methods. The first is used to deep copy event objects for example in an EventLoop and the latter one is used to dispatch events by type.