00001 #ifndef UANCHANNELBHP_H_ 00002 #define UANCHANNELBHP_H_ 00003 00025 #include "uan-channel.h" 00026 #include "uan-prop-bhp.h" 00027 class UanChannelBhp : public UanChannel { 00028 public: 00029 00031 UanChannelBhp() : UanChannel() {bind("tsym", &tSym);bind("tclear", &tClear);} 00032 00041 virtual void sendUp(Packet *p, Phy *txif); 00042 00044 UanPropagationBhp *getProp(void) {return static_cast<UanPropagationBhp*>(prop);} 00045 00046 protected: 00048 double tSym; 00050 double tClear; 00052 double getdist(MobileNode *a, MobileNode *b); 00053 }; 00054 00055 00056 #endif /*UANCHANNELBHP_H_*/