added eoFuncPtrStat, and appended various addTo member functions for more elegant definition of monitors, stats, checkpoints, etc
This commit is contained in:
parent
cb85c19259
commit
2b303560fa
1 changed files with 5 additions and 0 deletions
|
|
@ -32,6 +32,8 @@
|
||||||
#include <utils/eoState.h>
|
#include <utils/eoState.h>
|
||||||
#include <utils/eoParam.h>
|
#include <utils/eoParam.h>
|
||||||
|
|
||||||
|
template <class EOT> class eoCheckPoint;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
eoUpdater is a generic procudere for updating whatever you want.
|
eoUpdater is a generic procudere for updating whatever you want.
|
||||||
Yet again an empty name
|
Yet again an empty name
|
||||||
|
|
@ -41,6 +43,9 @@ class eoUpdater : public eoF<void>
|
||||||
public:
|
public:
|
||||||
virtual void lastCall() {}
|
virtual void lastCall() {}
|
||||||
virtual std::string className(void) const { return "eoUpdater"; }
|
virtual std::string className(void) const { return "eoUpdater"; }
|
||||||
|
|
||||||
|
template <class EOT>
|
||||||
|
eoUpdater& addTo(eoCheckPoint<EOT>& cp) { cp.add(*this); return *this; }
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Reference in a new issue