14 namespace dg = ::dynamicgraph;
20 #define REGISTER_UNARY_OP(OpType, name) \ 22 const std::string UnaryOp<OpType>::CLASS_NAME = std::string(#name); \ 23 Entity *regFunction_##name(const std::string &objname) { \ 24 return new UnaryOp<OpType>(objname); \ 26 EntityRegisterer regObj_##name(std::string(#name), ®Function_##name) 88 #define REGISTER_BINARY_OP(OpType, name) \ 90 const std::string BinaryOp<OpType>::CLASS_NAME = std::string(#name); \ 91 Entity *regFunction_##name(const std::string &objname) { \ 92 return new BinaryOp<OpType>(objname); \ 94 EntityRegisterer regObj_##name(std::string(#name), ®Function_##name) 126 #define REGISTER_VARIADIC_OP(OpType, name) \ 128 const std::string VariadicOp<OpType>::CLASS_NAME = std::string(#name); \ 129 Entity *regFunction_##name(const std::string &objname) { \ 130 return new VariadicOp<OpType>(objname); \ 132 EntityRegisterer regObj_##name(std::string(#name), ®Function_##name) Multiplier_FxE__E< MatrixTwist, dynamicgraph::Vector > Multiplier_matrixTwist_vector
Multiplier_FxE__E< double, dynamicgraph::Vector > Multiplier_double_vector
Multiplier_FxE__E< MatrixHomogeneous, dynamicgraph::Vector > Multiplier_matrixHomo_vector
REGISTER_BINARY_OP(Multiplier_double_vector, Multiply_double_vector)
REGISTER_VARIADIC_OP(VectorMix, Mix_of_vector)
REGISTER_UNARY_OP(VectorSelecter, Selec_of_vector)
Multiplier_FxE__E< dynamicgraph::Matrix, dynamicgraph::Vector > Multiplier_matrix_vector