00001 #ifndef CALIBRATED_OBJECT_H 00002 #define CALIBRATED_OBJECT_H 00003 #include <string> 00004 #include <xercesc/dom/DOM.hpp> 00005 00014 class CalibratedObject 00015 { 00016 public: 00023 virtual void read( XERCES_CPP_NAMESPACE::DOMElement * dom ) = 0; 00024 00031 virtual void write( XERCES_CPP_NAMESPACE::DOMElement * dom ) const = 0; 00032 00037 virtual void startCalibration() {}; 00038 00043 virtual void finishCalibration() {}; 00044 00054 virtual void updateCalibration(){} 00055 00058 virtual std::string name() const = 0; 00059 }; 00060 00061 #endif