Public Member Functions

ns3::Ipv4ListRoutingHelper Class Reference

Helper class that adds ns3::Ipv4ListRouting objects. More...

#include <ipv4-list-routing-helper.h>

Inheritance diagram for ns3::Ipv4ListRoutingHelper:
Inheritance graph
[legend]
Collaboration diagram for ns3::Ipv4ListRoutingHelper:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Ipv4ListRoutingHelper (const Ipv4ListRoutingHelper &)
 Construct an Ipv4ListRoutingHelper from another previously initialized instance (Copy Constructor).
Ipv4ListRoutingHelperCopy (void) const
 virtual constructor
void Add (const Ipv4RoutingHelper &routing, int16_t priority)
virtual Ptr< Ipv4RoutingProtocolCreate (Ptr< Node > node) const

Detailed Description

Helper class that adds ns3::Ipv4ListRouting objects.

This class is expected to be used in conjunction with ns3::InternetStackHelper::SetRoutingHelper


Member Function Documentation

void ns3::Ipv4ListRoutingHelper::Add ( const Ipv4RoutingHelper routing,
int16_t  priority 
)
Parameters:
routing a routing helper
priority the priority of the associated helper

Store in the internal list a reference to the input routing helper and associated priority. These helpers will be used later by the ns3::Ipv4ListRoutingHelper::Create method to create an ns3::Ipv4ListRouting object and add in it routing protocols created with the helpers.

Ipv4ListRoutingHelper* ns3::Ipv4ListRoutingHelper::Copy ( void   )  const [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

Implements ns3::Ipv4RoutingHelper.

virtual Ptr<Ipv4RoutingProtocol> ns3::Ipv4ListRoutingHelper::Create ( Ptr< Node node  )  const [virtual]
Parameters:
node the 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.


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