Base class providing common user-level ascii trace operations for helpers representing IPv4 protocols . More...
#include <trace-helper.h>
Public Member Functions | |
AsciiTraceHelperForIpv4 () | |
Construct an AsciiTraceHelperForIpv4. | |
virtual | ~AsciiTraceHelperForIpv4 () |
Destroy an AsciiTraceHelperForIpv4. | |
virtual void | EnableAsciiIpv4Internal (Ptr< OutputStreamWrapper > stream, std::string prefix, Ptr< Ipv4 > ipv4, uint32_t interface, bool explicitFilename)=0 |
Enable ascii trace output on the indicated Ipv4 and interface pair. | |
void | EnableAsciiIpv4 (std::string prefix, Ptr< Ipv4 > ipv4, uint32_t interface, bool explicitFilename=false) |
Enable ascii trace output on the indicated Ipv4 and interface pair. | |
void | EnableAsciiIpv4 (Ptr< OutputStreamWrapper > stream, Ptr< Ipv4 > ipv4, uint32_t interface) |
Enable ascii trace output on the indicated Ipv4 and interface pair. | |
void | EnableAsciiIpv4 (std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) |
Enable ascii trace output the indicated Ipv4 and interface pair using an Ipv4 previously named using the ns-3 object name service. | |
void | EnableAsciiIpv4 (Ptr< OutputStreamWrapper > stream, std::string ipv4Name, uint32_t interface) |
Enable ascii trace output the indicated net device using a device previously named using the ns-3 object name service. | |
void | EnableAsciiIpv4 (std::string prefix, Ipv4InterfaceContainer c) |
Enable ascii trace output on each Ipv4 and interface pair in the container. | |
void | EnableAsciiIpv4 (Ptr< OutputStreamWrapper > stream, Ipv4InterfaceContainer c) |
Enable ascii trace output on each device in the container which is of the appropriate type. | |
void | EnableAsciiIpv4 (std::string prefix, NodeContainer n) |
Enable ascii trace output on all Ipv4 and interface pairs existing in the nodes provided in the container. | |
void | EnableAsciiIpv4 (Ptr< OutputStreamWrapper > stream, NodeContainer n) |
Enable ascii trace output on all Ipv4 and interface pairs existing in the nodes provided in the container. | |
void | EnableAsciiIpv4All (std::string prefix) |
Enable ascii trace output on all Ipv4 and interface pairs existing in the set of all nodes created in the simulation. | |
void | EnableAsciiIpv4All (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. | |
void | EnableAsciiIpv4 (std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) |
Enable pcap output on the Ipv4 and interface pair specified by a global node-id (of a previously created node) and interface. Since there can be only one Ipv4 aggregated to a node, the node-id unambiguously determines the Ipv4. | |
void | EnableAsciiIpv4 (Ptr< OutputStreamWrapper > stream, uint32_t nodeid, uint32_t interface, bool explicitFilename) |
Enable pcap output on the Ipv4 and interface pair specified by a global node-id (of a previously created node) and interface. Since there can be only one Ipv4 aggregated to a node, the node-id unambiguously determines the Ipv4. |
Base class providing common user-level ascii trace operations for helpers representing IPv4 protocols .
void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4 | ( | std::string | prefix, | |
Ptr< Ipv4 > | ipv4, | |||
uint32_t | interface, | |||
bool | explicitFilename = false | |||
) |
Enable ascii trace output on the indicated Ipv4 and interface pair.
prefix | Filename prefix to use for ascii files. | |
ipv4 | Ptr<Ipv4> 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::AsciiTraceHelperForIpv4::EnableAsciiIpv4 | ( | Ptr< OutputStreamWrapper > | stream, | |
uint32_t | nodeid, | |||
uint32_t | interface, | |||
bool | explicitFilename | |||
) |
Enable pcap output on the Ipv4 and interface pair specified by a global node-id (of a previously created node) and interface. Since there can be only one Ipv4 aggregated to a node, the node-id unambiguously determines the Ipv4.
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. | |
explicitFilename | Treat the prefix as an explicit filename if true |
void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4 | ( | std::string | prefix, | |
uint32_t | nodeid, | |||
uint32_t | deviceid, | |||
bool | explicitFilename | |||
) |
Enable pcap output on the Ipv4 and interface pair specified by a global node-id (of a previously created node) and interface. Since there can be only one Ipv4 aggregated to a node, the node-id unambiguously determines the Ipv4.
prefix | Filename prefix to use when creating ascii trace files | |
nodeid | The node identifier/number of the node on which to enable ascii tracing | |
deviceid | 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::AsciiTraceHelperForIpv4::EnableAsciiIpv4 | ( | std::string | prefix, | |
std::string | ipv4Name, | |||
uint32_t | interface, | |||
bool | explicitFilename = false | |||
) |
Enable ascii trace output the indicated Ipv4 and interface pair using an Ipv4 previously named using the ns-3 object name service.
prefix | filename prefix to use for ascii files. | |
ipv4Name | The name of the Ipv4 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::AsciiTraceHelperForIpv4::EnableAsciiIpv4 | ( | std::string | prefix, | |
NodeContainer | n | |||
) |
Enable ascii trace output on all Ipv4 and interface pairs existing in the nodes provided in the container.
prefix | Filename prefix to use for ascii files. | |
n | container of nodes. |
void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4 | ( | Ptr< OutputStreamWrapper > | stream, | |
NodeContainer | n | |||
) |
Enable ascii trace output on all Ipv4 and interface pairs existing in the nodes provided in the container.
stream | An OutputStreamWrapper representing an existing file to use when writing trace data. | |
n | container of nodes. |
void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4 | ( | Ptr< OutputStreamWrapper > | stream, | |
std::string | ipv4Name, | |||
uint32_t | interface | |||
) |
Enable ascii trace output the indicated net device using a device previously named using the ns-3 object name service.
stream | An OutputStreamWrapper representing an existing file to use when writing trace data. | |
ipv4Name | The name of the Ipv4 on which you want to enable tracing. | |
interface | The interface on which you want to enable tracing. |
void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4 | ( | Ptr< OutputStreamWrapper > | stream, | |
Ipv4InterfaceContainer | c | |||
) |
Enable ascii trace output on each device in the container which is of the appropriate type.
stream | An OutputStreamWrapper representing an existing file to use when writing trace data. | |
c | Ipv4InterfaceContainer of Ipv4 and interface pairs on which to enable tracing. |
void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4 | ( | std::string | prefix, | |
Ipv4InterfaceContainer | c | |||
) |
Enable ascii trace output on each Ipv4 and interface pair in the container.
prefix | Filename prefix to use for ascii files. | |
c | Ipv4InterfaceContainer of Ipv4 and interface pairs on which to enable tracing. |
void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4 | ( | Ptr< OutputStreamWrapper > | stream, | |
Ptr< Ipv4 > | ipv4, | |||
uint32_t | interface | |||
) |
Enable ascii trace output on the indicated Ipv4 and interface pair.
stream | An OutputStreamWrapper representing an existing file to use when writing trace data. | |
ipv4 | Ptr<Ipv4> on which you want to enable tracing. | |
interface | The interface on which you want to enable tracing. |
void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All | ( | std::string | prefix | ) |
Enable ascii trace output on all Ipv4 and interface pairs existing in the set of all nodes created in the simulation.
prefix | Filename prefix to use for ascii files. |
void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All | ( | 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.
stream | An OutputStreamWrapper representing an existing file to use when writing trace data. |