/* * BoxcarProcess.hh * * Created on: Dec 12, 2012 * Author: f.casimir */ #ifndef BoxcarProcess_HH_ #define BoxcarProcess_HH_ #include "SingleParamProcess.hh" namespace AMDA { namespace Parameters { /** * @class BoxcarProcess * @brief mean Boxcar process. * @details This class represents the process that must computed the mean boxcar of, data. The data type is an unknown ParamData. * To do this it implements the Process interface and delegates the compute to an output ParamData to a Boxcar class. * This class is builded from the BoxcarCreator visitor. */ class BoxcarProcess : public AMDA::Parameters::SingleParamProcess_CRTP { public: /** * @brief Constructor. */ BoxcarProcess(Parameter ¶meter); /** * @brief Copy Constructor. */ BoxcarProcess(const BoxcarProcess& pProcess, Parameter &pParameter) ; /** * @brief Destructor. */ ~BoxcarProcess(); // Overload DataWriter methods /** * @overload DataWriter::init() */ TimeStamp init(); private: /** * @brief The time ox mean boxcar. */ double _boxcarTime; }; } /* namespace Parameters */ } /* namespace AMDA */ #endif /* BoxcarProcess_HH_ */