An opaque wrapper for MPI_Request with a vendor-independent representation without any <mpi.h> header.
More...
Public Types | |
| typedef std::intptr_t | value_type |
| Storage for MPI_Request (as integer or pointer) More... | |
Public Member Functions | |
| Request (const Request &) noexcept=default | |
| Copy construct. More... | |
| Request (Request &&) noexcept=default | |
| Move construct. More... | |
| Request & | operator= (const Request &) noexcept=default |
| Copy assignment. More... | |
| Request & | operator= (Request &&) noexcept=default |
| Move assignment. More... | |
| bool | operator== (const Request &rhs) const noexcept |
| Test for equality. More... | |
| bool | operator!= (const Request &rhs) const noexcept |
| Test for inequality. More... | |
| Request () noexcept | |
| Default construct as MPI_REQUEST_NULL. More... | |
| Request (const void *p) noexcept | |
| Construct from MPI_Request (as pointer type) More... | |
| Request (value_type val) noexcept | |
| Construct from MPI_Request (as integer type) More... | |
| value_type | value () const noexcept |
| Return raw value. More... | |
| const void * | pointer () const noexcept |
| Return as pointer value. More... | |
| bool | good () const noexcept |
| True if not equal to MPI_REQUEST_NULL. More... | |
| void | reset () noexcept |
| Reset to default constructed value (MPI_REQUEST_NULL) More... | |
| void | cancel () |
| Same as calling UPstream::cancelRequest() More... | |
| void | free () |
| Same as calling UPstream::freeRequest() More... | |
| bool | finished () |
| Same as calling UPstream::finishedRequest() More... | |
| void | wait () |
| Same as calling UPstream::waitRequest() More... | |
An opaque wrapper for MPI_Request with a vendor-independent representation without any <mpi.h> header.
The MPI standard states that MPI_Request is always an opaque object. Generally it is either an integer (eg, mpich) or a pointer (eg, openmpi).
Definition at line 2599 of file UPstream.H.
| typedef std::intptr_t value_type |
Storage for MPI_Request (as integer or pointer)
Definition at line 2608 of file UPstream.H.
|
noexcept |
Default construct as MPI_REQUEST_NULL.
Definition at line 25 of file UPstreamRequest.C.
|
inlineexplicitnoexcept |
Construct from MPI_Request (as pointer type)
Definition at line 2674 of file UPstream.H.
|
inlineexplicitnoexcept |
Construct from MPI_Request (as integer type)
Definition at line 2682 of file UPstream.H.
|
inlinenoexcept |
Test for equality.
Definition at line 2650 of file UPstream.H.
|
inlinenoexcept |
Test for inequality.
Definition at line 2658 of file UPstream.H.
|
inlinenoexcept |
Return raw value.
Definition at line 2693 of file UPstream.H.
|
inlinenoexcept |
Return as pointer value.
Definition at line 2698 of file UPstream.H.
|
noexcept |
True if not equal to MPI_REQUEST_NULL.
Definition at line 33 of file UPstreamRequest.C.
|
noexcept |
Reset to default constructed value (MPI_REQUEST_NULL)
Definition at line 39 of file UPstreamRequest.C.
|
inline |
Same as calling UPstream::cancelRequest()
Definition at line 2716 of file UPstream.H.
References UPstream::cancelRequest().

|
inline |
Same as calling UPstream::freeRequest()
Definition at line 2721 of file UPstream.H.
References UPstream::freeRequest().

|
inline |
Same as calling UPstream::finishedRequest()
Definition at line 2726 of file UPstream.H.
References UPstream::finishedRequest().

|
inline |
Same as calling UPstream::waitRequest()
Definition at line 2731 of file UPstream.H.
References UPstream::waitRequest().
Referenced by PPCG::scalarSolveCG().

