source: PSPA/Interface_Web/trunk/pspaWT/sources/controler/include/abstractSoftware.h @ 305

Last change on this file since 305 was 305, checked in by garnier, 11 years ago

Suppression de la classe "elementsCollection" et bug fixed #20

File size: 926 bytes
Line 
1#ifndef ABSTRACTSOFTWARE_SEEN
2#define ABSTRACTSOFTWARE_SEEN
3
4#include "elementsCollection.h"
5#include "globalParameters.h"
6#include "particleBeam.h"
7
8#include <iostream>
9#include <string>
10
11using namespace std;
12
13class dataManager;
14
15class abstractSoftware
16{
17
18 protected :
19
20  globalParameters* globParamPtr_;
21  dataManager* dataManager_;
22
23
24  abstractSoftware();
25
26  bool launchJob(string commandLine, string& resul);
27
28 public :
29
30  abstractSoftware(globalParameters* globals, dataManager* dt);
31  ~abstractSoftware() {;}
32
33  virtual bool createInputFile(string inputFileName, particleBeam* beamBefore,unsigned int numeroDeb, unsigned int numeroFin, string workingDir) = 0;
34
35
36  virtual bool  execute(unsigned int numeroDeb,unsigned int numeroFin,string workingDir,string& resul) = 0;
37
38 virtual bool buildBeamAfterElements(unsigned int numeroDeb,unsigned int numeroFin, vector<particleBeam>& beams, string workingDir) = 0;
39
40
41};
42#endif
Note: See TracBrowser for help on using the repository browser.