ns-3
ns3::AsciiTraceHelperForIpv6 Class Reference

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

#include <internet-trace-helper.h>

Inheritance diagram for ns3::AsciiTraceHelperForIpv6:

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:
prefixFilename prefix to use for ascii files.
ipv6Ptr<Ipv6> on which you want to enable tracing.
interfaceThe interface on which you want to enable tracing.
explicitFilenameTreat the prefix as an explicit filename if true.

References EnableAsciiIpv6Internal().

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:
streamAn OutputStreamWrapper representing an existing file to use when writing trace data.
ipv6Ptr<Ipv6> on which you want to enable tracing.
interfaceThe interface on which you want to enable tracing.

References EnableAsciiIpv6Internal().

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:
prefixfilename prefix to use for ascii files.
ipv6NameThe name of the Ipv6 on which you want to enable tracing.
interfaceThe interface on which you want to enable tracing.
explicitFilenameTreat the prefix as an explicit filename if true.
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:
streamAn OutputStreamWrapper representing an existing file to use when writing trace data.
ipv6NameThe name of the Ipv6 on which you want to enable tracing.
interfaceThe interface on which you want to enable tracing.

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

Parameters:
prefixFilename prefix to use for ascii files.
cIpv6InterfaceContainer of Ipv6 and interface pairs on which to enable tracing.

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

Parameters:
streamAn OutputStreamWrapper representing an existing file to use when writing trace data.
cIpv6InterfaceContainer of Ipv6 and interface pairs on which to enable tracing.
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:
prefixFilename prefix to use for ascii files.
ncontainer of nodes.

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

Parameters:
streamAn OutputStreamWrapper representing an existing file to use when writing trace data.
ncontainer of nodes.
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:
prefixFilename prefix to use when creating ascii trace files
nodeidThe node identifier/number of the node on which to enable ascii tracing
interfaceThe device identifier/index of the device on which to enable ascii tracing
explicitFilenameTreat the prefix as an explicit filename if true.
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:
streamAn OutputStreamWrapper representing an existing file to use when writing trace data.
nodeidThe node identifier/number of the node on which to enable ascii tracing
interfaceThe interface on which you want to enable tracing.

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

Parameters:
prefixFilename prefix to use for ascii files.

References ns3::NodeContainer::GetGlobal().

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

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

References ns3::NodeContainer::GetGlobal().


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