| Line |
Branch |
Exec |
Source |
| 1 |
|
|
// This file is generated by omniidl (C++ backend)- omniORB_4_3. Do not edit. |
| 2 |
|
|
#ifndef pp_manipulation_corba_idl__robot_hh__ |
| 3 |
|
|
#define pp_manipulation_corba_idl__robot_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_robot |
| 11 |
|
|
#endif |
| 12 |
|
|
#ifndef USE_core_stub_in_nt_dll |
| 13 |
|
|
# define USE_core_stub_in_nt_dll_NOT_DEFINED_robot |
| 14 |
|
|
#endif |
| 15 |
|
|
#ifndef USE_dyn_stub_in_nt_dll |
| 16 |
|
|
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_robot |
| 17 |
|
|
#endif |
| 18 |
|
|
|
| 19 |
|
|
|
| 20 |
|
|
|
| 21 |
|
|
#ifndef pp_manipulation_corba_idl__common_hh_EXTERNAL_GUARD__ |
| 22 |
|
|
#define pp_manipulation_corba_idl__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 |
|
|
_CORBA_MODULE manipulation |
| 68 |
|
|
|
| 69 |
|
|
_CORBA_MODULE_BEG |
| 70 |
|
|
|
| 71 |
|
|
#ifndef __hpp_mcorbaserver_mmanipulation_mRobot__ |
| 72 |
|
|
#define __hpp_mcorbaserver_mmanipulation_mRobot__ |
| 73 |
|
|
class Robot; |
| 74 |
|
|
class _objref_Robot; |
| 75 |
|
|
class _impl_Robot; |
| 76 |
|
|
|
| 77 |
|
|
typedef _objref_Robot* Robot_ptr; |
| 78 |
|
|
typedef Robot_ptr RobotRef; |
| 79 |
|
|
|
| 80 |
|
|
class Robot_Helper { |
| 81 |
|
|
public: |
| 82 |
|
|
typedef Robot_ptr _ptr_type; |
| 83 |
|
|
|
| 84 |
|
|
static _ptr_type _nil(); |
| 85 |
|
|
static _CORBA_Boolean is_nil(_ptr_type); |
| 86 |
|
|
static void release(_ptr_type); |
| 87 |
|
|
static void duplicate(_ptr_type); |
| 88 |
|
|
static void marshalObjRef(_ptr_type, cdrStream&); |
| 89 |
|
|
static _ptr_type unmarshalObjRef(cdrStream&); |
| 90 |
|
|
}; |
| 91 |
|
|
|
| 92 |
|
|
typedef _CORBA_ObjRef_Var<_objref_Robot, Robot_Helper> Robot_var; |
| 93 |
|
|
typedef _CORBA_ObjRef_OUT_arg<_objref_Robot,Robot_Helper > Robot_out; |
| 94 |
|
|
|
| 95 |
|
|
#endif |
| 96 |
|
|
|
| 97 |
|
|
// interface Robot |
| 98 |
|
|
class Robot { |
| 99 |
|
|
public: |
| 100 |
|
|
// Declarations for this interface type. |
| 101 |
|
|
typedef Robot_ptr _ptr_type; |
| 102 |
|
|
typedef Robot_var _var_type; |
| 103 |
|
|
|
| 104 |
|
|
static _ptr_type _duplicate(_ptr_type); |
| 105 |
|
|
static _ptr_type _narrow(::CORBA::Object_ptr); |
| 106 |
|
|
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr); |
| 107 |
|
|
|
| 108 |
|
|
static _ptr_type _nil(); |
| 109 |
|
|
|
| 110 |
|
|
static inline void _marshalObjRef(_ptr_type, cdrStream&); |
| 111 |
|
|
|
| 112 |
|
✗ |
static inline _ptr_type _unmarshalObjRef(cdrStream& s) { |
| 113 |
|
✗ |
omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s); |
| 114 |
|
✗ |
if (o) |
| 115 |
|
✗ |
return (_ptr_type) o->_ptrToObjRef(_PD_repoId); |
| 116 |
|
|
else |
| 117 |
|
✗ |
return _nil(); |
| 118 |
|
|
} |
| 119 |
|
|
|
| 120 |
|
|
static inline _ptr_type _fromObjRef(omniObjRef* o) { |
| 121 |
|
|
if (o) |
| 122 |
|
|
return (_ptr_type) o->_ptrToObjRef(_PD_repoId); |
| 123 |
|
|
else |
| 124 |
|
|
return _nil(); |
| 125 |
|
|
} |
| 126 |
|
|
|
| 127 |
|
|
static _core_attr const char* _PD_repoId; |
| 128 |
|
|
|
| 129 |
|
|
// Other IDL defined within this scope. |
| 130 |
|
|
|
| 131 |
|
|
}; |
| 132 |
|
|
|
| 133 |
|
|
class _objref_Robot : |
| 134 |
|
|
public virtual ::CORBA::Object, |
| 135 |
|
|
public virtual omniObjRef |
| 136 |
|
|
{ |
| 137 |
|
|
public: |
| 138 |
|
|
// IDL operations |
| 139 |
|
|
void insertRobotModel(const char* robotName, const char* rootJointType, const char* urdfname, const char* srdfname); |
| 140 |
|
|
void insertRobotModelOnFrame(const char* robotName, const char* frameName, const char* rootJointType, const char* urdfname, const char* srdfname); |
| 141 |
|
|
void insertRobotModelFromString(const char* robotName, const char* rootJointType, const char* urdfString, const char* srdfString); |
| 142 |
|
|
void insertRobotModelOnFrameFromString(const char* robotName, const char* frameName, const char* rootJointType, const char* urdfString, const char* srdfString); |
| 143 |
|
|
void insertRobotSRDFModel(const char* robotName, const char* srdfPath); |
| 144 |
|
|
void insertRobotSRDFModelFromString(const char* robotName, const char* srdfString); |
| 145 |
|
|
void insertHumanoidModel(const char* robotName, const char* rootJointType, const char* urdfname, const char* srdfname); |
| 146 |
|
|
void insertHumanoidModelFromString(const char* robotName, const char* rootJointType, const char* urdfString, const char* srdfString); |
| 147 |
|
|
void loadEnvironmentModel(const char* urdfName, const char* srdfName, const char* prefix); |
| 148 |
|
|
Transform__slice* getRootJointPosition(const char* robotName); |
| 149 |
|
|
void setRootJointPosition(const char* robotName, const ::hpp::Transform_ position); |
| 150 |
|
|
void addGripper(const char* linkName, const char* gripperName, const ::hpp::Transform_ handlePositioninJoint, ::CORBA::Double clearance); |
| 151 |
|
|
void addHandle(const char* linkName, const char* handleName, const ::hpp::Transform_ localPosition, ::CORBA::Double clearance, const ::hpp::boolSeq& mask); |
| 152 |
|
|
char* getGripperPositionInJoint(const char* gripperName, ::hpp::Transform_ position); |
| 153 |
|
|
char* getHandlePositionInJoint(const char* handleName, ::hpp::Transform_ position); |
| 154 |
|
|
void setHandlePositionInJoint(const char* handleName, const ::hpp::Transform_ position); |
| 155 |
|
|
|
| 156 |
|
|
// Constructors |
| 157 |
|
✗ |
inline _objref_Robot() { _PR_setobj(0); } // nil |
| 158 |
|
|
_objref_Robot(omniIOR*, omniIdentity*); |
| 159 |
|
|
|
| 160 |
|
|
protected: |
| 161 |
|
|
virtual ~_objref_Robot(); |
| 162 |
|
|
|
| 163 |
|
|
|
| 164 |
|
|
private: |
| 165 |
|
|
virtual void* _ptrToObjRef(const char*); |
| 166 |
|
|
|
| 167 |
|
|
_objref_Robot(const _objref_Robot&); |
| 168 |
|
|
_objref_Robot& operator = (const _objref_Robot&); |
| 169 |
|
|
// not implemented |
| 170 |
|
|
|
| 171 |
|
|
friend class Robot; |
| 172 |
|
|
}; |
| 173 |
|
|
|
| 174 |
|
|
class _pof_Robot : public _OMNI_NS(proxyObjectFactory) { |
| 175 |
|
|
public: |
| 176 |
|
✗ |
inline _pof_Robot() : _OMNI_NS(proxyObjectFactory)(Robot::_PD_repoId) {} |
| 177 |
|
|
virtual ~_pof_Robot(); |
| 178 |
|
|
|
| 179 |
|
|
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*); |
| 180 |
|
|
virtual _CORBA_Boolean is_a(const char*) const; |
| 181 |
|
|
}; |
| 182 |
|
|
|
| 183 |
|
|
class _impl_Robot : |
| 184 |
|
|
public virtual omniServant |
| 185 |
|
|
{ |
| 186 |
|
|
public: |
| 187 |
|
|
virtual ~_impl_Robot(); |
| 188 |
|
|
|
| 189 |
|
|
virtual void insertRobotModel(const char* robotName, const char* rootJointType, const char* urdfname, const char* srdfname) = 0; |
| 190 |
|
|
virtual void insertRobotModelOnFrame(const char* robotName, const char* frameName, const char* rootJointType, const char* urdfname, const char* srdfname) = 0; |
| 191 |
|
|
virtual void insertRobotModelFromString(const char* robotName, const char* rootJointType, const char* urdfString, const char* srdfString) = 0; |
| 192 |
|
|
virtual void insertRobotModelOnFrameFromString(const char* robotName, const char* frameName, const char* rootJointType, const char* urdfString, const char* srdfString) = 0; |
| 193 |
|
|
virtual void insertRobotSRDFModel(const char* robotName, const char* srdfPath) = 0; |
| 194 |
|
|
virtual void insertRobotSRDFModelFromString(const char* robotName, const char* srdfString) = 0; |
| 195 |
|
|
virtual void insertHumanoidModel(const char* robotName, const char* rootJointType, const char* urdfname, const char* srdfname) = 0; |
| 196 |
|
|
virtual void insertHumanoidModelFromString(const char* robotName, const char* rootJointType, const char* urdfString, const char* srdfString) = 0; |
| 197 |
|
|
virtual void loadEnvironmentModel(const char* urdfName, const char* srdfName, const char* prefix) = 0; |
| 198 |
|
|
virtual Transform__slice* getRootJointPosition(const char* robotName) = 0; |
| 199 |
|
|
virtual void setRootJointPosition(const char* robotName, const ::hpp::Transform_ position) = 0; |
| 200 |
|
|
virtual void addGripper(const char* linkName, const char* gripperName, const ::hpp::Transform_ handlePositioninJoint, ::CORBA::Double clearance) = 0; |
| 201 |
|
|
virtual void addHandle(const char* linkName, const char* handleName, const ::hpp::Transform_ localPosition, ::CORBA::Double clearance, const ::hpp::boolSeq& mask) = 0; |
| 202 |
|
|
virtual char* getGripperPositionInJoint(const char* gripperName, ::hpp::Transform_ position) = 0; |
| 203 |
|
|
virtual char* getHandlePositionInJoint(const char* handleName, ::hpp::Transform_ position) = 0; |
| 204 |
|
|
virtual void setHandlePositionInJoint(const char* handleName, const ::hpp::Transform_ position) = 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 |
|
|
_CORBA_MODULE_END |
| 221 |
|
|
|
| 222 |
|
|
|
| 223 |
|
|
|
| 224 |
|
|
_CORBA_MODULE POA_hpp |
| 225 |
|
|
_CORBA_MODULE_BEG |
| 226 |
|
|
|
| 227 |
|
|
_CORBA_MODULE corbaserver |
| 228 |
|
|
_CORBA_MODULE_BEG |
| 229 |
|
|
|
| 230 |
|
|
_CORBA_MODULE manipulation |
| 231 |
|
|
_CORBA_MODULE_BEG |
| 232 |
|
|
|
| 233 |
|
|
class Robot : |
| 234 |
|
|
public virtual hpp::corbaserver::manipulation::_impl_Robot, |
| 235 |
|
|
public virtual ::PortableServer::ServantBase |
| 236 |
|
|
{ |
| 237 |
|
|
public: |
| 238 |
|
|
virtual ~Robot(); |
| 239 |
|
|
|
| 240 |
|
✗ |
inline ::hpp::corbaserver::manipulation::Robot_ptr _this() { |
| 241 |
|
✗ |
return (::hpp::corbaserver::manipulation::Robot_ptr) _do_this(::hpp::corbaserver::manipulation::Robot::_PD_repoId); |
| 242 |
|
|
} |
| 243 |
|
|
}; |
| 244 |
|
|
|
| 245 |
|
|
_CORBA_MODULE_END |
| 246 |
|
|
|
| 247 |
|
|
_CORBA_MODULE_END |
| 248 |
|
|
|
| 249 |
|
|
_CORBA_MODULE_END |
| 250 |
|
|
|
| 251 |
|
|
|
| 252 |
|
|
|
| 253 |
|
|
_CORBA_MODULE OBV_hpp |
| 254 |
|
|
_CORBA_MODULE_BEG |
| 255 |
|
|
|
| 256 |
|
|
_CORBA_MODULE corbaserver |
| 257 |
|
|
_CORBA_MODULE_BEG |
| 258 |
|
|
|
| 259 |
|
|
_CORBA_MODULE manipulation |
| 260 |
|
|
_CORBA_MODULE_BEG |
| 261 |
|
|
|
| 262 |
|
|
_CORBA_MODULE_END |
| 263 |
|
|
|
| 264 |
|
|
_CORBA_MODULE_END |
| 265 |
|
|
|
| 266 |
|
|
_CORBA_MODULE_END |
| 267 |
|
|
|
| 268 |
|
|
|
| 269 |
|
|
|
| 270 |
|
|
|
| 271 |
|
|
|
| 272 |
|
|
#undef _core_attr |
| 273 |
|
|
#undef _dyn_attr |
| 274 |
|
|
|
| 275 |
|
|
|
| 276 |
|
|
|
| 277 |
|
|
inline void |
| 278 |
|
✗ |
hpp::corbaserver::manipulation::Robot::_marshalObjRef(::hpp::corbaserver::manipulation::Robot_ptr obj, cdrStream& s) { |
| 279 |
|
✗ |
omniObjRef::_marshal(obj->_PR_getobj(),s); |
| 280 |
|
|
} |
| 281 |
|
|
|
| 282 |
|
|
|
| 283 |
|
|
|
| 284 |
|
|
#ifdef USE_stub_in_nt_dll_NOT_DEFINED_robot |
| 285 |
|
|
# undef USE_stub_in_nt_dll |
| 286 |
|
|
# undef USE_stub_in_nt_dll_NOT_DEFINED_robot |
| 287 |
|
|
#endif |
| 288 |
|
|
#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_robot |
| 289 |
|
|
# undef USE_core_stub_in_nt_dll |
| 290 |
|
|
# undef USE_core_stub_in_nt_dll_NOT_DEFINED_robot |
| 291 |
|
|
#endif |
| 292 |
|
|
#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_robot |
| 293 |
|
|
# undef USE_dyn_stub_in_nt_dll |
| 294 |
|
|
# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_robot |
| 295 |
|
|
#endif |
| 296 |
|
|
|
| 297 |
|
|
#endif // __robot_hh__ |
| 298 |
|
|
|
| 299 |
|
|
|