11 #ifndef HPP_CONSTRAINTS_IDL_CONSTRAINTS_HH 12 # define HPP_CONSTRAINTS_IDL_CONSTRAINTS_HH 19 # include <hpp/constraints_idl/constraints-idl.hh> 27 namespace constraints_idl
29 template <
typename _Base,
typename _Storage>
36 : _ServantBase (server, s) {}
77 std::ostringstream oss; oss << *
get();
78 std::string res = oss.str();
79 return CORBA::string_dup(res.c_str());
85 template <
typename _Base,
typename _Storage>
92 : _ServantBase (server, s) {}
96 hpp::constraints_idl::DifferentiableFunction_ptr
function ()
98 hpp::constraints_idl::DifferentiableFunction_var f =
99 makeServantDownCast<DifferentiableFunction> (
server_,
get()->functionPtr());
105 get()->rightHandSideFromConfig (
121 return get()->rhsSize();
126 return get()->constantRightHandSide();
140 #endif // HPP_CONSTRAINTS_IDL_CONSTRAINTS_HH Definition: servant-base.hh:100
ImplicitServant< POA_hpp::constraints_idl::Implicit, constraints::ImplicitPtr_t > Implicit
Definition: constraints.hh:135
ImplicitServant(Server *server, const Storage &s)
Definition: constraints.hh:91
Definition: constraints.hh:30
floatSeqSeq * jacobian(const floatSeq &arg)
Definition: constraints.hh:47
Implement CORBA interface ``Obstacle''.
void setRightHandSide(const floatSeq &rhs)
Definition: constraints.hh:109
size_type inputDerivativeSize()
Definition: constraints.hh:58
#define SERVANT_BASE_TYPEDEFS(idlObj, hppObj)
Definition: servant-base.hh:54
sequence< floatSeq > floatSeqSeq
Definition: common.idl:33
Definition: constraints.idl:40
size_type outputSize()
Definition: constraints.hh:62
pinocchio::value_type value_type
Definition: fwd.hh:80
vector_t floatSeqToVector(const floatSeq &dofArray, const size_type expectedSize=-1)
Server * server_
Definition: servant-base.hh:97
char * c_str(const std::string &in)
Definition: conversions.hh:68
CORBA::Boolean constantRightHandSide()
Definition: constraints.hh:124
floatSeq * value(const floatSeq &arg)
Definition: constraints.hh:40
virtual ~DifferentiableFunctionServant()
Definition: constraints.hh:38
Storage s
Definition: servant-base.hh:171
hpp::size_type rhsSize()
Definition: constraints.hh:119
floatSeq * rightHandSideAt(value_type s)
Definition: constraints.hh:129
size_type inputSize()
Definition: constraints.hh:54
floatSeq * getRightHandSide()
Definition: constraints.hh:114
Implementation of Hpp module Corba server.
Definition: server.hh:54
pinocchio::matrix_t matrix_t
Definition: fwd.hh:81
char * name()
Definition: constraints.hh:70
Definition: constraints.hh:86
floatSeqSeq * matrixToFloatSeqSeq(core::matrixIn_t input)
Returns a sequence of the rows of the input matrix.
size_type outputDerivativeSize()
Definition: constraints.hh:66
DifferentiableFunctionServant(Server *server, const Storage &s)
Definition: constraints.hh:35
virtual ~ImplicitServant()
Definition: constraints.hh:94
floatSeq * vectorToFloatSeq(core::vectorIn_t input)
_Storage Storage
Definition: servant-base.hh:103
void setRightHandSideFromConfig(const floatSeq &config)
Definition: constraints.hh:103
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:32
char * str()
Definition: constraints.hh:75
Definition: constraints.idl:19
DifferentiableFunctionServant< POA_hpp::constraints_idl::DifferentiableFunction, constraints::DifferentiableFunctionPtr_t > DifferentiableFunction
Definition: constraints.hh:83
pinocchio::size_type size_type
Definition: fwd.hh:86
long long size_type
Definition: common.idl:19