Changeset 455 in PSPA for Interface_Web/trunk/pspaWT/sources/controler/include/abstractSoftware.h
- Timestamp:
- Dec 16, 2013, 5:16:54 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/sources/controler/include/abstractSoftware.h
r431 r455 15 15 16 16 class dataManager; 17 class sectionToExecute; 17 18 18 19 class abstractSoftware … … 21 22 protected : 22 23 23 unsigned numeroDeb_, numeroFin_; 24 globalParameters* globParamPtr_; 25 sectorParameters* sectParamPtr_; //xx 24 unsigned numeroDeb_deprecated_, numeroFin_deprecated_; 26 25 dataManager* dataManager_; 27 26 string inputFileName_; … … 41 40 42 41 bool launchJob(string commandLine, string& resul); 43 bool initComputationLimits (unsigned int numeroDeb,unsigned int numeroFin);44 bool ComputationLimitsOk () const;42 bool initComputationLimits_deprecated(unsigned int numeroDeb,unsigned int numeroFin); 43 bool ComputationLimitsOk_deprecated() const; 45 44 46 45 void registerElement(nomdElements::typedElement nomdel,trivaluedBool b); 47 46 48 public : 47 sectionToExecute* getSectionToExecute() { 48 return sectionToExecute_; 49 } 49 50 50 abstractSoftware(string,globalParameters*,dataManager*); 51 abstractSoftware(string,sectorParameters*,dataManager*); 51 public : 52 53 abstractSoftware(string, sectionToExecute*); 52 54 ~abstractSoftware() {;} 53 55 … … 58 60 trivaluedBool doAcceptElement(nomdElements::typedElement typdel); 59 61 60 virtual bool createInputFile(particleBeam* beamBefore, unsigned int numeroDeb, unsigned int numeroFin,string workingDir) = 0;62 virtual bool createInputFile(particleBeam* beamBefore, string workingDir) = 0; 61 63 virtual bool execute(string workingDir) = 0; 62 64 virtual bool buildBeamAfterElements(string workingDir) = 0; … … 72 74 return nameOfSoftware_.getString(); 73 75 } 76 private : 77 sectionToExecute* sectionToExecute_; 78 74 79 }; 75 80 #endif
Note: See TracChangeset
for help on using the changeset viewer.