26 #ifndef THREADCOMMUNICATION_H_
27 #define THREADCOMMUNICATION_H_
virtual ~ThreadCommunication()
virtual bool wasCanceled() const =0
Enquire whether the thread was cancelled by the user.
virtual void setAllowedOperations(bool background, bool pauseResume, bool cancel)=0
virtual void setProgress(unsigned int progress, const casacore::String &status)=0
virtual void setStatus(const casacore::String &status)=0
Allows the cache to set the status.
virtual void finishProgress()=0
virtual void initializeProgress(const casacore::String &operationName)=0
These signals are used to update the QtProgressWidget across different threads.
virtual void finished()=0
Thread signals it is done.
virtual void setError(const casacore::String &errorMessage)=0
String: the storage and methods of handling collections of characters.
Defines communication mechanisms that the model and data can use to communicate with the UI concernin...