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" 63 bool explicitFilename);
80 bool explicitFilename);
static void EnableLogComponents(void)
Helper to enable all WaveNetDevice log components with one statement.
void CreateMacForChannel(std::vector< uint32_t > channelNumbers)
ObjectFactory m_channelScheduler
channel scheduler
Smart pointer class similar to boost::intrusive_ptr.
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 ...
Make it easy to create and manage PHY objects for the yans model.
Hold a value for an Attribute.
static WaveHelper Default(void)
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())
std::vector< uint32_t > m_macsForChannelNumber
MACs for channel number.
virtual void EnablePcapInternal(std::string prefix, Ptr< NetDevice > nd, bool promiscuous, bool explicitFilename)
Enable pcap output the indicated net device.
A class for an empty attribute value.
helps to create WaveNetDevice objects
holds a vector of ns3::NetDevice pointers
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())
virtual void EnableAsciiInternal(Ptr< OutputStreamWrapper > stream, std::string prefix, Ptr< NetDevice > nd, bool explicitFilename)
Enable ascii trace output on the indicated net device.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
keep track of a set of node pointers.
void CreatePhys(uint32_t phys)
virtual NetDeviceContainer Install(const WifiPhyHelper &phy, const WifiMacHelper &mac, NodeContainer c) const
create MAC layers for a ns3::WifiNetDevice.
To trace WaveNetDevice, we have to overwrite the trace functions of class YansWifiPhyHelper.
ObjectFactory m_stationManager
station manager
Instantiate subclasses of ns3::Object.
static YansWavePhyHelper Default(void)
Create a phy helper in a default working state.
uint32_t m_physNumber
Phy number.