Ignore:
Timestamp:
Mar 12, 2013, 1:54:41 PM (11 years ago)
Author:
lemeur
Message:

amélioration fiabilité graphique

File:
1 edited

Legend:

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

    r375 r386  
    44#include "globalParameters.h"
    55#include "particleBeam.h"
    6 
     6#include "nomDeLogiciel.h"
    77#include <iostream>
    88#include <string>
     
    1717 protected :
    1818
     19  unsigned numeroDeb_, numeroFin_;
    1920  globalParameters* globParamPtr_;
    2021  dataManager* dataManager_;
    2122  string inputFileName_;
    22 
     23  nomDeLogiciel nameOfSoftware_;
    2324  abstractSoftware();
    2425
    2526  bool launchJob(string commandLine, string& resul);
    26 
     27  bool initComputationLimits(unsigned int numeroDeb,unsigned int numeroFin);
     28  bool ComputationLimitsOk() const;
    2729 public :
    2830
     
    3032  ~abstractSoftware() {;}
    3133
     34  inline nomDeLogiciel getNomDeLogiciel() const {
     35    return nameOfSoftware_;
     36  }
     37
    3238  virtual bool createInputFile(particleBeam* beamBefore,unsigned int numeroDeb, unsigned int numeroFin, string workingDir) = 0;
    3339
    3440
    35   virtual bool  execute(unsigned int numeroDeb,unsigned int numeroFin,string workingDir) = 0;
     41  virtual bool  execute(string workingDir) = 0;
    3642
    37  virtual bool buildBeamAfterElements(unsigned int numeroDeb,unsigned int numeroFin, vector<particleBeam>& beams, string workingDir) = 0;
     43 virtual bool buildBeamAfterElements(string workingDir) = 0;
    3844
    3945    /** Color of the background of this sofware
     
    4450    /** Name of this software
    4551     */
    46     virtual string getName() = 0;
     52    inline string getName() const {
     53      return nameOfSoftware_.getString();
     54    }
    4755
    4856};
Note: See TracChangeset for help on using the changeset viewer.