A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::SentBuffer Class Reference

Tracks non-blocking sends. More...

#include <granted-time-window-mpi-interface.h>

Public Member Functions

 SentBuffer ()
 
 ~SentBuffer ()
 
uint8_t * GetBuffer ()
 
MPI_RequestGetRequest ()
 
void SetBuffer (uint8_t *buffer)
 

Private Attributes

uint8_t * m_buffer
 
MPI_Request m_request
 

Detailed Description

Tracks non-blocking sends.

This class is used to keep track of the asynchronous non-blocking sends that have been posted.

Definition at line 56 of file granted-time-window-mpi-interface.h.

Constructor & Destructor Documentation

ns3::SentBuffer::SentBuffer ( )

Definition at line 48 of file granted-time-window-mpi-interface.cc.

References m_buffer, and m_request.

ns3::SentBuffer::~SentBuffer ( )

Definition at line 54 of file granted-time-window-mpi-interface.cc.

References m_buffer.

Member Function Documentation

uint8_t * ns3::SentBuffer::GetBuffer ( )
Returns
pointer to sent buffer

Definition at line 60 of file granted-time-window-mpi-interface.cc.

References m_buffer.

MPI_Request* ns3::SentBuffer::GetRequest ( )
Returns
MPI request
void ns3::SentBuffer::SetBuffer ( uint8_t *  buffer)
Parameters
bufferpointer to sent buffer

Definition at line 66 of file granted-time-window-mpi-interface.cc.

References m_buffer.

Member Data Documentation

uint8_t* ns3::SentBuffer::m_buffer
private

Definition at line 76 of file granted-time-window-mpi-interface.h.

Referenced by GetBuffer(), SentBuffer(), SetBuffer(), and ~SentBuffer().

MPI_Request ns3::SentBuffer::m_request
private

Definition at line 77 of file granted-time-window-mpi-interface.h.

Referenced by SentBuffer().


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