A Discrete-Event Network Simulator
API
ns3::SentBuffer Class Reference

Tracks non-blocking sends. More...

#include "granted-time-window-mpi-interface.h"

+ Collaboration diagram for ns3::SentBuffer:

Public Member Functions

 SentBuffer ()
 
 ~SentBuffer ()
 
uint8_t * GetBuffer ()
 
MPI_Request * GetRequest ()
 
void SetBuffer (uint8_t *buffer)
 

Private Attributes

uint8_t * m_buffer
 The buffer. More...
 
MPI_Request m_request
 The MPI request handle. More...
 

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 57 of file granted-time-window-mpi-interface.h.

Constructor & Destructor Documentation

◆ SentBuffer()

ns3::SentBuffer::SentBuffer ( )

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

References m_buffer, and m_request.

◆ ~SentBuffer()

ns3::SentBuffer::~SentBuffer ( )

Definition at line 58 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 64 of file granted-time-window-mpi-interface.cc.

References m_buffer.

◆ GetRequest()

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

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

References m_request.

◆ SetBuffer()

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

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

References m_buffer.

Member Data Documentation

◆ m_buffer

uint8_t* ns3::SentBuffer::m_buffer
private

The buffer.

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

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

◆ m_request

MPI_Request ns3::SentBuffer::m_request
private

The MPI request handle.

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

Referenced by SentBuffer(), and GetRequest().


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