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

Public Member Functions

 simpleOfdmSendParam (const bvec &fecBlock, uint32_t burstSize, bool isFirstBlock, uint64_t Frequency, WimaxPhy::ModulationType modulationType, uint8_t direction, double rxPowerDbm)
 
 simpleOfdmSendParam (uint32_t burstSize, bool isFirstBlock, uint64_t Frequency, WimaxPhy::ModulationType modulationType, uint8_t direction, double rxPowerDbm, Ptr< PacketBurst > burst)
 
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
 
uint32_t m_burstSize
 
uint8_t m_direction
 
bvec m_fecBlock
 
uint64_t m_frequency
 
bool m_isFirstBlock
 
WimaxPhy::ModulationType m_modulationType
 
double m_rxPowerDbm
 

Detailed Description

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

Member Function Documentation

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

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

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

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

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.

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

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

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.

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.

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.

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

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

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.

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.

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.

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

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

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.

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.

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

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


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