cxxtools::Event Class Reference

Base class for all event types. More...

#include <cxxtools/event.h>

Inheritance diagram for cxxtools::Event:
cxxtools::BasicEvent< T >

Public Member Functions

virtual ~Event ()
 Destructor.
virtual Eventclone () const =0
virtual void destroy ()=0
virtual const std::type_info & typeInfo () const =0

Detailed Description

Base class for all event types.

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.

Constructor & Destructor Documentation

virtual cxxtools::Event::~Event ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual Event* cxxtools::Event::clone ( ) const
pure virtual

Implemented in cxxtools::BasicEvent< T >.

virtual void cxxtools::Event::destroy ( )
pure virtual

Implemented in cxxtools::BasicEvent< T >.

virtual const std::type_info& cxxtools::Event::typeInfo ( ) const
pure virtual

Implemented in cxxtools::BasicEvent< T >.


The documentation for this class was generated from the following file: