Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/event/event_listener.h @ 5239

Last change on this file since 5239 was 5239, checked in by bensch, 19 years ago

orxonox/trunk: compile-performance-stuff

File size: 507 bytes
Line 
1/*!
2 * @file event_listener.h
3 *  Definition of an event listener base class
4*/
5
6#ifndef _EVENT_LISTENER_H
7#define _EVENT_LISTENER_H
8
9#include "base_object.h"
10#include "event.h"
11
12//! A class for event listener
13class EventListener : virtual public BaseObject {
14
15 public:
16  EventListener();
17  virtual ~EventListener();
18
19  /**
20   *  abstract function that processes events from the handler
21   * @param event: the event
22  */
23  virtual void process(const Event &event) = NULL;
24};
25
26#endif /* _EVENT_LISTENER_H */
Note: See TracBrowser for help on using the repository browser.