Argentum Online - Servidor
event_handler.h
1
#ifndef EVENT_HANDLER_H
2
#define EVENT_HANDLER_H
3
4
#include "event.h"
5
10
class
EventHandler
{
11
public
:
12
virtual
~
EventHandler
() {}
13
22
virtual
bool
is_threaded
()
const
{
23
return
false
;
24
}
25
26
virtual
void
push_event(
const
Event
& event) = 0;
27
};
28
29
#endif // EVENT_HANDLER_H
Event
Definition:
event.h:55
EventHandler::is_threaded
virtual bool is_threaded() const
Verificar si un EventHandler tiene un thread dedicado.
Definition:
event_handler.h:22
EventHandler
Clase abstracta para el manejo de eventos.
Definition:
event_handler.h:10
include
event_handler.h
Generado por
1.8.19