#ifndef __BASICEVENTHANDLER_H_INCL__ #define __BASICEVENTHANDLER_H_INCL__ #include "basicRing.h" #include "basicEvent.h" /** * TODO: Add class description * * @author Gagua */ class basicEventHandler { public: // Constructor explicit basicEventHandler( bool atBottom = false ); // Destructor virtual ~basicEventHandler(); virtual void dispatchEvent( basicEvent *Evt ){}; // Copy constructor // TODO: Uncomment the copy constructor when you need it. //basicEventHandler(const basicEventHandler& src); // Assignment operator // TODO: Uncomment the assignment operator when you need it. //basicEventHandler& operator=(const basicEventHandler& src); }; // TODO: Uncomment the copy constructor when you need it. //inline basicEventHandler::basicEventHandler(const basicEventHandler& src) //{ // // TODO: copy //} // TODO: Uncomment the assignment operator when you need it. //inline basicEventHandler& basicEventHandler::operator=(const basicEventHandler& rhs) //{ // if (this == &rhs) { // return *this; // } // // // TODO: assignment // // return *this; //} typedef basicRingElement< basicEventHandler > EventHandlerIterator; typedef basicRing< basicEventHandler > EventHandlerRing; #endif // __BASICEVENTHANDLER_H_INCL__