Teuchos - Trilinos Tools Package Version of the Day
Public Member Functions
Teuchos::MpiCommStatus< OrdinalType > Class Template Reference

MPI-specific implementation of CommStatus. More...

#include <Teuchos_DefaultMpiComm.hpp>

Inheritance diagram for Teuchos::MpiCommStatus< OrdinalType >:
Teuchos::CommStatus< OrdinalType >

List of all members.

Public Member Functions

virtual ~MpiCommStatus ()
 Destructor (declared virtual for memory safety)
OrdinalType getSourceRank ()
 The source rank that sent the message.
OrdinalType getTag ()
 The tag of the received message.
OrdinalType getError ()
 The error code of the received message.

Detailed Description

template<class OrdinalType>
class Teuchos::MpiCommStatus< OrdinalType >

MPI-specific implementation of CommStatus.

Users would not normally create an instance of this class. The only time they might wish to do so is to encapsulate an MPI_Status returned by an external library or by their own code, and pass it into one of our functions like wait() or waitAll().

Template Parameters:
OrdinalTypeThe same template parameter as Comm. Only use int here. We only make this a template class for compatibility with Comm.

Definition at line 131 of file Teuchos_DefaultMpiComm.hpp.


Constructor & Destructor Documentation

template<class OrdinalType >
virtual Teuchos::MpiCommStatus< OrdinalType >::~MpiCommStatus ( ) [inline, virtual]

Destructor (declared virtual for memory safety)

Definition at line 136 of file Teuchos_DefaultMpiComm.hpp.


Member Function Documentation

template<class OrdinalType >
OrdinalType Teuchos::MpiCommStatus< OrdinalType >::getSourceRank ( ) [inline, virtual]

The source rank that sent the message.

Implements Teuchos::CommStatus< OrdinalType >.

Definition at line 139 of file Teuchos_DefaultMpiComm.hpp.

template<class OrdinalType >
OrdinalType Teuchos::MpiCommStatus< OrdinalType >::getTag ( ) [inline]

The tag of the received message.

Definition at line 142 of file Teuchos_DefaultMpiComm.hpp.

template<class OrdinalType >
OrdinalType Teuchos::MpiCommStatus< OrdinalType >::getError ( ) [inline]

The error code of the received message.

Definition at line 145 of file Teuchos_DefaultMpiComm.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines