Public Types | Public Member Functions

ns3::SimpleOfdmWimaxChannel Class Reference

Inheritance diagram for ns3::SimpleOfdmWimaxChannel:
Inheritance graph
[legend]
Collaboration diagram for ns3::SimpleOfdmWimaxChannel:
Collaboration graph
[legend]

List of all members.

Public Types

enum  PropModel { RANDOM_PROPAGATION, FRIIS_PROPAGATION, LOG_DISTANCE_PROPAGATION, COST231_PROPAGATION }

Public Member Functions

 SimpleOfdmWimaxChannel (PropModel propModel)
 Creates a channel and sets the propagation model.
void Send (Time BlockTime, uint32_t burstSize, Ptr< WimaxPhy > phy, bool isFirstBlock, bool isLastBlock, uint64_t frequency, WimaxPhy::ModulationType modulationType, uint8_t direction, double txPowerDbm, Ptr< PacketBurst > burst)
 Sends a dummy fec block to all connected physical devices.
void SetPropagationModel (PropModel propModel)
 sets the propagation model

Constructor & Destructor Documentation

ns3::SimpleOfdmWimaxChannel::SimpleOfdmWimaxChannel ( PropModel  propModel  ) 

Creates a channel and sets the propagation model.

Parameters:
propModel the propagation model to use

Member Function Documentation

void ns3::SimpleOfdmWimaxChannel::Send ( Time  BlockTime,
uint32_t  burstSize,
Ptr< WimaxPhy phy,
bool  isFirstBlock,
bool  isLastBlock,
uint64_t  frequency,
WimaxPhy::ModulationType  modulationType,
uint8_t  direction,
double  txPowerDbm,
Ptr< PacketBurst burst 
)

Sends a dummy fec block to all connected physical devices.

Parameters:
BlockTime the time needed to send the block
burstSize the size of the burst
phy the sender device
isFirstBlock true if this block is the first one, false otherwise
isLastBlock true if this block is the last one, false otherwise
frequency the frequency on which the block is sent
modulationType the modulation used to send the fec block
direction uplink or downlink
txPowerDbm the transmission power
burst the packet burst to send
void ns3::SimpleOfdmWimaxChannel::SetPropagationModel ( PropModel  propModel  ) 

sets the propagation model

Parameters:
propModel the propagation model to used

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