29 #ifndef APPROXIMATIONSCHEMELISTENER_H 30 #define APPROXIMATIONSCHEMELISTENER_H 32 #include <agrum/agrum.h> 33 #include <agrum/tools/core/signal/listener.h> 35 #include <agrum/tools/core/approximations/IApproximationSchemeConfiguration.h> 71 whenProgress(
const void* src,
const Size step,
const double error,
const double time)
79 virtual void whenStop(
const void* src,
const std::string message) = 0;
ApproximationSchemeListener(const ApproximationSchemeListener &other)
Copy constructor.
INLINE void emplace(Args &&... args)
virtual void whenStop(const void *src, const std::string message)=0
When it stops.
virtual ~ApproximationSchemeListener()
Class destructor.
ApproximationSchemeListener(IApproximationSchemeConfiguration &sch)
Class constructor.
IApproximationSchemeConfiguration & _sch_
The scheme configuration.
virtual void whenProgress(const void *src, const Size step, const double error, const double time)=0
When progress was made.
ApproximationSchemeListener & operator=(const ApproximationSchemeListener &other)
Copy operator.
The ApproximationSchemeListener class.