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

Public Member Functions | |
| Phy () | |
| void | recv (Packet *p, Handler *h) |
| virtual void | sendDown (Packet *p)=0 |
| virtual int | sendUp (Packet *p)=0 |
| double | txtime (Packet *p) |
| double | txtime (int bytes) |
| virtual double | bittime () const |
| Phy * | nextchnl (void) const |
| void | insertchnl (struct if_head *head) |
| Phy * | nextnode (void) const |
| void | insertnode (struct if_head *head) |
| void | removechnl () |
| void | setchnl (Channel *chnl) |
| virtual void | setnode (Node *node) |
| virtual Node * | node (void) const |
| virtual Channel * | channel (void) const |
| virtual void | dump (void) const |
| LinkHead * | head () |
Protected Member Functions | |
| int | command (int argc, const char *const *argv) |
| LIST_ENTRY (Phy) chnl_link_ | |
| LIST_ENTRY (Phy) node_link_ | |
Protected Attributes | |
| int | index_ |
| Node * | node_ |
| LinkHead * | head_ |
| double | bandwidth_ |
| Channel * | channel_ |
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Reimplemented from BiConnector. Reimplemented in WiredPhy, WirelessPhy, and SatPhy. |
|
|
Reimplemented in WirelessPhy. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in WirelessPhy. |
|
||||||||||||
|
Reimplemented from BiConnector. Reimplemented in RepeaterPhy. |
|
|
|
|
|
Implemented in WiredPhy, WirelessPhy, SatPhy, and RepeaterPhy. |
|
|
Implemented in WiredPhy, WirelessPhy, SatPhy, and RepeaterPhy. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|