DetectorConfiguration.h 512 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include "ResDataObject.h"
  3. #include "DetectorDefinition.h"
  4. class DetectorConfiguration
  5. {
  6. public:
  7. DetectorConfiguration(string ConfigPath);
  8. ~DetectorConfiguration();
  9. bool LoadConfigurations(DeviceIndexStruct & DeviceConf);
  10. bool SaveConfig();
  11. bool GetDetModeInfo(int nMode, DetModeInfo& AcqModeInfo);
  12. ResDataObject m_Configurations;
  13. int m_nDetModeNum;
  14. private:
  15. ResDataObject m_ConfigAll;
  16. std::string m_strConfigPath; //ÅäÖÃÎļþ·¾¶
  17. DetModeInfo * m_pDetModeList;
  18. };