

Public Member Functions | |
| WirelessPhyTracer () | |
Protected Member Functions | |
| void | format (Packet *p, SAP *sap) |
| double | WtodBm (double W) |
Definition at line 34 of file phy-tracer.h.
| void WirelessPhyTracer::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 41 of file phy-tracer.cc.
References hdr_MrclWrlPhy::destPos_, Position::getX(), Position::getY(), hdr_MrclWrlPhy::sourcePos_, Tracer::writeTrace(), and WtodBm().
Here is the call graph for this function:

1.5.2