00001
00016 #ifndef EVENT1DTOEVENT_H
00017 #define EVENT1DTOEVENT_H
00018
00019 #include "Event.H"
00020 #include "Fsa.H"
00021
00022 namespace IS3D {
00023
00024
00025 class Event1DToEvent
00026 {
00027 public:
00028 Event1DToEvent(const std::string &event1DName, const std::string &newEventName,
00029 double downCutoffValue = 0.0);
00030
00031 static Event1DToEvent* fromConfigVals(const std::string &devname);
00032
00033 virtual ~Event1DToEvent();
00034
00035 void upMove1D(EventRef e);
00036 void downMove1D(EventRef e);
00037
00038 private:
00039 FsaRef _fsa;
00040 std::string _1DName;
00041 std::string _newEvent;
00042 double _downCutoff;
00043 };
00044
00045
00046 }
00047
00048 #endif
00049