MrclWirelessPhy Class Reference

Collaboration diagram for MrclWirelessPhy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MrclWirelessPhy ()
void sendDown (Packet *p)
int sendUp (Packet *p)
double getL () const
double getLambda () const
Node * node (void) const
double getPtconsume ()
double getDist (double Pr, double Pt, double Gt, double Gr, double hr, double ht, double L, double lambda)
virtual int command (int argc, const char *const *argv)
virtual void dump (void) const
void node_on ()
void node_off ()
double getAntennaZ ()
double getPt ()
double getRXThresh ()
double getCSThresh ()
double getFreq ()
void node_sleep ()
void node_wakeup ()
bool & Is_node_on ()
bool Is_sleeping ()

Protected Types

enum  ChannelStatus { SLEEP, IDLE, RECV, SEND }

Protected Attributes

double Pt_
double Pt_consume_
double Pr_consume_
double P_idle_
double P_sleep_
double P_transition_
double T_transition_
double last_send_time_
double channel_idle_time_
double update_energy_time_
double freq_
double lambda_
double L_
double RXThresh_
double CSThresh_
double CPThresh_
Antenna * ant_
DeiPropagationpropagation_
Modulation * modulation_
bool node_on_
MrclSleep_Timer sleep_timer_
int status_

Private Member Functions

int initialized ()
void UpdateIdleEnergy ()
void UpdateSleepEnergy ()
EnergyModel * em ()

Friends

class MrclSleep_Timer

Detailed Description

Definition at line 68 of file mrcl_wireless-phy.h.


Member Enumeration Documentation

enum MrclWirelessPhy::ChannelStatus [protected]

Enumerator:
SLEEP 
IDLE 
RECV 
SEND 

Definition at line 132 of file mrcl_wireless-phy.h.


The documentation for this class was generated from the following files:
Generated on Wed Nov 26 15:51:55 2008 for NS-MIRACLE library by  doxygen 1.5.2