A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
v4ping-helper.h
1 #ifndef V4PING_HELPER_H
2 #define V4PING_HELPER_H
3 
4 #include "ns3/node-container.h"
5 #include "ns3/application-container.h"
6 #include "ns3/object-factory.h"
7 
8 namespace ns3 {
9 
17 {
18 public:
25  V4PingHelper (Ipv4Address remote);
26 
36 
46 
56  ApplicationContainer Install (std::string nodeName) const;
57 
63  void SetAttribute (std::string name, const AttributeValue &value);
64 private:
69  ObjectFactory m_factory;
70 };
71 
72 } // namespace ns3
73 
74 #endif /* V4PING_HELPER_H */
holds a vector of ns3::Application pointers.
Hold a value for an Attribute.
Definition: attribute.h:51
void SetAttribute(std::string name, const AttributeValue &value)
Configure ping applications attribute.
ApplicationContainer Install(NodeContainer nodes) const
keep track of a set of node pointers.
V4PingHelper(Ipv4Address remote)
Ptr< Application > InstallPriv(Ptr< Node > node) const
instantiate subclasses of ns3::Object.
Ipv4 addresses are stored in host order in this class.
Definition: ipv4-address.h:38
create a pinger application and associate it to a node
Definition: v4ping-helper.h:16