VerboseClCmnTracer Class Reference

Inheritance diagram for VerboseClCmnTracer:

Inheritance graph
[legend]
Collaboration diagram for VerboseClCmnTracer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

Definition at line 46 of file verboseclcmntracer.h.


Member Function Documentation

void VerboseClCmnTracer::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 39 of file verboseclcmntracer.cc.

References ClMessage::direction(), DOWN, ClMessage::getDest(), ClMessage::getDestType(), ClMessage::getSource(), TOMODULE, TONODECORE, ClMessage::uid(), UNICAST, UP, and 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:52:37 2008 for NS-MIRACLE library by  doxygen 1.5.2