hpp-corbaserver 4.14.0
Corba server for Humanoid Path Planner applications
Loading...
Searching...
No Matches
tools-idl.hh
Go to the documentation of this file.
1// This file is generated by omniidl (C++ backend)- omniORB_4_3. Do not edit.
2#ifndef __tools_hh__
3#define __tools_hh__
4
5#ifndef __CORBA_H_EXTERNAL_GUARD__
6#include <omniORB4/CORBA.h>
7#endif
8
9#ifndef USE_stub_in_nt_dll
10# define USE_stub_in_nt_dll_NOT_DEFINED_tools
11#endif
12#ifndef USE_core_stub_in_nt_dll
13# define USE_core_stub_in_nt_dll_NOT_DEFINED_tools
14#endif
15#ifndef USE_dyn_stub_in_nt_dll
16# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_tools
17#endif
18
19
20
21#ifndef __common_hh_EXTERNAL_GUARD__
22#define __common_hh_EXTERNAL_GUARD__
23#include <hpp/common-idl.hh>
24#endif
25
26
27
28#ifdef USE_stub_in_nt_dll
29# ifndef USE_core_stub_in_nt_dll
30# define USE_core_stub_in_nt_dll
31# endif
32# ifndef USE_dyn_stub_in_nt_dll
33# define USE_dyn_stub_in_nt_dll
34# endif
35#endif
36
37#ifdef _core_attr
38# error "A local CPP macro _core_attr has already been defined."
39#else
40# ifdef USE_core_stub_in_nt_dll
41# define _core_attr _OMNIORB_NTDLL_IMPORT
42# else
43# define _core_attr
44# endif
45#endif
46
47#ifdef _dyn_attr
48# error "A local CPP macro _dyn_attr has already been defined."
49#else
50# ifdef USE_dyn_stub_in_nt_dll
51# define _dyn_attr _OMNIORB_NTDLL_IMPORT
52# else
53# define _dyn_attr
54# endif
55#endif
56
57
58
59_CORBA_MODULE hpp
60
61_CORBA_MODULE_BEG
62
63#ifndef __hpp_mTools__
64#define __hpp_mTools__
65 class Tools;
66 class _objref_Tools;
67 class _impl_Tools;
68
71
73 public:
75
76 static _ptr_type _nil();
77 static _CORBA_Boolean is_nil(_ptr_type);
78 static void release(_ptr_type);
79 static void duplicate(_ptr_type);
80 static void marshalObjRef(_ptr_type, cdrStream&);
81 static _ptr_type unmarshalObjRef(cdrStream&);
82 };
83
84 typedef _CORBA_ObjRef_Var<_objref_Tools, Tools_Helper> Tools_var;
85 typedef _CORBA_ObjRef_OUT_arg<_objref_Tools,Tools_Helper > Tools_out;
86
87#endif
88
89 // interface Tools
90 class Tools {
91 public:
92 // Declarations for this interface type.
95
97 static _ptr_type _narrow(::CORBA::Object_ptr);
98 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
99
100 static _ptr_type _nil();
101
102 static inline void _marshalObjRef(_ptr_type, cdrStream&);
103
104 static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
105 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
106 if (o)
107 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
108 else
109 return _nil();
110 }
111
112 static inline _ptr_type _fromObjRef(omniObjRef* o) {
113 if (o)
114 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
115 else
116 return _nil();
117 }
118
119 static _core_attr const char* _PD_repoId;
120
121 // Other IDL defined within this scope.
122
123 };
124
126 public virtual ::CORBA::Object,
127 public virtual omniObjRef
128 {
129 public:
130 // IDL operations
131 ::CORBA::Boolean loadServerPlugin(const char* context_, const char* pluginName);
132 ::CORBA::Boolean createContext(const char* context_);
134 ::CORBA::Boolean deleteContext(const char* context_);
135 ::CORBA::Object_ptr getServer(const char* context_, const char* pluginName, const char* objectname);
136 void deleteServant(const char* id);
138 void shutdown();
139
140 // Constructors
141 inline _objref_Tools() { _PR_setobj(0); } // nil
142 _objref_Tools(omniIOR*, omniIdentity*);
143
144 protected:
145 virtual ~_objref_Tools();
146
147
148 private:
149 virtual void* _ptrToObjRef(const char*);
150
152 _objref_Tools& operator = (const _objref_Tools&);
153 // not implemented
154
155 friend class Tools;
156 };
157
158 class _pof_Tools : public _OMNI_NS(proxyObjectFactory) {
159 public:
160 inline _pof_Tools() : _OMNI_NS(proxyObjectFactory)(Tools::_PD_repoId) {}
161 virtual ~_pof_Tools();
162
163 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
164 virtual _CORBA_Boolean is_a(const char*) const;
165 };
166
168 public virtual omniServant
169 {
170 public:
171 virtual ~_impl_Tools();
172
173 virtual ::CORBA::Boolean loadServerPlugin(const char* context_, const char* pluginName) = 0;
174 virtual ::CORBA::Boolean createContext(const char* context_) = 0;
175 virtual Names_t* getContexts() = 0;
176 virtual ::CORBA::Boolean deleteContext(const char* context_) = 0;
177 virtual ::CORBA::Object_ptr getServer(const char* context_, const char* pluginName, const char* objectname) = 0;
178 virtual void deleteServant(const char* id) = 0;
179 virtual void deleteAllServants() = 0;
180 virtual void shutdown() = 0;
181
182 public: // Really protected, workaround for xlC
183 virtual _CORBA_Boolean _dispatch(omniCallHandle&);
184
185 private:
186 virtual void* _ptrToInterface(const char*);
187 virtual const char* _mostDerivedRepoId();
188
189 };
190
191
192_CORBA_MODULE_END
193
194
195
196_CORBA_MODULE POA_hpp
197_CORBA_MODULE_BEG
198
199 class Tools :
200 public virtual hpp::_impl_Tools,
201 public virtual ::PortableServer::ServantBase
202 {
203 public:
204 virtual ~Tools();
205
206 inline ::hpp::Tools_ptr _this() {
207 return (::hpp::Tools_ptr) _do_this(::hpp::Tools::_PD_repoId);
208 }
209 };
210
211_CORBA_MODULE_END
212
213
214
215_CORBA_MODULE OBV_hpp
216_CORBA_MODULE_BEG
217
218_CORBA_MODULE_END
219
220
221
222
223
224#undef _core_attr
225#undef _dyn_attr
226
227
228
229inline void
230hpp::Tools::_marshalObjRef(::hpp::Tools_ptr obj, cdrStream& s) {
231 omniObjRef::_marshal(obj->_PR_getobj(),s);
232}
233
234
235
236#ifdef USE_stub_in_nt_dll_NOT_DEFINED_tools
237# undef USE_stub_in_nt_dll
238# undef USE_stub_in_nt_dll_NOT_DEFINED_tools
239#endif
240#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_tools
241# undef USE_core_stub_in_nt_dll
242# undef USE_core_stub_in_nt_dll_NOT_DEFINED_tools
243#endif
244#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_tools
245# undef USE_dyn_stub_in_nt_dll
246# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_tools
247#endif
248
249#endif // __tools_hh__
250
Definition: common-idl.hh:78
Definition: tools-idl.hh:72
static _ptr_type _nil()
static _CORBA_Boolean is_nil(_ptr_type)
Tools_ptr _ptr_type
Definition: tools-idl.hh:74
static void duplicate(_ptr_type)
static void marshalObjRef(_ptr_type, cdrStream &)
static _ptr_type unmarshalObjRef(cdrStream &)
static void release(_ptr_type)
Definition: tools-idl.hh:90
static void _marshalObjRef(_ptr_type, cdrStream &)
Definition: tools-idl.hh:230
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition: tools-idl.hh:104
static _core_attr const char * _PD_repoId
Definition: tools-idl.hh:119
static _ptr_type _nil()
Tools_var _var_type
Definition: tools-idl.hh:94
static _ptr_type _narrow(::CORBA::Object_ptr)
static _ptr_type _fromObjRef(omniObjRef *o)
Definition: tools-idl.hh:112
static _ptr_type _duplicate(_ptr_type)
inline ::hpp::Tools_ptr _this()
Definition: tools-idl.hh:206
Tools_ptr _ptr_type
Definition: tools-idl.hh:93
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr)
virtual ~Tools()
Definition: tools-idl.hh:169
virtual void shutdown()=0
virtual _CORBA_Boolean _dispatch(omniCallHandle &)
virtual ~_impl_Tools()
virtual void deleteServant(const char *id)=0
virtual ::CORBA::Boolean createContext(const char *context_)=0
virtual Names_t * getContexts()=0
virtual ::CORBA::Boolean loadServerPlugin(const char *context_, const char *pluginName)=0
virtual ::CORBA::Boolean deleteContext(const char *context_)=0
virtual void deleteAllServants()=0
virtual ::CORBA::Object_ptr getServer(const char *context_, const char *pluginName, const char *objectname)=0
Definition: tools-idl.hh:128
void deleteServant(const char *id)
Names_t * getContexts()
::CORBA::Boolean createContext(const char *context_)
_objref_Tools(omniIOR *, omniIdentity *)
virtual ~_objref_Tools()
::CORBA::Boolean loadServerPlugin(const char *context_, const char *pluginName)
void deleteAllServants()
_objref_Tools()
Definition: tools-idl.hh:141
::CORBA::Object_ptr getServer(const char *context_, const char *pluginName, const char *objectname)
::CORBA::Boolean deleteContext(const char *context_)
Definition: tools-idl.hh:158
virtual omniObjRef * newObjRef(omniIOR *, omniIdentity *)
_pof_Tools()
Definition: tools-idl.hh:160
virtual _CORBA_Boolean is_a(const char *) const
virtual ~_pof_Tools()
Implement CORBA interface `‘Obstacle’'.
Definition: basic-server.hh:35
_CORBA_ObjRef_Var< _objref_Tools, Tools_Helper > Tools_var
Definition: tools-idl.hh:84
_CORBA_ObjRef_OUT_arg< _objref_Tools, Tools_Helper > Tools_out
Definition: tools-idl.hh:85
#define _core_attr
Definition: tools-idl.hh:43
_objref_Tools * Tools_ptr
Definition: tools-idl.hh:69
Tools_ptr ToolsRef
Definition: tools-idl.hh:70