35 std::function<
int(
JOB* job )> aHandler )
54 wxCHECK( aReporter !=
nullptr, );
61 wxCHECK( aReporter !=
nullptr, );
void SetReporter(REPORTER *aReporter)
PROGRESS_REPORTER * m_progressReporter
void Register(const std::string &aJobTypeName, std::function< int(JOB *job)> aHandler)
std::map< std::string, std::function< int(JOB *job)> > m_jobHandlers
void SetProgressReporter(PROGRESS_REPORTER *aReporter)
An simple container class that lets us dispatch output jobs to kifaces.
const std::string & GetType() const
static REPORTER & GetInstance()
A progress reporter interface for use in multi-threaded environments.
A pure virtual class used to derive REPORTER objects from.
static const int ERR_UNKNOWN