Line |
Branch |
Exec |
Source |
1 |
|
|
#ifndef hpp_manipulation_idl____problem_hxx__ |
2 |
|
|
#define hpp_manipulation_idl____problem_hxx__ |
3 |
|
|
|
4 |
|
|
// |
5 |
|
|
// Implemention of IDL interfaces in file /root/robotpkg/path/py-hpp-manipulation-corba/work/hpp-manipulation-corba-6.0.0/idl/hpp/manipulation_idl/_problem.idl |
6 |
|
|
// |
7 |
|
|
|
8 |
|
|
#include <hpp/manipulation_idl/_problem-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::manipulation_idl::Problem |
20 |
|
|
// |
21 |
|
|
namespace hpp { |
22 |
|
|
|
23 |
|
|
namespace manipulation_impl { |
24 |
|
|
template <typename _Base, typename _Storage> |
25 |
|
✗ |
ProblemServant<_Base, _Storage>::ProblemServant(::hpp::corbaServer::Server* server, |
26 |
|
|
const _Storage& s) |
27 |
|
✗ |
: hpp::core_impl::ProblemServant<_Base, _Storage> (server, s) |
28 |
|
|
{ |
29 |
|
|
// add extra constructor code here |
30 |
|
|
} |
31 |
|
|
template <typename _Base, typename _Storage> |
32 |
|
✗ |
ProblemServant<_Base, _Storage>::~ProblemServant() |
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 |
|
✗ |
hpp::manipulation_idl::graph_idl::Graph_ptr ProblemServant<_Base, _Storage>::getConstraintGraph () |
41 |
|
|
{ |
42 |
|
|
try { |
43 |
|
|
// automatically generated code. |
44 |
|
|
|
45 |
|
✗ |
hpp::manipulation::graph::GraphPtr_t __return__ (getT()->constraintGraph ()); |
46 |
|
|
|
47 |
|
✗ |
return ::hpp::corbaServer::makeServantDownCast<hpp::manipulation_impl::graph_impl::GraphComponent,hpp::manipulation_impl::graph_impl::Graph>(server_, __return__)._retn(); |
48 |
|
✗ |
} catch (const std::exception& e) { |
49 |
|
✗ |
throw ::hpp::Error (e.what()); |
50 |
|
|
} |
51 |
|
|
} |
52 |
|
|
|
53 |
|
|
// End of implementational code |
54 |
|
|
} // namespace manipulation_impl |
55 |
|
|
|
56 |
|
|
} // namespace hpp |
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
#endif // hpp_manipulation_idl____problem_hxx__ |
63 |
|
|
|
64 |
|
|
|