A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.
 
MPI_Request m_request
 MPI request posted for the send.
 

Detailed Description

Non-blocking send buffers for Null Message implementation.

One buffer is allocated for each non-blocking send.

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

Constructor & Destructor Documentation

◆ NullMessageSentBuffer()

ns3::NullMessageSentBuffer::NullMessageSentBuffer ( )

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

References m_buffer, and m_request.

◆ ~NullMessageSentBuffer()

ns3::NullMessageSentBuffer::~NullMessageSentBuffer ( )

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

References m_buffer.

◆ GetRequest()

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

Definition at line 110 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 104 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 77 of file null-message-mpi-interface.cc.

Referenced by NullMessageSentBuffer(), and GetRequest().


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