You.i Engine
CYIFuture< ResultType * > Class Template Reference

Detailed Description

template<typename ResultType>
class CYIFuture< ResultType * >

Use of pointer types in CYIFuture objects is not supported. Use a CYIFuture that holds a std::unique_ptr instead.

#include <thread/YiFuture.h>

Inheritance diagram for CYIFuture< ResultType * >:

Public Member Functions

 CYIFuture ()=delete
- Public Member Functions inherited from CYIAbstractFuture
virtual ~CYIAbstractFuture ()
bool IsCancelled () const
bool IsCompleted () const
bool Cancel ()
bool CancelOrWait ()
bool Wait () const
bool Wait (uint64_t timeoutMs) const

Additional Inherited Members

- Public Attributes inherited from CYIAbstractFuture
 A signal triggered when this object is cancelled. More...
- Protected Member Functions inherited from CYIAbstractFuture
 CYIAbstractFuture (std::shared_ptr< CYIFutureSharedStateBase > pSharedState)
- Protected Attributes inherited from CYIAbstractFuture
std::shared_ptr< CYIFutureSharedStateBase > m_pSharedState

Constructor & Destructor Documentation

◆ CYIFuture()

template<typename ResultType >
CYIFuture< ResultType * >::CYIFuture ( )

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