Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
#include <berryIJobManager.h>
Public Member Functions | |
berryObjectMacro (berry::IJobManager) | |
virtual void | AddJobChangeListener (IJobChangeListener *listener)=0 |
virtual IProgressMonitor::Pointer | CreateProgressGroup ()=0 |
virtual bool | IsIdle ()=0 |
virtual bool | IsSuspended ()=0 |
virtual void | RemoveJobChangeListener (IJobChangeListener *listener)=0 |
virtual void | SetProgressProvider (ProgressProvider::Pointer provider)=0 |
Public Member Functions inherited from berry::Object | |
virtual QString | GetClassName () const |
virtual Reflection::TypeInfo | GetTypeInfo () const |
virtual QList< Reflection::TypeInfo > | GetSuperclasses () const |
virtual void | Delete () |
QDebug | Print (QDebug os, Indent Indent=0) const |
virtual QString | ToString () const |
virtual uint | HashCode () const |
virtual bool | operator< (const Object *) const |
void | Register () const |
void | UnRegister (bool del=true) const |
int | GetReferenceCount () const |
void | SetReferenceCount (int) |
void | AddDestroyListener (const MessageAbstractDelegate<> &delegate) const |
void | RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const |
virtual bool | operator== (const Object *) const |
Static Public Attributes | |
static const std::string | PROP_USE_DAEMON_THREADS |
Additional Inherited Members | |
Public Types inherited from berry::Object | |
typedef Object | Self |
typedef berry::SmartPointer< Self > | Pointer |
typedef berry::SmartPointer< const Self > | ConstPointer |
typedef berry::WeakPointer< Self > | WeakPtr |
typedef berry::WeakPointer< const Self > | ConstWeakPtr |
Static Public Member Functions inherited from berry::Object | |
static const char * | GetStaticClassName () |
static Reflection::TypeInfo | GetStaticTypeInfo () |
static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
Protected Member Functions inherited from berry::Object | |
Object () | |
virtual | ~Object () |
virtual QDebug | PrintSelf (QDebug os, Indent indent) const |
virtual QDebug | PrintHeader (QDebug os, Indent indent) const |
virtual QDebug | PrintTrailer (QDebug os, Indent indent) const |
Protected Attributes inherited from berry::Object | |
QAtomicInt | m_ReferenceCount |
QMutex | m_ReferenceCountLock |
The job manager provides facilities for scheduling, querying, and maintaining jobs and locks. In particular, the job manager provides the following services:
schedule
method. Definition at line 54 of file berryIJobManager.h.
|
pure virtual |
Registers a job listener with the job manager. Has no effect if an identical listener is already registered.
listener | the listener to be added |
berry::IJobManager::berryObjectMacro | ( | berry::IJobManager | ) |
|
pure virtual |
Returns a progress monitor that can be used to provide aggregated progress feedback on a set of running jobs. A user interface will typically group all jobs in a progress group together, providing progress feedback for individual jobs as well as aggregated progress for the entire group. Jobs in the group may be run sequentially, in parallel, or some combination of the two.
Recommended usage (this snippet runs two jobs in sequence in a single progress group):
|
pure virtual |
Returns whether the job manager is currently idle. The job manager is idle if no jobs are currently running or waiting to run.
true
if the job manager is idle, and false
otherwise
|
pure virtual |
Returns whether the job manager is currently suspended.
true
if the job manager is suspended, and false
otherwise
|
pure virtual |
Removes a job listener from the job manager. Has no effect if an identical listener is not already registered.
listener | the listener to be removed |
|
pure virtual |
Registers a progress provider with the job manager. If there was a provider already registered, it is replaced.
This method is intended for use by the currently executing Eclipse application. Plug-ins outside the currently running application should not call this method.
provider | the new provider, or null if no progress is needed |
|
static |
A system property key indicating whether the job manager should create job threads as daemon threads. Set to true
to force all worker threads to be created as daemon threads. Set to false
to force all worker threads to be created as non-daemon threads.
not used yet
Definition at line 67 of file berryIJobManager.h.