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

00001 
00025 #include "channel.h"
00026 #include "uan-prop.h"
00027 
00028 #include <set>
00029 
00030 #define SSPEED 1500.0   //Speed of sound = approx 1500 m/s
00031 
00032 #define UAN_CHAN_NOISE  (60.0)
00033 //Underwater channel
00034 //Keeps its own propagation stats
00035 //Requires 
00036 class UanChannel : public Channel {
00037 public:
00039         UanChannel(void);
00041         virtual int command(int argc, const char*const* argv);
00042         //virtual void recv(Packet *p, Handler *);
00043         
00044 protected:
00046         set<MobileNode *> nodeList;
00048         UanPropagation *prop;
00056         virtual void sendUp(Packet *p, Phy *txif);
00063         virtual double get_pdelay(Node *tnode, Node *rnode);
00064         
00066         void debugf(char *fmt, ...);
00067 };
00068 

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