ns-3
ns3::Ipv6RoutingHelper Class Reference

A factory to create ns3::Ipv6RoutingProtocol objects. More...

#include <ipv6-routing-helper.h>

Inheritance diagram for ns3::Ipv6RoutingHelper:

List of all members.

Public Member Functions

virtual Ipv6RoutingHelperCopy (void) const =0
 virtual constructor
virtual Ptr< Ipv6RoutingProtocolCreate (Ptr< Node > node) const =0

Detailed Description

A factory to create ns3::Ipv6RoutingProtocol objects.

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


Member Function Documentation

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

virtual constructor

Returns:
pointer to clone of this Ipv6RoutingHelper

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::Ipv6ListRoutingHelper, and ns3::Ipv6StaticRoutingHelper.

Referenced by ns3::Ipv6ListRoutingHelper::Add(), and ns3::InternetStackHelper::SetRoutingHelper().

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

Implemented in ns3::Ipv6ListRoutingHelper, and ns3::Ipv6StaticRoutingHelper.

Referenced by ns3::InternetStackHelper::Install().


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