20 template <
class Res =
double>
25 Res &
fun(Res &res,
int t) {
29 cout <<
"Inside " << endl;
32 it != inputsig.end(); ++it) {
33 cout << *(*it) << endl;
34 (*it)->access(timedata);
37 it = inputsigV.begin();
38 it != inputsigV.end(); ++it) {
39 cout << *(*it) << endl;
40 (*it)->access(timedata);
43 return res = (*this)();
46 list<SignalTimeDependent<double, sigtime_t> *> inputsig;
47 list<SignalTimeDependent<dynamicgraph::Vector, sigtime_t> *> inputsigV;
50 inputsig.push_back(&
sig);
53 inputsigV.push_back(&
sig);
70 res = appel * timedata;
76 res.fill(appel * timedata);
90 sig4 << sig4 << sig4 << sig6,
"Sig2");
134 cout <<
"Needs update?" << endl << sig1.
needUpdate(2) << endl;