ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 


Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

MultihopMac Class Reference

#include <mac-multihop.h>

Inheritance diagram for MultihopMac:

Mac BiConnector NsObject TclObject Handler List of all members.

Public Member Functions

 MultihopMac ()
void send (Packet *)
void recv (Packet *, Handler *)
void poll (Packet *)
int checkInterfaces (int)
void schedulePoll (MultihopMac *)
int mode ()
int mode (int m)
MultihopMac * peer ()
MultihopMac * peer (MultihopMac *p)
double tx_rx ()
double rx_tx ()
double rx_rx ()
double backoffBase ()
double backoffTime ()
double backoffTime (double bt)
PollEventpendingPE ()
PollEventpendingPE (PollEvent *pe)
Packetpkt ()
PollHandlerph ()
PollAckHandlerpah ()
PollNackHandlerpnh ()
PollTimeoutHandlerpth ()
BackoffHandlerbh ()
double pollTxtime (int s)

Protected Attributes

int mode_
MultihopMac * peer_
double tx_rx_
double rx_tx_
double rx_rx_
double backoffTime_
double backoffBase_
PollEventpendingPollEvent_
Packetpkt_
PollHandler ph_
PollAckHandler pah_
PollNackHandler pnh_
PollTimeoutHandler pth_
BackoffHandler bh_

Constructor & Destructor Documentation

MultihopMac::MultihopMac  
 


Member Function Documentation

double MultihopMac::backoffBase   [inline]
 

double MultihopMac::backoffTime double    bt [inline]
 

double MultihopMac::backoffTime   [inline]
 

BackoffHandler* MultihopMac::bh   [inline]
 

int MultihopMac::checkInterfaces int   
 

int MultihopMac::mode int    m [inline]
 

int MultihopMac::mode   [inline]
 

PollAckHandler* MultihopMac::pah   [inline]
 

MultihopMac* MultihopMac::peer MultihopMac *    p [inline]
 

MultihopMac* MultihopMac::peer   [inline]
 

PollEvent* MultihopMac::pendingPE PollEvent   pe [inline]
 

PollEvent* MultihopMac::pendingPE   [inline]
 

PollHandler* MultihopMac::ph   [inline]
 

Packet* MultihopMac::pkt   [inline]
 

PollNackHandler* MultihopMac::pnh   [inline]
 

void MultihopMac::poll Packet  
 

double MultihopMac::pollTxtime int    s [inline]
 

PollTimeoutHandler* MultihopMac::pth   [inline]
 

void MultihopMac::recv Packet  ,
Handler  
[virtual]
 

Reimplemented from Mac.

double MultihopMac::rx_rx   [inline]
 

double MultihopMac::rx_tx   [inline]
 

void MultihopMac::schedulePoll MultihopMac *   
 

void MultihopMac::send Packet  
 

double MultihopMac::tx_rx   [inline]
 


Member Data Documentation

double MultihopMac::backoffBase_ [protected]
 

double MultihopMac::backoffTime_ [protected]
 

BackoffHandler MultihopMac::bh_ [protected]
 

int MultihopMac::mode_ [protected]
 

PollAckHandler MultihopMac::pah_ [protected]
 

MultihopMac* MultihopMac::peer_ [protected]
 

PollEvent* MultihopMac::pendingPollEvent_ [protected]
 

PollHandler MultihopMac::ph_ [protected]
 

Packet* MultihopMac::pkt_ [protected]
 

PollNackHandler MultihopMac::pnh_ [protected]
 

PollTimeoutHandler MultihopMac::pth_ [protected]
 

double MultihopMac::rx_rx_ [protected]
 

double MultihopMac::rx_tx_ [protected]
 

double MultihopMac::tx_rx_ [protected]
 


The documentation for this class was generated from the following files:
This document is generated by doxygen.