Changeset 105 in PSPA for Interface_Web/trunk/pspaWT/include/dataManager.h
- Timestamp:
- Nov 23, 2012, 2:02:08 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/include/dataManager.h
r95 r105 25 25 particleBeam currentBeam_; 26 26 27 //vector<sectionToExecute*> jobList_;27 vector<sectionToExecute*> jobList_; 28 28 29 29 void createInputFileParmela( unsigned int indexDeb, unsigned int indexFin); 30 30 void createInputFileTransport( unsigned int indexDeb, unsigned int indexFin); 31 void removeFile(string nameOfFile); 32 void clearSectionToExecute(); 31 33 32 34 … … 37 39 ~dataManager() 38 40 { 39 /* unsigned k; */40 /* for (k=0; k < jobList_.size();k++) */41 /* { */42 /* if ( jobList_[k] != NULL ) delete jobList_[k]; */43 /* } */41 unsigned k; 42 for (k=0; k < jobList_.size();k++) 43 { 44 if ( jobList_[k] != NULL ) delete jobList_[k]; 45 } 44 46 } 45 47 … … 49 51 inline particleBeam& getCurrentBeam() {return currentBeam_;} 50 52 51 // void addSectionToExecute(int debut, int fin, nomDeLogiciel prog); 52 // void clearSectionToExecute(); 53 void addSectionToExecute(int debut, int fin, nomDeLogiciel prog); 53 54 54 55 abstractElement* addElement(nomdElement elemType); 55 /* abstractElement* addCell(); */56 /* abstractElement* addDrift(); */57 /* abstractElement* addInitialBeam(); */58 /* abstractElement* addSoleno(); */59 /* abstractElement* addBend(); */60 56 void initializeExecution(); 61 string executeTransport( unsigned int indexDeb, unsigned int indexFin); 62 string executeParmela( unsigned int indexDeb, unsigned int indexFin); 63 // string executeAll(); 57 string checkExecute(); 58 bool executeTransport( unsigned int indexDeb, unsigned int indexFin, string& resul); 59 bool executeParmela( unsigned int indexDeb, unsigned int indexFin, string& resul); 60 bool executeAll(string& resul); 64 61 void saveAll(); 65 62 void restoreAll();
Note: See TracChangeset
for help on using the changeset viewer.