Studio/Data/Worker.h
Namespaces
Name |
---|
shapeworks User usage reporting (telemetry) |
Classes
Name | |
---|---|
class | shapeworks::Worker |
Source code
#pragma once
#include <Job/Job.h>
#include <QObject>
#include <QSharedPointer>
namespace shapeworks {
class Worker : public QObject {
Q_OBJECT
public:
Worker();
~Worker();
static Worker *create_worker();
void run_job(QSharedPointer<Job> job);
public Q_SLOTS:
void process();
Q_SIGNALS:
void error_message(QString);
void warning_message(QString);
void status_message(QString);
void progress(int);
void finished();
private:
QSharedPointer<Job> job_;
};
} // namespace shapeworks
Updated on 2024-03-17 at 12:58:44 -0600