Ignore:
Timestamp:
Mar 12, 2013, 12:37:20 PM (11 years ago)
Author:
garnier
Message:

debut des modifications pour le comboBox : changement de sectionToExecute

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/branches/12_03_12-managerComboBox/pspaWT/sources/controler/src/dataManager.cc

    r381 r385  
    6464}
    6565
    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;
     66void dataManager::addSectionToExecute(abstractElement* debut,int debutIndex, abstractElement* fin, int finIndex, abstractSoftware* prog)
     67{
     68    jobList_.push_back(new sectionToExecute(debut, debutIndex, fin, finIndex, prog));
    7269}
    7370
     
    122119  for(unsigned k = 0; k < jobList_.size(); k++)
    123120    {
    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();
    129126     
    130127      if (softw == NULL) {
Note: See TracChangeset for help on using the changeset viewer.