16 #include <dynamic-graph/linear-algebra.h> 20 #include <dynamic-graph/signal-time-dependent.h> 21 #include <dynamic-graph/signal-ptr.h> 22 #include <dynamic-graph/entity.h> 24 #include <sot/core/matrix-geometry.hh> 32 # if defined (Operator_EXPORTS) 33 # define Operator_EXPORTS __declspec(dllexport) 35 # define Operator_EXPORTS __declspec(dllimport) 38 # define Operator_EXPORTS 56 static const std::string CLASS_NAME;
57 virtual const std::string& getClassName(
void )
const {
return CLASS_NAME;}
59 dg::SignalPtr<dg::Vector,int> data_inputSIN;
60 dg::SignalTimeDependent<dg::Vector,int> data_outSOUT;
62 dg::Vector& data_out_callback(dg::Vector& history,
int time);
68 class Operator_EXPORTS
Sinus:
public dg::Entity
72 Sinus(
const std::string & name );
74 static const std::string CLASS_NAME;
75 virtual const std::string& getClassName(
void )
const {
return CLASS_NAME;}
77 dg::SignalPtr<double,int> data_inputSIN;
78 dg::SignalTimeDependent<double,int> data_outSOUT;
80 double& data_out_callback(
double& history,
int time);
92 static const std::string CLASS_NAME;
93 virtual const std::string& getClassName(
void )
const {
return CLASS_NAME;}
95 dg::SignalPtr<double,int> data_input1SIN;
96 dg::SignalPtr<double,int> data_input2SIN;
97 dg::SignalTimeDependent<double,int> data_outSOUT;
99 double& data_out_callback(
double& history,
int time);
112 static const std::string CLASS_NAME;
113 virtual const std::string& getClassName(
void )
const {
return CLASS_NAME;}
118 dg::SignalPtr<dg::Vector,int> data_inputSIN;
119 dg::SignalTimeDependent<dg::Vector,int> data_outSOUT;
121 dg::Vector& data_out_callback(dg::Vector& out,
int time);
Definition: ComImpedanceController.hpp:31