Ignore:
Timestamp:
Dec 16, 2013, 5:16:54 PM (10 years ago)
Author:
garnier
Message:

grosse modification pour intégrer les sections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/controler/include/abstractSoftware.h

    r431 r455  
    1515
    1616class dataManager;
     17class sectionToExecute;
    1718
    1819class abstractSoftware
     
    2122 protected :
    2223 
    23   unsigned numeroDeb_, numeroFin_;
    24   globalParameters* globParamPtr_;
    25   sectorParameters* sectParamPtr_; //xx
     24  unsigned numeroDeb_deprecated_, numeroFin_deprecated_;
    2625  dataManager* dataManager_;
    2726  string inputFileName_;
     
    4140
    4241  bool launchJob(string commandLine, string& resul);
    43   bool initComputationLimits(unsigned int numeroDeb,unsigned int numeroFin);
    44   bool ComputationLimitsOk() const;
     42  bool initComputationLimits_deprecated(unsigned int numeroDeb,unsigned int numeroFin);
     43  bool ComputationLimitsOk_deprecated() const;
    4544
    4645  void registerElement(nomdElements::typedElement nomdel,trivaluedBool b);
    4746
    48  public :
     47  sectionToExecute* getSectionToExecute() {
     48    return sectionToExecute_;
     49  }
    4950
    50   abstractSoftware(string,globalParameters*,dataManager*);
    51   abstractSoftware(string,sectorParameters*,dataManager*);
     51  public :
     52
     53  abstractSoftware(string, sectionToExecute*);
    5254  ~abstractSoftware() {;}
    5355
     
    5860  trivaluedBool doAcceptElement(nomdElements::typedElement typdel);
    5961
    60   virtual bool createInputFile(particleBeam* beamBefore,unsigned int numeroDeb, unsigned int numeroFin, string workingDir) = 0;
     62  virtual bool createInputFile(particleBeam* beamBefore, string workingDir) = 0;
    6163  virtual bool execute(string workingDir) = 0;
    6264  virtual bool buildBeamAfterElements(string workingDir) = 0;
     
    7274    return nameOfSoftware_.getString();
    7375  }
     76  private :
     77  sectionToExecute* sectionToExecute_;
     78 
    7479};
    7580#endif
Note: See TracChangeset for help on using the changeset viewer.