Changeset 385 in PSPA for Interface_Web/branches/12_03_12-managerComboBox/pspaWT/sources/controler/src/dataManager.cc
- Timestamp:
- Mar 12, 2013, 12:37:20 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/branches/12_03_12-managerComboBox/pspaWT/sources/controler/src/dataManager.cc
r381 r385 64 64 } 65 65 66 void dataManager::addSectionToExecute(int debut, int fin, nomDeLogiciel prog) 67 { 68 jobList_.push_back(new sectionToExecute); 69 jobList_.back()->firstElement = debut; 70 jobList_.back()->lastElement = fin; 71 jobList_.back()->software = prog; 66 void dataManager::addSectionToExecute(abstractElement* debut,int debutIndex, abstractElement* fin, int finIndex, abstractSoftware* prog) 67 { 68 jobList_.push_back(new sectionToExecute(debut, debutIndex, fin, finIndex, prog)); 72 69 } 73 70 … … 122 119 for(unsigned k = 0; k < jobList_.size(); k++) 123 120 { 124 cout << " dataManager::executeAll je m'apprete a executer : " << (jobList_[k]-> software).getString() << endl;125 126 int debut = jobList_[k]-> firstElement;127 int fin = jobList_[k]-> lastElement;128 softw = createSoftwareConnexion(jobList_[k]->software);121 cout << " dataManager::executeAll je m'apprete a executer : " << (jobList_[k]->getSoftware()->getName()) << endl; 122 123 int debut = jobList_[k]->getFirstElementNumberInBeamLine(); 124 int fin = jobList_[k]->getLastElementNumberInBeamLine(); 125 softw = jobList_[k]->getSoftware(); 129 126 130 127 if (softw == NULL) {
Note: See TracChangeset
for help on using the changeset viewer.