00001 #ifndef SCANRESULT_H 00002 #define SCANRESULT_H 00003 00004 #include "Sct/Exception.h" 00005 #include "ModuleConfiguration.h" 00006 #include "ScanPoints.h" 00007 #include "Result.h" 00008 00009 namespace SctData { 00010 00016 class ScanResult : public virtual Result { 00017 public: 00022 ScanResult(const ResultHeader& header, const ModuleConfiguration& moduleConfig, const ScanPoints& points); 00023 00028 ScanResult(const ScanResult& copyMe); 00029 00034 virtual const ResultHeader& getHeader() const {return header;} 00039 virtual ResultHeader& getHeader() {return header;} 00040 00045 const ModuleConfiguration& getConfiguration() const {return moduleConfig;} 00050 ModuleConfiguration& getConfiguration() {return moduleConfig;} 00051 00056 const ScanPoints& getPoints() const throw() {return points;} 00061 ScanPoints& getPoints() {return points;} 00062 00063 protected: 00064 ScanResult(); 00065 00066 private: 00067 ResultHeader header; 00068 ModuleConfiguration moduleConfig; 00069 ScanPoints points; 00070 }; 00071 00072 00073 } 00074 #endif //#ifndef SCANRESULT_H