SimGrid  3.19.1
Versatile Simulation of Distributed Systems
simgrid::simix::Future< T > Class Template Reference

Detailed Description

template<class T>
class simgrid::simix::Future< T >

A blocking (wait()-based) future for SIMIX processes.

#include <blocking_simcall.hpp>

Public Member Functions

 Future ()
 
 Future (simgrid::kernel::Future< T > future)
 
bool valid () const
 
get ()
 
bool is_ready () const
 
void wait ()
 

Constructor & Destructor Documentation

◆ Future() [1/2]

template<class T>
simgrid::simix::Future< T >::Future ( )
inline

◆ Future() [2/2]

template<class T>
simgrid::simix::Future< T >::Future ( simgrid::kernel::Future< T >  future)
inlineexplicit

Member Function Documentation

◆ valid()

template<class T>
bool simgrid::simix::Future< T >::valid ( ) const
inline

◆ get()

template<class T>
T simgrid::simix::Future< T >::get ( )
inline

◆ is_ready()

template<class T>
bool simgrid::simix::Future< T >::is_ready ( ) const
inline

◆ wait()

template<class T>
void simgrid::simix::Future< T >::wait ( )
inline

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