/home/ltracy/workspace/NSUAN/uan/uan-channel-bhp.h

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_*/

Generated on Mon Oct 1 12:12:42 2007 for UANModule by  doxygen 1.5.1