A Discrete-Event Network Simulator
API
Public Member Functions | Private Attributes | List of all members
ns3::simpleOfdmSendParam Class Reference

simpleOfdmSendParam class More...

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

Public Member Functions

 simpleOfdmSendParam (void)
 
 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 (void)
 
Ptr< PacketBurstGetBurst (void)
 
uint32_t GetBurstSize (void)
 
uint8_t GetDirection (void)
 
bvec GetFecBlock (void)
 
uint64_t GetFrequency (void)
 
bool GetIsFirstBlock (void)
 
WimaxPhy::ModulationType GetModulationType (void)
 
double GetRxPowerDbm (void)
 
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 37 of file simple-ofdm-send-param.h.

Constructor & Destructor Documentation

◆ simpleOfdmSendParam() [1/3]

ns3::simpleOfdmSendParam::simpleOfdmSendParam ( void  )

◆ 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 38 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 ( void  )

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

Member Function Documentation

◆ GetBurst()

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

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

References m_burst.

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

◆ GetBurstSize()

uint32_t ns3::simpleOfdmSendParam::GetBurstSize ( void  )
Returns
the burst size

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

References m_burstSize.

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

◆ GetDirection()

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

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

References m_direction.

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

◆ GetFecBlock()

bvec ns3::simpleOfdmSendParam::GetFecBlock ( void  )
Returns
the fec block

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

References m_fecBlock.

◆ GetFrequency()

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

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

References m_frequency.

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

◆ GetIsFirstBlock()

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

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

References m_isFirstBlock.

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

◆ GetModulationType()

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

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

References m_modulationType.

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

◆ GetRxPowerDbm()

double ns3::simpleOfdmSendParam::GetRxPowerDbm ( void  )
Returns
the Received power

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

References m_rxPowerDbm.

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

◆ SetBurstSize()

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

set the burst size

Parameters
burstSizethe burst size in bytes

Definition at line 85 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 105 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 79 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 95 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 100 of file simple-ofdm-send-param.cc.

References m_modulationType.

◆ SetRxPowerDbm()

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

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

Referenced by GetBurst(), and simpleOfdmSendParam().

◆ m_burstSize

uint32_t ns3::simpleOfdmSendParam::m_burstSize
private

burst size

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

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

◆ m_direction

uint8_t ns3::simpleOfdmSendParam::m_direction
private

direction

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

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

◆ m_fecBlock

bvec ns3::simpleOfdmSendParam::m_fecBlock
private

FEC block.

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

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

◆ m_frequency

uint64_t ns3::simpleOfdmSendParam::m_frequency
private

frequency

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

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

◆ m_isFirstBlock

bool ns3::simpleOfdmSendParam::m_isFirstBlock
private

is first block

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

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

◆ m_modulationType

WimaxPhy::ModulationType ns3::simpleOfdmSendParam::m_modulationType
private

modulation type

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

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

◆ m_rxPowerDbm

double ns3::simpleOfdmSendParam::m_rxPowerDbm
private

receive power dbM

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

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


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