hpp-corbaserver: src/hpp/corbaserver/tools-idl.hh Source File

hpp-corbaserver 9.0.2 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
69 typedef _objref_Tools* Tools_ptr;
70 typedef Tools_ptr ToolsRef;
71
72 class Tools_Helper {
73 public:
74 typedef Tools_ptr _ptr_type;
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.
93 typedef Tools_ptr _ptr_type;
94 typedef Tools_var _var_type;
95
96 static _ptr_type _duplicate(_ptr_type);
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
125 class _objref_Tools :
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_);
133 Names_t* getContexts();
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);
137 void deleteAllServants();
138 Names_t* getAllServants();
139 void shutdown();
140
141 // Constructors
142 inline _objref_Tools() { _PR_setobj(0); } // nil
143 _objref_Tools(omniIOR*, omniIdentity*);
144
145 protected:
146 virtual ~_objref_Tools();
147
148
149 private:
150 virtual void* _ptrToObjRef(const char*);
151
152 _objref_Tools(const _objref_Tools&);
153 _objref_Tools& operator = (const _objref_Tools&);
154 // not implemented
155
156 friend class Tools;
157 };
158
159 class _pof_Tools : public _OMNI_NS(proxyObjectFactory) {
160 public:
161 inline _pof_Tools() : _OMNI_NS(proxyObjectFactory)(Tools::_PD_repoId) {}
162 virtual ~_pof_Tools();
163
164 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
165 virtual _CORBA_Boolean is_a(const char*) const;
166 };
167
168 class _impl_Tools :
169 public virtual omniServant
170 {
171 public:
172 virtual ~_impl_Tools();
173
174 virtual ::CORBA::Boolean loadServerPlugin(const char* context_, const char* pluginName) = 0;
175 virtual ::CORBA::Boolean createContext(const char* context_) = 0;
176 virtual Names_t* getContexts() = 0;
177 virtual ::CORBA::Boolean deleteContext(const char* context_) = 0;
178 virtual ::CORBA::Object_ptr getServer(const char* context_, const char* pluginName, const char* objectname) = 0;
179 virtual void deleteServant(const char* id) = 0;
180 virtual void deleteAllServants() = 0;
181 virtual Names_t* getAllServants() = 0;
182 virtual void shutdown() = 0;
183
184 public: // Really protected, workaround for xlC
185 virtual _CORBA_Boolean _dispatch(omniCallHandle&);
186
187 private:
188 virtual void* _ptrToInterface(const char*);
189 virtual const char* _mostDerivedRepoId();
190
191 };
192
193
194_CORBA_MODULE_END
195
196
197
198_CORBA_MODULE POA_hpp
199_CORBA_MODULE_BEG
200
201 class Tools :
202 public virtual hpp::_impl_Tools,
203 public virtual ::PortableServer::ServantBase
204 {
205 public:
206 virtual ~Tools();
207
208 inline ::hpp::Tools_ptr _this() {
209 return (::hpp::Tools_ptr) _do_this(::hpp::Tools::_PD_repoId);
210 }
211 };
212
213_CORBA_MODULE_END
214
215
216
217_CORBA_MODULE OBV_hpp
218_CORBA_MODULE_BEG
219
220_CORBA_MODULE_END
221
222
223
224
225
226#undef _core_attr
227#undef _dyn_attr
228
229
230
231 inline void
232hpp::Tools::_marshalObjRef(::hpp::Tools_ptr obj, cdrStream& s) {
233 omniObjRef::_marshal(obj->_PR_getobj(),s);
234}
235
236
237
238#ifdef USE_stub_in_nt_dll_NOT_DEFINED_tools
239# undef USE_stub_in_nt_dll
240# undef USE_stub_in_nt_dll_NOT_DEFINED_tools
241#endif
242#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_tools
243# undef USE_core_stub_in_nt_dll
244# undef USE_core_stub_in_nt_dll_NOT_DEFINED_tools
245#endif
246#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_tools
247# undef USE_dyn_stub_in_nt_dll
248# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_tools
249#endif
250
251#endif // __tools_hh__
252
Names_t
Definition common-idl.hh:78
Tools_Helper
Definition tools-idl.hh:72
Tools_Helper::_nil
static _ptr_type _nil()
Tools_Helper::is_nil
static _CORBA_Boolean is_nil(_ptr_type)
Tools_Helper::_ptr_type
Tools_ptr _ptr_type
Definition tools-idl.hh:74
Tools_Helper::duplicate
static void duplicate(_ptr_type)
Tools_Helper::marshalObjRef
static void marshalObjRef(_ptr_type, cdrStream &)
Tools_Helper::unmarshalObjRef
static _ptr_type unmarshalObjRef(cdrStream &)
Tools_Helper::release
static void release(_ptr_type)
Tools
Definition tools-idl.hh:90
Tools::_marshalObjRef
static void _marshalObjRef(_ptr_type, cdrStream &)
Definition tools-idl.hh:232
Tools::_unmarshalObjRef
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition tools-idl.hh:104
Tools::_PD_repoId
static _core_attr const char * _PD_repoId
Definition tools-idl.hh:119
Tools::_nil
static _ptr_type _nil()
Tools::_var_type
Tools_var _var_type
Definition tools-idl.hh:94
Tools::_narrow
static _ptr_type _narrow(::CORBA::Object_ptr)
Tools::_fromObjRef
static _ptr_type _fromObjRef(omniObjRef *o)
Definition tools-idl.hh:112
Tools::_duplicate
static _ptr_type _duplicate(_ptr_type)
Tools::_this
inline ::hpp::Tools_ptr _this()
Definition tools-idl.hh:208
Tools::_ptr_type
Tools_ptr _ptr_type
Definition tools-idl.hh:93
Tools::_unchecked_narrow
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr)
Tools::~Tools
virtual ~Tools()
_impl_Tools
Definition tools-idl.hh:170
_impl_Tools::shutdown
virtual void shutdown()=0
_impl_Tools::_dispatch
virtual _CORBA_Boolean _dispatch(omniCallHandle &)
_impl_Tools::getAllServants
virtual Names_t * getAllServants()=0
_impl_Tools::~_impl_Tools
virtual ~_impl_Tools()
_impl_Tools::deleteServant
virtual void deleteServant(const char *id)=0
_impl_Tools::createContext
virtual ::CORBA::Boolean createContext(const char *context_)=0
_impl_Tools::getContexts
virtual Names_t * getContexts()=0
_impl_Tools::loadServerPlugin
virtual ::CORBA::Boolean loadServerPlugin(const char *context_, const char *pluginName)=0
_impl_Tools::deleteContext
virtual ::CORBA::Boolean deleteContext(const char *context_)=0
_impl_Tools::deleteAllServants
virtual void deleteAllServants()=0
_impl_Tools::getServer
virtual ::CORBA::Object_ptr getServer(const char *context_, const char *pluginName, const char *objectname)=0
_objref_Tools
Definition tools-idl.hh:128
_objref_Tools::deleteServant
void deleteServant(const char *id)
_objref_Tools::getContexts
Names_t * getContexts()
_objref_Tools::createContext
::CORBA::Boolean createContext(const char *context_)
_objref_Tools::_objref_Tools
_objref_Tools(omniIOR *, omniIdentity *)
_objref_Tools::~_objref_Tools
virtual ~_objref_Tools()
_objref_Tools::loadServerPlugin
::CORBA::Boolean loadServerPlugin(const char *context_, const char *pluginName)
_objref_Tools::deleteAllServants
void deleteAllServants()
_objref_Tools::_objref_Tools
_objref_Tools()
Definition tools-idl.hh:142
_objref_Tools::shutdown
void shutdown()
_objref_Tools::getServer
::CORBA::Object_ptr getServer(const char *context_, const char *pluginName, const char *objectname)
_objref_Tools::deleteContext
::CORBA::Boolean deleteContext(const char *context_)
_objref_Tools::getAllServants
Names_t * getAllServants()
_pof_Tools
Definition tools-idl.hh:159
_pof_Tools::newObjRef
virtual omniObjRef * newObjRef(omniIOR *, omniIdentity *)
_pof_Tools::_pof_Tools
_pof_Tools()
Definition tools-idl.hh:161
_pof_Tools::is_a
virtual _CORBA_Boolean is_a(const char *) const
_pof_Tools::~_pof_Tools
virtual ~_pof_Tools()
common-idl.hh
hpp
Implement CORBA interface `‘Obstacle’'.
Tools_var
_CORBA_ObjRef_Var< _objref_Tools, Tools_Helper > Tools_var
Definition tools-idl.hh:84
Tools_out
_CORBA_ObjRef_OUT_arg< _objref_Tools, Tools_Helper > Tools_out
Definition tools-idl.hh:85
_core_attr
#define _core_attr
Definition tools-idl.hh:43
Tools_ptr
_objref_Tools * Tools_ptr
Definition tools-idl.hh:69
ToolsRef
Tools_ptr ToolsRef
Definition tools-idl.hh:70