A Discrete-Event Network Simulator
API
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. More...
 
 SimpleOfdmSendParam (uint32_t burstSize, bool isFirstBlock, uint64_t Frequency, WimaxPhy::ModulationType modulationType, uint8_t direction, double rxPowerDbm, Ptr< PacketBurst > burst)
 Constructor. More...
 
 ~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 More...
 
void SetDirection (uint8_t direction)
 
void SetFecBlock (const Bvec &fecBlock)
 sent the fec block to send More...
 
void SetFrequency (uint64_t Frequency)
 
void SetIsFirstBlock (bool isFirstBlock)
 
void SetModulationType (WimaxPhy::ModulationType modulationType)
 
void SetRxPowerDbm (double rxPowerDbm)
 

Private Attributes

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

Detailed Description

SimpleOfdmSendParam class.

Definition at line 39 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 39 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 56 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 73 of file simple-ofdm-send-param.cc.

Member Function Documentation

◆ GetBurst()

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

Definition at line 162 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 126 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 150 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 120 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 138 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 132 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 144 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 156 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 84 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 108 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 78 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 96 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 90 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 102 of file simple-ofdm-send-param.cc.

References m_modulationType.

◆ SetRxPowerDbm()

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

Definition at line 114 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 152 of file simple-ofdm-send-param.h.

Referenced by SimpleOfdmSendParam(), and GetBurst().

◆ m_burstSize

uint32_t ns3::SimpleOfdmSendParam::m_burstSize
private

burst size

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

Referenced by SimpleOfdmSendParam(), GetBurstSize(), and SetBurstSize().

◆ m_direction

uint8_t ns3::SimpleOfdmSendParam::m_direction
private

direction

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

Referenced by SimpleOfdmSendParam(), GetDirection(), and SetDirection().

◆ m_fecBlock

Bvec ns3::SimpleOfdmSendParam::m_fecBlock
private

FEC block.

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

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

◆ m_frequency

uint64_t ns3::SimpleOfdmSendParam::m_frequency
private

frequency

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

Referenced by SimpleOfdmSendParam(), GetFrequency(), and SetFrequency().

◆ m_isFirstBlock

bool ns3::SimpleOfdmSendParam::m_isFirstBlock
private

is first block

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

Referenced by SimpleOfdmSendParam(), GetIsFirstBlock(), and SetIsFirstBlock().

◆ m_modulationType

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

modulation type

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

Referenced by SimpleOfdmSendParam(), GetModulationType(), and SetModulationType().

◆ m_rxPowerDbm

double ns3::SimpleOfdmSendParam::m_rxPowerDbm
private

receive power dbM

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

Referenced by SimpleOfdmSendParam(), GetRxPowerDbm(), and SetRxPowerDbm().


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