|
DESERT 3.6.1
|
#include <uwphy-clmsg.h>


Public Member Functions | |
| ClMsgUwPhyThresh () | |
| ClMsgUwPhyThresh (int stack_id, int dest_module_id) | |
| ClMsgUwPhyThresh (const ClMsgUwPhyThresh &msg) | |
| virtual | ~ClMsgUwPhyThresh () |
| double | getThresh () |
| void | setThresh (double thresh) |
Public Member Functions inherited from ClMsgUwPhy | |
| ClMsgUwPhy (ClMessage_t type) | |
| ClMsgUwPhy (int stack_id, int dest_module_id, ClMessage_t type) | |
| ClMsgUwPhy (const ClMsgUwPhy &msg) | |
| virtual | ~ClMsgUwPhy () |
| virtual ClMsgUwPhy * | copy () |
| void | setReqType (ReqType type) |
| ReqType | getReqType () |
Private Attributes | |
| double | threshold |
Additional Inherited Members | |
Public Types inherited from ClMsgUwPhy | |
| enum | ReqType { NOT_VALID = -1 , SET_REQ , GET_REQ , SET_REPLY , GET_REPLY } |
Protected Attributes inherited from ClMsgUwPhy | |
| int | stack_id |
| ReqType | req_type |
ClMsgUwPhyThresh should be and used to ask either to set or get the receiving threshold (can be SNR or receiving power, depending on the phy) of a specific phy.
In addition, ClMsgUwPhyThresh can be used from the phy to reply such a request.
Definition at line 241 of file uwphy-clmsg.h.
| ClMsgUwPhyThresh::ClMsgUwPhyThresh | ( | ) |
Broadcast constructor of the ClMsgUwPhyBRate class.
Definition at line 148 of file uwphy-clmsg.cc.
| ClMsgUwPhyThresh::ClMsgUwPhyThresh | ( | int | stack_id, |
| int | dest_module_id | ||
| ) |
Unicast constructor of the ClMsgUwPhyThresh class.
| int | stack_id: id of the stack |
| dest_mod_id | id of the destination module |
Definition at line 154 of file uwphy-clmsg.cc.
| ClMsgUwPhyThresh::ClMsgUwPhyThresh | ( | const ClMsgUwPhyThresh & | msg | ) |
Copy constructor.
| const | ClMsgUwPhyThresh& msg: ClMsgUwPhyThresh that has to be copied |
Definition at line 160 of file uwphy-clmsg.cc.
|
virtual |
Destructor of the ClMsgUwPhyThresh class.
Definition at line 166 of file uwphy-clmsg.cc.
| double ClMsgUwPhyThresh::getThresh | ( | ) |
| void ClMsgUwPhyThresh::setThresh | ( | double | thresh | ) |
method to set the rx threshold
| double | thresh: threshold to set |
Definition at line 175 of file uwphy-clmsg.cc.
|
private |
Definition at line 284 of file uwphy-clmsg.h.