21 #ifndef IPV6_ROUTING_HELPER_H
22 #define IPV6_ROUTING_HELPER_H
25 #include "ns3/nstime.h"
26 #include "ns3/output-stream-wrapper.h"
27 #include "ns3/ipv6-list-routing.h"
31 class Ipv6RoutingProtocol;
255 Ptr<T> ret = DynamicCast<T> (protocol);
262 for (uint32_t i = 0; i < lrp->GetNRoutingProtocols (); i++)
265 ret = GetRouting<T> (lrp->GetRoutingProtocol (i, priority));
static void PrintNeighborCacheAt(Time printTime, Ptr< Node > node, Ptr< OutputStreamWrapper > stream)
prints the neighbor cache of a node at a particular time.
virtual ~Ipv6RoutingHelper()
Destroy an Ipv6 Ipv6RoutingHelper.
static void PrintRoutingTableAllEvery(Time printInterval, Ptr< OutputStreamWrapper > stream)
prints the routing tables of all nodes at regular intervals specified by user.
Simulation virtual time values and global simulation resolution.
Smart pointer class similar to boost::intrusive_ptr.
virtual Ipv6RoutingHelper * Copy(void) const =0
virtual constructor
static Ptr< T > GetRouting(Ptr< Ipv6RoutingProtocol > protocol)
Request a specified routing protocol from Ipv6RoutingProtocol protocol.
static void PrintRoutingTableAt(Time printTime, Ptr< Node > node, Ptr< OutputStreamWrapper > stream)
prints the routing tables of a node at a particular time.
static void PrintEvery(Time printInterval, Ptr< Node > node, Ptr< OutputStreamWrapper > stream)
prints the routing tables of a node at regular intervals specified by user.
A factory to create ns3::Ipv6RoutingProtocol objects.
static void PrintNdiscCache(Ptr< Node > node, Ptr< OutputStreamWrapper > stream)
prints the neighbor cache of a node.
static void PrintNdiscCacheEvery(Time printInterval, Ptr< Node > node, Ptr< OutputStreamWrapper > stream)
prints the neighbor cache of a node at regular intervals specified by user.
virtual Ptr< Ipv6RoutingProtocol > Create(Ptr< Node > node) const =0
Every class exported by the ns3 library is enclosed in the ns3 namespace.
static void PrintNeighborCacheAllAt(Time printTime, Ptr< OutputStreamWrapper > stream)
prints the neighbor cache of all nodes at a particular time.
static void PrintNeighborCacheEvery(Time printInterval, Ptr< Node > node, Ptr< OutputStreamWrapper > stream)
prints the neighbor cache of a node at regular intervals specified by user.
static void Print(Ptr< Node > node, Ptr< OutputStreamWrapper > stream)
prints the routing tables of a node.
static void PrintNeighborCacheAllEvery(Time printInterval, Ptr< OutputStreamWrapper > stream)
prints the neighbor cache of all nodes at regular intervals specified by user.
static void PrintRoutingTableEvery(Time printInterval, Ptr< Node > node, Ptr< OutputStreamWrapper > stream)
prints the routing tables of a node at regular intervals specified by user.
static void PrintRoutingTableAllAt(Time printTime, Ptr< OutputStreamWrapper > stream)
prints the routing tables of all nodes at a particular time.