10 #ifndef __SOT_PERIODICCALL_HH__ 11 #define __SOT_PERIODICCALL_HH__ 18 #include <dynamic-graph/entity.h> 45 downsamplingFactor = 1;
50 downsamplingFactor = df;
65 void addDownsampledSignal(
const std::string &
name,
67 const unsigned int &downsamplingFactor);
68 void addDownsampledSignal(
const std::string &sigpath,
69 const unsigned int &downsamplingFactor);
72 void addSignal(
const std::string &
args);
73 void rmSignal(
const std::string &name);
75 void runSignals(
const int &
t);
76 void run(
const int &t);
78 void clear(
void) { signalMap.clear(); }
80 void display(std::ostream &os)
const;
86 #endif // #ifndef __SOT_PERIODICCALL_HH__ SignalToCall(dynamicgraph::SignalBase< int > *s, unsigned int df=1)
virtual ~PeriodicCall(void)
std::map< std::string, SignalToCall > SignalMapType
Signal< dynamicgraph::Matrix, int > sig("matrix")
dynamicgraph::SignalBase< int > * signal
unsigned int downsamplingFactor