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
{
9
class
EventHandler
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.h
Event class used in the state machine.
sm::EventHandler
Definition:
EventHandler.h:10
sm::EventHandler::addEvent
void addEvent(Event *e)
Definition:
EventHandler.h:12
sm::EventHandler::_events
std::queue< Event * > _events
Definition:
EventHandler.h:18
sm::Event
Event class used in the state machine.
Definition:
Event.h:32
sm
Collection of classes for a state machine implementation used in the Erleb-AR app.
Definition:
Event.h:25
apps
source
sm
EventHandler.h
Generated by
1.9.1