ns3::OlsrHelper Class Reference

Helper class that adds OLSR routing to nodes. More...

#include <olsr-helper.h>

Inheritance diagram for ns3::OlsrHelper:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual Ptr< Ipv4RoutingProtocol > Create (Ptr< Node > node) const
void Set (std::string name, const AttributeValue &value)


Detailed Description

Helper class that adds OLSR routing to nodes.

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


Member Function Documentation

virtual Ptr<Ipv4RoutingProtocol> ns3::OlsrHelper::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.

void ns3::OlsrHelper::Set ( std::string  name,
const AttributeValue value 
)

Parameters:
name the name of the attribute to set
value the value of the attribute to set.
This method controls the attributes of ns3::olsr::RoutingProtocol


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

Generated on Fri Apr 9 15:01:10 2010 for NS-3 by  doxygen 1.5.8