#include <uan-channel-bhp.h>
Inheritance diagram for UanChannelBhp:


Public Member Functions | |
| UanChannelBhp () | |
| Constructs UanChannelBhp. | |
| virtual void | sendUp (Packet *p, Phy *txif) |
| sends packet p from interface txif up to all nodes in nodelist | |
| UanPropagationBhp * | getProp (void) |
| Returns pointer to propagation model. This is used by UanPhyBhpFsk to recompute SINR. | |
Protected Member Functions | |
| double | getdist (MobileNode *a, MobileNode *b) |
| Computes range between nodes a and b. | |
Protected Attributes | |
| double | tSym |
| Symbol transmit time in ms. | |
| double | tClear |
| Time allowed for channel to clear inbetween symbols in ms. | |
This class is equivalent to the UanChannel class but precomputes the Bellhop arrival information for all nodes at the same time to greatly improve performance when using UanPropagationBhp.
TCL Bindings: tsym -> Symbol time in ms tclear -> Clearing time allowed between symbols in ms
| void UanChannelBhp::sendUp | ( | Packet * | p, | |
| Phy * | txif | |||
| ) | [virtual] |
sends packet p from interface txif up to all nodes in nodelist
| p | Pointer to Packet to send | |
| txif | Pointer to UanPhy based transmitting interface |
Reimplemented from UanChannel.
1.5.1