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


Public Member Functions | |
| ClMsgUwPhyTxPwr () | |
| ClMsgUwPhyTxPwr (int stack_id, int dest_module_id) | |
| ClMsgUwPhyTxPwr (const ClMsgUwPhyTxPwr &msg) | |
| virtual | ~ClMsgUwPhyTxPwr () |
| double | getPower () |
| void | setPower (double powr) |
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 | tx_power |
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 |
ClMsgUwPhyTxPwr should be and used to ask either to set or get the transmitting power of a specific phy. In addition, ClMsgUwPhyTxPwr can be used from the phy to reply such a request.
| ClMsgUwPhyTxPwr::ClMsgUwPhyTxPwr | ( | ) |
Broadcast constructor of the ClMsgUwPhyTxPwr class
| ClMsgUwPhyTxPwr::ClMsgUwPhyTxPwr | ( | int | stack_id, |
| int | dest_module_id | ||
| ) |
Unicast constructor of the ClMsgUwPhyTxPwr class
| int | stack_id: id of the stack |
| dest_mod_id | id of the destination module |
| ClMsgUwPhyTxPwr::ClMsgUwPhyTxPwr | ( | const ClMsgUwPhyTxPwr & | msg | ) |
Copy constructor
| const | ClMsgUwPhy& msg: ClMsgUwPhyTxPwr that has to be copied |
References tx_power.
|
virtual |
Destructor of the ClMsgUwPhyTxPwr class
| double ClMsgUwPhyTxPwr::getPower | ( | ) |
| void ClMsgUwPhyTxPwr::setPower | ( | double | powr | ) |
|
private |
Referenced by ClMsgUwPhyTxPwr(), getPower(), and setPower().