A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::LbtsMessage Class Reference

Structure used for all-reduce LBTS computation. More...

#include <distributed-simulator-impl.h>

Public Member Functions

 LbtsMessage (uint32_t rxc, uint32_t txc, uint32_t id, const Time &t)
 
uint32_t GetMyId ()
 
uint32_t GetRxCount ()
 
Time GetSmallestTime ()
 
uint32_t GetTxCount ()
 

Private Attributes

uint32_t m_myId
 
uint32_t m_rxCount
 
Time m_smallestTime
 
uint32_t m_txCount
 

Detailed Description

Structure used for all-reduce LBTS computation.

Definition at line 36 of file distributed-simulator-impl.h.

Constructor & Destructor Documentation

ns3::LbtsMessage::LbtsMessage ( uint32_t  rxc,
uint32_t  txc,
uint32_t  id,
const Time t 
)
inline
Parameters
rxcreceived count
txctransmitted count
idmpi rank
tsmallest time

Definition at line 52 of file distributed-simulator-impl.h.

Member Function Documentation

uint32_t ns3::LbtsMessage::GetMyId ( )
Returns
id which corresponds to mpi rank

Definition at line 66 of file distributed-simulator-impl.cc.

uint32_t ns3::LbtsMessage::GetRxCount ( )
Returns
receieved count

Definition at line 61 of file distributed-simulator-impl.cc.

Referenced by ns3::DistributedSimulatorImpl::Run().

Time ns3::LbtsMessage::GetSmallestTime ( )
Returns
smallest time

Definition at line 49 of file distributed-simulator-impl.cc.

Referenced by ns3::DistributedSimulatorImpl::Run().

uint32_t ns3::LbtsMessage::GetTxCount ( )
Returns
transmitted count

Definition at line 55 of file distributed-simulator-impl.cc.

Referenced by ns3::DistributedSimulatorImpl::Run().


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