Public Member Functions | |
DsrHelper () | |
DsrHelper (const DsrHelper &) | |
Construct an DsrHelper from another previously initialized instance (Copy Constructor). | |
DsrHelper * | Copy (void) const |
Ptr< ns3::dsr::DsrRouting > | Create (Ptr< Node > node) const |
void | Set (std::string name, const AttributeValue &value) |
Private Member Functions | |
DsrHelper & | operator= (const DsrHelper &o) |
Assignment operator declared private and not implemented to disallow assignment and prevent the compiler from happily inserting its own. More... | |
Private Attributes | |
ObjectFactory | m_agentFactory |
NodeContainer | m_nodes |
Definition at line 44 of file dsr-helper.h.
ns3::DsrHelper::DsrHelper | ( | ) |
Create an DsrHelper that makes life easier for people who want to install Dsr routing to nodes.
Definition at line 50 of file dsr-helper.cc.
References NS_LOG_FUNCTION, and ns3::ObjectFactory::SetTypeId().
Referenced by Copy().
DsrHelper * ns3::DsrHelper::Copy | ( | void | ) | const |
This method is mainly for internal use by the other helpers; clients are expected to free the dynamic memory allocated by this method
Definition at line 68 of file dsr-helper.cc.
References DsrHelper(), and NS_LOG_FUNCTION.
Referenced by ns3::DsrMainHelper::DsrMainHelper(), and ns3::DsrMainHelper::operator=().
Ptr< ns3::dsr::DsrRouting > ns3::DsrHelper::Create | ( | Ptr< Node > | node | ) | const |
node | the node on which the routing protocol will run |
Definition at line 75 of file dsr-helper.cc.
References ns3::Object::AggregateObject(), ns3::ObjectFactory::Create(), ns3::Object::GetObject(), ns3::MakeCallback(), NS_LOG_FUNCTION, ns3::dsr::DsrRouting::Send(), and ns3::dsr::DsrRouting::SetDownTarget().
Assignment operator declared private and not implemented to disallow assignment and prevent the compiler from happily inserting its own.