Webmaster  |  Imprint 
C++ Server Pages
Main  |  License  |  Documentation  |  Download 

Event Class Reference

Base class for all event types. More...

#include <cxxtools/event.h>

Inherited by BasicEvent.

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


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 © 2008 The Tntnet Development Team
Tntnet 1.6