hpp-corbaserver  4.9.0
Corba server for Humanoid Path Planner applications
_constraints-fwd.hh
Go to the documentation of this file.
1 #ifndef hpp_core_idl____constraints_hpp__
2 #define hpp_core_idl____constraints_hpp__
3 
4 //
5 // Implemention of IDL interfaces in file /local/robotpkg/var/tmp/robotpkg/path/py-hpp-corbaserver/work/hpp-corbaserver-4.9.0/idl/hpp/core_idl/_constraints.idl
6 //
7 
10 
11 #include <hpp/core/constraint.hh>
12 #include <hpp/core/constraint-set.hh>
13 #include <hpp/core/config-projector.hh>
15 #include <hpp/constraints/solver/by-substitution.hh>
16 
17 
18 namespace hpp {
19 
20 namespace corbaServer {
21 
22 
23 //
24 // Class implementing IDL interface hpp::core_idl::Constraint
25 //
26 namespace core_impl {
27 template <typename _Base, typename _Storage>
28 class ConstraintServant: public ServantBase<hpp::core::Constraint, _Storage>, public virtual _Base
29 {
30 public:
32 
34 
35 public:
36  // standard constructor
37  ConstraintServant(Server* server, const _Storage& s);
38  virtual ~ConstraintServant();
39 
40  // methods corresponding to defined IDL attributes and operations
41 
42  ::CORBA::Boolean apply (hpp::floatSeq& config);
43 
44 
45  char* name ();
46 
47 
48  char* str ();
49 
50 
51  ::CORBA::Boolean isSatisfied (const hpp::floatSeq& config);
52 
53 
54 };
55 
57 } // namespace core_impl
58 
59 //
60 // Class implementing IDL interface hpp::core_idl::ConfigProjector
61 //
62 namespace core_impl {
63 template <typename _Base, typename _Storage>
64 class ConfigProjectorServant: public hpp::corbaServer::core_impl::ConstraintServant<_Base, _Storage>, public virtual _Base
65 {
66 public:
68 
70 
71 public:
72  // standard constructor
73  ConfigProjectorServant(Server* server, const _Storage& s);
74  virtual ~ConfigProjectorServant();
75 
76  // methods corresponding to defined IDL attributes and operations
77 
78  void setRightHandSideFromConfig (const hpp::floatSeq& config);
79 
80 
82 
83 
84  void setRightHandSide (const hpp::floatSeq& param);
85 
86 
88 
89 
91 
92 
94 
95 
96  ::CORBA::Boolean isConstraintSatisfied (hpp::constraints_idl::Implicit_ptr nm, const hpp::floatSeq& arg, hpp::floatSeq_out err, ::CORBA::Boolean& constraintFound);
97 
98 
100 
101 
102  ::CORBA::Boolean add (hpp::constraints_idl::Implicit_ptr numconstraint, ::CORBA::ULong priority);
103 
104 
105  void setLastIsOptional (::CORBA::Boolean optional);
106 
107 
108  ::CORBA::Boolean getLastIsOptional ();
109 
110 
111 };
112 
114 } // namespace core_impl
115 
116 //
117 // Class implementing IDL interface hpp::core_idl::ConstraintSet
118 //
119 namespace core_impl {
120 template <typename _Base, typename _Storage>
121 class ConstraintSetServant: public hpp::corbaServer::core_impl::ConstraintServant<_Base, _Storage>, public virtual _Base
122 {
123 public:
125 
127 
128 public:
129  // standard constructor
130  ConstraintSetServant(Server* server, const _Storage& s);
131  virtual ~ConstraintSetServant();
132 
133  // methods corresponding to defined IDL attributes and operations
134 
136 
137 
138 };
139 
141 } // namespace core_impl
142 
143 
144 
145 } // namespace hpp
146 
147 } // namespace corbaServer
148 
149 #endif // hpp_core_idl____constraints_hpp__
150 
hpp::corbaServer::core_impl::ConstraintSetServant::ConstraintSetServant
ConstraintSetServant(Server *server, const _Storage &s)
Definition: _constraints.hh:282
hpp::corbaServer::core_impl::ConfigProjectorServant::getLastIsOptional
::CORBA::Boolean getLastIsOptional()
Definition: _constraints.hh:261
hpp::floatSeq
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:32
servant-base.hh
hpp::corbaServer::core_impl::Constraint
ConstraintServant< POA_hpp::core_idl::Constraint, boost::weak_ptr< hpp::core::Constraint > > Constraint
Definition: _constraints-fwd.hh:56
hpp::corbaServer::core_impl::ConstraintServant::ConstraintServant
ConstraintServant(Server *server, const _Storage &s)
Definition: _constraints.hh:25
hpp::corbaServer::core_impl::ConstraintServant::SERVANT_BASE_TYPEDEFS
SERVANT_BASE_TYPEDEFS(hpp::core_idl::Constraint, HppBase)
hpp::corbaServer::core_impl::ConfigProjectorServant::setLastIsOptional
void setLastIsOptional(::CORBA::Boolean optional)
Definition: _constraints.hh:247
hpp::corbaServer::Server
Implementation of Hpp module Corba server.
Definition: server.hh:54
hpp::corbaServer::core_impl::ConfigProjectorServant::setRightHandSideFromConfig
void setRightHandSideFromConfig(const hpp::floatSeq &config)
Definition: _constraints.hh:115
hpp::corbaServer::core_impl::ConstraintServant::name
char * name()
Definition: _constraints.hh:53
hpp::value_type
double value_type
Definition: common.idl:18
hpp::corbaServer::ServantBase< hpp::core::Constraint, _Storage >::s
Storage s
Definition: servant-base.hh:171
hpp::corbaServer::core_impl::ConstraintServant::HppBase
hpp::core::Constraint HppBase
Definition: _constraints-fwd.hh:31
hpp::corbaServer::core_impl::ConfigProjectorServant::HppBase
hpp::corbaServer::core_impl::ConstraintServant< _Base, _Storage >::HppBase HppBase
Definition: _constraints-fwd.hh:67
hpp::corbaServer::core_impl::ConstraintServant::apply
::CORBA::Boolean apply(hpp::floatSeq &config)
Definition: _constraints.hh:39
hpp::corbaServer::core_impl::ConstraintSet
ConstraintSetServant< POA_hpp::core_idl::ConstraintSet, boost::weak_ptr< hpp::core::ConstraintSet > > ConstraintSet
Definition: _constraints-fwd.hh:140
hpp::corbaServer::core_impl::ConstraintServant::~ConstraintServant
virtual ~ConstraintServant()
Definition: _constraints.hh:31
hpp::core_idl::ConstraintSet
Definition: _constraints.idl:71
hpp::corbaServer::core_impl::ConfigProjector
ConfigProjectorServant< POA_hpp::core_idl::ConfigProjector, boost::weak_ptr< hpp::core::ConfigProjector > > ConfigProjector
Definition: _constraints-fwd.hh:113
hpp::core_idl::Constraint
Definition: _constraints.idl:26
hpp
Implement CORBA interface `‘Obstacle’'.
Definition: basic-server.hh:27
hpp::corbaServer::core_impl::ConfigProjectorServant::getRightHandSide
hpp::floatSeq * getRightHandSide()
Definition: _constraints.hh:173
hpp::corbaServer::core_impl::ConfigProjectorServant::setRightHandSideOfConstraint
void setRightHandSideOfConstraint(hpp::constraints_idl::Implicit_ptr nm, const hpp::floatSeq &rhs)
Definition: _constraints.hh:158
hpp::corbaServer::core_impl::ConstraintServant::str
char * str()
Definition: _constraints.hh:67
hpp::corbaServer::core_impl::ConfigProjectorServant::isConstraintSatisfied
::CORBA::Boolean isConstraintSatisfied(hpp::constraints_idl::Implicit_ptr nm, const hpp::floatSeq &arg, hpp::floatSeq_out err, ::CORBA::Boolean &constraintFound)
Definition: _constraints.hh:201
hpp::corbaServer::core_impl::ConstraintServant::isSatisfied
::CORBA::Boolean isSatisfied(const hpp::floatSeq &config)
Definition: _constraints.hh:80
hpp::corbaServer::core_impl::ConstraintSetServant
Definition: _constraints-fwd.hh:121
hpp::corbaServer::core_impl::ConfigProjectorServant::setRightHandSide
void setRightHandSide(const hpp::floatSeq &param)
Definition: _constraints.hh:144
hpp::corbaServer::core_impl::ConfigProjectorServant
Definition: _constraints-fwd.hh:64
hpp::core_idl::ConfigProjector
Definition: _constraints.idl:35
hpp::corbaServer::core_impl::ConfigProjectorServant::numericalConstraints
hpp::constraints_idl::Implicits * numericalConstraints()
Definition: _constraints.hh:219
Constraint_ptr
_objref_Constraint * Constraint_ptr
Definition: _constraints-idl.hh:219
hpp::corbaServer::core_impl::ConstraintSetServant::SERVANT_BASE_TYPEDEFS
SERVANT_BASE_TYPEDEFS(hpp::core_idl::ConstraintSet, HppBase)
hpp::corbaServer::core_impl::ConstraintSetServant::getConfigProjector
hpp::core_idl::Constraint_ptr getConfigProjector()
Definition: _constraints.hh:296
hpp::corbaServer::core_impl::ConstraintServant
Definition: _constraints-fwd.hh:28
Implicit_ptr
_objref_Implicit * Implicit_ptr
Definition: constraints-idl.hh:200
hpp::corbaServer::core_impl::ConfigProjectorServant::~ConfigProjectorServant
virtual ~ConfigProjectorServant()
Definition: _constraints.hh:107
hpp::corbaServer::core_impl::ConfigProjectorServant::SERVANT_BASE_TYPEDEFS
SERVANT_BASE_TYPEDEFS(hpp::core_idl::ConfigProjector, HppBase)
hpp::corbaServer::core_impl::ConfigProjectorServant::setRightHandSideAt
void setRightHandSideAt(hpp::value_type s)
Definition: _constraints.hh:187
hpp::corbaServer::core_impl::ConfigProjectorServant::add
::CORBA::Boolean add(hpp::constraints_idl::Implicit_ptr numconstraint, ::CORBA::ULong priority)
Definition: _constraints.hh:233
hpp::constraints_idl::Implicits
sequence< Implicit > Implicits
Definition: _constraints.idl:20
hpp::corbaServer::core_impl::ConfigProjectorServant::ConfigProjectorServant
ConfigProjectorServant(Server *server, const _Storage &s)
Definition: _constraints.hh:101
hpp::corbaServer::core_impl::ConfigProjectorServant::setRightHandSideOfConstraintFromConfig
void setRightHandSideOfConstraintFromConfig(hpp::constraints_idl::Implicit_ptr nm, const hpp::floatSeq &config)
Definition: _constraints.hh:129
hpp::corbaServer::core_impl::ConstraintSetServant::~ConstraintSetServant
virtual ~ConstraintSetServant()
Definition: _constraints.hh:288
constraints.hh
hpp::corbaServer::core_impl::ConstraintSetServant::HppBase
hpp::corbaServer::core_impl::ConstraintServant< _Base, _Storage >::HppBase HppBase
Definition: _constraints-fwd.hh:124
hpp::corbaServer::ServantBase
Definition: servant-base.hh:100
_constraints-idl.hh