source: JEM-EUSO/esaf_cc_at_lal/packages/simulation/framework/include/SimuModuleFactory.hh @ 114

Last change on this file since 114 was 114, checked in by moretto, 11 years ago

actual version of ESAF at CCin2p3

File size: 863 bytes
Line 
1// ESAF : Euso Simulation and Analysis Framework
2// Simulation module factory
3// $Id: SimuModuleFactory.hh 1002 2004-09-13 16:44:02Z thea $
4// A. Thea created Mar, 13 2004
5
6#ifndef __SIMUMODULEFACTORY_HH_
7#define __SIMUMODULEFACTORY_HH_
8
9#include "euso.hh"
10#include <string>
11#include <vector>
12
13class SimuModule;
14
15class SimuModuleFactory {
16public:
17    // ctor
18    SimuModuleFactory(const string&);
19
20    // dtor
21    virtual ~SimuModuleFactory();
22
23    // get modules: NULL when all modules are done
24    SimuModule *GetModule();
25
26private:
27    // physically build the modules
28    void MakeModule(const string& mName);
29    void MakeSequence(const string& mName);
30
31    // modules and sequences
32    vector<SimuModule*> fModules;
33
34    // current module counter used in Get()
35    size_t fCurrent;
36
37    ClassDef(SimuModuleFactory,0)
38};
39
40#endif  /* SIMUMODULEFACTORY_HH_ */
41
Note: See TracBrowser for help on using the repository browser.