A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::SimpleOfdmSendParam Class Reference

SimpleOfdmSendParam class. More...

#include "simple-ofdm-send-param.h"

+ Collaboration diagram for ns3::SimpleOfdmSendParam:

Public Member Functions

 SimpleOfdmSendParam ()
 
 SimpleOfdmSendParam (const Bvec &fecBlock, uint32_t burstSize, bool isFirstBlock, uint64_t Frequency, WimaxPhy::ModulationType modulationType, uint8_t direction, double rxPowerDbm)
 Constructor.
 
 SimpleOfdmSendParam (uint32_t burstSize, bool isFirstBlock, uint64_t Frequency, WimaxPhy::ModulationType modulationType, uint8_t direction, double rxPowerDbm, Ptr< PacketBurst > burst)
 Constructor.
 
 ~SimpleOfdmSendParam ()
 
Ptr< PacketBurstGetBurst ()
 
uint32_t GetBurstSize () const
 
uint8_t GetDirection () const
 
Bvec GetFecBlock ()
 
uint64_t GetFrequency () const
 
bool GetIsFirstBlock () const
 
WimaxPhy::ModulationType GetModulationType ()
 
double GetRxPowerDbm () const
 
void SetBurstSize (uint32_t burstSize)
 set the burst size
 
void SetDirection (uint8_t direction)
 
void SetFecBlock (const Bvec &fecBlock)
 sent the fec block to send
 
void SetFrequency (uint64_t Frequency)
 
void SetIsFirstBlock (bool isFirstBlock)
 
void SetModulationType (WimaxPhy::ModulationType modulationType)
 
void SetRxPowerDbm (double rxPowerDbm)
 

Private Attributes

Ptr< PacketBurstm_burst
 burst
 
uint32_t m_burstSize
 burst size
 
uint8_t m_direction
 direction
 
Bvec m_fecBlock
 FEC block.
 
uint64_t m_frequency
 frequency
 
bool m_isFirstBlock
 is first block
 
WimaxPhy::ModulationType m_modulationType
 modulation type
 
double m_rxPowerDbm
 receive power dbM
 

Detailed Description

SimpleOfdmSendParam class.

Definition at line 28 of file simple-ofdm-send-param.h.

Constructor & Destructor Documentation

◆ SimpleOfdmSendParam() [1/3]

ns3::SimpleOfdmSendParam::SimpleOfdmSendParam ( )

◆ SimpleOfdmSendParam() [2/3]

ns3::SimpleOfdmSendParam::SimpleOfdmSendParam ( const Bvec & fecBlock,
uint32_t burstSize,
bool isFirstBlock,
uint64_t Frequency,
WimaxPhy::ModulationType modulationType,
uint8_t direction,
double rxPowerDbm )

Constructor.

Parameters
fecBlockFEC block
burstSizeburst size
isFirstBlockis the first block
Frequencyfrequency
modulationTypemodulation type
directionthe direction
rxPowerDbmreceive power

Definition at line 28 of file simple-ofdm-send-param.cc.

References m_burstSize, m_direction, m_fecBlock, m_frequency, m_isFirstBlock, m_modulationType, and m_rxPowerDbm.

◆ SimpleOfdmSendParam() [3/3]

ns3::SimpleOfdmSendParam::SimpleOfdmSendParam ( uint32_t burstSize,
bool isFirstBlock,
uint64_t Frequency,
WimaxPhy::ModulationType modulationType,
uint8_t direction,
double rxPowerDbm,
Ptr< PacketBurst > burst )

Constructor.

Parameters
burstSizeburst size
isFirstBlockis the first block
Frequencyfrequency
modulationTypemodulation type
directionthe direction
rxPowerDbmreceive power
burstpacket burst object

Definition at line 45 of file simple-ofdm-send-param.cc.

References m_burst, m_burstSize, m_direction, m_frequency, m_isFirstBlock, m_modulationType, and m_rxPowerDbm.

◆ ~SimpleOfdmSendParam()

ns3::SimpleOfdmSendParam::~SimpleOfdmSendParam ( )

Definition at line 62 of file simple-ofdm-send-param.cc.

Member Function Documentation

◆ GetBurst()

Ptr< PacketBurst > ns3::SimpleOfdmSendParam::GetBurst ( )
Returns
the received burst

Definition at line 151 of file simple-ofdm-send-param.cc.

References m_burst.

Referenced by ns3::SimpleOfdmWimaxChannel::EndSendDummyBlock().

+ Here is the caller graph for this function:

◆ GetBurstSize()

uint32_t ns3::SimpleOfdmSendParam::GetBurstSize ( ) const
Returns
the burst size

Definition at line 115 of file simple-ofdm-send-param.cc.

References m_burstSize.

Referenced by ns3::SimpleOfdmWimaxChannel::EndSendDummyBlock().

+ Here is the caller graph for this function:

◆ GetDirection()

uint8_t ns3::SimpleOfdmSendParam::GetDirection ( ) const
Returns
the direction on which this fec block was sent. UP or DOWN

Definition at line 139 of file simple-ofdm-send-param.cc.

References m_direction.

Referenced by ns3::SimpleOfdmWimaxChannel::EndSendDummyBlock().

+ Here is the caller graph for this function:

◆ GetFecBlock()

Bvec ns3::SimpleOfdmSendParam::GetFecBlock ( )
Returns
the fec block

Definition at line 109 of file simple-ofdm-send-param.cc.

References m_fecBlock.

◆ GetFrequency()

uint64_t ns3::SimpleOfdmSendParam::GetFrequency ( ) const
Returns
the frequency on which the fec block is sent/received

Definition at line 127 of file simple-ofdm-send-param.cc.

References m_frequency.

Referenced by ns3::SimpleOfdmWimaxChannel::EndSendDummyBlock().

+ Here is the caller graph for this function:

◆ GetIsFirstBlock()

bool ns3::SimpleOfdmSendParam::GetIsFirstBlock ( ) const
Returns
true if this fec block is the first one in the burst, false otherwise

Definition at line 121 of file simple-ofdm-send-param.cc.

References m_isFirstBlock.

Referenced by ns3::SimpleOfdmWimaxChannel::EndSendDummyBlock().

+ Here is the caller graph for this function:

◆ GetModulationType()

WimaxPhy::ModulationType ns3::SimpleOfdmSendParam::GetModulationType ( )
Returns
the modulation type used to send this fec block

Definition at line 133 of file simple-ofdm-send-param.cc.

References m_modulationType.

Referenced by ns3::SimpleOfdmWimaxChannel::EndSendDummyBlock().

+ Here is the caller graph for this function:

◆ GetRxPowerDbm()

double ns3::SimpleOfdmSendParam::GetRxPowerDbm ( ) const
Returns
the Received power

Definition at line 145 of file simple-ofdm-send-param.cc.

References m_rxPowerDbm.

Referenced by ns3::SimpleOfdmWimaxChannel::EndSendDummyBlock().

+ Here is the caller graph for this function:

◆ SetBurstSize()

void ns3::SimpleOfdmSendParam::SetBurstSize ( uint32_t burstSize)

set the burst size

Parameters
burstSizethe burst size in bytes

Definition at line 73 of file simple-ofdm-send-param.cc.

References m_burstSize.

◆ SetDirection()

void ns3::SimpleOfdmSendParam::SetDirection ( uint8_t direction)
Parameters
directionthe direction on which this fec block will be sent

Definition at line 97 of file simple-ofdm-send-param.cc.

References m_direction.

◆ SetFecBlock()

void ns3::SimpleOfdmSendParam::SetFecBlock ( const Bvec & fecBlock)

sent the fec block to send

Parameters
fecBlockthe fec block to send

Definition at line 67 of file simple-ofdm-send-param.cc.

References m_fecBlock.

◆ SetFrequency()

void ns3::SimpleOfdmSendParam::SetFrequency ( uint64_t Frequency)
Parameters
Frequencyset the frequency of the channel in which this fec block will be sent

Definition at line 85 of file simple-ofdm-send-param.cc.

References m_frequency.

◆ SetIsFirstBlock()

void ns3::SimpleOfdmSendParam::SetIsFirstBlock ( bool isFirstBlock)
Parameters
isFirstBlockSet to true if this fec block is the first one in the burst, set to false otherwise

Definition at line 79 of file simple-ofdm-send-param.cc.

References m_isFirstBlock.

◆ SetModulationType()

void ns3::SimpleOfdmSendParam::SetModulationType ( WimaxPhy::ModulationType modulationType)
Parameters
modulationTypethe modulation type used to send this fec block

Definition at line 91 of file simple-ofdm-send-param.cc.

References m_modulationType.

◆ SetRxPowerDbm()

void ns3::SimpleOfdmSendParam::SetRxPowerDbm ( double rxPowerDbm)
Parameters
rxPowerDbmthe received power

Definition at line 103 of file simple-ofdm-send-param.cc.

References m_rxPowerDbm.

Member Data Documentation

◆ m_burst

Ptr<PacketBurst> ns3::SimpleOfdmSendParam::m_burst
private

burst

Definition at line 141 of file simple-ofdm-send-param.h.

Referenced by SimpleOfdmSendParam(), and GetBurst().

◆ m_burstSize

uint32_t ns3::SimpleOfdmSendParam::m_burstSize
private

◆ m_direction

uint8_t ns3::SimpleOfdmSendParam::m_direction
private

◆ m_fecBlock

Bvec ns3::SimpleOfdmSendParam::m_fecBlock
private

FEC block.

Definition at line 134 of file simple-ofdm-send-param.h.

Referenced by SimpleOfdmSendParam(), GetFecBlock(), and SetFecBlock().

◆ m_frequency

uint64_t ns3::SimpleOfdmSendParam::m_frequency
private

◆ m_isFirstBlock

bool ns3::SimpleOfdmSendParam::m_isFirstBlock
private

◆ m_modulationType

WimaxPhy::ModulationType ns3::SimpleOfdmSendParam::m_modulationType
private

◆ m_rxPowerDbm

double ns3::SimpleOfdmSendParam::m_rxPowerDbm
private

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