Tracer Class Reference
[pydtn]

Base class for trace generators. More...

#include <pydtn/Tracer.h>

Inheritance diagram for Tracer:

Inheritance graph
[legend]

List of all members.

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.


Detailed Description

Base class for trace generators.

Definition at line 47 of file Tracer.h.


Member Function Documentation

virtual void Tracer::node ( const WrapNode wn  )  [pure virtual]

Create a trace entry for a WrapNode.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.


The documentation for this class was generated from the following file:
Generated on Mon Mar 24 11:15:48 2008 for Pydtn Simulator by  doxygen 1.5.4