24 #include "ns3/inet-socket-address.h" 25 #include "ns3/packet-socket-address.h" 26 #include "ns3/string.h" 27 #include "ns3/names.h" 53 Ptr<Node> node = Names::Find<Node> (nodeName);
holds a vector of ns3::Application pointers.
uint32_t AddApplication(Ptr< Application > application)
Associate an Application to this Node.
BulkSendHelper(std::string protocol, Address address)
Create an BulkSendHelper to make it easier to work with BulkSendApplications.
std::vector< Ptr< Node > >::const_iterator Iterator
Node container iterator.
Hold variables of type string.
void Add(ApplicationContainer other)
Append the contents of another ApplicationContainer to the end of this container. ...
Hold a value for an Attribute.
void Set(const std::string &name, const AttributeValue &value, Args &&... args)
Set an attribute to be set during construction.
void SetTypeId(TypeId tid)
Set the TypeId of the Objects to be created by this factory.
ApplicationContainer Install(NodeContainer c) const
Install an ns3::BulkSendApplication on each node of the input container configured with all the attri...
Iterator End(void) const
Get an iterator which indicates past-the-last Node in the container.
a polymophic address class
The base class for all ns3 applications.
Ptr< Object > Create(void) const
Create an Object instance of the configured TypeId.
Ptr< Application > InstallPriv(Ptr< Node > node) const
Install an ns3::BulkSendApplication on the node configured with all the attributes set with SetAttrib...
Every class exported by the ns3 library is enclosed in the ns3 namespace.
keep track of a set of node pointers.
AttributeValue implementation for Address.
ObjectFactory m_factory
Object factory.
void SetAttribute(std::string name, const AttributeValue &value)
Helper function used to set the underlying application attributes, not the socket attributes...
Iterator Begin(void) const
Get an iterator which refers to the first Node in the container.