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

Helper class that adds Nix-vector routing to nodes. More...

#include <ipv4-nix-vector-helper.h>

+ Inheritance diagram for ns3::Ipv4NixVectorHelper:

Public Member Functions

 Ipv4NixVectorHelper (const Ipv4NixVectorHelper &)
 Construct an Ipv4NixVectorHelper from another previously initialized instance (Copy Constructor).
 
Ipv4NixVectorHelperCopy (void) const
 
virtual Ptr< Ipv4RoutingProtocolCreate (Ptr< Node > node) const
 
- Public Member Functions inherited from ns3::Ipv4RoutingHelper
void PrintRoutingTableAllAt (Time printTime, Ptr< OutputStreamWrapper > stream) const
 prints the routing tables of all nodes at a particular time. More...
 
void PrintRoutingTableAllEvery (Time printInterval, Ptr< OutputStreamWrapper > stream) const
 prints the routing tables of all nodes at regular intervals specified by user. More...
 
void PrintRoutingTableAt (Time printTime, Ptr< Node > node, Ptr< OutputStreamWrapper > stream) const
 prints the routing tables of a node at a particular time. More...
 
void PrintRoutingTableEvery (Time printInterval, Ptr< Node > node, Ptr< OutputStreamWrapper > stream) const
 prints the routing tables of a node at regular intervals specified by user. More...
 

Private Member Functions

Ipv4NixVectorHelperoperator= (const Ipv4NixVectorHelper &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
 

Detailed Description

Helper class that adds Nix-vector routing to nodes.

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

Definition at line 36 of file ipv4-nix-vector-helper.h.

Member Function Documentation

Ipv4NixVectorHelper * ns3::Ipv4NixVectorHelper::Copy ( void  ) const
virtual
Returns
pointer to clone of this Ipv4NixVectorHelper

This method is mainly for internal use by the other helpers; clients are expected to free the dynamic memory allocated by this method

Implements ns3::Ipv4RoutingHelper.

Definition at line 37 of file ipv4-nix-vector-helper.cc.

Ptr< Ipv4RoutingProtocol > ns3::Ipv4NixVectorHelper::Create ( Ptr< Node node) const
virtual
Parameters
nodethe 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.

Definition at line 43 of file ipv4-nix-vector-helper.cc.

References ns3::Object::AggregateObject(), and ns3::ObjectFactory::Create().

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

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


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