DESERT 3.5.1
|
#include <uwphy-clmsg.h>
Public Types | |
enum | ReqType { NOT_VALID = -1 , SET_REQ , GET_REQ , SET_REPLY , GET_REPLY } |
Public Member Functions | |
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 () |
Protected Attributes | |
int | stack_id |
ReqType | req_type |
ClMsgUwPhy should be extended and used to ask to set or get a parameter of a specific phy.
In addition, ClMsgUwPhy can be used from the phy to reply such a request.
Definition at line 62 of file uwphy-clmsg.h.
enum ClMsgUwPhy::ReqType |
Enumerator | |
---|---|
NOT_VALID | |
SET_REQ | |
GET_REQ | |
SET_REPLY | |
GET_REPLY |
Definition at line 66 of file uwphy-clmsg.h.
ClMsgUwPhy::ClMsgUwPhy | ( | ClMessage_t | type | ) |
Broadcast constructor of the ClMsgUwPhy class.
Definition at line 40 of file uwphy-clmsg.cc.
ClMsgUwPhy::ClMsgUwPhy | ( | int | stack_id, |
int | dest_module_id, | ||
ClMessage_t | type | ||
) |
Unicast constructor of the ClMsgUwPhy class.
int | stack_id: id of the stack |
dest_mod_id | id of the destination module |
Definition at line 48 of file uwphy-clmsg.cc.
ClMsgUwPhy::ClMsgUwPhy | ( | const ClMsgUwPhy & | msg | ) |
Copy constructor.
const | ClMsgUwPhy& msg: ClMsgUwPhy that has to be copied |
Definition at line 55 of file uwphy-clmsg.cc.
|
virtual |
Destructor of the ClMsgUwPhy class.
Definition at line 62 of file uwphy-clmsg.cc.
|
virtual |
Copy method of the ClMsgUwPhy class, the specialization of the return value is intentional and it is allowed by c++ standard.
Definition at line 66 of file uwphy-clmsg.cc.
ClMsgUwPhy::ReqType ClMsgUwPhy::getReqType | ( | ) |
void ClMsgUwPhy::setReqType | ( | ReqType | type | ) |
method to set the request type
ReqType | type: request type |
Definition at line 71 of file uwphy-clmsg.cc.
|
protected |
Definition at line 123 of file uwphy-clmsg.h.
|
protected |
Definition at line 122 of file uwphy-clmsg.h.