|
|
|||
File indexing completed on 2026-06-02 08:51:49
0001 //#ifndef COMPUTATION_CONFIGURATION_MANAGER_H 0002 //#define COMPUTATION_CONFIGURATION_MANAGER_H 0003 // 0004 ///** 0005 // * @file ComputationConfigurationManager.h 0006 // * @author Bryan BERTHOU (SPhN / CEA Saclay) 0007 // * @date 22 March 2016 0008 // * @version 1.0 0009 // * 0010 // * @class ComputationConfigurationManager 0011 // * 0012 // * @brief A ComputationConfiguration object is affected to a Computation object when a Result or a ResultList is computed. 0013 // * A ComputationConfiguration object represents by an XML file the configuration of the hypothesis assumption or the different configuration of modules. 0014 // * With automation process user can deals with many XML file to industrialize his computation. 0015 // * To avoid possibly huge memory space allocation when manipulating those XML files associated to a ComputationConfuguration I created this manager. 0016 // * Its goal store only one instance of ComputationConfiguration object that can refers to many Computation object. 0017 // * In other hand it works like a proxy system. It stored only blank ComputationConfiguration object. I mean only pointer position in XML file is stored and not the XML file itself. 0018 // * It loads XML file into memory only when getConfigurationFile(...) method is called : for example when object is printed or stored in database. 0019 // * Same mechanism is used with MD5 or SHA256 : only computed when it's needed. 0020 // */ 0021 // 0022 //#include <map> 0023 //#include <string> 0024 // 0025 //#include "beans/automation/ComputationConfiguration.h" 0026 // 0027 //class ComputationConfigurationManager { 0028 //public: 0029 // static ComputationConfigurationManager* getInstance(); 0030 // 0031 // virtual ~ComputationConfigurationManager(); 0032 // 0033 // 0034 // 0035 //private: 0036 // static ComputationConfigurationManager* pInstance; ///< Private pointer of this class for a unique instance 0037 // 0038 // ComputationConfigurationManager(); 0039 // 0040 // // Disable copy 0041 // ComputationConfigurationManager(ComputationConfigurationManager const&); // Don't Implement 0042 // void operator=(ComputationConfigurationManager const&); // Don't implement 0043 // 0044 // 0045 // typedef std::map<unsigned int, ComputationConfiguration*> ComputationConfigurationByXMLIndexMap; 0046 // 0047 // std::map<std::string, ComputationConfigurationByXMLIndexMap> m_computationConfigurationList; 0048 //}; 0049 // 0050 //#endif /* COMPUTATION_CONFIGURATION_MANAGER_H */
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|