PLCnext API Documentation 24.0.0.71
|
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 | |
const bool | HasValue () const |
Returns true, if a value or an exception has been set | |
const bool | HasException () const |
Returns true, if an exception has been set | |
Base class with common behavior for Future<T> and Future<void>