00001 #ifndef VIS_FRAMEWORK_BASE_VIS_CONFIGURABLE_H 00002 # define VIS_FRAMEWORK_BASE_VIS_CONFIGURABLE_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include <string> 00007 00008 //<<<<<< PUBLIC DEFINES >>>>>> 00009 //<<<<<< PUBLIC CONSTANTS >>>>>> 00010 //<<<<<< PUBLIC TYPES >>>>>> 00011 00012 class IgState; 00013 00014 //<<<<<< PUBLIC VARIABLES >>>>>> 00015 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00016 //<<<<<< CLASS DECLARATIONS >>>>>> 00017 00018 class VisConfigurable 00019 { 00020 public: 00021 VisConfigurable (IgState *state) { m_state = state; } 00022 // implicit copy constructor 00023 // implicit assignment operator 00024 // implicit destructor 00025 virtual ~VisConfigurable (void); 00026 00027 virtual std::string get (void) const = 0; 00028 virtual void set (const std::string &input) = 0; 00029 00030 protected: 00031 void baseInit (const std::string &iname); 00032 00033 private: 00034 VisConfigurable & operator= (const VisConfigurable &rh); 00035 IgState *m_state; 00036 }; 00037 00038 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00039 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00040 00041 #endif // VIS_FRAMEWORK_BASE_VIS_CONFIGURABLE_H