GATE
gate::FutureBase Class Reference
Inheritance diagram for gate::FutureBase:
gate::SafeBoolBase< FutureBase > gate::Future< gate::Expected< T, gate::Exception > > gate::Future< T >

Public Member Functions

 FutureBase (size_t typeSize, gate_mem_copyctor_t cctor=NULL, gate_mem_dtor_t dtor=NULL)
 
 FutureBase (FutureBase const &src)
 
FutureBaseoperator= (FutureBase const &src)
 
bool hasValue () const noexcept
 
result_t getResult () const noexcept
 
void const * getData () const noexcept
 
void set (result_t result, void const *data)
 
void wait ()
 
bool waitFor (uint32_t timeoutMs)
 
bool empty () const noexcept
 
bool operator! () const noexcept
 
gate_future_t * c_impl ()
 
gate_future_t const * c_impl () const
 
- Public Member Functions inherited from gate::SafeBoolBase< FutureBase >
 operator bool_type () const
 

Additional Inherited Members

- Public Types inherited from gate::SafeBoolBase< FutureBase >
typedef void(SafeBoolBase::* bool_type) () const
 

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