23 #include "ns3/attribute.h"
24 #include "ns3/object-factory.h"
25 #include "ns3/node-container.h"
26 #include "ns3/net-device-container.h"
27 #include "ns3/trace-helper.h"
28 #include "ns3/yans-wifi-helper.h"
64 bool explicitFilename);
81 bool explicitFilename);
Hold a value for an Attribute.
A class for an empty attribute value.
holds a vector of ns3::NetDevice pointers
keep track of a set of node pointers.
Instantiate subclasses of ns3::Object.
helps to create WaveNetDevice objects
int64_t AssignStreams(NetDeviceContainer c, int64_t stream)
Assign a fixed random variable stream number to the random variables used by the Phy and Mac aspects ...
std::vector< uint32_t > m_macsForChannelNumber
MACs for channel number.
virtual NetDeviceContainer Install(const WifiPhyHelper &phy, const WifiMacHelper &mac, NodeContainer c) const
uint32_t m_physNumber
Phy number.
void CreateMacForChannel(std::vector< uint32_t > channelNumbers)
static void EnableLogComponents(void)
Helper to enable all WaveNetDevice log components with one statement.
static WaveHelper Default(void)
ObjectFactory m_channelScheduler
channel scheduler
ObjectFactory m_stationManager
station manager
void SetRemoteStationManager(std::string type, std::string n0="", const AttributeValue &v0=EmptyAttributeValue(), std::string n1="", const AttributeValue &v1=EmptyAttributeValue(), std::string n2="", const AttributeValue &v2=EmptyAttributeValue(), std::string n3="", const AttributeValue &v3=EmptyAttributeValue(), std::string n4="", const AttributeValue &v4=EmptyAttributeValue(), std::string n5="", const AttributeValue &v5=EmptyAttributeValue(), std::string n6="", const AttributeValue &v6=EmptyAttributeValue(), std::string n7="", const AttributeValue &v7=EmptyAttributeValue())
void CreatePhys(uint32_t phys)
void SetChannelScheduler(std::string type, std::string n0="", const AttributeValue &v0=EmptyAttributeValue(), std::string n1="", const AttributeValue &v1=EmptyAttributeValue(), std::string n2="", const AttributeValue &v2=EmptyAttributeValue(), std::string n3="", const AttributeValue &v3=EmptyAttributeValue(), std::string n4="", const AttributeValue &v4=EmptyAttributeValue(), std::string n5="", const AttributeValue &v5=EmptyAttributeValue(), std::string n6="", const AttributeValue &v6=EmptyAttributeValue(), std::string n7="", const AttributeValue &v7=EmptyAttributeValue())
create MAC layers for a ns3::WifiNetDevice.
To trace WaveNetDevice, we have to overwrite the trace functions of class YansWifiPhyHelper.
static YansWavePhyHelper Default(void)
Create a phy helper in a default working state.
virtual void EnablePcapInternal(std::string prefix, Ptr< NetDevice > nd, bool promiscuous, bool explicitFilename)
Enable pcap output the indicated net device.
virtual void EnableAsciiInternal(Ptr< OutputStreamWrapper > stream, std::string prefix, Ptr< NetDevice > nd, bool explicitFilename)
Enable ascii trace output on the indicated net device.
Make it easy to create and manage PHY objects for the YANS model.
Every class exported by the ns3 library is enclosed in the ns3 namespace.