Public Member Functions

ns3::AsciiTraceHelperForIpv6 Class Reference

Base class providing common user-level ascii trace operations for helpers representing IPv6 protocols . More...

#include <trace-helper.h>

Inheritance diagram for ns3::AsciiTraceHelperForIpv6:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AsciiTraceHelperForIpv6 ()
 Construct an AsciiTraceHelperForIpv6.
virtual ~AsciiTraceHelperForIpv6 ()
 Destroy an AsciiTraceHelperForIpv6.
virtual void EnableAsciiIpv6Internal (Ptr< OutputStreamWrapper > stream, std::string prefix, Ptr< Ipv6 > ipv6, uint32_t interface, bool explicitFilename)=0
 Enable ascii trace output on the indicated Ipv6 and interface pair.
void EnableAsciiIpv6 (std::string prefix, Ptr< Ipv6 > ipv6, uint32_t interface, bool explicitFilename=false)
 Enable ascii trace output on the indicated Ipv6 and interface pair.
void EnableAsciiIpv6 (Ptr< OutputStreamWrapper > stream, Ptr< Ipv6 > ipv6, uint32_t interface)
 Enable ascii trace output on the indicated Ipv6 and interface pair.
void EnableAsciiIpv6 (std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false)
 Enable ascii trace output the indicated Ipv6 and interface pair using an Ipv6 previously named using the ns-3 object name service.
void EnableAsciiIpv6 (Ptr< OutputStreamWrapper > stream, std::string ipv6Name, uint32_t interface)
 Enable ascii trace output the indicated net device using a device previously named using the ns-3 object name service.
void EnableAsciiIpv6 (std::string prefix, Ipv6InterfaceContainer c)
 Enable ascii trace output on each Ipv6 and interface pair in the container.
void EnableAsciiIpv6 (Ptr< OutputStreamWrapper > stream, Ipv6InterfaceContainer c)
 Enable ascii trace output on each device in the container which is of the appropriate type.
void EnableAsciiIpv6 (std::string prefix, NodeContainer n)
 Enable ascii trace output on all Ipv6 and interface pairs existing in the nodes provided in the container.
void EnableAsciiIpv6 (Ptr< OutputStreamWrapper > stream, NodeContainer n)
 Enable ascii trace output on all Ipv6 and interface pairs existing in the nodes provided in the container.
void EnableAsciiIpv6 (std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename)
 Enable pcap output on the Ipv6 and interface pair specified by a global node-id (of a previously created node) and interface. Since there can be only one Ipv6 aggregated to a node, the node-id unambiguously determines the Ipv6.
void EnableAsciiIpv6 (Ptr< OutputStreamWrapper > stream, uint32_t nodeid, uint32_t interface)
 Enable pcap output on the Ipv6 and interface pair specified by a global node-id (of a previously created node) and interface. Since there can be only one Ipv6 aggregated to a node, the node-id unambiguously determines the Ipv6.
void EnableAsciiIpv6All (std::string prefix)
 Enable ascii trace output on all Ipv6 and interface pairs existing in the set of all nodes created in the simulation.
void EnableAsciiIpv6All (Ptr< OutputStreamWrapper > stream)
 Enable ascii trace output on each device (which is of the appropriate type) in the set of all nodes created in the simulation.

Detailed Description

Base class providing common user-level ascii trace operations for helpers representing IPv6 protocols .


Member Function Documentation

void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6 ( std::string  prefix,
Ptr< Ipv6 ipv6,
uint32_t  interface,
bool  explicitFilename = false 
)

Enable ascii trace output on the indicated Ipv6 and interface pair.

Parameters:
prefix Filename prefix to use for ascii files.
ipv6 Ptr<Ipv6> on which you want to enable tracing.
interface The interface on which you want to enable tracing.
explicitFilename Treat the prefix as an explicit filename if true.
void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6 ( std::string  prefix,
std::string  ipv6Name,
uint32_t  interface,
bool  explicitFilename = false 
)

Enable ascii trace output the indicated Ipv6 and interface pair using an Ipv6 previously named using the ns-3 object name service.

Parameters:
prefix filename prefix to use for ascii files.
ipv6Name The name of the Ipv6 on which you want to enable tracing.
interface The interface on which you want to enable tracing.
explicitFilename Treat the prefix as an explicit filename if true.
void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6 ( std::string  prefix,
NodeContainer  n 
)

Enable ascii trace output on all Ipv6 and interface pairs existing in the nodes provided in the container.

Parameters:
prefix Filename prefix to use for ascii files.
n container of nodes.
void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6 ( Ptr< OutputStreamWrapper stream,
uint32_t  nodeid,
uint32_t  interface 
)

Enable pcap output on the Ipv6 and interface pair specified by a global node-id (of a previously created node) and interface. Since there can be only one Ipv6 aggregated to a node, the node-id unambiguously determines the Ipv6.

Parameters:
stream An OutputStreamWrapper representing an existing file to use when writing trace data.
nodeid The node identifier/number of the node on which to enable ascii tracing
interface The interface on which you want to enable tracing.
void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6 ( std::string  prefix,
uint32_t  nodeid,
uint32_t  interface,
bool  explicitFilename 
)

Enable pcap output on the Ipv6 and interface pair specified by a global node-id (of a previously created node) and interface. Since there can be only one Ipv6 aggregated to a node, the node-id unambiguously determines the Ipv6.

Parameters:
prefix Filename prefix to use when creating ascii trace files
nodeid The node identifier/number of the node on which to enable ascii tracing
interface The device identifier/index of the device on which to enable ascii tracing
explicitFilename Treat the prefix as an explicit filename if true.
void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6 ( Ptr< OutputStreamWrapper stream,
NodeContainer  n 
)

Enable ascii trace output on all Ipv6 and interface pairs existing in the nodes provided in the container.

Parameters:
stream An OutputStreamWrapper representing an existing file to use when writing trace data.
n container of nodes.
void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6 ( Ptr< OutputStreamWrapper stream,
std::string  ipv6Name,
uint32_t  interface 
)

Enable ascii trace output the indicated net device using a device previously named using the ns-3 object name service.

Parameters:
stream An OutputStreamWrapper representing an existing file to use when writing trace data.
ipv6Name The name of the Ipv6 on which you want to enable tracing.
interface The interface on which you want to enable tracing.
void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6 ( Ptr< OutputStreamWrapper stream,
Ipv6InterfaceContainer  c 
)

Enable ascii trace output on each device in the container which is of the appropriate type.

Parameters:
stream An OutputStreamWrapper representing an existing file to use when writing trace data.
c Ipv6InterfaceContainer of Ipv6 and interface pairs on which to enable tracing.
void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6 ( std::string  prefix,
Ipv6InterfaceContainer  c 
)

Enable ascii trace output on each Ipv6 and interface pair in the container.

Parameters:
prefix Filename prefix to use for ascii files.
c Ipv6InterfaceContainer of Ipv6 and interface pairs on which to enable tracing.
void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6 ( Ptr< OutputStreamWrapper stream,
Ptr< Ipv6 ipv6,
uint32_t  interface 
)

Enable ascii trace output on the indicated Ipv6 and interface pair.

Parameters:
stream An OutputStreamWrapper representing an existing file to use when writing trace data.
ipv6 Ptr<Ipv6> on which you want to enable tracing.
interface The interface on which you want to enable tracing.
void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All ( std::string  prefix  ) 

Enable ascii trace output on all Ipv6 and interface pairs existing in the set of all nodes created in the simulation.

Parameters:
prefix Filename prefix to use for ascii files.
void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All ( Ptr< OutputStreamWrapper stream  ) 

Enable ascii trace output on each device (which is of the appropriate type) in the set of all nodes created in the simulation.

Parameters:
stream An OutputStreamWrapper representing an existing file to use when writing trace data.

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