22 #ifndef WIMAX_HELPER_H 23 #define WIMAX_HELPER_H 26 #include "ns3/object-factory.h" 27 #include "ns3/node-container.h" 28 #include "ns3/net-device-container.h" 29 #include "ns3/bs-net-device.h" 30 #include "ns3/ss-net-device.h" 31 #include "ns3/service-flow.h" 32 #include "ns3/propagation-loss-model.h" 33 #include "ns3/simple-ofdm-wimax-channel.h" 34 #include "ns3/bs-uplink-scheduler.h" 35 #include "ns3/bs-uplink-scheduler-mbqos.h" 36 #include "ns3/bs-uplink-scheduler-simple.h" 37 #include "ns3/bs-uplink-scheduler-rtps.h" 38 #include "ns3/bs-scheduler.h" 39 #include "ns3/bs-scheduler-simple.h" 40 #include "ns3/bs-scheduler-rtps.h" 41 #include "ns3/trace-helper.h" 47 class UplinkScheduler;
186 double frameDuration);
324 bool explicitFilename);
Base class providing common user-level ascii trace operations for helpers representing net devices...
An migration-based uplink scheduler.
Subscriber station(SS) device.
static void AsciiRxEvent(Ptr< OutputStreamWrapper > stream, std::string path, Ptr< const Packet > packet, const Mac48Address &source)
ASCII trace receive event.
SchedulerType
Scheduler Type Different implementations of uplink/downlink scheduler.
NetDeviceType
Net Device Type Distinguish a subscriber station(SS) device from base station(BS) device...
Base class providing common user-level pcap operations for helpers representing net devices...
PropModel
PropModel enumeration.
NetDeviceContainer Install(NodeContainer c, NetDeviceType type, PhyType phyType, SchedulerType schedulerType)
IpcsClassifierRecord class.
A simple scheduler - rtPS based scheduler.
static void EnableAsciiForConnection(Ptr< OutputStreamWrapper > oss, uint32_t nodeid, uint32_t deviceid, char *netdevice, char *connection)
Enable ascii trace output on the indicated net device for a given connection.
SchedulingType
section 11.13.11 Service flow scheduling type, page 701
Direction
Direction enumeration.
holds a vector of ns3::NetDevice pointers
Ptr< WimaxChannel > m_channel
wifi channel
void SetPropagationLossModel(SimpleOfdmWimaxChannel::PropModel propagationModel)
Set the propagation and loss model of the channel.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
keep track of a set of node pointers.
This class implements service flows as described by the IEEE-802.16 standard.
int64_t AssignStreams(int64_t stream)
Assign a fixed random variable stream number to the random variables used by this model...
static void AsciiTxEvent(Ptr< OutputStreamWrapper > stream, std::string path, Ptr< const Packet > packet, const Mac48Address &dest)
ASCII trace transmit event.
ServiceFlow CreateServiceFlow(ServiceFlow::Direction direction, ServiceFlow::SchedulingType schedulinType, IpcsClassifierRecord classifier)
Creates a transport service flow.
Ptr< WimaxPhy > CreatePhyWithoutChannel(PhyType phyType)
Ptr< BSScheduler > CreateBSScheduler(SchedulerType schedulerType)
virtual void EnablePcapInternal(std::string prefix, Ptr< NetDevice > nd, bool explicitFilename, bool promiscuous)
Enable pcap output on the indicated net device.
helps to manage and create WimaxNetDevice objects
virtual void EnableAsciiInternal(Ptr< OutputStreamWrapper > stream, std::string prefix, Ptr< NetDevice > nd, bool explicitFilename)
Enable ascii trace output on the indicated net device.
static void EnableLogComponents(void)
Helper to enable all WimaxNetDevice log components with one statement.
Ptr< WimaxPhy > CreatePhy(PhyType phyType)
Ptr< UplinkScheduler > CreateUplinkScheduler(SchedulerType schedulerType)
WimaxHelper(void)
Create a Wimax helper in an empty state.
PhyType
WiMAX Physical layer WiMAX Physical layers with different levels of detail.
A simple priority-based FCFS scheduler.