A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::DsdvHelper Class Reference

Helper class that adds DSDV routing to nodes. More...

#include <dsdv-helper.h>

+ Inheritance diagram for ns3::DsdvHelper:

Public Member Functions

DsdvHelperCopy (void) const
 
virtual Ptr< Ipv4RoutingProtocolCreate (Ptr< Node > node) const
 
void Set (std::string name, const AttributeValue &value)
 
- Public Member Functions inherited from ns3::Ipv4RoutingHelper
void PrintRoutingTableAllAt (Time printTime, Ptr< OutputStreamWrapper > stream) const
 prints the routing tables of all nodes at a particular time. More...
 
void PrintRoutingTableAllEvery (Time printInterval, Ptr< OutputStreamWrapper > stream) const
 prints the routing tables of all nodes at regular intervals specified by user. More...
 
void PrintRoutingTableAt (Time printTime, Ptr< Node > node, Ptr< OutputStreamWrapper > stream) const
 prints the routing tables of a node at a particular time. More...
 
void PrintRoutingTableEvery (Time printInterval, Ptr< Node > node, Ptr< OutputStreamWrapper > stream) const
 prints the routing tables of a node at regular intervals specified by user. More...
 

Private Attributes

ObjectFactory m_agentFactory
 

Detailed Description

Helper class that adds DSDV routing to nodes.

Definition at line 45 of file dsdv-helper.h.

Member Function Documentation

DsdvHelper * ns3::DsdvHelper::Copy ( void  ) const
virtual
Returns
pointer to clone of this DsdvHelper

This method is mainly for internal use by the other helpers; clients are expected to free the dynamic memory allocated by this method

Implements ns3::Ipv4RoutingHelper.

Definition at line 48 of file dsdv-helper.cc.

Ptr< Ipv4RoutingProtocol > ns3::DsdvHelper::Create ( Ptr< Node node) const
virtual
Parameters
nodethe node on which the routing protocol will run
Returns
a newly-created routing protocol

This method will be called by ns3::InternetStackHelper::Install

Implements ns3::Ipv4RoutingHelper.

Definition at line 54 of file dsdv-helper.cc.

References ns3::Object::AggregateObject().

void ns3::DsdvHelper::Set ( std::string  name,
const AttributeValue value 
)
Parameters
namethe name of the attribute to set
valuethe value of the attribute to set.

This method controls the attributes of ns3::dsdv::RoutingProtocol

Definition at line 62 of file dsdv-helper.cc.


The documentation for this class was generated from the following files: