1 #ifndef hpp_core_idl__paths_hxx__
2 #define hpp_core_idl__paths_hxx__
18 namespace corbaServer {
24 template <
typename _Base,
typename _Storage>
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>
124 std::ostringstream oss; oss << *get();
125 std::string res = oss.str();
126 return CORBA::string_dup(res.c_str());
127 }
catch (
const std::exception& e) {
128 throw ::hpp::Error (e.what());
132 template <
typename _Base,
typename _Storage>
141 }
catch (
const std::exception& e) {
142 throw ::hpp::Error (e.what());
146 template <
typename _Base,
typename _Storage>
152 success = get()->at (t, res);
155 }
catch (
const std::exception& e) {
156 throw ::hpp::Error (e.what());
160 template <
typename _Base,
typename _Storage>
165 vector_t res (get()->outputDerivativeSize());
166 get()->derivative (res, t, order);
169 }
catch (
const std::exception& e) {
170 throw ::hpp::Error (e.what());
174 template <
typename _Base,
typename _Storage>
182 return makeServantDownCast<hpp::corbaServer::core_impl::Path,hpp::corbaServer::core_impl::Path>(server_, __return__)._retn();
183 }
catch (
const std::exception& e) {
184 throw ::hpp::Error (e.what());
188 template <
typename _Base,
typename _Storage>
195 core::PathVector::create (p->outputSize(), p->outputDerivativeSize());
198 return makeServant<hpp::core_idl::PathVector_ptr>
201 }
catch (
const std::exception& e) {
202 throw ::hpp::Error (e.what());
206 template <
typename _Base,
typename _Storage>
214 return makeServantDownCast<hpp::corbaServer::core_impl::Path,hpp::corbaServer::core_impl::Path>(server_, __return__)._retn();
215 }
catch (
const std::exception& e) {
216 throw ::hpp::Error (e.what());
226 namespace core_impl {
227 template <
typename _Base,
typename _Storage>
229 :
hpp::corbaServer::core_impl::
PathServant<_Base, _Storage> (server, s)
233 template <
typename _Base,
typename _Storage>
241 template <
typename _Base,
typename _Storage>
250 }
catch (
const std::exception& e) {
251 throw ::hpp::Error (e.what());
255 template <
typename _Base,
typename _Storage>
263 return makeServantDownCast<hpp::corbaServer::core_impl::Path,hpp::corbaServer::core_impl::Path>(server_, __return__)._retn();
264 }
catch (
const std::exception& e) {
265 throw ::hpp::Error (e.what());
269 template <
typename _Base,
typename _Storage>
275 (getT()->appendPath (_p));
278 }
catch (
const std::exception& e) {
279 throw ::hpp::Error (e.what());
283 template <
typename _Base,
typename _Storage>
289 (getT()->concatenate (_p));
292 }
catch (
const std::exception& e) {
293 throw ::hpp::Error (e.what());
306 #endif // hpp_core_idl__paths_hxx__