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