source: PSPA/Interface_Web/trunk/pspaWT/sources/controler/include/softwareGenerator.h @ 418

Last change on this file since 418 was 418, checked in by lemeur, 11 years ago

definition des compatibilites des elements dans les software

File size: 1.1 KB
Line 
1#ifndef SOFTWAREGENERATOR_SEEN
2#define SOFTWAREGENERATOR_SEEN
3
4
5#include "abstractSoftware.h"
6
7class 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
17 string elementsData(const vector< pair<string, vector<string> > >& donnees) const;
18 string rfgunData(const vector< pair<string, vector<string> > >& donnees) const;
19
20
21 public : 
22
23
24    softwareGenerator();
25   
26    softwareGenerator(string inputFileName, globalParameters* globals, dataManager* dt);
27
28  virtual ~softwareGenerator() {;}
29
30
31  virtual bool createInputFile(particleBeam* beamBefore, unsigned int numeroDeb, unsigned int numeroFin, string workingDir);
32
33
34  virtual bool  execute(string workingDir);
35
36
37  virtual bool buildBeamAfterElements(string workingDir);
38
39    inline string getColor() {
40        return "#a3c0ed";
41    }
42
43    /* inline string getName() const { */
44    /*     return "generator"; */
45    /* } */
46};
47
48#endif
Note: See TracBrowser for help on using the repository browser.