dune-common 2.9.0
|
Provides a future-like object for MPI communication. It contains the object that will be received and might contain also a sending object, which must be hold (keep alive) until the communication has been completed. More...
#include <dune/common/parallel/mpifuture.hh>
Public Member Functions | |
MPIFuture (bool valid=false) | |
template<class V = R, class U = S> | |
MPIFuture (V &&recv_data, U &&send_data, typename std::enable_if_t<!std::is_void< V >::value &&!std::is_void< U >::value > *=0) | |
template<class V = R> | |
MPIFuture (V &&recv_data, typename std::enable_if_t<!std::is_void< V >::value > *=0) | |
~MPIFuture () | |
MPIFuture (MPIFuture &&f) | |
MPIFuture & | operator= (MPIFuture &&f) |
bool | valid () const |
void | wait () |
bool | ready () const |
R | get () |
S | get_send_data () |
auto | get_mpidata () |
auto | get_send_mpidata () |
Provides a future-like object for MPI communication. It contains the object that will be received and might contain also a sending object, which must be hold (keep alive) until the communication has been completed.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |