Changeset 359 in PSPA for Interface_Web/trunk/pspaWT/sources/controler/include/abstractElement.h
- Timestamp:
- Mar 4, 2013, 6:08:02 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/sources/controler/include/abstractElement.h
r304 r359 9 9 #include "nomDeLogiciel.h" 10 10 #include "trivaluedBool.h" 11 #include "abstractSoftware.h" 12 #include "softwareGenerator.h" 13 #include "softwareParmela.h" 14 #include "softwareTest.h" 15 #include "softwareTransport.h" 11 16 12 17 using namespace std; … … 54 59 double getLenghtOfElement() const; 55 60 int getNbParams() const; 56 virtual trivaluedBool is_accepted_by_software(nomDeLogiciel soft) const; 61 62 trivaluedBool is_accepted_by_software(nomDeLogiciel soft); 63 57 64 virtual void setPhaseStep(double); 58 65 virtual double getInitialKineticEnergy() const; … … 66 73 virtual void FileInput(ifstream& ifs) = 0; 67 74 virtual string print() = 0; 75 76 /** Return the abstractSofware associated with this element 77 */ 78 inline abstractSoftware* getAbstractSoftware() { 79 return abstractSoftware_; 80 } 81 82 83 void registerAcceptableSoftware(nomDeLogiciel abs,trivaluedBool b); 84 /** 85 Set the software to this element 86 @param abstractName the name of the abstract software 87 @return trivaluedBool if this software is/not allowed/ignore on this component 88 */ 89 trivaluedBool setSoftware(nomDeLogiciel abstractName); 90 91 private : 92 abstractSoftware *abstractSoftware_; 93 94 /** 95 Acceptable software list for this element 96 */ 97 std::vector <nomDeLogiciel> acceptableSoftware_; 98 99 /** 100 Ignore software list for this element 101 */ 102 std::vector <nomDeLogiciel> ignoreSoftware_; 68 103 }; 69 104 #endif
Note: See TracChangeset
for help on using the changeset viewer.