Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 >:
Teuchos::CommStatus< OrdinalType >

Public Member Functions

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

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

Constructor & Destructor Documentation

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

Default constructor.

Definition at line 29 of file Teuchos_DefaultSerialComm.hpp.

Member Function Documentation

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

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

The tag of the received message.

Implements Teuchos::CommStatus< OrdinalType >.

Definition at line 35 of file Teuchos_DefaultSerialComm.hpp.


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