

Public Member Functions | |
| MPhyTracer () | |
Protected Member Functions | |
| void | format (Packet *p, SAP *sap) |
| double | WtodBm (double W) |
Definition at line 34 of file mphy-tracer.cc.
| void MPhyTracer::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.
| p | pointer to the Packet to be traced | |
| sap | pointer to the SAP instance which ask for the trace |
Implements Tracer.
Definition at line 55 of file mphy-tracer.cc.
References hdr_MPhy::dstPosition, hdr_MPhy::duration, Position::getDist(), MPhy::getModulationName(), hdr_MPhy::modulationType, hdr_MPhy::Pi, hdr_MPhy::Pn, hdr_MPhy::Pr, hdr_MPhy::Pt, hdr_MPhy::rxtime, hdr_MPhy::srcPosition, hdr_MPhy::txtime, hdr_MPhy::worth_tracing, and Tracer::writeTrace().
Here is the call graph for this function:

1.5.2