#include <pydtn/Tracer.h>

Public Member Functions | |
| Tracer () | |
| Default constructor. | |
| virtual | ~Tracer () |
| Virtual destructor. | |
| virtual void | node (const WrapNode &wn)=0 |
| Create a trace entry for a WrapNode. | |
| virtual void | link (const WrapLink &wl)=0 |
| Create a trace entry for a WrapLink. | |
| virtual void | enqueue (const DTN::Bundle &b, const DTN::Node *n)=0 |
| Create a trace entry for an enqueued bundle. | |
| virtual void | dequeue (const DTN::Bundle &b, const DTN::Node *n)=0 |
| Create a trace entry for a dequeued bundle. | |
| virtual void | send (const DTN::Bundle &b, const DTN::Node *n)=0 |
| Create a trace entry for a bundle send. | |
| virtual void | receive (const DTN::Bundle &b, const DTN::Node *n)=0 |
| Create a trace entry for a received bundle. | |
| virtual void | drop (const DTN::Bundle &b, const DTN::DropCause &c, const DTN::Node *n)=0 |
| Create a trace entry for a dropped bundle. | |
Definition at line 47 of file Tracer.h.
| virtual void Tracer::node | ( | const WrapNode & | wn | ) | [pure virtual] |
Create a trace entry for a WrapNode.
| wn | The node to record |
Implemented in FlowTracer, NamTracer, TracerChain, and StoreTracer.
| virtual void Tracer::link | ( | const WrapLink & | wl | ) | [pure virtual] |
Create a trace entry for a WrapLink.
| wl | The link to record |
Implemented in FlowTracer, NamTracer, TracerChain, and StoreTracer.
| virtual void Tracer::enqueue | ( | const DTN::Bundle & | b, | |
| const DTN::Node * | n | |||
| ) | [pure virtual] |
Create a trace entry for an enqueued bundle.
| b | The bundle being enqueued | |
| n | The node at which the bundle is enqueued |
Implemented in FlowTracer, NamTracer, TracerChain, and StoreTracer.
| virtual void Tracer::dequeue | ( | const DTN::Bundle & | b, | |
| const DTN::Node * | n | |||
| ) | [pure virtual] |
Create a trace entry for a dequeued bundle.
| b | The bundle being dequeued | |
| n | The node at which the bundle is dequeued |
Implemented in FlowTracer, NamTracer, TracerChain, and StoreTracer.
| virtual void Tracer::send | ( | const DTN::Bundle & | b, | |
| const DTN::Node * | n | |||
| ) | [pure virtual] |
Create a trace entry for a bundle send.
| b | The bundle being sent | |
| n | The node from which the bundle is sent |
Implemented in FlowTracer, NamTracer, TracerChain, and StoreTracer.
| virtual void Tracer::receive | ( | const DTN::Bundle & | b, | |
| const DTN::Node * | n | |||
| ) | [pure virtual] |
Create a trace entry for a received bundle.
| b | The bundle being received | |
| n | The node at which the bundle is received |
Implemented in FlowTracer, NamTracer, TracerChain, and StoreTracer.
| virtual void Tracer::drop | ( | const DTN::Bundle & | b, | |
| const DTN::DropCause & | c, | |||
| const DTN::Node * | n | |||
| ) | [pure virtual] |
Create a trace entry for a dropped bundle.
| b | The bundle being dropped | |
| c | The reason for dropping the bundle | |
| n | The node at which the drop occurs |
Implemented in FlowTracer, NamTracer, TracerChain, and StoreTracer.
1.5.4