A Discrete-Event Network Simulator
API
Public Member Functions | Private Attributes | List of all members
ns3::NullMessageSentBuffer Class Reference

Non-blocking send buffers for Null Message implementation. More...

#include "null-message-mpi-interface.h"

Public Member Functions

 NullMessageSentBuffer ()
 maximum MPI message size for easy buffer creation More...
 
 ~NullMessageSentBuffer ()
 
uint8_t * GetBuffer ()
 
MPI_RequestGetRequest ()
 
void SetBuffer (uint8_t *buffer)
 

Private Attributes

uint8_t * m_buffer
 Buffer for send. More...
 
MPI_Request m_request
 MPI request posted for the send. More...
 

Detailed Description

Non-blocking send buffers for Null Message implementation.

One buffer is allocated for each non-blocking send.

Definition at line 50 of file null-message-mpi-interface.h.

Constructor & Destructor Documentation

◆ NullMessageSentBuffer()

ns3::NullMessageSentBuffer::NullMessageSentBuffer ( )

maximum MPI message size for easy buffer creation

Definition at line 56 of file null-message-mpi-interface.cc.

References m_buffer, and m_request.

◆ ~NullMessageSentBuffer()

ns3::NullMessageSentBuffer::~NullMessageSentBuffer ( )

Definition at line 62 of file null-message-mpi-interface.cc.

References m_buffer.

Member Function Documentation

◆ GetBuffer()

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

Definition at line 68 of file null-message-mpi-interface.cc.

References m_buffer.

◆ GetRequest()

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

Definition at line 80 of file null-message-mpi-interface.cc.

References m_request.

◆ SetBuffer()

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

Definition at line 74 of file null-message-mpi-interface.cc.

References m_buffer.

Member Data Documentation

◆ m_buffer

uint8_t* ns3::NullMessageSentBuffer::m_buffer
private

◆ m_request

MPI_Request ns3::NullMessageSentBuffer::m_request
private

MPI request posted for the send.

Definition at line 79 of file null-message-mpi-interface.h.

Referenced by GetRequest(), and NullMessageSentBuffer().


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