Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

orxonox/trunk: minor cleanup

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