Changeset 105 in PSPA for Interface_Web/trunk/pspaWT/include
- Timestamp:
- Nov 23, 2012, 2:02:08 PM (12 years ago)
- Location:
- Interface_Web/trunk/pspaWT/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/include/GWt_pspaApplication.h
r102 r105 69 69 void checkSectionSelection(); 70 70 71 bool areDataCoherent(); 72 71 73 void disableSectionExecute(); 72 74 73 75 void faireDessin(); 74 76 void faireDessinParmela(); 75 77 void faireDessinTransport(); 76 78 -
Interface_Web/trunk/pspaWT/include/abstractElement.h
r102 r105 105 105 } 106 106 107 // provisoire, pour suppleer une future classe nomdElement 108 // analogue a nomDeLogiciel 109 string getNameString() const 110 { 111 switch ( elementName_ ) 112 { 113 case initialBeam : 114 { 115 return string("INITIALBEAM"); 116 } 117 case drift : 118 { 119 return string("DRIFT"); 120 } 121 case cell : 122 { 123 return string("CELL"); 124 } 125 case soleno : 126 { 127 return string("SOLENO"); 128 } 129 case bend : 130 { 131 return string("BEND"); 132 } 133 default : 134 { 135 return string("UNKNOWN"); 136 } 137 } 138 } 107 139 108 double getLenghtOfElement() const { return lenghtElem_;}140 double getLenghtOfElement() const { return lenghtElem_;} 109 141 110 142 int getNbParams() const {return nbParam_;}; -
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(); -
Interface_Web/trunk/pspaWT/include/environmentVariables.h
r81 r105 3 3 4 4 static string WHERE_WE_ARE = string(getenv("PWD")); 5 static string WORKINGAREA = WHERE_WE_ARE.append("/workingArea ");5 static string WORKINGAREA = WHERE_WE_ARE.append("/workingArea/"); 6 6 7 7 #endif
Note: See TracChangeset
for help on using the changeset viewer.