Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

EventListener.h

Go to the documentation of this file.
00001 #ifndef INCLUDED_EventListener_h
00002 #define INCLUDED_EventListener_h
00003 
00004 class EventBase;
00005 
00006 //! An interface to allow a standard method of passing events
00007 class EventListener {
00008  public:
00009   //! destructor
00010   virtual ~EventListener() {}
00011 
00012   //! for receiving events - you must override this to inherit
00013   /*! @see EventRouter
00014    *  @param event the event being received */
00015   virtual void processEvent(const EventBase& event)=0;
00016 };
00017 
00018 /*! @file
00019  * @brief Defines EventListener class, an interface for anything that wants to receive events
00020  * @author ejt (Creator)
00021  */
00022 
00023 #endif

Tekkotsu v5.1CVS
Generated Mon May 9 04:58:38 2016 by Doxygen 1.6.3