#include <pydtn/Tracer.h>


Public Types | |
| typedef std::vector< Tracer * > | ChainType |
| The internal data type. | |
Public Member Functions | |
| TracerChain () | |
| Default constructor. | |
| virtual | ~TracerChain () |
| Virtual destructor. | |
| void | node (const WrapNode &wn) |
| Create a trace entry for a WrapNode. | |
| void | link (const WrapLink &wl) |
| Create a trace entry for a WrapLink. | |
| void | enqueue (const DTN::Bundle &b, const DTN::Node *n) |
| Create a trace entry for an enqueued bundle. | |
| void | dequeue (const DTN::Bundle &b, const DTN::Node *n) |
| Create a trace entry for a dequeued bundle. | |
| void | send (const DTN::Bundle &b, const DTN::Node *n) |
| Create a trace entry for a bundle send. | |
| void | receive (const DTN::Bundle &b, const DTN::Node *n) |
| Create a trace entry for a received bundle. | |
| void | drop (const DTN::Bundle &b, const DTN::DropCause &c, const DTN::Node *n) |
| Create a trace entry for a dropped bundle. | |
| void | addTracer (Tracer *t) |
| Add another Tracer to the chain. | |
Definition at line 93 of file Tracer.h.
| void TracerChain::node | ( | const WrapNode & | wn | ) | [virtual] |
Create a trace entry for a WrapNode.
| wn | The node to record |
Implements Tracer.
Definition at line 51 of file Tracer.cc.
Referenced by WrapNode::configure().
| void TracerChain::link | ( | const WrapLink & | wl | ) | [virtual] |
Create a trace entry for a WrapLink.
| wl | The link to record |
Implements Tracer.
Definition at line 65 of file Tracer.cc.
Referenced by WrapLink::configure(), and WrapLink::handler().
| void TracerChain::enqueue | ( | const DTN::Bundle & | b, | |
| const DTN::Node * | n | |||
| ) | [virtual] |
Create a trace entry for an enqueued bundle.
| b | The bundle being enqueued | |
| n | The node at which the bundle is enqueued |
Implements Tracer.
Definition at line 79 of file Tracer.cc.
Referenced by TraceConsumer::persistentStore().
| void TracerChain::dequeue | ( | const DTN::Bundle & | b, | |
| const DTN::Node * | n | |||
| ) | [virtual] |
Create a trace entry for a dequeued bundle.
| b | The bundle being dequeued | |
| n | The node at which the bundle is dequeued |
Implements Tracer.
Definition at line 94 of file Tracer.cc.
Referenced by TraceConsumer::persistentRemove().
| void TracerChain::send | ( | const DTN::Bundle & | b, | |
| const DTN::Node * | n | |||
| ) | [virtual] |
Create a trace entry for a bundle send.
| b | The bundle being sent | |
| n | The node from which the bundle is sent |
Implements Tracer.
Definition at line 109 of file Tracer.cc.
Referenced by TraceConsumer::send().
| void TracerChain::receive | ( | const DTN::Bundle & | b, | |
| const DTN::Node * | n | |||
| ) | [virtual] |
Create a trace entry for a received bundle.
| b | The bundle being received | |
| n | The node at which the bundle is received |
Implements Tracer.
Definition at line 124 of file Tracer.cc.
Referenced by TraceConsumer::recv().
| void TracerChain::drop | ( | const DTN::Bundle & | b, | |
| const DTN::DropCause & | c, | |||
| const DTN::Node * | n | |||
| ) | [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 |
Implements Tracer.
Definition at line 139 of file Tracer.cc.
Referenced by TraceConsumer::drop().
| void TracerChain::addTracer | ( | Tracer * | t | ) |
Add another Tracer to the chain.
| t | A trace generator; takes ownership |
Definition at line 156 of file Tracer.cc.
Referenced by flowtrace_setup(), namtrace_setup(), and storetrace_setup().
1.5.4