Workspace 6.21.5
Public Member Functions | List of all members
WaitForAnyFutureToFinish Class Reference

Wait for a few QFuture and finish as soon as any of them finishes. More...

#include <Workspace/Application/System/waitforanyfuturetofinish.h>

Inherits QObject, and QFutureInterface< DataExecution::ObjectDictionary >.

Public Member Functions

void addFuture (const QFuture< DataExecution::ObjectDictionary > &f)
 
QFuture< DataExecution::ObjectDictionarystart ()
 

Detailed Description

This class provides a QFuture that wraps a few QFuture and wait for any of them to finish. The rest of QFutres would be cancelled.

Member Function Documentation

◆ addFuture()

void addFuture ( const QFuture< DataExecution::ObjectDictionary > &  f)

◆ start()

QFuture< ObjectDictionary > start ( )