Helper class that adds ns3::Ipv6ListRouting objects. More...
#include <ipv6-list-routing-helper.h>
Public Member Functions | |
Ipv6ListRoutingHelper () | |
Ipv6ListRoutingHelper (const Ipv6ListRoutingHelper &) | |
Construct an Ipv6ListRoutingHelper from another previously initialized instance (Copy Constructor). | |
Ipv6ListRoutingHelper * | Copy (void) const |
void | Add (const Ipv6RoutingHelper &routing, int16_t priority) |
virtual Ptr< Ipv6RoutingProtocol > | Create (Ptr< Node > node) const |
Helper class that adds ns3::Ipv6ListRouting objects.
This class is expected to be used in conjunction with ns3::InternetStackHelper::SetRoutingHelper
ns3::Ipv6ListRoutingHelper::Ipv6ListRoutingHelper | ( | ) |
Construct an Ipv6 Ipv6ListRoutingHelper which is used to make life easier for people wanting to configure routing using Ipv6.
void ns3::Ipv6ListRoutingHelper::Add | ( | const Ipv6RoutingHelper & | routing, | |
int16_t | priority | |||
) |
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::Ipv6ListRoutingHelper::Create method to create an ns3::Ipv6ListRouting object and add in it routing protocols created with the helpers.
Ipv6ListRoutingHelper* ns3::Ipv6ListRoutingHelper::Copy | ( | void | ) | const [virtual] |
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::Ipv6RoutingHelper.
virtual Ptr<Ipv6RoutingProtocol> ns3::Ipv6ListRoutingHelper::Create | ( | Ptr< Node > | node | ) | const [virtual] |
node | the node on which the routing protocol will run |
This method will be called by ns3::InternetStackHelper::Install
Implements ns3::Ipv6RoutingHelper.