A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.
 
MPI_Request m_request
 The MPI request handle.
 

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

Constructor & Destructor Documentation

◆ SentBuffer()

ns3::SentBuffer::SentBuffer ( )

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

References m_buffer, and m_request.

◆ ~SentBuffer()

ns3::SentBuffer::~SentBuffer ( )

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

References m_buffer.

◆ GetRequest()

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

Definition at line 65 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 59 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 65 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 66 of file granted-time-window-mpi-interface.h.

Referenced by SentBuffer(), and GetRequest().


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