a factory to create ns3::Ipv4RoutingProtocol objects More...
#include <ipv4-routing-helper.h>
Public Member Functions | |
virtual Ipv4RoutingHelper * | Copy (void) const =0 |
virtual constructor | |
virtual Ptr< Ipv4RoutingProtocol > | Create (Ptr< Node > node) const =0 |
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.
virtual Ipv4RoutingHelper* ns3::Ipv4RoutingHelper::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::Ipv4GlobalRoutingHelper, ns3::Ipv4ListRoutingHelper, ns3::Ipv4NixVectorHelper, ns3::Ipv4StaticRoutingHelper, and ns3::OlsrHelper.
virtual Ptr<Ipv4RoutingProtocol> ns3::Ipv4RoutingHelper::Create | ( | Ptr< Node > | node | ) | const [pure virtual] |
node | the node within which the new routing protocol will run |
Implemented in ns3::Ipv4GlobalRoutingHelper, ns3::Ipv4ListRoutingHelper, ns3::Ipv4NixVectorHelper, ns3::Ipv4StaticRoutingHelper, and ns3::OlsrHelper.