19 #include "internal/berryJobManager.h"
55 return InternalJob::Cancel();
60 InternalJob::Done(result);
70 return InternalJob::GetPriority();
82 return InternalJob::GetResult();
87 return InternalJob::GetRule();
92 return InternalJob::GetState();
98 return InternalJob::GetThread();
103 return InternalJob::IsBlocking();
108 return InternalJob::IsSystem();
113 return InternalJob::IsUser();
125 InternalJob::RemoveJobChangeListener(listener);
130 Poco::Timestamp::TimeDiff tmpNoDelay = 0;
131 InternalJob::Schedule(tmpNoDelay);
136 InternalJob::Schedule(delay);
141 InternalJob::SetName(name);
146 InternalJob::SetPriority(priority);
151 InternalJob::SetProgressGroup(group, ticks);
162 InternalJob::SetRule(rule);
167 InternalJob::SetSystem(value);
172 InternalJob::SetUser(value);
177 InternalJob::SetThread(thread);
192 return InternalJob::Sleep();
197 InternalJob::WakeUp(0);
202 InternalJob::WakeUp(delay);
void SetSystem(bool value)
berry::SmartPointer< Self > Pointer
static const IJobManager * GetJobManager()
IStatus::Pointer GetResult() const
Object GetProperty(QualifiedName key) const ;.
virtual void Canceling() override
static const IStatus::Pointer ASYNC_FINISH
void RemoveJobChangeListener(IJobChangeListener *listener)
void Join() ;
ISchedulingRule::Pointer GetRule() const
Poco::Thread * GetThread() const
virtual bool ShouldSchedule() override
void Done(IStatus::Pointer result)
void SetProgressGroup(IProgressMonitor::Pointer group, int ticks)
bool BelongsTo(Object::Pointer family) override
void SetName(const QString &name)
void SetPriority(int priority)
static std::string GetName(std::string fileName, std::string suffix)
void SetThread(Poco::Thread *thread)
void SetRule(ISchedulingRule::Pointer rule)
void SetProperty(QualifiedName key, Object value);