Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
FutureSharedStateDetail::SharedState< Callback > Struct Template Reference

The shared state between futures and packaged state. More...

#include <Future.h>

Collaboration diagram for FutureSharedStateDetail::SharedState< Callback >:

Public Member Functions

 SharedState (Callback &&callbackFunc)
 

Public Attributes

Callback callback
 
Receiver< std::invoke_result_t< Callback > > receiver
 

Detailed Description

template<typename Callback>
struct FutureSharedStateDetail::SharedState< Callback >

The shared state between futures and packaged state.

Constructor & Destructor Documentation

◆ SharedState()

template<typename Callback >
FutureSharedStateDetail::SharedState< Callback >::SharedState ( Callback &&  callbackFunc)
inline

Member Data Documentation

◆ callback

template<typename Callback >
Callback FutureSharedStateDetail::SharedState< Callback >::callback

◆ receiver

template<typename Callback >
Receiver<std::invoke_result_t<Callback> > FutureSharedStateDetail::SharedState< Callback >::receiver

The documentation for this struct was generated from the following file: