#include <cltracer.h>
Inheritance diagram for ClMessageTracer:


Public Member Functions | |
| ClMessageTracer (ClMessage_t clType) | |
| virtual void | format (ClMessage *m, ConnectorTrace *sap)=0 |
| ClMessage_t | clType () |
| void | next (ClMessageTracer *next) |
| ClMessageTracer * | next () |
Protected Member Functions | |
| void | writeTrace (ConnectorTrace *sap, char *s,...) |
Private Attributes | |
| ClMessage_t | clType_ |
| ClMessageTracer * | next_ |
Definition at line 66 of file cltracer.h.
| ClMessageTracer::ClMessageTracer | ( | ClMessage_t | clType | ) |
ClMessageTracer constructor. The clType param indicates the ID of the ClMessage which this class can trace.
| clType | the ID of the ClMessage which this class can trace |
Definition at line 108 of file cltracer.cc.
References next_.
| virtual void ClMessageTracer::format | ( | ClMessage * | m, | |
| ConnectorTrace * | sap | |||
| ) | [pure virtual] |
This method has to write a formatted string with the ClMessage's information using the method writeTrace of the given ClSAP.
| m | pointer to the ClMessage to be traced | |
| sap | pointer to the ClSAP instance which ask for the trace |
Implemented in ClCommonTracer, VerboseClCmnTracer, ClMsgPhyMacStartRxTracer, ClMsgPhyMacEndTxTracer, and ClMsgPhyMacCCATracer.
Referenced by ClTracer::trace().
| ClMessage_t ClMessageTracer::clType | ( | ) |
Returns the clType_ of the ClMessageTracer
Definition at line 113 of file cltracer.cc.
References clType_.
Referenced by ClTracer::addTracer(), and ClTracer::trace().
| void ClMessageTracer::next | ( | ClMessageTracer * | next | ) |
Set the next_ ClMessageTracer in the ClTracer objects list (The are stored in a HashTable, but the ClMessageTracer with the same key are stored in a circular list).
| next | pointer to the next ClMessageTracer |
Definition at line 123 of file cltracer.cc.
References next_.
Referenced by ClTracer::addTracer(), and ClTracer::trace().
| ClMessageTracer * ClMessageTracer::next | ( | ) |
Returns the pointer to the next ClMessageTracer in the ClTracer list
Definition at line 118 of file cltracer.cc.
References next_.
| void ClMessageTracer::writeTrace | ( | ConnectorTrace * | sap, | |
| char * | s, | |||
| ... | ||||
| ) | [protected] |
This method write a string in the trace file using the method vWriteTRace of the given ClSAP instance
| sap | the ClSAP instance where the string will write. | |
| s | string to be write in the trace file. The sintax is equal to the printf C function |
Definition at line 128 of file cltracer.cc.
References ConnectorTrace::vWriteTrace().
Referenced by ClMsgPhyMacCCATracer::format(), ClMsgPhyMacEndTxTracer::format(), ClMsgPhyMacStartRxTracer::format(), VerboseClCmnTracer::format(), and ClCommonTracer::format().
Here is the call graph for this function:

ClMessage_t ClMessageTracer::clType_ [private] |
The ID of the ClMessage which this class can trace
Definition at line 138 of file cltracer.h.
Referenced by clType().
ClMessageTracer* ClMessageTracer::next_ [private] |
The next ClMessageTracer in the CLTracer chain
Definition at line 142 of file cltracer.h.
Referenced by ClMessageTracer(), and next().
1.5.2