Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berry::IJobChangeEvent Struct Referenceabstract

#include <berryIJobChangeEvent.h>

Inheritance diagram for berry::IJobChangeEvent:
Collaboration diagram for berry::IJobChangeEvent:

Public Member Functions

 berryObjectMacro (berry::IJobChangeEvent)
 
virtual Poco::Timestamp::TimeDiff GetDelay () const =0
 
virtual SmartPointer< JobGetJob () const =0
 
virtual IStatus::Pointer GetResult () const =0
 
- Public Member Functions inherited from berry::Object
virtual QString GetClassName () const
 
virtual Reflection::TypeInfo GetTypeInfo () const
 
virtual QList< Reflection::TypeInfoGetSuperclasses () 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
 

Additional Inherited Members

- Public Types inherited from berry::Object
typedef Object Self
 
typedef berry::SmartPointer< SelfPointer
 
typedef berry::SmartPointer< const SelfConstPointer
 
typedef berry::WeakPointer< SelfWeakPtr
 
typedef berry::WeakPointer< const SelfConstWeakPtr
 
- Static Public Member Functions inherited from berry::Object
static const char * GetStaticClassName ()
 
static Reflection::TypeInfo GetStaticTypeInfo ()
 
static QList< Reflection::TypeInfoGetStaticSuperclasses ()
 
- 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
 

Detailed Description

An event describing a change to the state of a job.

See also
IJobChangeListener
Note
This interface is not intended to be implemented by clients.

Definition at line 36 of file berryIJobChangeEvent.h.

Member Function Documentation

◆ berryObjectMacro()

berry::IJobChangeEvent::berryObjectMacro ( berry::IJobChangeEvent  )

◆ GetDelay()

virtual Poco::Timestamp::TimeDiff berry::IJobChangeEvent::GetDelay ( ) const
pure virtual

The amount of time in milliseconds to wait after scheduling the job before it should be run, or -1 if not applicable for this type of event. This value is only applicable for the scheduled event.

Returns
the delay time for this event

◆ GetJob()

virtual SmartPointer<Job> berry::IJobChangeEvent::GetJob ( ) const
pure virtual

The job on which this event occurred.

Returns
the job for this event

◆ GetResult()

virtual IStatus::Pointer berry::IJobChangeEvent::GetResult ( ) const
pure virtual

The result returned by the job's run method, or null if not applicable. This value is only applicable for the done event.

Returns
the status for this event

The documentation for this struct was generated from the following file: