20 #ifndef __stir_ChainedDataProcessor_H__ 21 #define __stir_ChainedDataProcessor_H__ 61 template <
typename DataT>
69 static const char*
const registered_name;
72 explicit ChainedDataProcessor(shared_ptr<DataProcessor<DataT>> apply_first = shared_ptr<DataProcessor<DataT>>(),
73 shared_ptr<DataProcessor<DataT>> apply_second = shared_ptr<DataProcessor<DataT>>());
76 shared_ptr<DataProcessor<DataT>> apply_first;
77 shared_ptr<DataProcessor<DataT>> apply_second;
79 void set_defaults()
override;
80 void initialise_keymap()
override;
82 Succeeded virtual_set_up(
const DataT& data)
override;
84 void virtual_apply(DataT& out_data,
const DataT& in_data)
const override;
85 void virtual_apply(DataT& data)
const override;
A class in the DataProcessor hierarchy that calls 2 DataProcessors in sequence.
Definition: ChainedDataProcessor.h:62
Declaration of class stir::DataProcessor.
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast (or corresponding b...
Base class that defines an interface for classes that do data processing.
Definition: DataProcessor.h:46
Parent class for all leaves in a RegisteredObject hierarchy that do parsing of parameter files...
Definition: RegisteredParsingObject.h:77
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition: Succeeded.h:43
Declaration of class stir::RegisteredParsingObject.