1 #ifndef hpp_core_idl__paths_hxx__
2 #define hpp_core_idl__paths_hxx__
24 template <
typename _Base,
typename _Storage>
27 :
hpp::corbaServer::ServantBase<
hpp::core::
Path, _Storage> (server, s)
31 template <
typename _Base,
typename _Storage>
39 template <
typename _Base,
typename _Storage>
44 _ServantBase::deleteThis();
45 }
catch (
const std::exception& e) {
46 throw ::hpp::Error (e.what());
50 template <
typename _Base,
typename _Storage>
59 }
catch (
const std::exception& e) {
60 throw ::hpp::Error (e.what());
64 template <
typename _Base,
typename _Storage>
73 }
catch (
const std::exception& e) {
74 throw ::hpp::Error (e.what());
78 template <
typename _Base,
typename _Storage>
87 }
catch (
const std::exception& e) {
88 throw ::hpp::Error (e.what());
92 template <
typename _Base,
typename _Storage>
101 }
catch (
const std::exception& e) {
102 throw ::hpp::Error (e.what());
106 template <
typename _Base,
typename _Storage>
115 }
catch (
const std::exception& e) {
116 throw ::hpp::Error (e.what());
120 template <
typename _Base,
typename _Storage>
126 hpp::core::ConstraintSetPtr_t __return__ (getT()->constraints ());
128 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Constraint,hpp::core_impl::ConstraintSet>(server_, __return__)._retn();
129 }
catch (
const std::exception& e) {
130 throw ::hpp::Error (e.what());
134 template <
typename _Base,
typename _Storage>
139 std::ostringstream oss; oss << *get();
140 std::string res = oss.str();
141 return CORBA::string_dup(res.c_str());
142 }
catch (
const std::exception& e) {
143 throw ::hpp::Error (e.what());
147 template <
typename _Base,
typename _Storage>
156 }
catch (
const std::exception& e) {
157 throw ::hpp::Error (e.what());
161 template <
typename _Base,
typename _Storage>
167 success = get()->at (t, res);
170 }
catch (
const std::exception& e) {
171 throw ::hpp::Error (e.what());
175 template <
typename _Base,
typename _Storage>
181 get()->derivative (res, t, order);
184 }
catch (
const std::exception& e) {
185 throw ::hpp::Error (e.what());
189 template <
typename _Base,
typename _Storage>
197 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(server_, __return__)._retn();
198 }
catch (
const std::exception& e) {
199 throw ::hpp::Error (e.what());
203 template <
typename _Base,
typename _Storage>
210 hpp::core::PathVector::create (p->outputSize(), p->outputDerivativeSize());
213 return hpp::corbaServer::makeServant<hpp::core_idl::PathVector_ptr>
216 }
catch (
const std::exception& e) {
217 throw ::hpp::Error (e.what());
221 template <
typename _Base,
typename _Storage>
229 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(server_, __return__)._retn();
230 }
catch (
const std::exception& e) {
231 throw ::hpp::Error (e.what());
245 namespace core_impl {
246 template <
typename _Base,
typename _Storage>
253 template <
typename _Base,
typename _Storage>
261 template <
typename _Base,
typename _Storage>
270 }
catch (
const std::exception& e) {
271 throw ::hpp::Error (e.what());
275 template <
typename _Base,
typename _Storage>
284 }
catch (
const std::exception& e) {
285 throw ::hpp::Error (e.what());
289 template <
typename _Base,
typename _Storage>
297 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(server_, __return__)._retn();
298 }
catch (
const std::exception& e) {
299 throw ::hpp::Error (e.what());
303 template <
typename _Base,
typename _Storage>
309 (getT()->appendPath (_p));
312 }
catch (
const std::exception& e) {
313 throw ::hpp::Error (e.what());
317 template <
typename _Base,
typename _Storage>
323 (getT()->concatenate (_p));
326 }
catch (
const std::exception& e) {
327 throw ::hpp::Error (e.what());
331 template <
typename _Base,
typename _Storage>
340 hpp::core::PathVector::create (p->outputSize(), p->outputDerivativeSize());
343 return hpp::corbaServer::makeServant<hpp::core_idl::PathVector_ptr>
346 }
catch (
const std::exception& e) {
347 throw ::hpp::Error (e.what());
360 #endif // hpp_core_idl__paths_hxx__