00001 #ifndef CAFE_TRIGGER_HPP__ 00002 #define CAFE_TRIGGER_HPP__ 00003 00004 #include <set> 00005 #include <string> 00006 00007 #include "cafe/Processor.hpp" 00008 #include "cafe/Variables.hpp" 00009 00010 namespace cafe { 00011 00021 class Trigger : public Processor { 00022 public: 00023 Trigger(const char *name); 00024 bool processEvent(Event& event); 00025 private: 00026 std::set<std::string> _triggerNames; 00027 cafe::Variables _vars; 00028 public: 00029 ClassDef(Trigger,0); 00030 }; 00031 00032 } 00033 00034 #endif // CAFE_TRIGGER_HPP__
1.3.4