Public Member Functions | |
DumbWirelessChModule () | |
virtual | ~DumbWirelessChModule () |
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) |
void | sendUpPhy (Packet *p, ChSAP *chsap) |
Protected Attributes | |
int | usePropagationDelay_ |
Definition at line 40 of file wirelessch-dumb.h.
void DumbWirelessChModule::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 117 of file wirelessch-dumb.cc.
References sendUpPhy().
Here is the call graph for this function:
int DumbWirelessChModule::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 53 of file wirelessch-dumb.cc.
References ChannelModule::command().
Here is the call graph for this function: