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


Public Types | |
| enum | ReqType { NOT_VALID = -1 , SET_REQ , GET_REQ , SET_REPLY , GET_REPLY } |
Public Member Functions | |
| ClMsgUwMmac (ClMessage_t type) | |
| ClMsgUwMmac (int stack_id, int dest_module_id, ClMessage_t type) | |
| ClMsgUwMmac (const ClMsgUwMmac &msg) | |
| virtual | ~ClMsgUwMmac () |
| virtual ClMsgUwMmac * | copy () |
| void | setReqType (ReqType type) |
| ReqType | getReqType () |
Protected Attributes | |
| int | stack_id |
| ReqType | req_type |
ClMsgUwMmac should be extended and used to ask to set or get a parameter of a specific phy. In addition, ClMsgUwMmac can be used from the phy to reply such a request.
| enum ClMsgUwMmac::ReqType |
| ClMsgUwMmac::ClMsgUwMmac | ( | ClMessage_t | type | ) |
Broadcast constructor of the ClMsgUwMmac class
| ClMsgUwMmac::ClMsgUwMmac | ( | int | stack_id, |
| int | dest_module_id, | ||
| ClMessage_t | type | ||
| ) |
Unicast constructor of the ClMsgUwMmac class
| int | stack_id: id of the stack |
| dest_mod_id | id of the destination module |
| ClMsgUwMmac::ClMsgUwMmac | ( | const ClMsgUwMmac & | msg | ) |
Copy constructor
| const | ClMsgUwMmac& msg: ClMsgUwMmac that has to be copied |
References req_type.
|
virtual |
Destructor of the ClMsgUwMmac class
|
virtual |
Copy method of the ClMsgUwMmac class, the specialization of the return value is intentional and it is allowed by c++ standard
| ClMsgUwMmac::ReqType ClMsgUwMmac::getReqType | ( | ) |
| void ClMsgUwMmac::setReqType | ( | ReqType | type | ) |
|
protected |
Referenced by ClMsgUwMmac(), getReqType(), and setReqType().
|
protected |