22 template <
class Res =
double>
26 list<SignalTimeDependent<double, sigtime_t> *> inputsig;
27 list<SignalTimeDependent<dynamicgraph::Vector, sigtime_t> *> inputsigV;
30 DummyClass(
const std::string &
n) : proname(
n),
res(), appel(0), timedata(0) {}
32 Res &
fun(Res &res,
int t) {
36 cout <<
"Inside " << proname <<
" -> " <<
this << endl;
39 it != inputsig.end(); ++it) {
40 cout << *(*it) << endl;
41 (*it)->access(timedata);
44 it = inputsigV.begin();
45 it != inputsigV.end(); ++it) {
46 cout << *(*it) << endl;
47 (*it)->access(timedata);
50 return res = (*this)();
54 inputsig.push_back(&
sig);
57 inputsigV.push_back(&
sig);
74 res = appel * timedata;
80 res.fill(appel * timedata);
93 sig4 << sig4 << sig4 << sig6,
"Sig2");
126 cout <<
"Needs update?" << endl << sig1.
needUpdate(2) << endl;
127 dgDEBUG(1) <<
"Access sig1(2) " << endl;
130 dgDEBUG(1) <<
"Access sig2(4) " << endl;
133 dgDEBUG(1) <<
"Access sig1(4) " << endl;