25 #include "ns3/attribute.h" 26 #include "ns3/object-factory.h" 27 #include "ns3/net-device-container.h" 28 #include "ns3/node-container.h" 29 #include "ns3/csma-channel.h" 30 #include "ns3/trace-helper.h" 248 bool explicitFilename);
Base class providing common user-level ascii trace operations for helpers representing net devices...
Ptr< NetDevice > InstallPriv(Ptr< Node > node, Ptr< CsmaChannel > channel) const
This method creates an ns3::CsmaNetDevice with the attributes configured by CsmaHelper::SetDeviceAttr...
void SetChannelAttribute(std::string n1, const AttributeValue &v1)
Hold a value for an Attribute.
Base class providing common user-level pcap operations for helpers representing net devices...
virtual void EnablePcapInternal(std::string prefix, Ptr< NetDevice > nd, bool promiscuous, bool explicitFilename)
Enable pcap output on the indicated net device.
CsmaHelper()
Construct a CsmaHelper.
A class for an empty attribute value.
ObjectFactory m_deviceFactory
factory for the NetDevices
holds a vector of ns3::NetDevice pointers
ObjectFactory m_channelFactory
factory for the channel
Every class exported by the ns3 library is enclosed in the ns3 namespace.
keep track of a set of node pointers.
build a set of CsmaNetDevice objects
ObjectFactory m_queueFactory
factory for the queues
void SetDeviceAttribute(std::string n1, const AttributeValue &v1)
virtual void EnableAsciiInternal(Ptr< OutputStreamWrapper > stream, std::string prefix, Ptr< NetDevice > nd, bool explicitFilename)
Enable ascii trace output on the indicated net device.
NetDeviceContainer Install(Ptr< Node > node) const
This method creates an ns3::CsmaChannel with the attributes configured by CsmaHelper::SetChannelAttri...
int64_t AssignStreams(NetDeviceContainer c, int64_t stream)
Assign a fixed random variable stream number to the random variables used by this model...
Instantiate subclasses of ns3::Object.
void SetQueue(std::string type, 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())