TIMPI
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
TIMPI::ManageOp Class Reference

#include <op_function.h>

Inheritance diagram for TIMPI::ManageOp:
[legend]

Public Member Functions

 ManageOp (MPI_User_function *func, int commute, MPI_Op *op)
 
virtual ~ManageOp () override
 

Static Public Member Functions

static void add (std::unique_ptr< SemiPermanent > obj)
 

Private Attributes

MPI_Op_op
 

Static Private Attributes

static int _ref_count = 0
 
static std::vector< std::unique_ptr< SemiPermanent > > _stuff_to_clean
 

Detailed Description

Definition at line 223 of file op_function.h.

Constructor & Destructor Documentation

◆ ManageOp()

TIMPI::ManageOp::ManageOp ( MPI_User_function func,
int  commute,
MPI_Op op 
)
inline

Definition at line 226 of file op_function.h.

227 : _op(op)
228 {
230 }
Tnew cast_int(Told oldvar)

References _op, and TIMPI::cast_int().

◆ ~ManageOp()

virtual TIMPI::ManageOp::~ManageOp ( )
inlineoverridevirtual

Definition at line 232 of file op_function.h.

232 {
234 }

References _op, and TIMPI::cast_int().

Member Function Documentation

◆ add()

void TIMPI::SemiPermanent::add ( std::unique_ptr< SemiPermanent obj)
staticinherited

Member Data Documentation

◆ _op

MPI_Op* TIMPI::ManageOp::_op
private

Definition at line 236 of file op_function.h.

Referenced by ManageOp(), and ~ManageOp().

◆ _ref_count

int TIMPI::SemiPermanent::_ref_count = 0
staticprivateinherited

◆ _stuff_to_clean

std::vector< std::unique_ptr< SemiPermanent > > TIMPI::SemiPermanent::_stuff_to_clean
staticprivateinherited

Definition at line 74 of file semipermanent.h.

Referenced by TIMPI::SemiPermanent::add(), and TIMPI::SemiPermanent::Ref::~Ref().


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