source: JEM-EUSO/esaf_cc_at_lal/packages/common/atmosphere/include/AtmosphereFactory.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: 2.1 KB
Line 
1// $Id: AtmosphereFactory.hh 2676 2006-04-28 15:22:49Z moreggia $
2// Sylvain Moreggia created Dec,  1 2003
3
4#ifndef __ATMOSPHEREFACTORY_HH_
5#define __ATMOSPHEREFACTORY_HH_
6
7/*****************************************************************************
8 * ESAF: Euso Simulation and Analysis Framework                              *
9 *                                                                           *
10 *  Id: AtmosphereFactory                                                    *
11 *  Package: atmosphere                                                      *
12 *  Coordinator: S. Moreggia                                                 *
13 *                                                                           *
14 *****************************************************************************/
15
16///////////////////////////////////////////////////////////////////////////////////
17// AtmosphereFactory                                                             //
18//                                                                               //
19// Builds atmosphere related objects according to config files                   //
20// Does not build Atmosphere object itself, even if it appears in config files   //
21//                                                                               //
22///////////////////////////////////////////////////////////////////////////////////
23
24#include "euso.hh"
25#include "EsafConfigurable.hh"
26#include "Atmosphere.hh"
27#include "EsafMsgSource.hh"
28
29
30class Clouds;
31class Aerosol;
32
33class AtmosphereFactory : public EsafConfigurable, public EsafMsgSource {
34public:
35   
36    // dtor
37    virtual ~AtmosphereFactory();
38
39    // instance
40    static AtmosphereFactory *Get();
41   
42    // Build clouds object
43    Clouds* GetClouds();
44       
45    // Build aerosol object
46    Aerosol* GetAerosol();
47       
48    EsafConfigClass(Atmosphere,AtmosphereFactory)
49 
50private:
51    // ctor
52    AtmosphereFactory();
53
54    // unique instance of AtmosphereFactory
55    static AtmosphereFactory *fMe;
56   
57
58    ClassDef(AtmosphereFactory,0)
59};
60
61#endif  /* __ATMOSPHEREFACTORY_HH_ */
62
Note: See TracBrowser for help on using the repository browser.