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