orca-robotics INTRODUCTION Overview Download and Install Quick Start Documentation Publications REPOSITORY Interfaces Components Libraries Utilities Software Map DEVELOPER Tutorials Examples Dev Guide Dashboard Wiki login/pass: orca/orca PEOPLE Contributors Users Project Download Mailing lists
|
browserevents.h00001 /* 00002 * Orca-Robotics Project: Components for robotics 00003 * http://orca-robotics.sf.net/ 00004 * Copyright (c) 2004-2008 Alex Brooks, Alexei Makarenko, Tobias Kaupp 00005 * 00006 * This copy of Orca is licensed to you under the terms described in 00007 * the LICENSE file included in this distribution. 00008 * 00009 */ 00010 00011 #ifndef BROWSER_EVENTS_H 00012 #define BROWSER_EVENTS_H 00013 00014 #include <hydroiceutil/eventqueue.h> 00015 00016 namespace probe 00017 { 00018 00019 enum EventType 00020 { 00021 Activate, 00022 Reload, 00023 Up, 00024 Top, 00025 Fault, 00026 Deactivate, 00027 Filter, 00028 Pick 00029 }; 00030 00031 class ActivateEvent : public hydroiceutil::Event 00032 { 00033 public: 00034 ActivateEvent() : Event( Activate ) {}; 00035 }; 00036 00037 class ReloadEvent : public hydroiceutil::Event 00038 { 00039 public: 00040 ReloadEvent() : Event( Reload ) {}; 00041 }; 00042 00043 class UpEvent : public hydroiceutil::Event 00044 { 00045 public: 00046 UpEvent() : Event( Up ) {}; 00047 }; 00048 00049 class TopEvent : public hydroiceutil::Event 00050 { 00051 public: 00052 TopEvent() : Event( Top ) {}; 00053 }; 00054 00055 class FaultEvent : public hydroiceutil::Event 00056 { 00057 public: 00058 FaultEvent() : Event( Fault ) {}; 00059 }; 00060 00061 class FilterEvent : public hydroiceutil::Event 00062 { 00063 public: 00064 FilterEvent() : Event( Filter ) {}; 00065 }; 00066 00067 class DeactivateEvent : public hydroiceutil::Event 00068 { 00069 public: 00070 DeactivateEvent() : Event( Deactivate ) {}; 00071 }; 00072 00073 class PickEvent : public hydroiceutil::Event 00074 { 00075 public: 00076 PickEvent( int pick ) : 00077 Event( Pick ), 00078 pick_(pick) {}; 00079 00080 int pick_; 00081 }; 00082 typedef IceUtil::Handle<PickEvent> PickEventPtr; 00083 00084 00085 } // namespace 00086 00087 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)