1 #ifndef hpp_core_idl__paths_hxx__
2 #define hpp_core_idl__paths_hxx__
24 template <
typename _Base,
typename _Storage>
26 :
hpp::corbaServer::ServantBase<
hpp::core::
Path, _Storage> (server, s)
30 template <
typename _Base,
typename _Storage>
38 template <
typename _Base,
typename _Storage>
43 _ServantBase::deleteThis();
44 }
catch (
const std::exception& e) {
45 throw ::hpp::Error (e.what());
49 template <
typename _Base,
typename _Storage>
58 }
catch (
const std::exception& e) {
59 throw ::hpp::Error (e.what());
63 template <
typename _Base,
typename _Storage>
72 }
catch (
const std::exception& e) {
73 throw ::hpp::Error (e.what());
77 template <
typename _Base,
typename _Storage>
86 }
catch (
const std::exception& e) {
87 throw ::hpp::Error (e.what());
91 template <
typename _Base,
typename _Storage>
100 }
catch (
const std::exception& e) {
101 throw ::hpp::Error (e.what());
105 template <
typename _Base,
typename _Storage>
114 }
catch (
const std::exception& e) {
115 throw ::hpp::Error (e.what());
119 template <
typename _Base,
typename _Storage>
125 hpp::core::ConstraintSetPtr_t __return__ (getT()->constraints ());
127 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Constraint,hpp::core_impl::ConstraintSet>(server_, __return__)._retn();
128 }
catch (
const std::exception& e) {
129 throw ::hpp::Error (e.what());
133 template <
typename _Base,
typename _Storage>
138 std::ostringstream oss; oss << *get();
139 std::string res = oss.str();
140 return CORBA::string_dup(res.c_str());
141 }
catch (
const std::exception& e) {
142 throw ::hpp::Error (e.what());
146 template <
typename _Base,
typename _Storage>
155 }
catch (
const std::exception& e) {
156 throw ::hpp::Error (e.what());
160 template <
typename _Base,
typename _Storage>
166 success = get()->at (t, res);
169 }
catch (
const std::exception& e) {
170 throw ::hpp::Error (e.what());
174 template <
typename _Base,
typename _Storage>
180 get()->derivative (res, t, order);
183 }
catch (
const std::exception& e) {
184 throw ::hpp::Error (e.what());
188 template <
typename _Base,
typename _Storage>
196 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(server_, __return__)._retn();
197 }
catch (
const std::exception& e) {
198 throw ::hpp::Error (e.what());
202 template <
typename _Base,
typename _Storage>
209 hpp::core::PathVector::create (p->outputSize(), p->outputDerivativeSize());
212 return hpp::corbaServer::makeServant<hpp::core_idl::PathVector_ptr>
215 }
catch (
const std::exception& e) {
216 throw ::hpp::Error (e.what());
220 template <
typename _Base,
typename _Storage>
228 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(server_, __return__)._retn();
229 }
catch (
const std::exception& e) {
230 throw ::hpp::Error (e.what());
244 namespace core_impl {
245 template <
typename _Base,
typename _Storage>
251 template <
typename _Base,
typename _Storage>
259 template <
typename _Base,
typename _Storage>
268 }
catch (
const std::exception& e) {
269 throw ::hpp::Error (e.what());
273 template <
typename _Base,
typename _Storage>
282 }
catch (
const std::exception& e) {
283 throw ::hpp::Error (e.what());
287 template <
typename _Base,
typename _Storage>
295 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(server_, __return__)._retn();
296 }
catch (
const std::exception& e) {
297 throw ::hpp::Error (e.what());
301 template <
typename _Base,
typename _Storage>
307 (getT()->appendPath (_p));
310 }
catch (
const std::exception& e) {
311 throw ::hpp::Error (e.what());
315 template <
typename _Base,
typename _Storage>
321 (getT()->concatenate (_p));
324 }
catch (
const std::exception& e) {
325 throw ::hpp::Error (e.what());
338 #endif // hpp_core_idl__paths_hxx__