ns-3
|
Helper class that adds DSDV routing to nodes. More...
#include <dsdv-helper.h>
Public Member Functions | |
DsdvHelper * | Copy (void) const |
virtual constructor | |
virtual Ptr< Ipv4RoutingProtocol > | Create (Ptr< Node > node) const |
void | Set (std::string name, const AttributeValue &value) |
Helper class that adds DSDV routing to nodes.
DsdvHelper * ns3::DsdvHelper::Copy | ( | void | ) | const [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
Implements ns3::Ipv4RoutingHelper.
Ptr< Ipv4RoutingProtocol > ns3::DsdvHelper::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::Ipv4RoutingHelper.
References ns3::Object::AggregateObject(), and ns3::ObjectFactory::Create().
void ns3::DsdvHelper::Set | ( | std::string | name, |
const AttributeValue & | value | ||
) |
name | the name of the attribute to set |
value | the value of the attribute to set. |
This method controls the attributes of ns3::dsdv::RoutingProtocol
References ns3::ObjectFactory::Set().