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>
55 return _ServantBase::deleteIfExpired();
56 }
catch (
const std::exception& e) {
57 throw ::hpp::Error (e.what());
61 template <
typename _Base,
typename _Storage>
66 _ServantBase::persistantStorage(persistant);
67 }
catch (
const std::exception& e) {
68 throw ::hpp::Error (e.what());
72 template <
typename _Base,
typename _Storage>
81 }
catch (
const std::exception& e) {
82 throw ::hpp::Error (e.what());
86 template <
typename _Base,
typename _Storage>
95 }
catch (
const std::exception& e) {
96 throw ::hpp::Error (e.what());
100 template <
typename _Base,
typename _Storage>
109 }
catch (
const std::exception& e) {
110 throw ::hpp::Error (e.what());
114 template <
typename _Base,
typename _Storage>
123 }
catch (
const std::exception& e) {
124 throw ::hpp::Error (e.what());
128 template <
typename _Base,
typename _Storage>
137 }
catch (
const std::exception& e) {
138 throw ::hpp::Error (e.what());
142 template <
typename _Base,
typename _Storage>
148 hpp::core::ConstraintSetPtr_t __return__ (getT()->constraints ());
150 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Constraint,hpp::core_impl::ConstraintSet>(server_, __return__)._retn();
151 }
catch (
const std::exception& e) {
152 throw ::hpp::Error (e.what());
156 template <
typename _Base,
typename _Storage>
161 std::ostringstream oss; oss << *get();
162 std::string res = oss.str();
163 return CORBA::string_dup(res.c_str());
164 }
catch (
const std::exception& e) {
165 throw ::hpp::Error (e.what());
169 template <
typename _Base,
typename _Storage>
178 }
catch (
const std::exception& e) {
179 throw ::hpp::Error (e.what());
183 template <
typename _Base,
typename _Storage>
189 success = get()->at (t, res);
192 }
catch (
const std::exception& e) {
193 throw ::hpp::Error (e.what());
197 template <
typename _Base,
typename _Storage>
203 get()->derivative (res, t, order);
206 }
catch (
const std::exception& e) {
207 throw ::hpp::Error (e.what());
211 template <
typename _Base,
typename _Storage>
219 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(server_, __return__)._retn();
220 }
catch (
const std::exception& e) {
221 throw ::hpp::Error (e.what());
225 template <
typename _Base,
typename _Storage>
232 hpp::core::PathVector::create (p->outputSize(), p->outputDerivativeSize());
235 return hpp::corbaServer::makeServant<hpp::core_idl::PathVector_ptr>
238 }
catch (
const std::exception& e) {
239 throw ::hpp::Error (e.what());
243 template <
typename _Base,
typename _Storage>
251 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(server_, __return__)._retn();
252 }
catch (
const std::exception& e) {
253 throw ::hpp::Error (e.what());
267 namespace core_impl {
268 template <
typename _Base,
typename _Storage>
275 template <
typename _Base,
typename _Storage>
283 template <
typename _Base,
typename _Storage>
292 }
catch (
const std::exception& e) {
293 throw ::hpp::Error (e.what());
297 template <
typename _Base,
typename _Storage>
306 }
catch (
const std::exception& e) {
307 throw ::hpp::Error (e.what());
311 template <
typename _Base,
typename _Storage>
319 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(server_, __return__)._retn();
320 }
catch (
const std::exception& e) {
321 throw ::hpp::Error (e.what());
325 template <
typename _Base,
typename _Storage>
331 (getT()->appendPath (_p));
334 }
catch (
const std::exception& e) {
335 throw ::hpp::Error (e.what());
339 template <
typename _Base,
typename _Storage>
345 (getT()->concatenate (_p));
348 }
catch (
const std::exception& e) {
349 throw ::hpp::Error (e.what());
353 template <
typename _Base,
typename _Storage>
362 hpp::core::PathVector::create (p->outputSize(), p->outputDerivativeSize());
365 return hpp::corbaServer::makeServant<hpp::core_idl::PathVector_ptr>
368 }
catch (
const std::exception& e) {
369 throw ::hpp::Error (e.what());
383 namespace core_impl {
385 namespace path_impl {
386 template <
typename _Base,
typename _Storage>
393 template <
typename _Base,
typename _Storage>
412 #endif // hpp_core_idl__paths_hxx__