Details
-
Technical task
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
None
Description
Steps to perform this task:
- On each type that holds loaded data, such as LoadedBuffer, add a QFuture that holds the data.
- In the loading function, add a concurrent call to function that loads the data and store the result in the QFuture.
- In the loading function (or in a separate function that is added next in the task pipeline) such as loadBuffers, add a step that goes through all existing loaded buffers and checks if the QFuture has completed.
- If completed, move the result of the future to the data member of LoadedBuffer and put the resulting LoadedBuffer into the value container.