Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_Details_MpiCommRequest.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Teuchos: Common Tools Package
4 //
5 // Copyright 2004 NTESS and the Teuchos contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef TEUCHOS_DETAILS_MPICOMMREQUEST_HPP
11 #define TEUCHOS_DETAILS_MPICOMMREQUEST_HPP
12 
14 
15 namespace Teuchos {
16 namespace Details {
17 
38 class MpiCommRequest : public MpiCommRequestBase<int> {
39 public:
56  MpiCommRequest (MPI_Request rawMpiRequest,
57  const ArrayRCP<const char>& buffer);
58 
60  virtual ~MpiCommRequest ();
61 
62 private:
65 
66  MpiCommRequest (); // Not defined
67  MpiCommRequest (const MpiCommRequest&); // Not defined
68  MpiCommRequest& operator= (const MpiCommRequest&); // Not defined
69 };
70 
79 mpiCommRequest (MPI_Request rawMpiRequest,
80  const ArrayRCP<const char>& buffer);
81 
82 } // namespace Details
83 } // namespace Teuchos
84 
85 #endif // TEUCHOS_DETAILS_MPICOMMREQUEST_HPP
MpiCommRequest & operator=(const MpiCommRequest &)
ArrayRCP< const char > buffer_
The buffer for the nonblocking communication operation.
MPI implementation of CommRequest&lt;int&gt;.
virtual ~MpiCommRequest()
Destructor; cancels the request if it is still pending.
Implementation of Teuchos wrappers for MPI.
Smart reference counting pointer class for automatic garbage collection.
RCP< MpiCommRequest > mpiCommRequest(MPI_Request rawMpiRequest, const ArrayRCP< const char > &buffer)