Changeset 485 in PSPA for Interface_Web/trunk/pspaWT/sources/controler/include/abstractSoftware.h
- Timestamp:
- Jan 28, 2014, 11:56:15 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/sources/controler/include/abstractSoftware.h
r481 r485 24 24 dataManager* dataManager_; 25 25 string inputFileName_; 26 nomDeLogiciel nameOfSoftware_;26 nomDeLogiciel* nameOfSoftware_; 27 27 28 28 /** 29 29 Accepted elements list for this software 30 30 */ 31 std::vector <nomdElements::typedElement> acceptedElements_;31 // std::vector <nomdElements::typedElement> acceptedElements_; 32 32 33 33 /** 34 34 Ignore software list for this element 35 35 */ 36 std::vector <nomdElements::typedElement> ignoredElements_;36 // std::vector <nomdElements::typedElement> ignoredElements_; 37 37 38 38 abstractSoftware(); … … 40 40 bool launchJob(string commandLine, string& resul); 41 41 42 void registerElement(nomdElements::typedElement nomdel,trivaluedBool b);42 // void registerElement(nomdElements::typedElement nomdel,trivaluedBool b); 43 43 44 44 sectionToExecute* getSectionToExecute() { … … 49 49 50 50 abstractSoftware(string, sectionToExecute*, dataManager* ); 51 ~abstractSoftware() {;} 51 ~abstractSoftware() { 52 delete nameOfSoftware_; 53 } 52 54 53 55 inline const nomDeLogiciel* getNomDeLogiciel() const { 54 return &nameOfSoftware_;56 return nameOfSoftware_; 55 57 } 56 58 57 trivaluedBool doAcceptElement(nomdElements::typedElement typdel);59 // trivaluedBool doAcceptElement(nomdElements::typedElement typdel); 58 60 59 61 virtual bool createInputFile(particleBeam* beamBefore, string workingDir) = 0; … … 69 71 */ 70 72 inline string getName() const { 71 return nameOfSoftware_ .getString();73 return nameOfSoftware_->getString(); 72 74 } 73 75 private :
Note: See TracChangeset
for help on using the changeset viewer.