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

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

Ameliorations pour la sauvegarde des fichiers et autres

File size: 966 bytes
Line 
1#ifndef SOFTWAREGENERATOR_SEEN
2#define SOFTWAREGENERATOR_SEEN
3
4
5#include "abstractSoftware.h"
6#include "dataManager.h"
7
8class softwareGenerator : public abstractSoftware
9{
10
11 protected : 
12
13
14
15softwareGenerator();
16 
17 bool beamFromGenerator(string beamFileName, string workingDir, vector<double>& centroid, bareParticle& refPart,vector<bareParticle>& particles, vector<bareParticle>& passiveParticles );
18
19 public : 
20
21
22 softwareGenerator(string inputFileName, globalParameters* globals, dataManager* dt);
23
24  virtual ~softwareGenerator() {;}
25
26
27  virtual bool createInputFile(particleBeam* beamBefore, unsigned int numeroDeb, unsigned int numeroFin, string workingDir);
28
29
30  virtual bool  execute(unsigned int numeroDeb,unsigned int numeroFin,string workingDir);
31
32
33  virtual bool buildBeamAfterElements(unsigned int numeroDeb,unsigned int numeroFin, vector<particleBeam>& beams, string workingDir);
34
35    inline string getColor() {
36        return "#a3c0ed";
37    }
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.