Values that may not be ready yet.
|
|
| pw::async2::FutureOrValue< FutureType, std::enable_if_t<!std::is_same_v< FutureValue< FutureType >, ReadyType > > >::FutureOrValue (FutureType &&future) |
| |
|
| pw::async2::FutureOrValue< FutureType, std::enable_if_t<!std::is_same_v< FutureValue< FutureType >, ReadyType > > >::FutureOrValue (const FutureOrValue &)=delete |
| |
|
FutureOrValue & | pw::async2::FutureOrValue< FutureType, std::enable_if_t<!std::is_same_v< FutureValue< FutureType >, ReadyType > > >::operator= (const FutureOrValue &)=delete |
| |
|
| pw::async2::FutureOrValue< FutureType, std::enable_if_t<!std::is_same_v< FutureValue< FutureType >, ReadyType > > >::FutureOrValue (FutureOrValue &&)=default |
| |
|
FutureOrValue & | pw::async2::FutureOrValue< FutureType, std::enable_if_t<!std::is_same_v< FutureValue< FutureType >, ReadyType > > >::operator= (FutureOrValue &&)=default |
| |
| FutureOrValue & | pw::async2::FutureOrValue< FutureType, std::enable_if_t<!std::is_same_v< FutureValue< FutureType >, ReadyType > > >::operator= (FutureType &&future) |
| |
| bool | pw::async2::FutureOrValue< FutureType, std::enable_if_t<!std::is_same_v< FutureValue< FutureType >, ReadyType > > >::Advance (Context &cx) |
| |
|
bool | pw::async2::FutureOrValue< FutureType, std::enable_if_t<!std::is_same_v< FutureValue< FutureType >, ReadyType > > >::empty () const |
| | Returns true if neither a future nor its result is held.
|
| |
|
bool | pw::async2::FutureOrValue< FutureType, std::enable_if_t<!std::is_same_v< FutureValue< FutureType >, ReadyType > > >::has_value () const |
| | Returns whether the value is available.
|
| |
|
bool | pw::async2::FutureOrValue< FutureType, std::enable_if_t<!std::is_same_v< FutureValue< FutureType >, ReadyType > > >::has_future () const |
| | Returns whether an active future is stored and pending.
|
| |
|
value_type & | pw::async2::FutureOrValue< FutureType, std::enable_if_t<!std::is_same_v< FutureValue< FutureType >, ReadyType > > >::value () & |
| | Accesses the stored value. Must only be called if has_value() is true.
|
| |
|
const value_type & | pw::async2::FutureOrValue< FutureType, std::enable_if_t<!std::is_same_v< FutureValue< FutureType >, ReadyType > > >::value () const & |
| |
|
value_type & | pw::async2::FutureOrValue< FutureType, std::enable_if_t<!std::is_same_v< FutureValue< FutureType >, ReadyType > > >::operator* () & |
| | Accesses the stored value. Must only be called if has_value() is true.
|
| |
|
const value_type & | pw::async2::FutureOrValue< FutureType, std::enable_if_t<!std::is_same_v< FutureValue< FutureType >, ReadyType > > >::operator* () const & |
| |
|
value_type * | pw::async2::FutureOrValue< FutureType, std::enable_if_t<!std::is_same_v< FutureValue< FutureType >, ReadyType > > >::operator-> () |
| |
|
const value_type * | pw::async2::FutureOrValue< FutureType, std::enable_if_t<!std::is_same_v< FutureValue< FutureType >, ReadyType > > >::operator-> () const |
| |
| value_type | pw::async2::FutureOrValue< FutureType, std::enable_if_t<!std::is_same_v< FutureValue< FutureType >, ReadyType > > >::Take () |
| |
|
void | pw::async2::FutureOrValue< FutureType, std::enable_if_t<!std::is_same_v< FutureValue< FutureType >, ReadyType > > >::Reset () |
| | Cancels the operation by destroying the future and clearing any value.
|
| |
|
| pw::async2::FutureOrValue< FutureType, std::enable_if_t< std::is_same_v< FutureValue< FutureType >, ReadyType > > >::FutureOrValue (FutureType &&future) |
| |
|
| pw::async2::FutureOrValue< FutureType, std::enable_if_t< std::is_same_v< FutureValue< FutureType >, ReadyType > > >::FutureOrValue (const FutureOrValue &)=delete |
| |
|
FutureOrValue & | pw::async2::FutureOrValue< FutureType, std::enable_if_t< std::is_same_v< FutureValue< FutureType >, ReadyType > > >::operator= (const FutureOrValue &)=delete |
| |
|
| pw::async2::FutureOrValue< FutureType, std::enable_if_t< std::is_same_v< FutureValue< FutureType >, ReadyType > > >::FutureOrValue (FutureOrValue &&)=default |
| |
|
FutureOrValue & | pw::async2::FutureOrValue< FutureType, std::enable_if_t< std::is_same_v< FutureValue< FutureType >, ReadyType > > >::operator= (FutureOrValue &&)=default |
| |
|
FutureOrValue & | pw::async2::FutureOrValue< FutureType, std::enable_if_t< std::is_same_v< FutureValue< FutureType >, ReadyType > > >::operator= (FutureType &&future) |
| |
|
bool | pw::async2::FutureOrValue< FutureType, std::enable_if_t< std::is_same_v< FutureValue< FutureType >, ReadyType > > >::Advance (Context &cx) |
| |
|
bool | pw::async2::FutureOrValue< FutureType, std::enable_if_t< std::is_same_v< FutureValue< FutureType >, ReadyType > > >::empty () const |
| | Returns true if neither a future nor its result is held.
|
| |
|
bool | pw::async2::FutureOrValue< FutureType, std::enable_if_t< std::is_same_v< FutureValue< FutureType >, ReadyType > > >::has_value () const |
| | Returns whether the value is available.
|
| |
|
bool | pw::async2::FutureOrValue< FutureType, std::enable_if_t< std::is_same_v< FutureValue< FutureType >, ReadyType > > >::has_future () const |
| | Returns whether an active future is stored and pending.
|
| |
|
void | pw::async2::FutureOrValue< FutureType, std::enable_if_t< std::is_same_v< FutureValue< FutureType >, ReadyType > > >::Take () |
| |
|
void | pw::async2::FutureOrValue< FutureType, std::enable_if_t< std::is_same_v< FutureValue< FutureType >, ReadyType > > >::Reset () |
| |
|
template<typename... Ts> |
| bool | pw::async2::internal::AdvanceAll (Context &cx, Ts &... ts) |
| |