hpp-corbaserver  6.0.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 /root/robotpkg/path/py-hpp-corbaserver/work/hpp-corbaserver-6.0.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 
19 
20 
21 //
22 // Class implementing IDL interface hpp::core_idl::Constraint
23 //
24 namespace hpp {
25 
26 namespace core_impl {
27 template <typename _Base, typename _Storage>
29 public hpp::corbaServer::ServantBase<hpp::core::Constraint, _Storage>, public virtual _Base
30 {
31 public:
33 
35 
36 public:
37  // standard constructor
38  ConstraintServant(::hpp::corbaServer::Server* server, const _Storage& s);
39  virtual ~ConstraintServant();
40 
41  // methods corresponding to defined IDL attributes and operations
42 
43  void deleteThis ();
44 
45 
46  ::CORBA::Boolean deleteIfExpired ();
47 
48 
49  void persistantStorage (::CORBA::Boolean persistant);
50 
51 
52  ::CORBA::Boolean apply (hpp::floatSeq& config);
53 
54 
55  char* name ();
56 
57 
58  char* str ();
59 
60 
61  ::CORBA::Boolean isSatisfied (const hpp::floatSeq& config);
62 
63 
65 
66 
67 };
68 
70 } // namespace core_impl
71 
72 } // namespace hpp
73 
74 namespace hpp {
75 namespace corbaServer {
76 template<> struct hpp_traits<hpp::core::Constraint>{ typedef hpp::core::Constraint Base; };
77 } // namespace corbaServer
78 } // namespace corbaServer
79 
80 //
81 // Class implementing IDL interface hpp::core_idl::ConfigProjector
82 //
83 namespace hpp {
84 
85 namespace core_impl {
86 template <typename _Base, typename _Storage>
88 {
89 public:
91 
93 
94 public:
95  // standard constructor
96  ConfigProjectorServant(::hpp::corbaServer::Server* server, const _Storage& s);
97  virtual ~ConfigProjectorServant();
98 
99  // methods corresponding to defined IDL attributes and operations
100 
101  void setRightHandSideFromConfig (const hpp::floatSeq& config);
102 
103 
105 
106 
107  void setRightHandSide (const hpp::floatSeq& param);
108 
109 
111 
112 
114 
115 
117 
118 
119  ::CORBA::Boolean isConstraintSatisfied (hpp::constraints_idl::Implicit_ptr nm, const hpp::floatSeq& arg, hpp::floatSeq_out err, ::CORBA::Boolean& constraintFound);
120 
121 
123 
124 
125  ::CORBA::Boolean add (hpp::constraints_idl::Implicit_ptr numconstraint, ::CORBA::ULong priority);
126 
127 
128  void setLastIsOptional (::CORBA::Boolean optional);
129 
130 
131  ::CORBA::Boolean getLastIsOptional ();
132 
133 
134  void setErrorThreshold (hpp::value_type threshold);
135 
136 
138 
139 
140 };
141 
143 } // namespace core_impl
144 
145 } // namespace hpp
146 
147 namespace hpp {
148 namespace corbaServer {
150 } // namespace corbaServer
151 } // namespace corbaServer
152 
153 //
154 // Class implementing IDL interface hpp::core_idl::ConstraintSet
155 //
156 namespace hpp {
157 
158 namespace core_impl {
159 template <typename _Base, typename _Storage>
161 {
162 public:
164 
166 
167 public:
168  // standard constructor
169  ConstraintSetServant(::hpp::corbaServer::Server* server, const _Storage& s);
170  virtual ~ConstraintSetServant();
171 
172  // methods corresponding to defined IDL attributes and operations
173 
175 
176 
177  void addConstraint (hpp::core_idl::Constraint_ptr a_constraint);
178 
179 
180 };
181 
183 } // namespace core_impl
184 
185 } // namespace hpp
186 
187 namespace hpp {
188 namespace corbaServer {
190 } // namespace corbaServer
191 } // namespace corbaServer
192 
193 
194 
195 
196 
197 #endif // hpp_core_idl____constraints_hpp__
198 
_objref_Constraint * Constraint_ptr
Definition: _constraints-idl.hh:219
Definition: servant-base.hh:122
bool persistantStorage() const
See persistantStorage(bool)
Definition: servant-base.hh:166
Implementation of Hpp module Corba server.
Definition: server.hh:78
Definition: _constraints-fwd.hh:88
virtual ~ConfigProjectorServant()
Definition: _constraints.hh:160
void setRightHandSideOfConstraintFromConfig(hpp::constraints_idl::Implicit_ptr nm, const hpp::floatSeq &config)
Definition: _constraints.hh:182
hpp::core_impl::ConstraintServant< _Base, _Storage >::HppBase HppBase
Definition: _constraints-fwd.hh:90
hpp::value_type getErrorThreshold()
Definition: _constraints.hh:342
hpp::constraints_idl::Implicits * numericalConstraints()
Definition: _constraints.hh:272
::CORBA::Boolean add(hpp::constraints_idl::Implicit_ptr numconstraint, ::CORBA::ULong priority)
Definition: _constraints.hh:286
::CORBA::Boolean isConstraintSatisfied(hpp::constraints_idl::Implicit_ptr nm, const hpp::floatSeq &arg, hpp::floatSeq_out err, ::CORBA::Boolean &constraintFound)
Definition: _constraints.hh:254
void setRightHandSideFromConfig(const hpp::floatSeq &config)
Definition: _constraints.hh:168
void setRightHandSideAt(hpp::value_type s)
Definition: _constraints.hh:240
SERVANT_BASE_TYPEDEFS(hpp::core_idl::ConfigProjector, HppBase)
ConfigProjectorServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: _constraints.hh:153
hpp::floatSeq * getRightHandSide()
Definition: _constraints.hh:226
void setRightHandSide(const hpp::floatSeq &param)
Definition: _constraints.hh:197
void setLastIsOptional(::CORBA::Boolean optional)
Definition: _constraints.hh:300
void setRightHandSideOfConstraint(hpp::constraints_idl::Implicit_ptr nm, const hpp::floatSeq &rhs)
Definition: _constraints.hh:211
void setErrorThreshold(hpp::value_type threshold)
Definition: _constraints.hh:328
::CORBA::Boolean getLastIsOptional()
Definition: _constraints.hh:314
Definition: _constraints-fwd.hh:30
char * name()
Definition: _constraints.hh:87
::CORBA::Boolean deleteIfExpired()
Definition: _constraints.hh:51
void deleteThis()
Definition: _constraints.hh:40
virtual ~ConstraintServant()
Definition: _constraints.hh:32
hpp::core::Constraint HppBase
Definition: _constraints-fwd.hh:32
::CORBA::Boolean apply(hpp::floatSeq &config)
Definition: _constraints.hh:73
hpp::core_idl::Constraint_ptr copy()
Definition: _constraints.hh:128
SERVANT_BASE_TYPEDEFS(hpp::core_idl::Constraint, HppBase)
char * str()
Definition: _constraints.hh:101
::CORBA::Boolean isSatisfied(const hpp::floatSeq &config)
Definition: _constraints.hh:114
ConstraintServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: _constraints.hh:25
Definition: _constraints-fwd.hh:161
hpp::core_impl::ConstraintServant< _Base, _Storage >::HppBase HppBase
Definition: _constraints-fwd.hh:163
void addConstraint(hpp::core_idl::Constraint_ptr a_constraint)
Definition: _constraints.hh:396
virtual ~ConstraintSetServant()
Definition: _constraints.hh:374
SERVANT_BASE_TYPEDEFS(hpp::core_idl::ConstraintSet, HppBase)
ConstraintSetServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: _constraints.hh:367
hpp::core_idl::Constraint_ptr getConfigProjector()
Definition: _constraints.hh:382
_objref_Implicit * Implicit_ptr
Definition: constraints-idl.hh:200
Definition: _constraints.idl:40
Definition: _constraints.idl:81
Definition: _constraints.idl:27
sequence< Implicit > Implicits
Definition: _constraints.idl:20
ConstraintSetServant< POA_hpp::core_idl::ConstraintSet, hpp::weak_ptr< hpp::core::ConstraintSet > > ConstraintSet
Definition: _constraints-fwd.hh:182
ConfigProjectorServant< POA_hpp::core_idl::ConfigProjector, hpp::weak_ptr< hpp::core::ConfigProjector > > ConfigProjector
Definition: _constraints-fwd.hh:142
ConstraintServant< POA_hpp::core_idl::Constraint, hpp::weak_ptr< hpp::core::Constraint > > Constraint
Definition: _constraints-fwd.hh:69
Implement CORBA interface `‘Obstacle’'.
Definition: client.hh:46
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:34
double value_type
Definition: common.idl:18
hpp::core::Constraint Base
Definition: _constraints-fwd.hh:149
hpp::core::Constraint Base
Definition: _constraints-fwd.hh:189
hpp::core::Constraint Base
Definition: _constraints-fwd.hh:76
Definition: servant-base.hh:89