PLCnext API Documentation
22.9.0.33
|
Base class with common behavior for Future<T> and Future<void> More...
#include <Future.hpp>
Public Member Functions | |
FutureBase (const FutureBase &other)=default | |
FutureBase (FutureBase &&other) noexcept=default | |
FutureBase & | operator= (const FutureBase &other)=default |
FutureBase & | operator= (FutureBase &&other) noexcept=default |
const bool | IsValid () const |
Returns true, if this Future has an assiciated Promise More... | |
const bool | HasValue () const |
Returns true, if a value or an exception has been set More... | |
const bool | HasException () const |
Returns true, if an exception has been set More... | |
Base class with common behavior for Future<T> and Future<void>
const bool Arp::System::Nm::FutureBase::HasException | ( | ) | const |
Returns true, if an exception has been set
const bool Arp::System::Nm::FutureBase::HasValue | ( | ) | const |
Returns true, if a value or an exception has been set
const bool Arp::System::Nm::FutureBase::IsValid | ( | ) | const |
Returns true, if this Future has an assiciated Promise