ns3::OlsrHelper Class Reference

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

#include <olsr-helper.h>

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

List of all members.

Public Member Functions

 OlsrHelper ()
void SetAgent (std::string tid, std::string n0="", const AttributeValue &v0=EmptyAttributeValue(), std::string n1="", const AttributeValue &v1=EmptyAttributeValue(), std::string n2="", const AttributeValue &v2=EmptyAttributeValue(), std::string n3="", const AttributeValue &v3=EmptyAttributeValue(), std::string n4="", const AttributeValue &v4=EmptyAttributeValue(), std::string n5="", const AttributeValue &v5=EmptyAttributeValue(), std::string n6="", const AttributeValue &v6=EmptyAttributeValue(), std::string n7="", const AttributeValue &v7=EmptyAttributeValue())
 Set default OLSR routing agent attributes.
void Install (NodeContainer container)
 Enable OLSR routing for a set of nodes.
void Install (Ptr< Node > node)
 Enable OLSR routing for a single node.
void InstallAll (void)
 Enable OLSR routing for all nodes.

Private Attributes

ObjectFactory m_agentFactory

Detailed Description

Helper class that adds OLSR routing to nodes.

Definition at line 32 of file olsr-helper.h.


Constructor & Destructor Documentation

ns3::OlsrHelper::OlsrHelper (  ) 

Definition at line 23 of file olsr-helper.cc.

References m_agentFactory, and ns3::ObjectFactory::SetTypeId().


Member Function Documentation

void ns3::OlsrHelper::Install ( Ptr< Node node  ) 

Enable OLSR routing for a single node.

Definition at line 60 of file olsr-helper.cc.

void ns3::OlsrHelper::Install ( NodeContainer  container  ) 

Enable OLSR routing for a set of nodes.

Definition at line 51 of file olsr-helper.cc.

void ns3::OlsrHelper::InstallAll ( void   ) 

Enable OLSR routing for all nodes.

Definition at line 74 of file olsr-helper.cc.

void ns3::OlsrHelper::SetAgent ( std::string  tid,
std::string  n0 = "",
const AttributeValue v0 = EmptyAttributeValue (),
std::string  n1 = "",
const AttributeValue v1 = EmptyAttributeValue (),
std::string  n2 = "",
const AttributeValue v2 = EmptyAttributeValue (),
std::string  n3 = "",
const AttributeValue v3 = EmptyAttributeValue (),
std::string  n4 = "",
const AttributeValue v4 = EmptyAttributeValue (),
std::string  n5 = "",
const AttributeValue v5 = EmptyAttributeValue (),
std::string  n6 = "",
const AttributeValue v6 = EmptyAttributeValue (),
std::string  n7 = "",
const AttributeValue v7 = EmptyAttributeValue () 
)

Set default OLSR routing agent attributes.

Definition at line 29 of file olsr-helper.cc.


Member Data Documentation

Definition at line 63 of file olsr-helper.h.

Referenced by OlsrHelper().


The documentation for this class was generated from the following files:
Generated on Thu Dec 3 14:11:33 2009 for NS-3 by  doxygen 1.6.3