Changeset 418 in PSPA for Interface_Web/trunk/pspaWT/sources/controler/include/abstractSoftware.h
- Timestamp:
- Jun 21, 2013, 10:16:56 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/sources/controler/include/abstractSoftware.h
r386 r418 5 5 #include "particleBeam.h" 6 6 #include "nomDeLogiciel.h" 7 #include "nomdElements.h" 8 #include "trivaluedBool.h" 9 7 10 #include <iostream> 8 11 #include <string> … … 22 25 string inputFileName_; 23 26 nomDeLogiciel nameOfSoftware_; 27 28 /** 29 Accepted elements list for this software 30 */ 31 std::vector <nomdElements::typedElement> acceptedElements_; 32 33 /** 34 Ignore software list for this element 35 */ 36 std::vector <nomdElements::typedElement> ignoredElements_; 37 24 38 abstractSoftware(); 25 39 … … 27 41 bool initComputationLimits(unsigned int numeroDeb,unsigned int numeroFin); 28 42 bool ComputationLimitsOk() const; 43 44 45 void registerElement(nomdElements::typedElement nomdel,trivaluedBool b); 46 29 47 public : 30 48 … … 32 50 ~abstractSoftware() {;} 33 51 34 inline nomDeLogiciel getNomDeLogiciel() const { 35 return nameOfSoftware_; 36 } 52 inline const nomDeLogiciel* getNomDeLogiciel() const { 53 return &nameOfSoftware_; 54 } 55 56 trivaluedBool doAcceptElement(nomdElements::typedElement typdel); 57 37 58 38 59 virtual bool createInputFile(particleBeam* beamBefore,unsigned int numeroDeb, unsigned int numeroFin, string workingDir) = 0;
Note: See TracChangeset
for help on using the changeset viewer.