GCC Code Coverage Report


Directory: ./
File: src/hpp/core_idl/path_projectors.hh
Date: 2024-12-13 15:50:05
Exec Total Coverage
Lines: 0 22 0.0%
Branches: 0 36 0.0%

Line Branch Exec Source
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 /root/robotpkg/path/py-hpp-corbaserver/work/hpp-corbaserver-6.0.0/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 /root/robotpkg/path/py-hpp-corbaserver/work/hpp-corbaserver-6.0.0/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
101