ns-3
ns3::SimpleOfdmWimaxChannel Class Reference
Inheritance diagram for ns3::SimpleOfdmWimaxChannel:
Collaboration diagram for ns3::SimpleOfdmWimaxChannel:

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:
propModelthe 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:
BlockTimethe time needed to send the block
burstSizethe size of the burst
phythe sender device
isFirstBlocktrue if this block is the first one, false otherwise
isLastBlocktrue if this block is the last one, false otherwise
frequencythe frequency on which the block is sent
modulationTypethe modulation used to send the fec block
directionuplink or downlink
txPowerDbmthe transmission power
burstthe packet burst to send

References ns3::PropagationLossModel::CalcRxPower(), ns3::WimaxPhy::GetDevice(), ns3::MobilityModel::GetDistanceFrom(), ns3::NetDevice::GetNode(), ns3::Object::GetObject(), ns3::Simulator::ScheduleWithContext(), and ns3::Seconds().

void ns3::SimpleOfdmWimaxChannel::SetPropagationModel ( PropModel  propModel)

sets the propagation model

Parameters:
propModelthe propagation model to used

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