Base class for network-layer (incoming/outgoing Interests and Data) tracing of NDN stack. More...
#include <ndn-l3-tracer.h>


Classes | |
| struct | Stats | 
Public Member Functions | |
| L3Tracer (Ptr< Node > node) | |
| Trace constructor that attaches to the node using node pointer.  More... | |
| L3Tracer (const std::string &node) | |
| Trace constructor that attaches to the node using node name.  More... | |
| virtual | ~L3Tracer () | 
| Destructor.  | |
| virtual void | PrintHeader (std::ostream &os) const =0 | 
| Print head of the trace (e.g., for post-processing)  More... | |
| virtual void | Print (std::ostream &os) const =0 | 
| Print current trace data.  More... | |
Protected Member Functions | |
| void | Connect () | 
| virtual void | OutInterests (Ptr< const Interest >, Ptr< const Face >)=0 | 
| virtual void | InInterests (Ptr< const Interest >, Ptr< const Face >)=0 | 
| virtual void | DropInterests (Ptr< const Interest >, Ptr< const Face >)=0 | 
| virtual void | OutNacks (Ptr< const Interest >, Ptr< const Face >)=0 | 
| virtual void | InNacks (Ptr< const Interest >, Ptr< const Face >)=0 | 
| virtual void | DropNacks (Ptr< const Interest >, Ptr< const Face >)=0 | 
| virtual void | OutData (Ptr< const Data >, bool fromCache, Ptr< const Face >)=0 | 
| virtual void | InData (Ptr< const Data >, Ptr< const Face >)=0 | 
| virtual void | DropData (Ptr< const Data >, Ptr< const Face >)=0 | 
| virtual void | SatisfiedInterests (Ptr< const pit::Entry >)=0 | 
| virtual void | TimedOutInterests (Ptr< const pit::Entry >)=0 | 
Protected Attributes | |
| std::string | m_node | 
| Ptr< Node > | m_nodePtr | 
Base class for network-layer (incoming/outgoing Interests and Data) tracing of NDN stack.
Definition at line 52 of file ndn-l3-tracer.h.
| ns3::ndn::L3Tracer::L3Tracer | ( | Ptr< Node > | node | ) | 
Trace constructor that attaches to the node using node pointer.
| node | pointer to the node | 
Definition at line 41 of file ndn-l3-tracer.cc.
| ns3::ndn::L3Tracer::L3Tracer | ( | const std::string & | node | ) | 
Trace constructor that attaches to the node using node name.
| nodeName | name of the node registered using Names::Add | 
Definition at line 55 of file ndn-l3-tracer.cc.
      
  | 
  pure virtual | 
Print current trace data.
| os | reference to output stream | 
Implemented in ns3::ndn::L3AggregateTracer, and ns3::ndn::L3RateTracer.
Referenced by ns3::ndn::operator<<().
      
  | 
  pure virtual | 
Print head of the trace (e.g., for post-processing)
| os | reference to output stream | 
Implemented in ns3::ndn::L3AggregateTracer, and ns3::ndn::L3RateTracer.
Referenced by ns3::ndn::operator<<().