|
Cambridge SMT System
|
Task that reads stats from data object and writes them to a [file]. More...
#include <task.stats.hpp>


Public Member Functions | |
| SpeedStatsTask (const ucam::util::RegistryPO &rg) | |
| Constructor with RegistryPO object. More... | |
| bool | run (Data &d) |
| General run method from TaskInterface. Dumps all stats to a file. More... | |
Public Member Functions inherited from ucam::util::TaskInterface< Data > | |
| TaskInterface () | |
| Constructor. More... | |
| virtual | ~TaskInterface () |
| bool | chainrun (Data &d) |
| Implements chain of responsability. Calls run method and, if there is another task, call its run method too. More... | |
| bool | operator() (Data &d) |
| TaskInterface & | appendTask (TaskInterface *t) |
| Appends a task class. If there is no task, append here, otherwise delegate in next task. More... | |
| TaskInterface & | operator() (TaskInterface *t) |
| TaskInterface * | getTask () |
| Return appended task. More... | |
| TaskInterface * | next () |
Task that reads stats from data object and writes them to a [file].
Definition at line 29 of file task.stats.hpp.
|
inline |
Constructor with RegistryPO object.
Definition at line 42 of file task.stats.hpp.
|
inlinevirtual |
General run method from TaskInterface. Dumps all stats to a file.
| &d | general Data structure containing a pointer to StatsData structure |
Implements ucam::util::TaskInterface< Data >.
Definition at line 51 of file task.stats.hpp.

