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 (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 frist 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

ns3::simpleOfdmSendParam::simpleOfdmSendParam ( void  )
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.

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.

ns3::simpleOfdmSendParam::~simpleOfdmSendParam ( void  )

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

Member Function Documentation

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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

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

References m_fecBlock.

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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.

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.

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.

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.

References m_frequency.

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.

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.

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

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

burst

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

Referenced by GetBurst(), and simpleOfdmSendParam().

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().

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().

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().

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().

bool ns3::simpleOfdmSendParam::m_isFirstBlock
private

is frist block

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

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

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().

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: