A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
v4ping-helper.h
Go to the documentation of this file.
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
16
class
V4PingHelper
17
{
18
public
:
25
V4PingHelper
(
Ipv4Address
remote);
26
35
ApplicationContainer
Install
(
NodeContainer
nodes
)
const
;
36
45
ApplicationContainer
Install
(
Ptr<Node>
node)
const
;
46
56
ApplicationContainer
Install
(std::string nodeName)
const
;
57
63
void
SetAttribute
(std::string name,
const
AttributeValue
&value);
64
private
:
68
Ptr<Application>
InstallPriv
(
Ptr<Node>
node)
const
;
69
ObjectFactory
m_factory
;
70
};
71
72
}
// namespace ns3
73
74
#endif
/* V4PING_HELPER_H */
ns3::ApplicationContainer
holds a vector of ns3::Application pointers.
Definition:
application-container.h:41
ns3::Ptr< Node >
ns3::AttributeValue
Hold a value for an Attribute.
Definition:
attribute.h:56
ns3::V4PingHelper::SetAttribute
void SetAttribute(std::string name, const AttributeValue &value)
Configure ping applications attribute.
Definition:
v4ping-helper.cc:34
ns3::V4PingHelper::Install
ApplicationContainer Install(NodeContainer nodes) const
Definition:
v4ping-helper.cc:53
first.nodes
tuple nodes
Definition:
first.py:25
ns3::NodeContainer
keep track of a set of node pointers.
Definition:
node-container.h:38
ns3::V4PingHelper::V4PingHelper
V4PingHelper(Ipv4Address remote)
Definition:
v4ping-helper.cc:27
ns3::V4PingHelper::InstallPriv
Ptr< Application > InstallPriv(Ptr< Node > node) const
Definition:
v4ping-helper.cc:65
ns3::ObjectFactory
instantiate subclasses of ns3::Object.
Definition:
object-factory.h:39
ns3::Ipv4Address
Ipv4 addresses are stored in host order in this class.
Definition:
ipv4-address.h:38
ns3::V4PingHelper::m_factory
ObjectFactory m_factory
Definition:
v4ping-helper.h:69
ns3::V4PingHelper
create a pinger application and associate it to a node
Definition:
v4ping-helper.h:16
src
applications
helper
v4ping-helper.h
Generated on Sat Nov 16 2013 16:17:35 for ns-3 by
1.8.5