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