DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::MPIReqHolder Struct Reference

RAII vector of MPI_Requests that frees each non-null handle when destroyed. More...

#include <MPI.hpp>

Inheritance diagram for DNDS::MPIReqHolder:
[legend]
Collaboration diagram for DNDS::MPIReqHolder:
[legend]

Public Types

using tSelf = MPIReqHolder
 
using tBase = tMPI_reqVec
 

Public Member Functions

template<typename... Args>
 MPIReqHolder (shared_ctor_guard g, Args &&...args)
 Perfect-forwarding factory; returns shared_ptr<MPIReqHolder>.
 
 ~MPIReqHolder ()
 
void clear ()
 Free every non-null request and empty the vector.
 

Static Public Member Functions

template<typename... Args>
static ssp< MPIReqHoldercreate (Args &&...args)
 Only public path to construct an instance.
 

Detailed Description

RAII vector of MPI_Requests that frees each non-null handle when destroyed.

Mirror of MPITypePairHolder for MPI requests (persistent or transient). Used by ArrayTransformer for send/recv request sets. Construction is likewise channelled through the static create factory.

Definition at line 386 of file MPI.hpp.

Member Typedef Documentation

◆ tBase

Definition at line 389 of file MPI.hpp.

◆ tSelf

Definition at line 388 of file MPI.hpp.

Constructor & Destructor Documentation

◆ MPIReqHolder()

template<typename... Args>
DNDS::MPIReqHolder::MPIReqHolder ( shared_ctor_guard  g,
Args &&...  args 
)
inline

Perfect-forwarding factory; returns shared_ptr<MPIReqHolder>.

Definition at line 400 of file MPI.hpp.

Here is the call graph for this function:

◆ ~MPIReqHolder()

DNDS::MPIReqHolder::~MPIReqHolder ( )
inline

Definition at line 414 of file MPI.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ clear()

void DNDS::MPIReqHolder::clear ( )
inline

Free every non-null request and empty the vector.

Definition at line 420 of file MPI.hpp.

Here is the caller graph for this function:

◆ create()

template<typename... Args>
static ssp< MPIReqHolder > DNDS::MPIReqHolder::create ( Args &&...  args)
inlinestatic

Only public path to construct an instance.

Definition at line 410 of file MPI.hpp.

Here is the caller graph for this function:

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