MeVisLab Toolbox Reference
|
#include <mlBackgroundTaskMessages.h>
Public Member Functions | |
BackgroundTaskMLGetTileResultMessage (ImagingBackgroundTask *task, BackgroundRequestId tileId, ManagedSubImage *img) | |
~BackgroundTaskMLGetTileResultMessage () override | |
void | execute () override |
Executes message when it is delivered. | |
![]() | |
BackgroundTaskMessage () | |
virtual | ~BackgroundTaskMessage () |
void | setSender (BackgroundTask *task) |
Sets who sends the message. Default is NULL and this means that the message's sender is not a BackgroundTask. | |
BackgroundTask * | sender () |
Returns the task from which the message originates. | |
void | setReceiver (BackgroundTaskMessageReceiver *receiverArg) |
Sets who receives the message. Default is NULL. | |
BackgroundTaskMessageReceiver * | receiver () |
Returns the object which receives the message. Default is NULL. | |
virtual void | executeSynchronous () |
Executes message when it is delivered and the task runs synchronously. | |
virtual bool | finishedProcessing () |
Returns whether the message needs further processing or if it may be deleted. | |
virtual void | taskWillBeDestroyed () |
This needs to be implemented if the message uses finishedProcessing() and the task is finished while a message is still on its way. | |
Definition at line 116 of file mlBackgroundTaskMessages.h.
|
inline |
Definition at line 118 of file mlBackgroundTaskMessages.h.
References mlrange_cast().
|
override |
|
overridevirtual |
Executes message when it is delivered.
Reimplement this in subclasses.
Implements ml::BackgroundTaskMessage.