Last change
on this file since 386 was
386,
checked in by lemeur, 12 years ago
|
amélioration fiabilité graphique
|
File size:
918 bytes
|
Line | |
---|
1 | #ifndef SOFTWAREGENERATOR_SEEN |
---|
2 | #define SOFTWAREGENERATOR_SEEN |
---|
3 | |
---|
4 | |
---|
5 | #include "abstractSoftware.h" |
---|
6 | |
---|
7 | class softwareGenerator : public abstractSoftware |
---|
8 | { |
---|
9 | |
---|
10 | protected : |
---|
11 | |
---|
12 | |
---|
13 | |
---|
14 | bool beamFromGenerator(string beamFileName, string workingDir, vector<double>& centroid, bareParticle& refPart,vector<bareParticle>& particles, vector<bareParticle>& passiveParticles ); |
---|
15 | |
---|
16 | public : |
---|
17 | |
---|
18 | |
---|
19 | softwareGenerator(); |
---|
20 | |
---|
21 | softwareGenerator(string inputFileName, globalParameters* globals, dataManager* dt); |
---|
22 | |
---|
23 | virtual ~softwareGenerator() {;} |
---|
24 | |
---|
25 | |
---|
26 | virtual bool createInputFile(particleBeam* beamBefore, unsigned int numeroDeb, unsigned int numeroFin, string workingDir); |
---|
27 | |
---|
28 | |
---|
29 | virtual bool execute(string workingDir); |
---|
30 | |
---|
31 | |
---|
32 | virtual bool buildBeamAfterElements(string workingDir); |
---|
33 | |
---|
34 | inline string getColor() { |
---|
35 | return "#a3c0ed"; |
---|
36 | } |
---|
37 | |
---|
38 | /* inline string getName() const { */ |
---|
39 | /* return "generator"; */ |
---|
40 | /* } */ |
---|
41 | }; |
---|
42 | |
---|
43 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.