1 #ifndef hpp_constraints_idl__constraints_hxx__ 2 #define hpp_constraints_idl__constraints_hxx__ 23 namespace constraints_impl {
24 template <
typename _Base,
typename _Storage>
31 template <
typename _Base,
typename _Storage>
39 template <
typename _Base,
typename _Storage>
48 }
catch (
const std::exception& e) {
49 throw ::hpp::Error (e.what());
53 template <
typename _Base,
typename _Storage>
62 }
catch (
const std::exception& e) {
63 throw ::hpp::Error (e.what());
67 template <
typename _Base,
typename _Storage>
76 }
catch (
const std::exception& e) {
77 throw ::hpp::Error (e.what());
81 template <
typename _Base,
typename _Storage>
90 }
catch (
const std::exception& e) {
91 throw ::hpp::Error (e.what());
95 template <
typename _Base,
typename _Storage>
104 }
catch (
const std::exception& e) {
105 throw ::hpp::Error (e.what());
109 template <
typename _Base,
typename _Storage>
118 }
catch (
const std::exception& e) {
119 throw ::hpp::Error (e.what());
123 template <
typename _Base,
typename _Storage>
132 }
catch (
const std::exception& e) {
133 throw ::hpp::Error (e.what());
137 template <
typename _Base,
typename _Storage>
142 std::ostringstream oss; oss << *
get();
143 std::string res = oss.str();
144 return CORBA::string_dup(res.c_str());
145 }
catch (
const std::exception& e) {
146 throw ::hpp::Error (e.what());
160 namespace constraints_impl {
161 template <
typename _Base,
typename _Storage>
164 :
hpp::corbaServer::ServantBase<
hpp::constraints::
Implicit, _Storage> (server, s)
168 template <
typename _Base,
typename _Storage>
176 template <
typename _Base,
typename _Storage>
182 hpp::constraints::DifferentiableFunctionPtr_t __return__ (getT()->functionPtr ());
184 return ::hpp::corbaServer::makeServantDownCast<hpp::constraints_impl::DifferentiableFunction,hpp::constraints_impl::DifferentiableFunction>(server_, __return__)._retn();
185 }
catch (
const std::exception& e) {
186 throw ::hpp::Error (e.what());
190 template <
typename _Base,
typename _Storage>
199 }
catch (
const std::exception& e) {
200 throw ::hpp::Error (e.what());
204 template <
typename _Base,
typename _Storage>
213 }
catch (
const std::exception& e) {
214 throw ::hpp::Error (e.what());
218 template <
typename _Base,
typename _Storage>
227 }
catch (
const std::exception& e) {
228 throw ::hpp::Error (e.what());
232 template <
typename _Base,
typename _Storage>
241 }
catch (
const std::exception& e) {
242 throw ::hpp::Error (e.what());
246 template <
typename _Base,
typename _Storage>
252 (getT()->comparisonType (_compType));
255 }
catch (
const std::exception& e) {
256 throw ::hpp::Error (e.what());
270 namespace constraints_impl {
271 template <
typename _Base,
typename _Storage>
278 template <
typename _Base,
typename _Storage>
286 template <
typename _Base,
typename _Storage>
295 }
catch (
const std::exception& e) {
296 throw ::hpp::Error (e.what());
310 namespace constraints_impl {
311 template <
typename _Base,
typename _Storage>
318 template <
typename _Base,
typename _Storage>
326 template <
typename _Base,
typename _Storage>
335 }
catch (
const std::exception& e) {
336 throw ::hpp::Error (e.what());
340 template <
typename _Base,
typename _Storage>
346 (getT()->weights (_weights));
349 }
catch (
const std::exception& e) {
350 throw ::hpp::Error (e.what());
354 template <
typename _Base,
typename _Storage>
361 }
catch (
const std::exception& e) {
362 throw ::hpp::Error (e.what());
375 #endif // hpp_constraints_idl__constraints_hxx__
hpp::size_type inputSize()
Definition: constraints.hh:68
ImplicitServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: constraints.hh:162
Implement CORBA interface `‘Obstacle’'.
Definition: client.hh:46
constraints::ComparisonTypes_t convertComparison(hpp::ComparisonTypes_t comp)
Convert CORBA comparison types to C++ comparison type.
hpp::size_type outputDerivativeSize()
Definition: constraints.hh:110
double value_type
Definition: common.idl:18
LockedJointServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: constraints.hh:272
sequence< floatSeq > floatSeqSeq
Definition: common.idl:35
hpp::floatSeq * getGoal()
Definition: constraints.hh:355
virtual ~ImplicitServant()
Definition: constraints.hh:169
hpp::size_type inputDerivativeSize()
Definition: constraints.hh:82
char * str()
Definition: constraints.hh:138
vector_t floatSeqToVector(const floatSeq &dofArray, const size_type expectedSize=-1)
char * c_str(const std::string &in)
Definition: conversions.hh:87
hpp::floatSeq * rightHandSideAt(hpp::value_type s)
Definition: constraints.hh:219
hpp::floatSeqSeq * jacobian(const hpp::floatSeq &arg)
Definition: constraints.hh:54
pinocchio::vector_t vector_t
Definition: fwd.hh:108
char * name()
Definition: constraints.hh:124
void setComparisonType(const hpp::ComparisonTypes_t &compType)
Definition: constraints.hh:247
_objref_DifferentiableFunction * DifferentiableFunction_ptr
Definition: constraints-idl.hh:71
Definition: constraints-fwd.hh:27
hpp::constraints_idl::DifferentiableFunction_ptr function()
Definition: constraints.hh:177
virtual ~ConfigurationConstraintServant()
Definition: constraints.hh:319
ConfigurationConstraintServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: constraints.hh:312
hpp::floatSeq * getWeights()
Definition: constraints.hh:327
virtual ~DifferentiableFunctionServant()
Definition: constraints.hh:32
Implementation of Hpp module Corba server.
Definition: server.hh:78
hpp::size_type rightHandSideSize()
Definition: constraints.hh:191
hpp::ComparisonTypes_t * getComparisonType()
Definition: constraints.hh:233
hpp::floatSeq * value(const hpp::floatSeq &arg)
Definition: constraints.hh:40
pinocchio::matrix_t matrix_t
Definition: fwd.hh:106
hpp::size_type parameterSize()
Definition: constraints.hh:205
Definition: constraints-fwd.hh:87
floatSeqSeq * matrixToFloatSeqSeq(core::matrixIn_t input)
Returns a sequence of the rows of the input matrix.
hpp::size_type outputSize()
Definition: constraints.hh:96
floatSeq * vectorToFloatSeq(core::vectorIn_t input)
sequence< ComparisonType > ComparisonTypes_t
Definition: common.idl:50
DifferentiableFunctionServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: constraints.hh:25
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:34
char * jointName()
Definition: constraints.hh:287
virtual ~LockedJointServant()
Definition: constraints.hh:279
void setWeights(const hpp::floatSeq &weights)
Definition: constraints.hh:341
long long size_type
Definition: common.idl:19