AzeorthCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Acore::AsyncProcessResult Class Referenceabstract

#include "StartProcess.h"

Inheritance diagram for Acore::AsyncProcessResult:
Acore::AsyncProcessResultImplementation

Public Member Functions

virtual ~AsyncProcessResult ()
 
virtual std::future< int > & GetFutureResult ()=0
 
virtual void Terminate ()=0
 Tries to terminate the process. More...
 

Detailed Description

Platform and library independent representation of asynchronous process results

Constructor & Destructor Documentation

◆ ~AsyncProcessResult()

virtual Acore::AsyncProcessResult::~AsyncProcessResult ( )
inlinevirtual
44{ }

Member Function Documentation

◆ GetFutureResult()

virtual std::future< int > & Acore::AsyncProcessResult::GetFutureResult ( )
pure virtual

Returns the future which contains the result of the process as soon it is finished.

Implemented in Acore::AsyncProcessResultImplementation.

◆ Terminate()

virtual void Acore::AsyncProcessResult::Terminate ( )
pure virtual

Tries to terminate the process.

Implemented in Acore::AsyncProcessResultImplementation.