A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::DsrMainHelper Class Reference

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

#include <dsr-main-helper.h>

+ Collaboration diagram for ns3::DsrMainHelper:

Public Member Functions

 DsrMainHelper ()
 DsrMainHelper (const DsrMainHelper &)
 Construct an DsrMainHelper from another previously initialized instance (Copy Constructor).
 ~DsrMainHelper ()
void Install (DsrHelper &dsrHelper, NodeContainer nodes)
void SetDsrHelper (DsrHelper &dsrHelper)
void SetRouteCache (Ptr< dsr::RouteCache > routeCache)
void SetRreqTable (Ptr< dsr::RreqTable > rreqTable)

Private Member Functions

void Install (Ptr< Node > node)
DsrMainHelperoperator= (const DsrMainHelper &o)
 Assignment operator declared private and not implemented to disallow assignment and prevent the compiler from happily inserting its own.

Private Attributes

const DsrHelperm_dsrHelper

Detailed Description

Helper class that adds DSR routing to nodes.

Definition at line 45 of file dsr-main-helper.h.

Constructor & Destructor Documentation

ns3::DsrMainHelper::DsrMainHelper ( )

Create an DsrMainHelper that makes life easier for people who want to install DSR routing to nodes.

Definition at line 47 of file dsr-main-helper.cc.

References NS_LOG_FUNCTION.

ns3::DsrMainHelper::~DsrMainHelper ( )

Definition at line 59 of file dsr-main-helper.cc.

References m_dsrHelper, and NS_LOG_FUNCTION.

ns3::DsrMainHelper::DsrMainHelper ( const DsrMainHelper o)

Construct an DsrMainHelper from another previously initialized instance (Copy Constructor).

Definition at line 53 of file dsr-main-helper.cc.

References ns3::DsrHelper::Copy(), m_dsrHelper, and NS_LOG_FUNCTION.

+ Here is the call graph for this function:

Member Function Documentation

void ns3::DsrMainHelper::Install ( DsrHelper dsrHelper,
NodeContainer  nodes 
)

Definition at line 77 of file dsr-main-helper.cc.

References ns3::NodeContainer::Begin(), ns3::DsrHelper::Copy(), ns3::NodeContainer::End(), m_dsrHelper, and NS_LOG_DEBUG.

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::DsrMainHelper::Install ( Ptr< Node node)
private

Definition at line 89 of file dsr-main-helper.cc.

References ns3::DsrHelper::Create(), m_dsrHelper, NS_LOG_FUNCTION, and ns3::dsr::DsrRouting::SetNode().

+ Here is the call graph for this function:

DsrMainHelper & ns3::DsrMainHelper::operator= ( const DsrMainHelper o)
private

Assignment operator declared private and not implemented to disallow assignment and prevent the compiler from happily inserting its own.

Definition at line 66 of file dsr-main-helper.cc.

References ns3::DsrHelper::Copy(), and m_dsrHelper.

+ Here is the call graph for this function:

void ns3::DsrMainHelper::SetDsrHelper ( DsrHelper dsrHelper)

Definition at line 103 of file dsr-main-helper.cc.

References ns3::DsrHelper::Copy(), m_dsrHelper, and NS_LOG_FUNCTION.

+ Here is the call graph for this function:

void ns3::DsrMainHelper::SetRouteCache ( Ptr< dsr::RouteCache routeCache)
void ns3::DsrMainHelper::SetRreqTable ( Ptr< dsr::RreqTable rreqTable)

Member Data Documentation

const DsrHelper* ns3::DsrMainHelper::m_dsrHelper
private

Definition at line 72 of file dsr-main-helper.h.

Referenced by DsrMainHelper(), Install(), operator=(), SetDsrHelper(), and ~DsrMainHelper().


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