UmtsTracer Class Reference

Inheritance diagram for UmtsTracer:

Inheritance graph
[legend]
Collaboration diagram for UmtsTracer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 UmtsTracer ()

Protected Member Functions

void format (Packet *p, SAP *sap)

Detailed Description

Definition at line 42 of file umts-tracer.cc.


Member Function Documentation

void UmtsTracer::format ( Packet *  p,
SAP sap 
) [protected, virtual]

This method has to write a formatted string with the packet's information using the method writeTrace of the given SAP.

Parameters:
p pointer to the Packet to be traced
sap pointer to the SAP instance which ask for the trace
Remarks:
This method is virtual, thus it must be overloaded. The Tracer class is a SAP friend class, but a derived class can not call the protected method of SAP. This mean that when we wants to write a string in the trace file, we have to call the Tracer writeTrace method passing the SAP instance.
See also:
writeTrace, ConnectorTrace, SAP

Implements Tracer.

Definition at line 55 of file umts-tracer.cc.

References hdr_rlc::access(), hdr_umtsphy::data, hdr_umtsphy::direction, hdr_rlc::dst_rlc_id_, hdr_rlc::eopno(), hdr_rlc::lltype(), hdr_umtsphy::me_code_id, hdr_rlc::poll(), hdr_umtsphy::powerUp, hdr_rlc::seqno(), hdr_rlc::SN_MRW, hdr_rlc::SN_MRW_ACK, hdr_rlc::src_rlc_id_, and Tracer::writeTrace().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Wed Nov 26 15:52:37 2008 for NS-MIRACLE library by  doxygen 1.5.2