hpp-corbaserver 4.14.0
Corba server for Humanoid Path Planner applications
Loading...
Searching...
No Matches
path_projectors.hh
Go to the documentation of this file.
1#ifndef hpp_core_idl__path__projectors_hxx__
2#define hpp_core_idl__path__projectors_hxx__
3
4//
5// Implemention of IDL interfaces in file /local/robotpkg/var/tmp/robotpkg/path/py-hpp-corbaserver/work/hpp-corbaserver-4.14.0/idl/hpp/core_idl/path_projectors.idl
6//
7
9
10#include <sstream>
11
15
16
17
18//
19// Implementational code for IDL interface hpp::core_idl::PathProjector
20//
21namespace hpp {
22
23namespace core_impl {
24template <typename _Base, typename _Storage>
26 const _Storage& s)
27 : hpp::corbaServer::ServantBase<hpp::core::PathProjector, _Storage> (server, s)
28{
29 // add extra constructor code here
30}
31template <typename _Base, typename _Storage>
33{
34 // add extra destructor code here
35}
36
37// Methods corresponding to IDL attributes and operations
38
39template <typename _Base, typename _Storage>
41{
42 try {
43 // automatically generated code.
44 _ServantBase::deleteThis();
45 } catch (const std::exception& e) {
46 throw ::hpp::Error (e.what());
47 }
48}
49
50template <typename _Base, typename _Storage>
51hpp::core_idl::Path_ptr PathProjectorServant<_Base, _Storage>::apply (hpp::core_idl::Path_ptr input, ::CORBA::Boolean& success)
52{
53 try {
54 // generated from /local/robotpkg/var/tmp/robotpkg/path/py-hpp-corbaserver/work/hpp-corbaserver-4.14.0/idl/hpp/core_idl/path_projectors.idl:21
55 hpp::core::PathPtr_t _input =
56 ::hpp::corbaServer::reference_to_object<hpp::core::Path>
57 (server_, input);
58 hpp::core::PathPtr_t __return__;
59 success = getT()->apply (_input, __return__);
60 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,
61 hpp::core_impl::Path>(server_, __return__)._retn();
62
63 } catch (const std::exception& e) {
64 throw ::hpp::Error (e.what());
65 }
66}
67
68// End of implementational code
69} // namespace core_impl
70
71} // namespace hpp
72
73
74
75
76
77#endif // hpp_core_idl__path__projectors_hxx__
78
Implementation of Hpp module Corba server.
Definition: server.hh:77
Definition: path_projectors-fwd.hh:28
hpp::core_idl::Path_ptr apply(hpp::core_idl::Path_ptr input, ::CORBA::Boolean &success)
Definition: path_projectors.hh:51
PathProjectorServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: path_projectors.hh:25
virtual ~PathProjectorServant()
Definition: path_projectors.hh:32
void deleteThis()
Definition: path_projectors.hh:40
Definition: paths-fwd.hh:28
PathServant< POA_hpp::core_idl::Path, hpp::weak_ptr< hpp::core::Path > > Path
Definition: paths-fwd.hh:85
Implement CORBA interface `‘Obstacle’'.
Definition: basic-server.hh:35