

Public Member Functions | |
| WirelessChModule () | |
| virtual | ~WirelessChModule () |
| virtual void | recv (Packet *p, ChSAP *chsap) |
| virtual int | command (int argc, const char *const *argv) |
Protected Member Functions | |
| double | getPropDelay (Position *source, Position *dest) |
| int * | getInfluencedNodes (Position *p, double radius, int *numInfluencedNodes) |
| void | sortChSAPList () |
| void | sendUpPhy (Packet *p, ChSAP *chsap) |
Private Attributes | |
| bool | sorted_ |
| double | CSThresh_ |
| double | freq_ |
| double | L_ |
| double | lambda_ |
Definition at line 40 of file wirelessch-module.h.
| void WirelessChModule::recv | ( | Packet * | p, | |
| ChSAP * | chsap | |||
| ) | [virtual] |
Abstract method used to receive packet from the module of the above layer, it gives also knowledges about the source through the instance of ChSAP which connected them
| p | pointer to the packet will be received | |
| chsap | pointer of the instance which connects the ChannelModule with the source Module |
Implements ChannelModule.
Definition at line 217 of file wirelessch-module.cc.
References sendUpPhy().
Here is the call graph for this function:

| int WirelessChModule::command | ( | int | argc, | |
| const char *const * | argv | |||
| ) | [virtual] |
TCL command interpreter. It implements the following OTcl methods:
Moreover it inherits all the OTcl method of Module
| argc | number of arguments in argv | |
| argv | array of strings which are the comand parameters (Note that argv[0] is the name of the object) |
Reimplemented from ChannelModule.
Definition at line 56 of file wirelessch-module.cc.
References ChannelModule::command().
Here is the call graph for this function:

1.5.2