A Discrete-Event Network Simulator
API
Public Member Functions | Private Attributes | List of all members
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

◆ SentBuffer()

ns3::SentBuffer::SentBuffer ( )

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

References m_buffer, and m_request.

◆ ~SentBuffer()

ns3::SentBuffer::~SentBuffer ( )

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

References m_buffer.

Member Function Documentation

◆ GetBuffer()

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

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

References m_buffer.

◆ GetRequest()

MPI_Request* ns3::SentBuffer::GetRequest ( )
Returns
MPI request

◆ SetBuffer()

void ns3::SentBuffer::SetBuffer ( uint8_t *  buffer)
Parameters
bufferpointer to sent buffer

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

References m_buffer.

Member Data Documentation

◆ m_buffer

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().

◆ m_request

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: