DESERT 3.5.1
|
#include <uwphy-clmsg.h>
Public Member Functions | |
ClMsgUwPhyBRate () | |
ClMsgUwPhyBRate (int stack_id, int dest_module_id) | |
ClMsgUwPhyBRate (const ClMsgUwPhyBRate &msg) | |
virtual | ~ClMsgUwPhyBRate () |
double | getBRate () |
void | setBRate (double rate) |
![]() | |
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 | b_rate |
Additional Inherited Members | |
![]() | |
enum | ReqType { NOT_VALID = -1 , SET_REQ , GET_REQ , SET_REPLY , GET_REPLY } |
![]() | |
int | stack_id |
ReqType | req_type |
ClMsgUwPhyBRate should be and used to ask either to set or get the communication rate (can be bitrate or baudrate, depending on the phy) of a specific phy.
In addition, ClMsgUwPhyBRate can be used from the phy to reply such a request.
Definition at line 187 of file uwphy-clmsg.h.
ClMsgUwPhyBRate::ClMsgUwPhyBRate | ( | ) |
Broadcast constructor of the ClMsgUwPhyBRate class.
Definition at line 115 of file uwphy-clmsg.cc.
ClMsgUwPhyBRate::ClMsgUwPhyBRate | ( | int | stack_id, |
int | dest_module_id | ||
) |
Unicast constructor of the ClMsgUwPhyBRate class.
int | stack_id: id of the stack |
dest_mod_id | id of the destination module |
Definition at line 121 of file uwphy-clmsg.cc.
ClMsgUwPhyBRate::ClMsgUwPhyBRate | ( | const ClMsgUwPhyBRate & | msg | ) |
Copy constructor.
const | ClMsgUwPhyBRate& msg: ClMsgUwPhyBRate that has to be copied |
Definition at line 127 of file uwphy-clmsg.cc.
|
virtual |
Destructor of the ClMsgUwPhyTxPwr class.
Definition at line 133 of file uwphy-clmsg.cc.
double ClMsgUwPhyBRate::getBRate | ( | ) |
void ClMsgUwPhyBRate::setBRate | ( | double | rate | ) |
method to set the transmitting rate
double | rate: rate to set |
Definition at line 142 of file uwphy-clmsg.cc.
|
private |
Definition at line 230 of file uwphy-clmsg.h.