Webmaster  |  Imprint 
Platinum
Platinum C++ Framework
Main  |  License  |  Documentation  |  Download  |  Support 

Event Class Reference

Base class for all event types. More...

#include <Pt/Event.h>

Inheritance diagram for Event:

Event CloseEvent KeyEvent MouseEvent MouseMoveEvent MoveEvent PaintEvent ResizeEvent

List of all members.

Public Member Functions

virtual ~Event ()
 Destructor.
virtual Eventclone (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.
Copyright © 2003-2007 The Pt Development Team
Pt 1.0