10 #ifndef SOT_CORE_UNARYOP_HH 11 #define SOT_CORE_UNARYOP_HH 19 #include <dynamic-graph/entity.h> 28 template <
typename Operator>
31 typedef typename Operator::Tin
Tin;
32 typedef typename Operator::Tout
Tout;
36 static std::string
getTypeInName(
void) {
return Operator::nameTypeIn(); }
46 SIN(NULL, Self::CLASS_NAME +
"(" + name +
")::input(" +
49 Self::CLASS_NAME +
"(" + name +
")::output(" +
63 const Tin &x1 =
SIN(time);
73 #endif // #ifndef SOT_CORE_UNARYOP_HH
void signalRegistration(const SignalArray< int > &signals)
UnaryOp(const std::string &name)
static std::string getTypeOutName(void)
SignalPtr< Tin, int > SIN
static std::string getTypeInName(void)
static const std::string CLASS_NAME
virtual const std::string & getClassName() const
std::string getDocString() const
Tout & computeOperation(Tout &res, int time)
SignalTimeDependent< Tout, int > SOUT