GenericMacModule Class Reference

Inheritance diagram for GenericMacModule:

Inheritance graph
[legend]
Collaboration diagram for GenericMacModule:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GenericMacModule ()
virtual ~GenericMacModule ()
virtual void tx (Packet *p)
virtual void rx (Packet *p)

Detailed Description

Definition at line 36 of file macGeneric.h.


Constructor & Destructor Documentation

GenericMacModule::GenericMacModule (  ) 

Constructor

Definition at line 41 of file macGeneric.cc.

GenericMacModule::~GenericMacModule (  )  [virtual]

Destructor

Definition at line 45 of file macGeneric.cc.


Member Function Documentation

void GenericMacModule::tx ( Packet *  p  )  [virtual]

Process packets going out

Parameters:
p The packet to transmit

Implements MMacModule.

Definition at line 54 of file macGeneric.cc.

References MMacModule::resume(), and Module::sendDown().

Here is the call graph for this function:

void GenericMacModule::rx ( Packet *  p  )  [virtual]

Process incoming packets

Parameters:
p The received packet

Implements MMacModule.

Definition at line 49 of file macGeneric.cc.

References Module::sendUp().

Here is the call graph for this function:


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