GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AgataFrameFactory.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2007 by Olivier Stezowski *
3  * stezow(AT)ipnl.in2p3.fr *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License *
16  * along with this program; if not, write to the *
17  * Free Software Foundation, Inc., *
18  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19  ***************************************************************************/
20 
23 #ifndef ADF_AgataFrameFactory
24 #define ADF_AgataFrameFactory
25 #define ADF_AGATAFRAMEFACTORY_H ADF_AgataFrameFactory
26 
27 #ifndef ADF_FrameFactory
28 #include "FrameFactory.h"
29 #endif
30 
31 #ifndef ADF_Frame
32 #include "Frame.h"
33 #endif
34 
35 #ifndef ADF_GenericFrame
36 #include "GenericFrame.h"
37 #endif
38 
39 #ifndef ADF_ADFObjects
40 #include "ADFObjects.h"
41 #endif
42 
43 namespace ADF
44 {
45 
47 
49 class AgataFrameFactory : public AFrameFactory<AgataFrameFactory>
50 {
52 
53 private:
55  virtual ~AgataFrameFactory ()
56  {;}
57 
58 protected:
60 
62  virtual SharedFP *DoNew(Key *, const FactoryItem &);
63 };
64 
65 
66 } // namespace ADF
67 #endif
68 
69 
70 
71 
72 
virtual SharedFP * DoNew(Key *, const FactoryItem &)
Ask this factory for a new Agata Frame.
Base class for a Key.
Definition: Key.h:56
header file for Frame.cpp
AgataFrameFactory, implements agata's like Frame Factory.
A Shared Frame Pointer.
Definition: Frame.h:597
header file for ADFObjects.cpp
Base class for any kind of Frame factory.
Definition: FrameFactory.h:181
header file for FrameFactory.cpp
Base class that described an item in a Factory.
Definition: FactoryItem.h:52