12 namespace fsdk_internal {
 
   13 #ifndef DOXYGEN_SHOULD_SKIP_THIS 
   87         static 
void swap(
Future& first, 
Future& second) noexcept;
 
  128 #ifndef DOXYGEN_SHOULD_SKIP_THIS 
  129         Future(fsdk_internal::FutureImpl<T>* impl) noexcept;
 
  134         fsdk_internal::FutureImpl<T>* m_pimpl = 
nullptr;
 
  209 #ifndef DOXYGEN_SHOULD_SKIP_THIS 
  211         fsdk_internal::PromiseImpl<T>* m_pimpl = 
nullptr;
 
  220         static bool isOk(
const FutureError error) noexcept {
 
  224         static const char* toString (
const FutureError error) noexcept {
 
  229                     return "Invalid data is given as input to some method";
 
  231                     return "Error if you call @see Future::cancel on not Promised state";
 
  233                     return "Error if you call @see Future::takeInto on not Fulfilled state";
 
  235                     return "Error if you try to @see Future::wait on non waitable state";
 
  237                     return "Error if your @see Future::waitFor method ran out of time";
 
  239                     return "Some internal error";
 
  241                     return "Unknown error";
 
  255         static const char* toString (
const PromiseError error) noexcept {
 
  260                     return "Internal error.";
 
  262                     return "Error if you call @see Promise::cancel on not CancelRequested state.";
 
  264                     return "Error if you call @see Promise::fail on not Promised and not CancelRequested state.";
 
  266                     return "Error if you call @see Promise::fulfill on not Promised state.";
 
  268                     return "Error if you call @see Promise::future on not Empty state.";
 
  270                     return "Unknown error";
 
State possible after Promised if promise' method. 
#define FSDK_API
Dummy. 
Definition: Def.h:27
A structure that encapsulates an action result enumeration. 
Definition: Result.h:29
T DataType
Alias for stored data type. 
Definition: Future.h:77
FutureError
Enumeration of possible Future errors. 
Definition: Future.h:54
Helper class to block copy operator&constructor of its descendants. 
Definition: Future.h:40
T DataType
Alias for stored data type. 
Definition: Future.h:159
ExecutionPolicy
Enum to tell some method how to behave. 
Definition: Future.h:23
State indicating some internal error. 
State right after future is created from promise. 
Lack of internal state: on promise creation and emptying Future. 
Promise class to support asynchronous data retrieval Look into std::promise semantics to understand i...
Definition: Future.h:51
FuturePromiseState
Enumeration of possible future or promise states. 
Definition: Future.h:29
State possible if during CancelRequested. 
State possible if during Promised. 
Invalid data is given as input to some method. 
PromiseError
Enumeration of possible Promise errors. 
Definition: Future.h:139
Future class to support asynchronous data retrieval Look into std::future semantics to understand it...
Definition: Future.h:69
int32_t USec
Alias for micro seconds type. 
Definition: Future.h:73