Changeset 419 in PSPA for Interface_Web/trunk/pspaWT/sources/controler/include/dataManager.h
- Timestamp:
- Jun 21, 2013, 2:32:47 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/sources/controler/include/dataManager.h
r418 r419 31 31 particleBeam* getDiagnosticBeam(string elementLabel); 32 32 33 void addSectionToExecute(abstractElement* debut,int debutIndex, abstractElement* fin, int finIndex, abstractSoftware* prog);33 sectionToExecute* addSectionToExecute(abstractElement* debut,int debutIndex, abstractElement* fin, int finIndex, nomDeLogiciel logiciel); 34 34 35 35 abstractElement* addElement(nomdElements::typedElement elemType); … … 65 65 bool restoreElements(string inputFileName); 66 66 67 abstractSoftware* createSoftwareConnexion(nomDeLogiciel logi);68 67 69 68 /** return the jobList size 70 69 */ 71 inline int getJobListSize() {70 inline int getJobListSize() const { 72 71 return jobList_.size(); 73 72 } … … 86 85 return NULL if the index does not exist 87 86 */ 88 inline sectionToExecute* getJobListAt(int a) { 89 if (a < 0) return NULL; 90 if (a >= getJobListSize()) return NULL; 91 return jobList_[a]; 92 } 87 88 /* inline sectionToExecute* getJobListAt(int a) { */ 89 /* if (a < 0) return NULL; */ 90 /* if (a >= getJobListSize()) return NULL; */ 91 /* return jobList_[a]; */ 92 /* } */ 93 94 95 96 /* inline const abstractSoftware* getSoftwareOfSection( int index) const { */ 97 /* if (index < 0) return NULL; */ 98 /* if (index >= getJobListSize()) return NULL; */ 99 /* return jobList_[index]->getSoftware(); */ 100 /* } */ 93 101 94 102 /** Clear a specific jobList */ … … 111 119 void removeFile(string nameOfFile); 112 120 void clearSectionToExecute(); 113 121 abstractSoftware* createSoftwareConnexion(nomDeLogiciel logi); 122 114 123 }; 115 124 #endif
Note: See TracChangeset
for help on using the changeset viewer.