22 #include "ns3/simulator.h" 
   23 #include "ns3/callback.h" 
   24 #include "ns3/nstime.h" 
   25 #include "ns3/event-id.h" 
   26 #include "ns3/assert.h" 
   27 #include "ns3/net-device.h" 
   32 #include "ns3/mobility-model.h" 
   33 #include "ns3/cost231-propagation-loss-model.h" 
   58       m_loss = CreateObject<RandomPropagationLossModel> ();
 
   62       m_loss = CreateObject<FriisPropagationLossModel> ();
 
   65       m_loss = CreateObject<LogDistancePropagationLossModel> ();
 
   69       m_loss = CreateObject<Cost231PropagationLossModel> ();
 
   85       m_loss = CreateObject<RandomPropagationLossModel> ();
 
   89       m_loss = CreateObject<FriisPropagationLossModel> ();
 
   92       m_loss = CreateObject<LogDistancePropagationLossModel> ();
 
   96       m_loss = CreateObject<Cost231PropagationLossModel> ();
 
  126           return (*iter)->GetDevice ();
 
  147   double rxPowerDbm = 0;
 
  150   senderMobility = phy->GetDevice ()->GetNode ()->GetObject<
MobilityModel> ();
 
  154       Time delay = Seconds (0);
 
  159           if (receiverMobility != 0 && senderMobility != 0 && 
m_loss != 0)
 
  162               delay =  Seconds (distance/300000000.0);
 
  175           if (dstNetDevice == 0)
 
  177               dstNode = 0xffffffff;
 
  210   int64_t currentStream = stream;
 
  211   typedef std::list<Ptr<SimpleOfdmWimaxPhy> > PhyList;
 
  215       currentStream += simpleOfdm->AssignStreams (currentStream);
 
  217   return (currentStream - stream);
 
Ptr< NetDevice > DoGetDevice(uint32_t i) const 
 
Simulation virtual time values and global simulation resolution. 
 
smart pointer class similar to boost::intrusive_ptr 
 
SimpleOfdmWimaxChannel(void)
 
double GetDistanceFrom(Ptr< const MobilityModel > position) const 
 
int64_t AssignStreams(int64_t stream)
Assign a fixed random variable stream number to the random variables used by this model...
 
bool GetIsFirstBlock(void)
 
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name. 
 
#define NS_FATAL_ERROR(msg)
fatal error handling 
 
~SimpleOfdmWimaxChannel(void)
 
Keep track of the current position and velocity of an object. 
 
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. 
 
WimaxPhy::ModulationType GetModulationType(void)
 
double CalcRxPower(double txPowerDbm, Ptr< MobilityModel > a, Ptr< MobilityModel > b) const 
 
std::list< Ptr< SimpleOfdmWimaxPhy > > m_phyList
 
static void ScheduleWithContext(uint32_t context, Time const &time, MEM mem_ptr, OBJ obj)
Schedule an event with the given context. 
 
double GetRxPowerDbm(void)
 
uint32_t GetBurstSize(void)
 
void SetPropagationModel(PropModel propModel)
sets the propagation model 
 
Network layer to device interface. 
 
uint32_t DoGetNDevices(void) const 
 
uint8_t GetDirection(void)
 
uint64_t GetFrequency(void)
 
void EndSendDummyBlock(Ptr< SimpleOfdmWimaxPhy > rxphy, simpleOfdmSendParam *param)
 
Ptr< PacketBurst > GetBurst(void)
 
Ptr< T > GetObject(void) const 
 
Ptr< PropagationLossModel > m_loss
 
void DoAttach(Ptr< WimaxPhy > phy)