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

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

+ Collaboration diagram for ns3::NullMessageSentBuffer:

Public Member Functions

 NullMessageSentBuffer ()
 
 ~NullMessageSentBuffer ()
 
uint8_t * GetBuffer ()
 
MPI_Request * GetRequest ()
 
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 60 of file null-message-mpi-interface.cc.

Constructor & Destructor Documentation

◆ NullMessageSentBuffer()

ns3::NullMessageSentBuffer::NullMessageSentBuffer ( )

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

References m_buffer, and m_request.

◆ ~NullMessageSentBuffer()

ns3::NullMessageSentBuffer::~NullMessageSentBuffer ( )

Definition at line 103 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 109 of file null-message-mpi-interface.cc.

References m_buffer.

◆ GetRequest()

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

Definition at line 121 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 115 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 88 of file null-message-mpi-interface.cc.

Referenced by NullMessageSentBuffer(), and GetRequest().


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