9#ifndef ANA_ALGORITHM__I_ALGORITHM_WRAPPER_H
10#define ANA_ALGORITHM__I_ALGORITHM_WRAPPER_H
a wrapper around a generic algorithm for use within EventLoop
virtual bool hasName(const std::string &name) const =0
whether this algorithm has the given name
virtual::StatusCode beginInputFile()=0
call beginInputFile on the algorithm
virtual Algorithm * getLegacyAlg()
get the legacy algorithm, if we wrap one
virtual std::string_view getName() const =0
get the name of this algorithm
virtual StatusCode initialize(const AlgorithmWorkerData &workerData)=0
call initialize on the algorithm
virtual StatusCode postExecute()
call postExecute on the algorithm
virtual::StatusCode fileExecute()=0
call fileExecute on the algorithm
virtual::StatusCode endInputFile()=0
call endInputFile on the algorithm
virtual StatusCode execute()=0
call execute on the algorithm
virtual std::unique_ptr< IAlgorithmWrapper > makeClone() const =0
make a clone of this algorithm
virtual StatusCode finalize()=0
call finalize on the algorithm
virtual ~IAlgorithmWrapper() noexcept=default
standard (virtual) destructor
This module defines the arguments passed from the BATCH driver to the BATCH worker.
::StatusCode StatusCode
StatusCode definition for legacy code.
all the external components an algorithm needs before initialization (in EventLoop)