MeVisLab Toolbox Reference
ml::BackgroundTaskFinishedMessage Class Reference

#include <mlBackgroundTaskMessages.h>

Inheritance diagram for ml::BackgroundTaskFinishedMessage:
ml::BackgroundTaskMessage

Public Member Functions

 BackgroundTaskFinishedMessage (BackgroundTask *task)
 
void execute () override
 execute message when it is delivered (reimplement in subclasses) More...
 
- Public Member Functions inherited from ml::BackgroundTaskMessage
 BackgroundTaskMessage ()
 
virtual ~BackgroundTaskMessage ()
 
void setSender (BackgroundTask *task)
 set who sends the message (default is NULL and means that the message's sender is not a BackgroundTask) More...
 
BackgroundTasksender ()
 returns the task from which the message originates More...
 
void setReceiver (BackgroundTaskMessageReceiver *receiverArg)
 set who receives the message (default is NULL) More...
 
BackgroundTaskMessageReceiverreceiver ()
 returns the object which receives the message (default is NULL) More...
 
virtual void executeSynchronous ()
 execute message when it is delivered and the task runs synchronous, the default implementation just calls the execute() method (reimplement in subclasses). More...
 
virtual bool finishedProcessing ()
 tells if the message needs further processing or if it may be deleted if true is returned, the message is placed to another processing queue and finishedProcessing() is called in regular intervals More...
 
virtual void taskWillBeDestroyed ()
 this needs to be implemented if the message uses finishedProcessing() and the task is finished while a message is still on it's way More...
 

Detailed Description

Definition at line 27 of file mlBackgroundTaskMessages.h.

Constructor & Destructor Documentation

◆ BackgroundTaskFinishedMessage()

ml::BackgroundTaskFinishedMessage::BackgroundTaskFinishedMessage ( BackgroundTask task)
inline

Definition at line 29 of file mlBackgroundTaskMessages.h.

References ml::BackgroundTaskMessage::setSender().

Member Function Documentation

◆ execute()

void ml::BackgroundTaskFinishedMessage::execute ( )
overridevirtual

execute message when it is delivered (reimplement in subclasses)

Implements ml::BackgroundTaskMessage.


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