SLProject  4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
EventHandler.h
Go to the documentation of this file.
1 #ifndef SM_EVENT_HANDLER_H
2 #define SM_EVENT_HANDLER_H
3 
4 #include <queue>
5 #include <sm/Event.h>
6 
7 namespace sm
8 {
10 {
11 public:
12  void addEvent(Event* e)
13  {
14  _events.push(e);
15  }
16 
17 protected:
18  std::queue<Event*> _events;
19 };
20 
21 }
22 #endif // !
Event class used in the state machine.
void addEvent(Event *e)
Definition: EventHandler.h:12
std::queue< Event * > _events
Definition: EventHandler.h:18
Event class used in the state machine.
Definition: Event.h:32
Collection of classes for a state machine implementation used in the Erleb-AR app.
Definition: Event.h:25