![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Dicom/DicomPacsCommunication.h>
Structure wrapping the return value of an asynchronous PACS request. More...
Structure wrapping the return value of an asynchronous PACS request.
Public Attributes | |
| std::shared_future< void > | future |
| Future of the std::async call used to issue the request. | |
| std::shared_ptr< std::atomic< bool > > | abortFlag |
| Atomic boolean flag to signal that the request should be aborted at the next possible moment. | |
| std::shared_future<void> future |
Future of the std::async call used to issue the request.
You can use it to wait for the request to finish.
| std::shared_ptr<std::atomic<bool> > abortFlag |
Atomic boolean flag to signal that the request should be aborted at the next possible moment.
Be aware, that the cancellation might not be instant, in some cases (e.g. network timeout) some significant time may pass until the asynchronous call has finished.