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 | |
---|
11 | using namespace std; |
---|
12 | |
---|
13 | class abstractSoftware |
---|
14 | { |
---|
15 | |
---|
16 | protected : |
---|
17 | |
---|
18 | globalParameters* globParamPtr_; |
---|
19 | elementsCollection* beamLinePtr_; |
---|
20 | |
---|
21 | |
---|
22 | abstractSoftware(); |
---|
23 | |
---|
24 | bool launchJob(string commandLine, string& resul); |
---|
25 | |
---|
26 | public : |
---|
27 | |
---|
28 | abstractSoftware(globalParameters* globals, elementsCollection* beamLine); |
---|
29 | ~abstractSoftware() {;} |
---|
30 | |
---|
31 | virtual bool createInputFile(particleBeam* beamBefore,unsigned int numeroDeb, unsigned int numeroFin, string workingDir) = 0; |
---|
32 | |
---|
33 | |
---|
34 | virtual bool execute(unsigned int numeroDeb,unsigned int numeroFin,string workingDir,string& resul) = 0; |
---|
35 | |
---|
36 | virtual bool buildBeamAfterElements(unsigned int numeroDeb,unsigned int numeroFin, vector<particleBeam>& beams, string workingDir) = 0; |
---|
37 | |
---|
38 | |
---|
39 | }; |
---|
40 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.