00001 #ifndef V4PING_HELPER_H 00002 #define V4PING_HELPER_H 00003 00004 #include "node-container.h" 00005 #include "application-container.h" 00006 #include "ns3/object-factory.h" 00007 00008 namespace ns3 { 00009 00010 class V4PingHelper 00011 { 00012 public: 00013 V4PingHelper (Ipv4Address remote); 00014 00015 void SetAttribute (std::string name, const AttributeValue &value); 00016 00017 ApplicationContainer Install (NodeContainer nodes) const; 00018 ApplicationContainer Install (Ptr<Node> node) const; 00019 00020 private: 00021 Ptr<Application> InstallPriv (Ptr<Node> node) const; 00022 ObjectFactory m_factory; 00023 }; 00024 00025 } // namespace ns3 00026 00027 #endif /* V4PING_HELPER_H */