ImFusion SDK 4.3
DicomPacsCommunication::AsyncRequestInfo Struct Reference

#include <ImFusion/Dicom/DicomPacsCommunication.h>

Structure wrapping the return value of an asynchronous PACS request. More...

Detailed Description

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.
 

Member Data Documentation

◆ future

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.

◆ abortFlag

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.


The documentation for this struct was generated from the following file:
Search Tab / S to search, Esc to close