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

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

suppression designation elements par index + fin generator

File size: 911 bytes
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
14softwareGenerator();
15 
16 bool beamFromGenerator(string beamFileName, string workingDir, vector<double>& centroid, bareParticle& refPart,vector<bareParticle>& particles, vector<bareParticle>& passiveParticles );
17
18 public : 
19
20
21 softwareGenerator(globalParameters* globals, dataManager* );
22
23  virtual ~softwareGenerator() {;}
24
25
26  virtual bool createInputFile(string inputFileName, particleBeam* beamBefore, unsigned int numeroDeb, unsigned int numeroFin, string workingDir);
27
28
29  virtual bool  execute(string inputFileName,unsigned int numeroDeb,unsigned int numeroFin,string workingDir,string& resul);
30
31
32  virtual bool buildBeamAfterElements(unsigned int numeroDeb,unsigned int numeroFin, vector<particleBeam>& beams, string workingDir);
33
34};
35
36#endif
Note: See TracBrowser for help on using the repository browser.