#include <SimTracer.h>
Inherits ImNotifiable.

Public Member Functions | |
| virtual void | initialize (int) |
| Initialization of the module and some variables. | |
| virtual void | finish () |
| Delete all dynamically allocated objects of the module. | |
| void | namLog (string namString) |
| Called by any module wanting to log a nam event. | |
| void | radioEnergyLog (unsigned long mac, int state, simtime_t duration, double power, double newPower) |
| void | logLink (int parent, int child) |
| Called by a routing protocol to log a link in a tree topology. | |
| void | logPosition (int node, double x, double y) |
| Called by the MAC or NET layer to log the node position. | |
| virtual void | receiveBBItem (int category, const BBItem *details, int scopeModuleId) |
| Called by the Blackboard whenever a change occurs we're interested in. | |
| double | getAvgSensorPowerConsumption () |
| double | getSinkPowerConsumption () |
Protected Attributes | |
| ofstream | namFile |
| ofstream | radioEnergyFile |
| ofstream | treeFile |
| vector< string > | packetsColors |
| cOutVector | goodputVec |
| cOutVector | pSinkVec |
| cOutVector | pSensorVec |
| map< unsigned long, double > | powerConsumptions |
| int | catPacket |
| Packet | packet |
| long | nbApplPacketsSent |
| long | nbApplPacketsReceived |
| int | catEnergy |
| map< unsigned long, double > | powerConsumptions2 |
| map< unsigned long, double > | currPower |
| map< unsigned long, simtime_t > | lastUpdates |
| BaseWorldUtility * | world |
Definition at line 44 of file SimTracer.h.
1.7.1