You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
613 B

#ifndef __BASICEVENTHANDLER_H_INCL__
#define __BASICEVENTHANDLER_H_INCL__
#include "basicRing.h"
#include "basicEvent.h"
/**
* Class to add a dispatchEvent functionality to derival classes
*
* @author Gagua
*/
class basicEventHandler {
public:
// Constructor
basicEventHandler();
// Destructor
virtual ~basicEventHandler();
virtual bool dispatchEvent( EVENT_CONTAINER *Evt ){ return true; };
};
typedef basicRingElement< basicEventHandler > EventHandlerIterator;
typedef basicRing< basicEventHandler > EventHandlerRing;
#endif // __BASICEVENTHANDLER_H_INCL__