Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <berryNullProgressMonitor.h>
Public Member Functions | |
berryObjectMacro (NullProgressMonitor) | |
NullProgressMonitor () | |
virtual void | BeginTask (const std::string &name, int totalWork) override |
virtual void | Done () override |
virtual void | InternalWorked (double work) override |
virtual bool | IsCanceled () override |
virtual void | SetCanceled (bool cancelled) override |
virtual void | SetTaskName (const std::string &name) override |
virtual void | SubTask (const std::string &name) override |
virtual void | Worked (int work) override |
Public Member Functions inherited from berry::IProgressMonitor | |
berryObjectMacro (berry::IProgressMonitor) static const int UNKNOWN | |
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 |
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 |
A default progress monitor implementation suitable for subclassing.
This implementation supports cancellation. The default implementations of the other methods do nothing.
This class can be used without OSGi running.
Definition at line 36 of file berryNullProgressMonitor.h.
berry::NullProgressMonitor::NullProgressMonitor | ( | ) |
Constructs a new progress monitor.
Definition at line 22 of file berryNullProgressMonitor.cpp.
|
overridevirtual |
This implementation does nothing. Subclasses may override this method to do interesting processing when a task begins.
Implements berry::IProgressMonitor.
Definition at line 27 of file berryNullProgressMonitor.cpp.
berry::NullProgressMonitor::berryObjectMacro | ( | NullProgressMonitor | ) |
|
overridevirtual |
This implementation does nothing. Subclasses may override this method to do interesting processing when a task is done.
Implements berry::IProgressMonitor.
Definition at line 32 of file berryNullProgressMonitor.cpp.
|
overridevirtual |
This implementation does nothing. Subclasses may override this method.
Implements berry::IProgressMonitor.
Definition at line 37 of file berryNullProgressMonitor.cpp.
|
overridevirtual |
This implementation returns the value of the internal state variable set by setCanceled
. Subclasses which override this method should override setCanceled
as well.
Implements berry::IProgressMonitor.
Definition at line 42 of file berryNullProgressMonitor.cpp.
|
overridevirtual |
This implementation sets the value of an internal state variable. Subclasses which override this method should override isCanceled
as well.
Implements berry::IProgressMonitor.
Definition at line 47 of file berryNullProgressMonitor.cpp.
|
overridevirtual |
This implementation does nothing. Subclasses may override this method to do something with the name of the task.
Implements berry::IProgressMonitor.
Definition at line 52 of file berryNullProgressMonitor.cpp.
|
overridevirtual |
This implementation does nothing. Subclasses may override this method to do interesting processing when a subtask begins.
Implements berry::IProgressMonitor.
Definition at line 57 of file berryNullProgressMonitor.cpp.
|
overridevirtual |
This implementation does nothing. Subclasses may override this method to do interesting processing when some work has been completed.
Implements berry::IProgressMonitor.
Definition at line 62 of file berryNullProgressMonitor.cpp.