Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
Encapsulation of the result of a receive (blocking or nonblocking). More...
#include <Teuchos_Comm.hpp>
Public Member Functions | |
virtual | ~CommStatus () |
Destructor (declared virtual for memory safety) More... | |
virtual OrdinalType | getSourceRank ()=0 |
The source rank that sent the message. More... | |
virtual OrdinalType | getTag ()=0 |
The tag of the received message. More... | |
Encapsulation of the result of a receive (blocking or nonblocking).
An instance of this class encapsulates the result of a receive. (An MPI implementation would wrap MPI_Status.) You can query it for information like the rank of the process that sent you the message. (This is useful if your receive specified a negative source rank, indicating that you would accept a message from any process in the communicator.)
OrdinalType | The same template parameter as Comm. Only use int here. We only make this a template class for compatibility with Comm. |
Definition at line 39 of file Teuchos_Comm.hpp.
|
inlinevirtual |
Destructor (declared virtual for memory safety)
Definition at line 42 of file Teuchos_Comm.hpp.
|
pure virtual |
The source rank that sent the message.
Implemented in Teuchos::SerialCommStatus< OrdinalType >.
|
pure virtual |
The tag of the received message.
Implemented in Teuchos::SerialCommStatus< OrdinalType >.