Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Tpetra::Details::CommRequest Class Referenceabstract

Base class for the request (more or less a future) representing a pending nonblocking MPI operation. More...

#include <Tpetra_Details_iallreduce.hpp>

Inheritance diagram for Tpetra::Details::CommRequest:
Inheritance graph
[legend]

Public Member Functions

virtual ~CommRequest ()
 Destructor (virtual for memory safety of derived classes). More...
 
virtual void wait ()=0
 Wait on this communication request to complete. More...
 
virtual void cancel ()=0
 Cancel the pending communication request. More...
 

Detailed Description

Base class for the request (more or less a future) representing a pending nonblocking MPI operation.

We recommend using auto to interact with this class. For example, use auto for the type of the return value of iallreduce() (see below).

Definition at line 89 of file Tpetra_Details_iallreduce.hpp.

Constructor & Destructor Documentation

virtual Tpetra::Details::CommRequest::~CommRequest ( )
inlinevirtual

Destructor (virtual for memory safety of derived classes).

Definition at line 92 of file Tpetra_Details_iallreduce.hpp.

Member Function Documentation

virtual void Tpetra::Details::CommRequest::wait ( )
pure virtual
virtual void Tpetra::Details::CommRequest::cancel ( )
pure virtual

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