AMFuture  201909
String localization library
Public Member Functions | List of all members
AMCore::AMFuture< T > Class Template Reference

Result of type T of asynchronous call. More...

#include <AMFuture.h>

Inherited by AMCore::_AMFutureZombie< T >.

Public Member Functions

 AMFuture () noexcept
 default contructor
 
 AMFuture (AMFuture< T > &&other) noexcept
 move constructor More...
 
 AMFuture (const AMFuture &other)=delete
 copy constructor is deleted. More...
 
AMFuture & operator= (AMFuture &&other) noexcept
 move assignment More...
 
AMFuture & operator= (const AMFuture &other)=delete
 copy assigment More...
 
 ~AMFuture ()
 destructor. More...
 

Detailed Description

template<class T>
class AMCore::AMFuture< T >

Result of type T of asynchronous call.

Constructor & Destructor Documentation

◆ AMFuture() [1/2]

template<class T >
AMCore::AMFuture< T >::AMFuture ( AMFuture< T > &&  other)
noexcept

move constructor

Parameters
othercopy from another AMFuture

◆ AMFuture() [2/2]

template<class T >
AMCore::AMFuture< T >::AMFuture ( const AMFuture< T > &  other)
delete

copy constructor is deleted.

Parameters
othercopy from another AMFuture

◆ ~AMFuture()

template<class T >
AMCore::AMFuture< T >::~AMFuture

destructor.

If launched process is not complete, moves AMFuture to internal strunctures, ehre it can wait for finish.

Member Function Documentation

◆ operator=() [1/2]

template<class T >
AMFuture< T > & AMCore::AMFuture< T >::operator= ( AMFuture< T > &&  other)
noexcept

move assignment

Parameters
othermove from another AMFuture

◆ operator=() [2/2]

template<class T >
AMFuture& AMCore::AMFuture< T >::operator= ( const AMFuture< T > &  other)
delete

copy assigment

Parameters
othercopy from another AMFuture

The documentation for this class was generated from the following file: