20 #ifndef POINT_TO_POINT_HELPER_H 21 #define POINT_TO_POINT_HELPER_H 25 #include "ns3/object-factory.h" 26 #include "ns3/net-device-container.h" 27 #include "ns3/node-container.h" 29 #include "ns3/trace-helper.h" 182 bool explicitFilename);
Base class providing common user-level ascii trace operations for helpers representing net devices...
virtual void EnablePcapInternal(std::string prefix, Ptr< NetDevice > nd, bool promiscuous, bool explicitFilename)
Enable pcap output the indicated net device.
NetDeviceContainer Install(NodeContainer c)
Hold a value for an Attribute.
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())
Each point to point net device must have a queue to pass packets through.
Base class providing common user-level pcap operations for helpers representing net devices...
Build a set of PointToPointNetDevice objects.
ObjectFactory m_channelFactory
Channel Factory.
void SetDeviceAttribute(std::string name, const AttributeValue &value)
Set an attribute value to be propagated to each NetDevice created by the helper.
PointToPointHelper()
Create a PointToPointHelper to make life easier when creating point to point networks.
A class for an empty attribute value.
virtual void EnableAsciiInternal(Ptr< OutputStreamWrapper > stream, std::string prefix, Ptr< NetDevice > nd, bool explicitFilename)
Enable ascii trace output on the indicated net device.
holds a vector of ns3::NetDevice pointers
ObjectFactory m_deviceFactory
Device Factory.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
keep track of a set of node pointers.
ObjectFactory m_remoteChannelFactory
Remote Channel Factory.
void SetChannelAttribute(std::string name, const AttributeValue &value)
Set an attribute value to be propagated to each Channel created by the helper.
Instantiate subclasses of ns3::Object.
virtual ~PointToPointHelper()
ObjectFactory m_queueFactory
Queue Factory.