00001 #ifndef CAFE_EVENTFLAGS_HPP__ 00002 #define CAFE_EVENTFLAGS_HPP__ 00003 00004 #include <vector> 00005 #include <string> 00006 00007 #include "cafe/Processor.hpp" 00008 #include "tmb_tree/TMBEventFlags.hpp" 00009 00010 namespace cafe { 00011 00022 class EventFlags : public Processor { 00023 public: 00024 EventFlags(const char *name); 00025 bool processEvent(Event& event); 00026 private: 00027 bool _any; 00028 std::vector<std::string> _flagNames; 00029 std::vector<TMBEventFlags::Flag> _flagValues; 00030 public: 00031 ClassDef(EventFlags,1); 00032 }; 00033 00034 } 00035 00036 #endif // CAFE_EVENTFLAGS_HPP__
1.3.4