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

7 years ago
​
​
​
​
7 years ago
7 years ago
​
​
​
​
​
7 years ago
​
7 years ago
​
​
​
​
​
  1. #ifndef __BASICEVENTHANDLER_H_INCL__
  2. #define __BASICEVENTHANDLER_H_INCL__
  3. #include "basicRing.h"
  4. #include "basicEvent.h"
  5. /**
  6. * Class to add a dispatchEvent functionality to derival classes
  7. *
  8. * @author Gagua
  9. */
  10. class basicEventHandler {
  11. public:
  12. // Constructor
  13. basicEventHandler();
  14. // Destructor
  15. virtual ~basicEventHandler();
  16. virtual bool dispatchEvent( EVENT_CONTAINER *Evt ){ return true; };
  17. };
  18. typedef basicRingElement< basicEventHandler > EventHandlerIterator;
  19. typedef basicRing< basicEventHandler > EventHandlerRing;
  20. #endif // __BASICEVENTHANDLER_H_INCL__