28 #include <ns3/names.h>
56 Ptr<Node> node = Names::Find<Node>(nodeName);
64 for (
auto i = c.
Begin(); i != c.
End(); ++i)
104 Ptr<Node> node = Names::Find<Node>(nodeName);
112 for (
auto i = c.
Begin(); i != c.
End(); ++i)
a polymophic address class
holds a vector of ns3::Application pointers.
void Add(ApplicationContainer other)
Append the contents of another ApplicationContainer to the end of this container.
The base class for all ns3 applications.
Hold a value for an Attribute.
keep track of a set of node pointers.
Iterator End() const
Get an iterator which indicates past-the-last Node in the container.
Iterator Begin() const
Get an iterator which refers to the first Node in the container.
uint32_t AddApplication(Ptr< Application > application)
Associate an Application to this Node.
Ptr< Object > Create() const
Create an Object instance of the configured TypeId.
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.
ThreeGppHttpClientHelper(const Address &address)
Create a ThreeGppHttpClientHelper to make it easier to work with ThreeGppHttpClient applications.
ApplicationContainer Install(NodeContainer c) const
Install a ThreeGppHttpClient on each node of the input container configured with all the attributes s...
ObjectFactory m_factory
Used to instantiate an ThreeGppHttpClient instance.
Ptr< Application > InstallPriv(Ptr< Node > node) const
void SetAttribute(const std::string &name, const AttributeValue &value)
Helper function used to set the underlying application attributes, but not the socket attributes.
ThreeGppHttpServerHelper(const Address &address)
Create a ThreeGppHttpServerHelper to make it easier to work with ThreeGppHttpServer applications.
void SetAttribute(const std::string &name, const AttributeValue &value)
Helper function used to set the underlying application attributes, but not the socket attributes.
ObjectFactory m_factory
Used to instantiate a ThreeGppHttpServer instance.
ApplicationContainer Install(NodeContainer c) const
Install an ThreeGppHttpServer on each node of the input container configured with all the attributes ...
Ptr< Application > InstallPriv(Ptr< Node > node) const
Every class exported by the ns3 library is enclosed in the ns3 namespace.