Link-layer tracer. More...
#include <l2-tracer.hpp>
Classes | |
struct | Stats |
Public Member Functions | |
L2Tracer (Ptr< Node > node) | |
virtual | ~L2Tracer () |
void | Connect () |
virtual void | PrintHeader (std::ostream &os) const =0 |
virtual void | Print (std::ostream &os) const =0 |
virtual void | Drop (Ptr< const Packet >)=0 |
Protected Attributes | |
std::string | m_node |
Ptr< Node > | m_nodePtr |
ns3::L2Tracer::L2Tracer | ( | Ptr< Node > | node | ) |
Definition at line 33 of file l2-tracer.cpp.
|
inlinevirtual |
Definition at line 42 of file l2-tracer.hpp.
References Connect(), Drop(), Print(), and PrintHeader().
void ns3::L2Tracer::Connect | ( | ) |
Definition at line 47 of file l2-tracer.cpp.
References Drop(), and m_nodePtr.
Referenced by L2Tracer(), and ~L2Tracer().
|
pure virtual |
Implemented in ns3::L2RateTracer.
Referenced by ns3::operator<<(), and ~L2Tracer().
|
pure virtual |
Implemented in ns3::L2RateTracer.
Referenced by ns3::operator<<(), and ~L2Tracer().
|
pure virtual |
Implemented in ns3::L2RateTracer.
Referenced by Connect(), and ~L2Tracer().
|
protected |
Definition at line 60 of file l2-tracer.hpp.
Referenced by L2Tracer().
|
protected |
Definition at line 61 of file l2-tracer.hpp.
Referenced by Connect(), and L2Tracer().