Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Observer.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 #ifndef CFG_OBSERVER_H
00009 #define CFG_OBSERVER_H
00010 namespace cfg { class Config; }
00011 
00012 namespace cfg { 
00014   class Observer {
00015   public:
00016     virtual ~Observer();
00017     
00018     virtual void Update(const cfg::Config& c) = 0;
00019     
00020   public:
00021     void RemoveWatch(const char* config);
00022     void RemoveAllWatches();
00023     
00024     void SetWatch(const char* config, const char* version="default");
00025   };
00026 }
00027 
00028 #endif // CFGOBSERVER_H
00029 

Generated on Thu Sep 4 02:05:28 2008 for NOvA Offline by doxygen 1.3.5