A factory to create ns3::Ipv6RoutingProtocol objects. More...
#include <ipv6-routing-helper.h>
Public Member Functions | |
virtual Ipv6RoutingHelper * | Copy (void) const =0 |
virtual constructor | |
virtual Ptr< Ipv6RoutingProtocol > | Create (Ptr< Node > node) const =0 |
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.
virtual Ipv6RoutingHelper* ns3::Ipv6RoutingHelper::Copy | ( | void | ) | const [pure virtual] |
virtual constructor
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.
virtual Ptr<Ipv6RoutingProtocol> ns3::Ipv6RoutingHelper::Create | ( | Ptr< Node > | node | ) | const [pure virtual] |
node | the node within which the new routing protocol will run |
Implemented in ns3::Ipv6ListRoutingHelper, and ns3::Ipv6StaticRoutingHelper.