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

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

grosse modification pour intégrer les sections

File size: 905 bytes
Line 
1#ifndef SOFTWAREGENERATOR_SEEN
2#define SOFTWAREGENERATOR_SEEN
3
4
5#include "abstractSoftware.h"
6
7class softwareGenerator : public abstractSoftware
8{
9 protected : 
10 
11  bool beamFromGenerator(string beamFileName, string workingDir, vector<double>& centroid, bareParticle& refPart,vector<bareParticle>& particles, vector<bareParticle>& passiveParticles );
12
13  string elementsData(const vector< pair<string, vector<string> > >& donnees) const;
14 
15  string rfgunData(const vector< pair<string, vector<string> > >& donnees) const;
16
17 public : 
18 
19  softwareGenerator(); 
20  softwareGenerator(string inputFileName, sectionToExecute*);
21
22  virtual ~softwareGenerator() {;}
23
24  virtual bool createInputFile(particleBeam* beamBefore, string workingDir);
25  virtual bool execute(string workingDir);
26  virtual bool buildBeamAfterElements(string workingDir);
27
28  inline string getColor() {
29    return "#a3c0ed";
30  }
31};
32#endif
Note: See TracBrowser for help on using the repository browser.