Wrapper around an MPI_Request object. More...
#include <MPIWrapper.hpp>
Public Member Functions | |
MPIRequest () | |
MPIRequest (const MPIRequest &)=delete | |
MPIRequest (MPIRequest &&)=default | |
MPIRequest & | operator= (const MPIRequest &)=delete |
MPIRequest & | operator= (MPIRequest &&)=default |
void | wait () |
Friends | |
class | MPIComm |
Wrapper around an MPI_Request object.
This is a very basic wrapper around an MPI_Request object. Since MPI calls take a pointer to the MPI_Request object, it does not make sense to copy an MPI_Request object. The MPIRequest object can be moved though.
One problem with this class is that it cannot be used to create a vector of MPI_Request objects to be used in for instance an MPI_Waitall or MPI_Waitany call. For that you should use MPI_Request manually.
|
inline |
Default constructor, construct an empty MPIRequest.
|
delete |
Copy constructor is not available. Copying an MPI_Request is not allowed.
|
default |
Default move constructor.
|
delete |
Copy assignment is disabled.
|
default |
Default move assignment.
|
inline |
Wait for the request to complete.