Ignore:
Timestamp:
Dec 11, 2013, 9:33:35 AM (11 years ago)
Author:
lemeur
Message:

ajout traitement utilisateur

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/controler/src/dataManager.cc

    r436 r442  
    1212#include "softwareTransport.h"
    1313#include "softwareGenerator.h"
     14#include "softwareGenerator.h"
     15#include "softwareUsersprogram.h"
    1416#include "softwareTest.h"
    1517#include "softwareMadx.h" //xx
     
    8991    inputFileName = "generator.in";
    9092    prog = new softwareGenerator(inputFileName, &globParam_, this);
    91   } else if (logiciel  == nomDeLogiciel::test) {
    92     prog = new softwareTest(inputFileName, &globParam_, this);
    9393  } else if (logiciel  == nomDeLogiciel::madx) {
    9494    inputFileName = "madx.input";
    9595    prog = new softwareMadx(inputFileName,&sectorParam_,this); 
     96  } else if (logiciel  == nomDeLogiciel::usersprogram) {
     97    inputFileName = "dummy";
     98    prog = new softwareUsersprogram(inputFileName, &globParam_, this);
     99  } else if (logiciel  == nomDeLogiciel::test) {
     100    prog = new softwareTest(inputFileName, &globParam_, this);
    96101  } else {
    97102    prog = new softwareUnknown(); // xx
     
    230235
    231236  } //k
    232  
     237  // if ( currentBeam_ ) {
     238  // string aml_file = workingDir + "/" + "faisceau_final" + ".aml";
     239  //   currentBeam_->writeToAMLFile(aml_file);
     240  //   // TESTS
     241  //   currentBeam_->readFromAMLFile(aml_file);
     242  // }
    233243  cout << " dataManager::executeAll() : premier element = " << firstComputedElemNumero_ << " dernier = " << lastComputedElemNumero_ << endl;
    234244
Note: See TracChangeset for help on using the changeset viewer.