OnixS C++ FIX Engine  4.12.0
API Documentation
PromiseBase Class Reference

#include <OnixS/FIXEngine/Threading/Future.h>

Public Member Functions

bool valid ()
 
ONIXS_FIXENGINE_API void setExceptionImpl ()
 

Protected Member Functions

ONIXS_FIXENGINE_API PromiseBase () ONIXS_FIXENGINE_NOTHROW
 
ONIXS_FIXENGINE_API PromiseBase (const PromiseBase &other) ONIXS_FIXENGINE_NOTHROW
 
ONIXS_FIXENGINE_API PromiseBaseoperator= (const PromiseBase &other) ONIXS_FIXENGINE_NOTHROW
 
ONIXS_FIXENGINE_API ~PromiseBase () ONIXS_FIXENGINE_NOTHROW
 
ONIXS_FIXENGINE_API void swap (PromiseBase &other) ONIXS_FIXENGINE_NOTHROW
 
ONIXS_FIXENGINE_API void setValue (ValueBase *value)
 
ONIXS_FIXENGINE_API void setVoid ()
 
ONIXS_FIXENGINE_API SharedFuture< FutureValuegetFutureImpl () const
 
template<typename T >
SharedFuture< T > getTypedFuture () const
 

Detailed Description

Definition at line 321 of file Future.h.

Constructor & Destructor Documentation

ONIXS_FIXENGINE_API PromiseBase ( const PromiseBase other)
protected

Destroys a future object.

If this is the last reference to the asynchronous result associated with *this (if any), then destroy that asynchronous result.

Member Function Documentation

ONIXS_FIXENGINE_API SharedFuture<FutureValue> getFutureImpl ( ) const
protected
SharedFuture<T> getTypedFuture ( ) const
inlineprotected

Definition at line 361 of file Future.h.

ONIXS_FIXENGINE_API PromiseBase& operator= ( const PromiseBase other)
protected
ONIXS_FIXENGINE_API void setExceptionImpl ( )
ONIXS_FIXENGINE_API void setValue ( ValueBase value)
protected
ONIXS_FIXENGINE_API void setVoid ( )
protected
ONIXS_FIXENGINE_API void swap ( PromiseBase other)
protected
bool valid ( )

Check if a future instance is associated with an asynchronous result.

Returns true if the *this has an associated asynchronous result, false otherwise.


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