hpp-corbaserver: src/hpp/core_idl/path_projectors.hh Source File

hpp-corbaserver 9.0.2 Corba server for Humanoid Path Planner applications

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-9.0.2/idl/hpp/core_idl/path_projectors.idl
6 //
7
8 #include <hpp/core_idl/path_projectors-fwd.hh>
9
10 #include <sstream>
11
12 #include <hpp/corbaserver/fwd.hh>
13 #include <hpp/corbaserver/conversions.hh>
14 #include "hpp/corbaserver/servant-base.hh"
15
16
17
18 //
19 // Implementational code for IDL interface hpp::core_idl::PathProjector
20 //
21 namespace hpp {
22
23 namespace core_impl {
24 template <typename _Base, typename _Storage>
25 PathProjectorServant<_Base, _Storage>::PathProjectorServant(::hpp::corbaServer::Server* server,
26 const _Storage& s)
27 : hpp::corbaServer::ServantBase<hpp::core::PathProjector, _Storage> (server, s)
28 {
29 // add extra constructor code here
30 }
31 template <typename _Base, typename _Storage>
32 PathProjectorServant<_Base, _Storage>::~PathProjectorServant()
33 {
34 // add extra destructor code here
35 }
36
37 // Methods corresponding to IDL attributes and operations
38
39 template <typename _Base, typename _Storage>
40 void PathProjectorServant<_Base, _Storage>::deleteThis ()
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
50 template <typename _Base, typename _Storage>
51 ::CORBA::Boolean PathProjectorServant<_Base, _Storage>::deleteIfExpired ()
52 {
53 try {
54 // automatically generated code.
55 return _ServantBase::deleteIfExpired();
56 } catch (const std::exception& e) {
57 throw ::hpp::Error (e.what());
58 }
59 }
60
61 template <typename _Base, typename _Storage>
62 void PathProjectorServant<_Base, _Storage>::persistantStorage (::CORBA::Boolean persistant)
63 {
64 try {
65 // automatically generated code.
66 _ServantBase::persistantStorage(persistant);
67 } catch (const std::exception& e) {
68 throw ::hpp::Error (e.what());
69 }
70 }
71
72 template <typename _Base, typename _Storage>
73 hpp::core_idl::Path_ptr PathProjectorServant<_Base, _Storage>::apply (hpp::core_idl::Path_ptr input, ::CORBA::Boolean& success)
74 {
75 try {
76 // generated from /local/robotpkg/var/tmp/robotpkg/path/py-hpp-corbaserver/work/hpp-corbaserver-9.0.2/idl/hpp/core_idl/path_projectors.idl:21
77 hpp::core::PathPtr_t _input =
78 ::hpp::corbaServer::reference_to_object<hpp::core::Path>
79 (server_, input);
80 hpp::core::PathPtr_t __return__;
81 success = getT()->apply (_input, __return__);
82 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,
83 hpp::core_impl::Path>(server_, __return__)._retn();
84
85 } catch (const std::exception& e) {
86 throw ::hpp::Error (e.what());
87 }
88 }
89
90 // End of implementational code
91 } // namespace core_impl
92
93 } // namespace hpp
94
95
96
97
98
99 #endif // hpp_core_idl__path__projectors_hxx__
100
hpp::corbaServer::ServantBase< hpp::core::PathProjector, _Storage >::persistantStorage
bool persistantStorage() const
See persistantStorage(bool)
Definition: servant-base.hh:166
hpp::corbaServer::Server
Implementation of Hpp module Corba server.
Definition: server.hh:78
hpp::core_impl::PathProjectorServant
Definition: path_projectors-fwd.hh:28
hpp::core_impl::PathProjectorServant::deleteIfExpired
::CORBA::Boolean deleteIfExpired()
Definition: path_projectors.hh:51
hpp::core_impl::PathProjectorServant::apply
hpp::core_idl::Path_ptr apply(hpp::core_idl::Path_ptr input, ::CORBA::Boolean &success)
Definition: path_projectors.hh:73
hpp::core_impl::PathProjectorServant::PathProjectorServant
PathProjectorServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: path_projectors.hh:25
hpp::core_impl::PathProjectorServant::~PathProjectorServant
virtual ~PathProjectorServant()
Definition: path_projectors.hh:32
hpp::core_impl::PathProjectorServant::deleteThis
void deleteThis()
Definition: path_projectors.hh:40
hpp::core_impl::PathServant
Definition: paths-fwd.hh:29
conversions.hh
fwd.hh
hpp::corbaServer::makeServantDownCast
ReturnType::Object_var makeServantDownCast(Server *server, const typename ServantBaseType::Storage &t)
Definition: servant-base.hh:407
hpp::core_impl::Path
PathServant< POA_hpp::core_idl::Path, hpp::weak_ptr< hpp::core::Path > > Path
Definition: paths-fwd.hh:92
hpp::core::PathPtr_t
shared_ptr< Path > PathPtr_t
hpp
Implement CORBA interface `‘Obstacle’'.
Path_ptr
_objref_Path * Path_ptr
Definition: path_planners-idl.hh:83
path_projectors-fwd.hh
servant-base.hh