C++ main module for emicrom Package  1.0
EMM_ODEClassFactory.h
Go to the documentation of this file.
1 #ifndef EMM_ODEClassFactory_H
2 #define EMM_ODEClassFactory_H
3 
4 
5 #include "CORE_ClassFactory.h"
6 
7 
14 
15 class EMM_ODEClassFactory : 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 ~EMM_ODEClassFactory(void);
50 
51 
52 
53 
54 
55 public:
56  // NEW
59  inline static SP::EMM_ODEClassFactory New() {
60  SP::EMM_ODEClassFactory p(new EMM_ODEClassFactory(),
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 ~EMM_ODEClassFactory(void)
destroy a EMM_ODEClassFactory
Definition: EMM_ODEClassFactory.cpp:13
static SP::EMM_ODEClassFactory New()
create a shared pointer to the class factory
Definition: EMM_ODEClassFactory.h:59
SP_OBJECT(EMM_ODEClassFactory)
virtual SP::CORE_Object NewInstance(const tString &name) const
create an instance of a class
Definition: EMM_ODEClassFactory.h:89
virtual SP::CORE_Object NewInstance(const tString &name, const SVC::CORE_Object &newParameters) const
create an instance of a class
Definition: EMM_ODEClassFactory.cpp:16
#define tString
Definition: types.h:135
DEFINE_SPTR(EMM_ODEClassFactory)
this class describes a class factory to generate classes for User Interface Software ...
Definition: CORE_ClassFactory.h:18
EMM_ODEClassFactory()
build a EMM_ODEClassFactory
Definition: EMM_ODEClassFactory.cpp:9
this class describes a class factory to generate classes for the E-MicromM Package ...
Definition: EMM_ODEClassFactory.h:15
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141