Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <berryNullProgressMonitor.h>
Public Member Functions | |
berryObjectMacro (NullProgressMonitor) | |
NullProgressMonitor () | |
void | BeginTask (const std::string &name, int totalWork) override |
void | Done () override |
void | InternalWorked (double work) override |
bool | IsCanceled () override |
void | SetCanceled (bool cancelled) override |
void | SetTaskName (const std::string &name) override |
void | SubTask (const std::string &name) override |
void | Worked (int work) override |
![]() | |
berryObjectMacro (berry::IProgressMonitor) | |
![]() | |
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 | |
![]() | |
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 const char * | GetStaticClassName () |
static Reflection::TypeInfo | GetStaticTypeInfo () |
static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
![]() | |
static const int | UNKNOWN |
![]() | |
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 |
![]() | |
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 32 of file berryNullProgressMonitor.h.
berry::NullProgressMonitor::NullProgressMonitor | ( | ) |
Constructs a new progress monitor.
Definition at line 18 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 23 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 28 of file berryNullProgressMonitor.cpp.
|
overridevirtual |
This implementation does nothing. Subclasses may override this method.
Implements berry::IProgressMonitor.
Definition at line 33 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 38 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 43 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 48 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 53 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 58 of file berryNullProgressMonitor.cpp.