hpp-corbaserver 6.0.0
Corba server for Humanoid Path Planner applications
Loading...
Searching...
No Matches
obstacle-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 __obstacle_hh__
3#define __obstacle_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_obstacle
11#endif
12#ifndef USE_core_stub_in_nt_dll
13# define USE_core_stub_in_nt_dll_NOT_DEFINED_obstacle
14#endif
15#ifndef USE_dyn_stub_in_nt_dll
16# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_obstacle
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 _CORBA_MODULE corbaserver
64
65 _CORBA_MODULE_BEG
66
67#ifndef __hpp_mcorbaserver_mObstacle__
68#define __hpp_mcorbaserver_mObstacle__
69 class Obstacle;
70 class _objref_Obstacle;
71 class _impl_Obstacle;
72
75
77 public:
79
80 static _ptr_type _nil();
81 static _CORBA_Boolean is_nil(_ptr_type);
82 static void release(_ptr_type);
83 static void duplicate(_ptr_type);
84 static void marshalObjRef(_ptr_type, cdrStream&);
85 static _ptr_type unmarshalObjRef(cdrStream&);
86 };
87
88 typedef _CORBA_ObjRef_Var<_objref_Obstacle, Obstacle_Helper> Obstacle_var;
89 typedef _CORBA_ObjRef_OUT_arg<_objref_Obstacle,Obstacle_Helper > Obstacle_out;
90
91#endif
92
93 // interface Obstacle
94 class Obstacle {
95 public:
96 // Declarations for this interface type.
99
101 static _ptr_type _narrow(::CORBA::Object_ptr);
102 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
103
104 static _ptr_type _nil();
105
106 static inline void _marshalObjRef(_ptr_type, cdrStream&);
107
108 static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
109 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
110 if (o)
111 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
112 else
113 return _nil();
114 }
115
116 static inline _ptr_type _fromObjRef(omniObjRef* o) {
117 if (o)
118 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
119 else
120 return _nil();
121 }
122
123 static _core_attr const char* _PD_repoId;
124
125 // Other IDL defined within this scope.
126
127 };
128
130 public virtual ::CORBA::Object,
131 public virtual omniObjRef
132 {
133 public:
134 // IDL operations
135 void loadObstacleModel(const char* filename, const char* prefix);
136 void loadPolyhedron(const char* obstacleName, const char* filename);
137 void loadObstacleModelFromString(const char* urdfString, const char* prefix);
138 void loadPointCloudFromFilename(const char* objectName, const char* filename);
139 void loadPointCloudFromPoints(const char* objectName, ::CORBA::Double resolution, const ::hpp::floatSeqSeq& points);
140 void removeObstacle(const char* objectName);
141 void removeObstacleFromJoint(const char* objectName, const char* jointName, ::CORBA::Boolean collision, ::CORBA::Boolean distance);
142 void cutObstacle(const char* objectName, const ::hpp::floatSeq& aabb);
143 void addObstacle(const char* objectName, ::CORBA::Boolean collision, ::CORBA::Boolean distance);
144 void moveObstacle(const char* objectName, const ::hpp::Transform_ cfg);
145 void getObstaclePosition(const char* objectName, ::hpp::Transform_ cfg);
146 Names_t* getObstacleNames(::CORBA::Boolean collision, ::CORBA::Boolean distance);
147 void createPolyhedron(const char* polyName);
148 void createBox(const char* inBoxName, ::CORBA::Double x, ::CORBA::Double y, ::CORBA::Double z);
149 void createSphere(const char* name, ::CORBA::Double radius);
150 void createCylinder(const char* name, ::CORBA::Double radius, ::CORBA::Double length);
151 ::CORBA::ULong addPoint(const char* polyName, ::CORBA::Double x, ::CORBA::Double y, ::CORBA::Double z);
152 ::CORBA::ULong addTriangle(const char* polyName, ::CORBA::ULong pt1, ::CORBA::ULong pt2, ::CORBA::ULong pt3);
153
154 // Constructors
155 inline _objref_Obstacle() { _PR_setobj(0); } // nil
156 _objref_Obstacle(omniIOR*, omniIdentity*);
157
158 protected:
160
161
162 private:
163 virtual void* _ptrToObjRef(const char*);
164
166 _objref_Obstacle& operator = (const _objref_Obstacle&);
167 // not implemented
168
169 friend class Obstacle;
170 };
171
172 class _pof_Obstacle : public _OMNI_NS(proxyObjectFactory) {
173 public:
174 inline _pof_Obstacle() : _OMNI_NS(proxyObjectFactory)(Obstacle::_PD_repoId) {}
175 virtual ~_pof_Obstacle();
176
177 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
178 virtual _CORBA_Boolean is_a(const char*) const;
179 };
180
182 public virtual omniServant
183 {
184 public:
186
187 virtual void loadObstacleModel(const char* filename, const char* prefix) = 0;
188 virtual void loadPolyhedron(const char* obstacleName, const char* filename) = 0;
189 virtual void loadObstacleModelFromString(const char* urdfString, const char* prefix) = 0;
190 virtual void loadPointCloudFromFilename(const char* objectName, const char* filename) = 0;
191 virtual void loadPointCloudFromPoints(const char* objectName, ::CORBA::Double resolution, const ::hpp::floatSeqSeq& points) = 0;
192 virtual void removeObstacle(const char* objectName) = 0;
193 virtual void removeObstacleFromJoint(const char* objectName, const char* jointName, ::CORBA::Boolean collision, ::CORBA::Boolean distance) = 0;
194 virtual void cutObstacle(const char* objectName, const ::hpp::floatSeq& aabb) = 0;
195 virtual void addObstacle(const char* objectName, ::CORBA::Boolean collision, ::CORBA::Boolean distance) = 0;
196 virtual void moveObstacle(const char* objectName, const ::hpp::Transform_ cfg) = 0;
197 virtual void getObstaclePosition(const char* objectName, ::hpp::Transform_ cfg) = 0;
198 virtual Names_t* getObstacleNames(::CORBA::Boolean collision, ::CORBA::Boolean distance) = 0;
199 virtual void createPolyhedron(const char* polyName) = 0;
200 virtual void createBox(const char* inBoxName, ::CORBA::Double x, ::CORBA::Double y, ::CORBA::Double z) = 0;
201 virtual void createSphere(const char* name, ::CORBA::Double radius) = 0;
202 virtual void createCylinder(const char* name, ::CORBA::Double radius, ::CORBA::Double length) = 0;
203 virtual ::CORBA::ULong addPoint(const char* polyName, ::CORBA::Double x, ::CORBA::Double y, ::CORBA::Double z) = 0;
204 virtual ::CORBA::ULong addTriangle(const char* polyName, ::CORBA::ULong pt1, ::CORBA::ULong pt2, ::CORBA::ULong pt3) = 0;
205
206 public: // Really protected, workaround for xlC
207 virtual _CORBA_Boolean _dispatch(omniCallHandle&);
208
209 private:
210 virtual void* _ptrToInterface(const char*);
211 virtual const char* _mostDerivedRepoId();
212
213 };
214
215
216 _CORBA_MODULE_END
217
218_CORBA_MODULE_END
219
220
221
222_CORBA_MODULE POA_hpp
223_CORBA_MODULE_BEG
224
225 _CORBA_MODULE corbaserver
226 _CORBA_MODULE_BEG
227
228 class Obstacle :
229 public virtual hpp::corbaserver::_impl_Obstacle,
230 public virtual ::PortableServer::ServantBase
231 {
232 public:
233 virtual ~Obstacle();
234
235 inline ::hpp::corbaserver::Obstacle_ptr _this() {
236 return (::hpp::corbaserver::Obstacle_ptr) _do_this(::hpp::corbaserver::Obstacle::_PD_repoId);
237 }
238 };
239
240 _CORBA_MODULE_END
241
242_CORBA_MODULE_END
243
244
245
246_CORBA_MODULE OBV_hpp
247_CORBA_MODULE_BEG
248
249 _CORBA_MODULE corbaserver
250 _CORBA_MODULE_BEG
251
252 _CORBA_MODULE_END
253
254_CORBA_MODULE_END
255
256
257
258
259
260#undef _core_attr
261#undef _dyn_attr
262
263
264
265inline void
266hpp::corbaserver::Obstacle::_marshalObjRef(::hpp::corbaserver::Obstacle_ptr obj, cdrStream& s) {
267 omniObjRef::_marshal(obj->_PR_getobj(),s);
268}
269
270
271
272#ifdef USE_stub_in_nt_dll_NOT_DEFINED_obstacle
273# undef USE_stub_in_nt_dll
274# undef USE_stub_in_nt_dll_NOT_DEFINED_obstacle
275#endif
276#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_obstacle
277# undef USE_core_stub_in_nt_dll
278# undef USE_core_stub_in_nt_dll_NOT_DEFINED_obstacle
279#endif
280#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_obstacle
281# undef USE_dyn_stub_in_nt_dll
282# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_obstacle
283#endif
284
285#endif // __obstacle_hh__
286
Definition common-idl.hh:78
Definition obstacle-idl.hh:76
static _ptr_type _nil()
Obstacle_ptr _ptr_type
Definition obstacle-idl.hh:78
static void release(_ptr_type)
static void duplicate(_ptr_type)
static _CORBA_Boolean is_nil(_ptr_type)
static void marshalObjRef(_ptr_type, cdrStream &)
static _ptr_type unmarshalObjRef(cdrStream &)
Definition obstacle-idl.hh:94
static _ptr_type _duplicate(_ptr_type)
static void _marshalObjRef(_ptr_type, cdrStream &)
Definition obstacle-idl.hh:266
static _core_attr const char * _PD_repoId
Definition obstacle-idl.hh:123
inline ::hpp::corbaserver::Obstacle_ptr _this()
Definition obstacle-idl.hh:235
static _ptr_type _fromObjRef(omniObjRef *o)
Definition obstacle-idl.hh:116
virtual ~Obstacle()
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition obstacle-idl.hh:108
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr)
static _ptr_type _narrow(::CORBA::Object_ptr)
Obstacle_var _var_type
Definition obstacle-idl.hh:98
Obstacle_ptr _ptr_type
Definition obstacle-idl.hh:97
static _ptr_type _nil()
Definition obstacle-idl.hh:183
virtual void loadObstacleModelFromString(const char *urdfString, const char *prefix)=0
virtual _CORBA_Boolean _dispatch(omniCallHandle &)
virtual void getObstaclePosition(const char *objectName, ::hpp::Transform_ cfg)=0
virtual void removeObstacleFromJoint(const char *objectName, const char *jointName, ::CORBA::Boolean collision, ::CORBA::Boolean distance)=0
virtual void loadPolyhedron(const char *obstacleName, const char *filename)=0
virtual ~_impl_Obstacle()
virtual void loadPointCloudFromPoints(const char *objectName, ::CORBA::Double resolution, const ::hpp::floatSeqSeq &points)=0
virtual void createPolyhedron(const char *polyName)=0
virtual void createBox(const char *inBoxName, ::CORBA::Double x, ::CORBA::Double y, ::CORBA::Double z)=0
virtual void addObstacle(const char *objectName, ::CORBA::Boolean collision, ::CORBA::Boolean distance)=0
virtual void removeObstacle(const char *objectName)=0
virtual void cutObstacle(const char *objectName, const ::hpp::floatSeq &aabb)=0
virtual void loadObstacleModel(const char *filename, const char *prefix)=0
virtual void moveObstacle(const char *objectName, const ::hpp::Transform_ cfg)=0
virtual void createSphere(const char *name, ::CORBA::Double radius)=0
virtual Names_t * getObstacleNames(::CORBA::Boolean collision, ::CORBA::Boolean distance)=0
virtual ::CORBA::ULong addTriangle(const char *polyName, ::CORBA::ULong pt1, ::CORBA::ULong pt2, ::CORBA::ULong pt3)=0
virtual ::CORBA::ULong addPoint(const char *polyName, ::CORBA::Double x, ::CORBA::Double y, ::CORBA::Double z)=0
virtual void createCylinder(const char *name, ::CORBA::Double radius, ::CORBA::Double length)=0
virtual void loadPointCloudFromFilename(const char *objectName, const char *filename)=0
Definition obstacle-idl.hh:132
void removeObstacle(const char *objectName)
void createBox(const char *inBoxName, ::CORBA::Double x, ::CORBA::Double y, ::CORBA::Double z)
void loadPolyhedron(const char *obstacleName, const char *filename)
void loadPointCloudFromPoints(const char *objectName, ::CORBA::Double resolution, const ::hpp::floatSeqSeq &points)
void loadObstacleModel(const char *filename, const char *prefix)
void createCylinder(const char *name, ::CORBA::Double radius, ::CORBA::Double length)
virtual ~_objref_Obstacle()
::CORBA::ULong addTriangle(const char *polyName, ::CORBA::ULong pt1, ::CORBA::ULong pt2, ::CORBA::ULong pt3)
void cutObstacle(const char *objectName, const ::hpp::floatSeq &aabb)
void addObstacle(const char *objectName, ::CORBA::Boolean collision, ::CORBA::Boolean distance)
void removeObstacleFromJoint(const char *objectName, const char *jointName, ::CORBA::Boolean collision, ::CORBA::Boolean distance)
void loadObstacleModelFromString(const char *urdfString, const char *prefix)
void createSphere(const char *name, ::CORBA::Double radius)
void moveObstacle(const char *objectName, const ::hpp::Transform_ cfg)
void getObstaclePosition(const char *objectName, ::hpp::Transform_ cfg)
Names_t * getObstacleNames(::CORBA::Boolean collision, ::CORBA::Boolean distance)
_objref_Obstacle(omniIOR *, omniIdentity *)
void loadPointCloudFromFilename(const char *objectName, const char *filename)
void createPolyhedron(const char *polyName)
::CORBA::ULong addPoint(const char *polyName, ::CORBA::Double x, ::CORBA::Double y, ::CORBA::Double z)
_objref_Obstacle()
Definition obstacle-idl.hh:155
Definition obstacle-idl.hh:172
virtual ~_pof_Obstacle()
_pof_Obstacle()
Definition obstacle-idl.hh:174
virtual omniObjRef * newObjRef(omniIOR *, omniIdentity *)
virtual _CORBA_Boolean is_a(const char *) const
Implement CORBA interface `‘Obstacle’'.
Definition client.hh:46
double Transform_[7]
Element of SE(3) represented by a vector and a unit quaternion.
Definition common.idl:38
_CORBA_ObjRef_OUT_arg< _objref_Obstacle, Obstacle_Helper > Obstacle_out
Definition obstacle-idl.hh:89
_CORBA_ObjRef_Var< _objref_Obstacle, Obstacle_Helper > Obstacle_var
Definition obstacle-idl.hh:88
#define _core_attr
Definition obstacle-idl.hh:43
Obstacle_ptr ObstacleRef
Definition obstacle-idl.hh:74
_objref_Obstacle * Obstacle_ptr
Definition obstacle-idl.hh:73