20 #ifndef __stir_DataProcessor_H__ 21 #define __stir_DataProcessor_H__ 45 template <
typename DataT>
62 inline Succeeded set_up(
const DataT& data);
72 inline virtual void reset();
91 inline Succeeded apply(DataT& out_data,
const DataT& in_data);
100 inline bool parse(std::istream& f);
101 bool parse(
const char*
const filename);
109 virtual Succeeded virtual_set_up(
const DataT&) = 0;
112 virtual void virtual_apply(DataT& data,
const DataT& in_data)
const = 0;
115 virtual void virtual_apply(DataT& data)
const = 0;
118 bool is_set_up_already;
Declaration of class stir::Succeeded.
Base class that defines an interface for classes that do data processing.
Definition: DataProcessor.h:46
base class for all objects which need timers. At the moment, there's only a CPU timer.
Definition: TimedObject.h:35
Declaration of class stiir::RegisteredObject.
declares the stir::TimedObject class
Helper class to provide registry mechanisms to a Base classSuppose you have a hierarchy of classes wi...
Definition: RegisteredObject.h:95
Inline implementations for class stir::DataProcessor.
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition: Succeeded.h:43