00001
00009 #ifndef BS_EVENT_FILTER_H_
00010 #define BS_EVENT_FILTER_H_
00011
00012 namespace blue_sky
00013 {
00014
00019 class BS_API_PLUGIN event_filter : public objbase
00020 {
00021 public:
00022
00026 virtual ~event_filter () {}
00027
00028
00034 virtual bool
00035 accept_well (const std::string &name) const;
00036
00041 virtual void
00042 add_filter_well (const std::string &well_name);
00043
00048 virtual void
00049 set_reject_all (bool reject_all);
00050
00052 BLUE_SKY_TYPE_DECL (event_filter);
00053
00054 protected:
00055
00056 typedef std::list <std::string> well_name_list_t;
00057
00058 well_name_list_t well_name_list_;
00059 auto_value <bool, false> reject_all_;
00060
00061 };
00062
00063
00064 }
00065
00066
00067 #endif // BS_EVENT_FILTER_H_
00068