Helper class that adds DSR routing to nodes. More...
#include "dsr-main-helper.h"
Public Member Functions | |
DsrMainHelper () | |
Create an DsrMainHelper that makes life easier for people who want to install DSR routing to nodes. | |
DsrMainHelper (const DsrMainHelper &o) | |
Construct an DsrMainHelper from another previously initialized instance (Copy Constructor). | |
~DsrMainHelper () | |
void | Install (DsrHelper &dsrHelper, NodeContainer nodes) |
Install routing to the nodes. | |
void | SetDsrHelper (DsrHelper &dsrHelper) |
Set the helper class. | |
Private Member Functions | |
void | Install (Ptr< Node > node) |
Install routing to a node. | |
DsrMainHelper & | operator= (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 DsrHelper * | m_dsrHelper |
helper class | |
Helper class that adds DSR routing to nodes.
Definition at line 38 of file dsr-main-helper.h.
ns3::DsrMainHelper::DsrMainHelper | ( | ) |
Create an DsrMainHelper that makes life easier for people who want to install DSR routing to nodes.
Definition at line 38 of file dsr-main-helper.cc.
References NS_LOG_FUNCTION.
ns3::DsrMainHelper::~DsrMainHelper | ( | ) |
Definition at line 50 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).
o | object to copy from |
Definition at line 44 of file dsr-main-helper.cc.
References ns3::DsrHelper::Copy(), m_dsrHelper, and NS_LOG_FUNCTION.
void ns3::DsrMainHelper::Install | ( | DsrHelper & | dsrHelper, |
NodeContainer | nodes ) |
Install routing to the nodes.
dsrHelper | The DSR helper class |
nodes | the collection of nodes |
Definition at line 68 of file dsr-main-helper.cc.
References ns3::DsrHelper::Copy(), Install(), m_dsrHelper, nodes, and NS_LOG_DEBUG.
Referenced by Install(), and RoutingExperiment::Run().
Install routing to a node.
node | the node to install DSR routing |
Definition at line 80 of file dsr-main-helper.cc.
References ns3::DsrHelper::Create(), m_dsrHelper, and NS_LOG_FUNCTION.
|
private |
Assignment operator declared private and not implemented to disallow assignment and prevent the compiler from happily inserting its own.
o | source object to assign |
Definition at line 57 of file dsr-main-helper.cc.
References ns3::DsrHelper::Copy(), and m_dsrHelper.
void ns3::DsrMainHelper::SetDsrHelper | ( | DsrHelper & | dsrHelper | ) |
Set the helper class.
dsrHelper | the DSR helper class |
Definition at line 94 of file dsr-main-helper.cc.
References ns3::DsrHelper::Copy(), m_dsrHelper, and NS_LOG_FUNCTION.
|
private |
helper class
Definition at line 78 of file dsr-main-helper.h.
Referenced by DsrMainHelper(), ~DsrMainHelper(), Install(), Install(), operator=(), and SetDsrHelper().