ClMsgPhyMacCCATracer Class Reference

Inheritance diagram for ClMsgPhyMacCCATracer:

Inheritance graph
[legend]
Collaboration diagram for ClMsgPhyMacCCATracer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ClMsgPhyMacCCATracer ()
void format (ClMessage *m, ConnectorTrace *sap)

Detailed Description

Definition at line 72 of file phymac-clmsg-tracer.h.


Member Function Documentation

void ClMsgPhyMacCCATracer::format ( ClMessage m,
ConnectorTrace sap 
) [virtual]

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

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

Implements ClMessageTracer.

Definition at line 76 of file phymac-clmsg-tracer.cc.

References ClMessageTracer::writeTrace().

Here is the call graph for this function:


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