Public Member Functions

ns3::Ipv4RoutingHelper Class Reference

a factory to create ns3::Ipv4RoutingProtocol objects More...

#include <ipv4-routing-helper.h>

Inheritance diagram for ns3::Ipv4RoutingHelper:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual Ipv4RoutingHelperCopy (void) const =0
 virtual constructor
virtual Ptr< Ipv4RoutingProtocolCreate (Ptr< Node > node) const =0

Detailed Description

a factory to create ns3::Ipv4RoutingProtocol objects

For each new routing protocol created as a subclass of ns3::Ipv4RoutingProtocol, you need to create a subclass of ns3::Ipv4RoutingHelper which can be used by ns3::InternetStackHelper::SetRoutingHelper and ns3::InternetStackHelper::Install.


Member Function Documentation

virtual Ipv4RoutingHelper* ns3::Ipv4RoutingHelper::Copy ( void   )  const [pure virtual]

virtual constructor

Returns:
pointer to clone of this Ipv4RoutingHelper

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

Implemented in ns3::AodvHelper, ns3::Ipv4GlobalRoutingHelper, ns3::Ipv4ListRoutingHelper, ns3::Ipv4NixVectorHelper, ns3::Ipv4StaticRoutingHelper, and ns3::OlsrHelper.

virtual Ptr<Ipv4RoutingProtocol> ns3::Ipv4RoutingHelper::Create ( Ptr< Node node  )  const [pure virtual]
Parameters:
node the node within which the new routing protocol will run
Returns:
a newly-created routing protocol

Implemented in ns3::AodvHelper, ns3::Ipv4GlobalRoutingHelper, ns3::Ipv4ListRoutingHelper, ns3::Ipv4NixVectorHelper, ns3::Ipv4StaticRoutingHelper, and ns3::OlsrHelper.


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