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

hpp-corbaserver 9.0.2 Corba server for Humanoid Path Planner applications

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
73 typedef _objref_Obstacle* Obstacle_ptr;
74 typedef Obstacle_ptr ObstacleRef;
75
76 class Obstacle_Helper {
77 public:
78 typedef Obstacle_ptr _ptr_type;
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.
97 typedef Obstacle_ptr _ptr_type;
98 typedef Obstacle_var _var_type;
99
100 static _ptr_type _duplicate(_ptr_type);
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
129 class _objref_Obstacle :
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:
159 virtual ~_objref_Obstacle();
160
161
162 private:
163 virtual void* _ptrToObjRef(const char*);
164
165 _objref_Obstacle(const _objref_Obstacle&);
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
181 class _impl_Obstacle :
182 public virtual omniServant
183 {
184 public:
185 virtual ~_impl_Obstacle();
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
265 inline void
266 hpp::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
Names_t
Definition: common-idl.hh:78
Obstacle_Helper
Definition: obstacle-idl.hh:76
Obstacle_Helper::_nil
static _ptr_type _nil()
Obstacle_Helper::_ptr_type
Obstacle_ptr _ptr_type
Definition: obstacle-idl.hh:78
Obstacle_Helper::release
static void release(_ptr_type)
Obstacle_Helper::duplicate
static void duplicate(_ptr_type)
Obstacle_Helper::is_nil
static _CORBA_Boolean is_nil(_ptr_type)
Obstacle_Helper::marshalObjRef
static void marshalObjRef(_ptr_type, cdrStream &)
Obstacle_Helper::unmarshalObjRef
static _ptr_type unmarshalObjRef(cdrStream &)
Obstacle
Definition: obstacle-idl.hh:94
Obstacle::_duplicate
static _ptr_type _duplicate(_ptr_type)
Obstacle::_marshalObjRef
static void _marshalObjRef(_ptr_type, cdrStream &)
Definition: obstacle-idl.hh:266
Obstacle::_PD_repoId
static _core_attr const char * _PD_repoId
Definition: obstacle-idl.hh:123
Obstacle::_this
inline ::hpp::corbaserver::Obstacle_ptr _this()
Definition: obstacle-idl.hh:235
Obstacle::_fromObjRef
static _ptr_type _fromObjRef(omniObjRef *o)
Definition: obstacle-idl.hh:116
Obstacle::~Obstacle
virtual ~Obstacle()
Obstacle::_unmarshalObjRef
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition: obstacle-idl.hh:108
Obstacle::_unchecked_narrow
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr)
Obstacle::_narrow
static _ptr_type _narrow(::CORBA::Object_ptr)
Obstacle::_var_type
Obstacle_var _var_type
Definition: obstacle-idl.hh:98
Obstacle::_ptr_type
Obstacle_ptr _ptr_type
Definition: obstacle-idl.hh:97
Obstacle::_nil
static _ptr_type _nil()
_impl_Obstacle
Definition: obstacle-idl.hh:183
_impl_Obstacle::loadObstacleModelFromString
virtual void loadObstacleModelFromString(const char *urdfString, const char *prefix)=0
_impl_Obstacle::_dispatch
virtual _CORBA_Boolean _dispatch(omniCallHandle &)
_impl_Obstacle::getObstaclePosition
virtual void getObstaclePosition(const char *objectName, ::hpp::Transform_ cfg)=0
_impl_Obstacle::removeObstacleFromJoint
virtual void removeObstacleFromJoint(const char *objectName, const char *jointName, ::CORBA::Boolean collision, ::CORBA::Boolean distance)=0
_impl_Obstacle::loadPolyhedron
virtual void loadPolyhedron(const char *obstacleName, const char *filename)=0
_impl_Obstacle::~_impl_Obstacle
virtual ~_impl_Obstacle()
_impl_Obstacle::loadPointCloudFromPoints
virtual void loadPointCloudFromPoints(const char *objectName, ::CORBA::Double resolution, const ::hpp::floatSeqSeq &points)=0
_impl_Obstacle::createPolyhedron
virtual void createPolyhedron(const char *polyName)=0
_impl_Obstacle::createBox
virtual void createBox(const char *inBoxName, ::CORBA::Double x, ::CORBA::Double y, ::CORBA::Double z)=0
_impl_Obstacle::addObstacle
virtual void addObstacle(const char *objectName, ::CORBA::Boolean collision, ::CORBA::Boolean distance)=0
_impl_Obstacle::removeObstacle
virtual void removeObstacle(const char *objectName)=0
_impl_Obstacle::cutObstacle
virtual void cutObstacle(const char *objectName, const ::hpp::floatSeq &aabb)=0
_impl_Obstacle::loadObstacleModel
virtual void loadObstacleModel(const char *filename, const char *prefix)=0
_impl_Obstacle::moveObstacle
virtual void moveObstacle(const char *objectName, const ::hpp::Transform_ cfg)=0
_impl_Obstacle::createSphere
virtual void createSphere(const char *name, ::CORBA::Double radius)=0
_impl_Obstacle::addTriangle
virtual ::CORBA::ULong addTriangle(const char *polyName, ::CORBA::ULong pt1, ::CORBA::ULong pt2, ::CORBA::ULong pt3)=0
_impl_Obstacle::getObstacleNames
virtual Names_t * getObstacleNames(::CORBA::Boolean collision, ::CORBA::Boolean distance)=0
_impl_Obstacle::addPoint
virtual ::CORBA::ULong addPoint(const char *polyName, ::CORBA::Double x, ::CORBA::Double y, ::CORBA::Double z)=0
_impl_Obstacle::createCylinder
virtual void createCylinder(const char *name, ::CORBA::Double radius, ::CORBA::Double length)=0
_impl_Obstacle::loadPointCloudFromFilename
virtual void loadPointCloudFromFilename(const char *objectName, const char *filename)=0
_objref_Obstacle
Definition: obstacle-idl.hh:132
_objref_Obstacle::removeObstacle
void removeObstacle(const char *objectName)
_objref_Obstacle::createBox
void createBox(const char *inBoxName, ::CORBA::Double x, ::CORBA::Double y, ::CORBA::Double z)
_objref_Obstacle::loadPolyhedron
void loadPolyhedron(const char *obstacleName, const char *filename)
_objref_Obstacle::loadPointCloudFromPoints
void loadPointCloudFromPoints(const char *objectName, ::CORBA::Double resolution, const ::hpp::floatSeqSeq &points)
_objref_Obstacle::loadObstacleModel
void loadObstacleModel(const char *filename, const char *prefix)
_objref_Obstacle::createCylinder
void createCylinder(const char *name, ::CORBA::Double radius, ::CORBA::Double length)
_objref_Obstacle::~_objref_Obstacle
virtual ~_objref_Obstacle()
_objref_Obstacle::addTriangle
::CORBA::ULong addTriangle(const char *polyName, ::CORBA::ULong pt1, ::CORBA::ULong pt2, ::CORBA::ULong pt3)
_objref_Obstacle::cutObstacle
void cutObstacle(const char *objectName, const ::hpp::floatSeq &aabb)
_objref_Obstacle::addObstacle
void addObstacle(const char *objectName, ::CORBA::Boolean collision, ::CORBA::Boolean distance)
_objref_Obstacle::removeObstacleFromJoint
void removeObstacleFromJoint(const char *objectName, const char *jointName, ::CORBA::Boolean collision, ::CORBA::Boolean distance)
_objref_Obstacle::loadObstacleModelFromString
void loadObstacleModelFromString(const char *urdfString, const char *prefix)
_objref_Obstacle::createSphere
void createSphere(const char *name, ::CORBA::Double radius)
_objref_Obstacle::moveObstacle
void moveObstacle(const char *objectName, const ::hpp::Transform_ cfg)
_objref_Obstacle::getObstaclePosition
void getObstaclePosition(const char *objectName, ::hpp::Transform_ cfg)
_objref_Obstacle::_objref_Obstacle
_objref_Obstacle(omniIOR *, omniIdentity *)
_objref_Obstacle::loadPointCloudFromFilename
void loadPointCloudFromFilename(const char *objectName, const char *filename)
_objref_Obstacle::getObstacleNames
Names_t * getObstacleNames(::CORBA::Boolean collision, ::CORBA::Boolean distance)
_objref_Obstacle::createPolyhedron
void createPolyhedron(const char *polyName)
_objref_Obstacle::addPoint
::CORBA::ULong addPoint(const char *polyName, ::CORBA::Double x, ::CORBA::Double y, ::CORBA::Double z)
_objref_Obstacle::_objref_Obstacle
_objref_Obstacle()
Definition: obstacle-idl.hh:155
_pof_Obstacle
Definition: obstacle-idl.hh:172
_pof_Obstacle::~_pof_Obstacle
virtual ~_pof_Obstacle()
_pof_Obstacle::newObjRef
virtual omniObjRef * newObjRef(omniIOR *, omniIdentity *)
_pof_Obstacle::_pof_Obstacle
_pof_Obstacle()
Definition: obstacle-idl.hh:174
_pof_Obstacle::is_a
virtual _CORBA_Boolean is_a(const char *) const
common-idl.hh
Transform_
::CORBA::Double Transform_[7]
Definition: common-idl.hh:915
hpp
Implement CORBA interface `‘Obstacle’'.
hpp::floatSeq
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:34
hpp::Transform_
double Transform_[7]
Element of SE(3) represented by a vector and a unit quaternion.
Definition: common.idl:38
hpp::floatSeqSeq
sequence< floatSeq > floatSeqSeq
Definition: common.idl:35
Obstacle_out
_CORBA_ObjRef_OUT_arg< _objref_Obstacle, Obstacle_Helper > Obstacle_out
Definition: obstacle-idl.hh:89
Obstacle_var
_CORBA_ObjRef_Var< _objref_Obstacle, Obstacle_Helper > Obstacle_var
Definition: obstacle-idl.hh:88
_core_attr
#define _core_attr
Definition: obstacle-idl.hh:43
ObstacleRef
Obstacle_ptr ObstacleRef
Definition: obstacle-idl.hh:74
Obstacle_ptr
_objref_Obstacle * Obstacle_ptr
Definition: obstacle-idl.hh:71