| ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| | Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <wireless-phy.h>
Inheritance diagram for WirelessPhy:

Public Member Functions | |
| WirelessPhy () | |
| void | sendDown (Packet *p) |
| int | sendUp (Packet *p) |
| double | getL () const |
| double | getLambda () const |
| Node * | node (void) const |
| double | getPtconsume () |
| virtual int | command (int argc, const char *const *argv) |
| virtual void | dump (void) const |
| void | node_on () |
| void | node_off () |
| double | getAntennaZ () |
| double | getPt () |
| double | getRXThresh () |
| double | getCSThresh () |
| double | getFreq () |
Protected Types | |
| enum | ChannelStatus { IDLE, RECV, SEND } |
Protected Attributes | |
| double | Pt_ |
| double | Pt_consume_ |
| double | Pr_consume_ |
| double | P_idle_ |
| double | last_send_time_ |
| double | channel_idle_time_ |
| double | update_energy_time_ |
| double | freq_ |
| double | lambda_ |
| double | L_ |
| double | RXThresh_ |
| double | CSThresh_ |
| double | CPThresh_ |
| Antenna * | ant_ |
| Propagation * | propagation_ |
| Modulation * | modulation_ |
| Idle_Timer | idle_timer_ |
| int | status_ |
Private Member Functions | |
| int | initialized () |
| void | UpdateIdleEnergy () |
| EnergyModel * | em () |
Friends | |
| class | Idle_Timer |
|
|
|
|
|
|
|
||||||||||||
|
Reimplemented from Phy. |
|
|
Reimplemented from Phy. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from Phy. |
|
|
|
|
|
|
|
|
Implements Phy. |
|
|
Implements Phy. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|