create a pinger application and associate it to a node More...
#include <v4ping-helper.h>
 Collaboration diagram for ns3::V4PingHelper:
 Collaboration diagram for ns3::V4PingHelper:| Public Member Functions | |
| V4PingHelper (Ipv4Address remote) | |
| ApplicationContainer | Install (NodeContainer nodes) const | 
| ApplicationContainer | Install (Ptr< Node > node) const | 
| ApplicationContainer | Install (std::string nodeName) const | 
| void | SetAttribute (std::string name, const AttributeValue &value) | 
| Configure ping applications attribute. | |
| Private Member Functions | |
| Ptr< Application > | InstallPriv (Ptr< Node > node) const | 
| Private Attributes | |
| ObjectFactory | m_factory | 
create a pinger application and associate it to a node
This class creates one or multiple instances of ns3::V4Ping and associates it/them to one/multiple node(s).
Definition at line 16 of file v4ping-helper.h.
| ns3::V4PingHelper::V4PingHelper | ( | Ipv4Address | remote | ) | 
Create a V4PingHelper which is used to make life easier for people wanting to use ping Applications.
| remote | The address which should be pinged | 
Definition at line 27 of file v4ping-helper.cc.
References m_factory, ns3::ObjectFactory::Set(), and ns3::ObjectFactory::SetTypeId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ApplicationContainer ns3::V4PingHelper::Install | ( | NodeContainer | nodes | ) | const | 
Install a pinger application on each Node in the provided NodeContainer.
| nodes | The NodeContainer containing all of the nodes to get a V4Ping application. | 
Definition at line 53 of file v4ping-helper.cc.
References ns3::ApplicationContainer::Add(), ns3::NodeContainer::Begin(), ns3::NodeContainer::End(), and InstallPriv().
Referenced by CsmaPingTestCase::DoRun(), and main().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ApplicationContainer ns3::V4PingHelper::Install | ( | Ptr< Node > | node | ) | const | 
Install a pinger application on the provided Node. The Node is specified directly by a Ptr<Node>
| node | The node to install the V4PingApplication on. | 
Definition at line 40 of file v4ping-helper.cc.
References InstallPriv().
 Here is the call graph for this function:
 Here is the call graph for this function:| ApplicationContainer ns3::V4PingHelper::Install | ( | std::string | nodeName | ) | const | 
Install a pinger application on the provided Node. The Node is specified by a string that must have previously been associated with a Node using the Object Name Service.
| nodeName | The node to install the V4PingApplication on. | 
Definition at line 46 of file v4ping-helper.cc.
References InstallPriv().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 65 of file v4ping-helper.cc.
References ns3::Node::AddApplication(), ns3::ObjectFactory::Create(), and m_factory.
Referenced by Install().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| void ns3::V4PingHelper::SetAttribute | ( | std::string | name, | 
| const AttributeValue & | value | ||
| ) | 
Configure ping applications attribute.
| name | attribute's name | 
| value | attribute's value | 
Definition at line 34 of file v4ping-helper.cc.
References m_factory, and ns3::ObjectFactory::Set().
Referenced by ns3::aodv::ChainRegressionTest::CreateDevices(), ns3::olsr::Bug780Test::CreateNodes(), and AodvExample::InstallApplications().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 69 of file v4ping-helper.h.
Referenced by InstallPriv(), SetAttribute(), and V4PingHelper().