Pyrogenesis  trunk
Classes | Namespaces | Typedefs | Enumerations
Future.h File Reference
#include "ps/FutureForward.h"
#include <atomic>
#include <condition_variable>
#include <functional>
#include <mutex>
#include <optional>
#include <type_traits>
Include dependency graph for Future.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PackagedTask< ResultType >
 Corresponds somewhat to std::packaged_task. More...
 
class  FutureSharedStateDetail::SharedState< ResultType >
 The shared state between futures and packaged state. More...
 
class  Future< ResultType >
 Corresponds to std::future. More...
 
class  PackagedTask< ResultType >
 Corresponds somewhat to std::packaged_task. More...
 

Namespaces

 FutureSharedStateDetail
 

Typedefs

template<typename T >
using FutureSharedStateDetail::ResultHolder = std::conditional_t< std::is_void_v< T >, std::nullopt_t, std::optional< T > >
 

Enumerations

enum  FutureSharedStateDetail::Status { FutureSharedStateDetail::Status::PENDING, FutureSharedStateDetail::Status::STARTED, FutureSharedStateDetail::Status::DONE, FutureSharedStateDetail::Status::CANCELED }