Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

orxonox/trunk: useless stuff :)

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