Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Teuchos::SerialCommStatus< OrdinalType > Class Template Reference

Implementation of CommStatus for a serial communicator. More...

#include <Teuchos_DefaultSerialComm.hpp>

Inheritance diagram for Teuchos::SerialCommStatus< OrdinalType >:
Inheritance graph
[legend]

Public Member Functions

 SerialCommStatus ()
 Default constructor.
 
OrdinalType getSourceRank ()
 The source rank that sent the message (must be zero).
 
OrdinalType getTag ()
 The tag of the received message.
 
- Public Member Functions inherited from Teuchos::CommStatus< OrdinalType >
virtual ~CommStatus ()
 Destructor (declared virtual for memory safety)
 

Detailed Description

template<class OrdinalType>
class Teuchos::SerialCommStatus< OrdinalType >

Implementation of CommStatus for a serial communicator.

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 58 of file Teuchos_DefaultSerialComm.hpp.

Constructor & Destructor Documentation

◆ SerialCommStatus()

template<class OrdinalType >
Teuchos::SerialCommStatus< OrdinalType >::SerialCommStatus ( )
inline

Default constructor.

Definition at line 61 of file Teuchos_DefaultSerialComm.hpp.

Member Function Documentation

◆ getSourceRank()

template<class OrdinalType >
OrdinalType Teuchos::SerialCommStatus< OrdinalType >::getSourceRank ( )
inlinevirtual

The source rank that sent the message (must be zero).

Implements Teuchos::CommStatus< OrdinalType >.

Definition at line 64 of file Teuchos_DefaultSerialComm.hpp.

◆ getTag()

template<class OrdinalType >
OrdinalType Teuchos::SerialCommStatus< OrdinalType >::getTag ( )
inlinevirtual

The tag of the received message.

Implements Teuchos::CommStatus< OrdinalType >.

Definition at line 67 of file Teuchos_DefaultSerialComm.hpp.


The documentation for this class was generated from the following file: