PPL Logo

AmpiMsgPool Class Reference

#include <ampiimpl.h>

Collaboration diagram for AmpiMsgPool:

Collaboration graph
[legend]

Public Member Functions

 AmpiMsgPool (int _numMsgs=0, int _msgLength=0) noexcept
 ~AmpiMsgPool ()
void clear () noexcept
AmpiMsg * newAmpiMsg (CMK_REFNUM_TYPE seq, int ssendReq, int tag, int srcRank, int len) noexcept
void deleteAmpiMsg (AmpiMsg *msg) noexcept
void pup (PUP::er &p)

Private Attributes

std::forward_list< AmpiMsg * > msgs
int msgLength
int maxMsgs
int currMsgs

Detailed Description

Definition at line 1691 of file ampiimpl.h.


Constructor & Destructor Documentation

AmpiMsgPool::AmpiMsgPool ( int  _numMsgs = 0,
int  _msgLength = 0 
) [inline]

Definition at line 1699 of file ampiimpl.h.

AmpiMsgPool::~AmpiMsgPool (  ) 


Member Function Documentation

void AmpiMsgPool::clear (  )  [inline]

Definition at line 1702 of file ampiimpl.h.

AmpiMsg* AmpiMsgPool::newAmpiMsg ( CMK_REFNUM_TYPE  seq,
int  ssendReq,
int  tag,
int  srcRank,
int  len 
) [inline]

Definition at line 1709 of file ampiimpl.h.

References len, max(), srcRank, and tag.

Here is the call graph for this function:

void AmpiMsgPool::deleteAmpiMsg ( AmpiMsg *  msg  )  [inline]

Definition at line 1727 of file ampiimpl.h.

void AmpiMsgPool::pup ( PUP::er p  )  [inline]

Definition at line 1737 of file ampiimpl.h.


Field Documentation

std::forward_list<AmpiMsg *> AmpiMsgPool::msgs [private]

Definition at line 1693 of file ampiimpl.h.

Definition at line 1694 of file ampiimpl.h.

Definition at line 1695 of file ampiimpl.h.

Definition at line 1696 of file ampiimpl.h.


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

Generated on Mon Sep 21 08:17:20 2020 for Charm++ by  doxygen 1.5.5