C++ main module for emicrom Package  1.0
FFTW_ClassFactory.h
Go to the documentation of this file.
1 #ifndef FFTW_ClassFactory_H
2 #define FFTW_ClassFactory_H
3 
4 
5 #include "CORE_ClassFactory.h"
6 
7 
14 
15 class FFTW_ClassFactory : public CORE_ClassFactory{ // class
16 
17  // THIS Shared pointer definition
19 
20 
21  // ASSOCIATION
22 
23 
24 
25  // ATTRIBUTES
26 
27 private:
28 
29 
30  // ASSOCIATIONS
31 
32 
33  // METHODS
34 
35 
36 protected:
37  // CONSTRUCTORS
41 
42 
43 
44 
45  // DESTRUCTORS
49  virtual ~FFTW_ClassFactory(void);
50 
51 
52 
53 
54 
55 public:
56  // NEW
59  inline static SP::FFTW_ClassFactory New() {
60  SP::FFTW_ClassFactory p(new FFTW_ClassFactory(),
62  p->setThis(p);
63  return p;
64  }
65 
66  // SET
67 
68 
69 
70 
71  // GET
72 
73 
74  // OTHERS
81  virtual SP::CORE_Object NewInstance(const tString& name,
82  const SVC::CORE_Object& newParameters) const;
83 
89  virtual SP::CORE_Object NewInstance(const tString& name) const {
90  SVC::CORE_Object args;
91  return NewInstance(name,args);
92  };
93 
94 
95 
96 };
97 
98 #endif
virtual SP::CORE_Object NewInstance(const tString &name) const
create an instance of a class
Definition: FFTW_ClassFactory.h:89
virtual SP::CORE_Object NewInstance(const tString &name, const SVC::CORE_Object &newParameters) const
create an instance of a class
Definition: FFTW_ClassFactory.cpp:23
virtual ~FFTW_ClassFactory(void)
destroy a FFTW_ClassFactory
Definition: FFTW_ClassFactory.cpp:15
static SP::FFTW_ClassFactory New()
create a shared pointer to the class factory
Definition: FFTW_ClassFactory.h:59
SP_OBJECT(FFTW_ClassFactory)
#define tString
Definition: types.h:135
this class describes a class factory to generate classes for the math/fftw Package ...
Definition: FFTW_ClassFactory.h:15
this class describes a class factory to generate classes for User Interface Software ...
Definition: CORE_ClassFactory.h:18
DEFINE_SPTR(FFTW_ClassFactory)
FFTW_ClassFactory()
build a FFTW_ClassFactory
Definition: FFTW_ClassFactory.cpp:10
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141