class <Phy/WirelessPhy> WirelessPhy : public Phy


Inheritance:


Public Methods

virtual int command(int argc, const char*const* argv)
virtual void dump(void)
inline double getL()
inline double getLambda()
void sendDown(Packet *p)
int sendUp(Packet *p)
WirelessPhy()

Protected Fields

Antenna* ant_
double CPThresh_
capture threshold (db)
double CSThresh_
carrier sense threshold (W)
double freq_
frequency
double L_
system loss factor
double lambda_
wavelength (m)
Modulation* modulation_
Modulation Schem
MobileNode* node_
Mobile Node to which interface is attached .
double Pr_
reception power (W)
Propagation* propagation_
Propagation Model
double Pt_
transmission power (W)
double RXThresh_
receive power threshold (W)

Private Methods

inline int initialized()

Inherited from Phy:

Public Methods

virtual double bittime()
virtual Channel* channel(void)
LinkHead* head()
inline void insertchnl(struct if_head *head)
inline void insertnode(struct if_head* head)
Phy* nextchnl(void)
Phy* nextnode(void)
virtual Node* node(void)
void recv(Packet* p, Handler* h)
inline void removechnl()
void setchnl(Channel *chnl)
virtual void setnode(Node *node)
inline double txtime(Packet *p)
inline double txtime(int bytes)

Protected Fields

double bandwidth_
Channel* channel_
LinkHead* head_
int index_

Protected Methods

LIST_ENTRY(Phy)
LIST_ENTRY(Phy)

Inherited from BiConnector:

Public Methods

NsObject* downtarget()
virtual void drop(Packet* p)
inline NsObject* uptarget()

Protected Fields

NsObject* downtarget_
NsObject* drop_
NsObject* uptarget_

Protected Methods

virtual void drop(Packet* p, const char *s)

Inherited from NsObject:

Public Methods

virtual void debug(const char *fmt, ...)
virtual int delay_bind_dispatch(const char *varName, const char *localName, TclObject *tracer)
virtual void delay_bind_init_all()
int isdebug()

Protected Fields

int debug_
int off_cmn_
int off_flags_

Protected Methods

void handle(Event*)
virtual void reset()

Inherited from Handler:


Documentation

WirelessPhy()

void sendDown(Packet *p)

int sendUp(Packet *p)

inline double getL()

inline double getLambda()

virtual int command(int argc, const char*const* argv)

virtual void dump(void)

double Pt_
transmission power (W)

double Pr_
reception power (W)

double freq_
frequency

double lambda_
wavelength (m)

double L_
system loss factor

double RXThresh_
receive power threshold (W)

double CSThresh_
carrier sense threshold (W)

double CPThresh_
capture threshold (db)

Antenna* ant_

Propagation* propagation_
Propagation Model

Modulation* modulation_
Modulation Schem

MobileNode* node_
Mobile Node to which interface is attached .

inline int initialized()


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de