21#ifndef JOB_DISPATCHER_H
22#define JOB_DISPATCHER_H
40 void Register(
const std::string& aJobTypeName, std::function<
int(
JOB* job )> aHandler,
41 std::function<
bool(
JOB* job, wxWindow* aParent )> aConfigHandler );
44 void SetReporter(
REPORTER* aReporter );
54 std::map<std::string, std::function<bool(
JOB* job, wxWindow* aParent )>>
PROGRESS_REPORTER * m_progressReporter
std::map< std::string, std::function< bool(JOB *job, wxWindow *aParent)> > m_jobConfigHandlers
std::map< std::string, std::function< int(JOB *job)> > m_jobHandlers
An simple container class that lets us dispatch output jobs to kifaces.
A minimalistic software bus for communications between various DLLs/DSOs (DSOs) within the same KiCad...
A progress reporter interface for use in multi-threaded environments.
A pure virtual class used to derive REPORTER objects from.
bool HandleJobConfig(JOB *aJob, wxWindow *aParent) override