DESERT 3.5.1
|
#include <uwphy-clmsg.h>
Public Member Functions | |
ClMsgUwPhyGetLostPkts (bool control=false) | |
ClMsgUwPhyGetLostPkts (int stack_id, int dest_module_id, bool control=false) | |
ClMsgUwPhyGetLostPkts (const ClMsgUwPhyGetLostPkts &msg) | |
~ClMsgUwPhyGetLostPkts () | |
uint | getLostPkts () |
void | setLostPkts (uint lost_pkt) |
bool | isControl () |
![]() | |
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 | |
uint | lost_packets |
bool | is_control |
Additional Inherited Members | |
![]() | |
enum | ReqType { NOT_VALID = -1 , SET_REQ , GET_REQ , SET_REPLY , GET_REPLY } |
![]() | |
int | stack_id |
ReqType | req_type |
ClMsgUwPhyGetLostPkts should be used by a layer to ask the phy how many packets it discarded from the beginning of the simulation.
In addition, ClMsgUwPhyThresh is used from the phy to reply such a request.
Definition at line 293 of file uwphy-clmsg.h.
ClMsgUwPhyGetLostPkts::ClMsgUwPhyGetLostPkts | ( | bool | control = false | ) |
Broadcast constructor of the ClMsgUwPhyBRate class.
control | set to true if it refers to the control packets, false (default) for data packets |
Definition at line 225 of file uwphy-clmsg.cc.
ClMsgUwPhyGetLostPkts::ClMsgUwPhyGetLostPkts | ( | int | stack_id, |
int | dest_module_id, | ||
bool | control = false |
||
) |
Unicast constructor of the ClMsgUwPhyGetLostPkts class.
int | stack_id: id of the stack |
dest_mod_id | id of the destination module |
control | set to true if it refers to the control packets, false (default) for data packets |
Definition at line 232 of file uwphy-clmsg.cc.
ClMsgUwPhyGetLostPkts::ClMsgUwPhyGetLostPkts | ( | const ClMsgUwPhyGetLostPkts & | msg | ) |
Copy constructor.
const | ClMsgUwPhyGetLostPkts& msg: ClMsgUwPhyGetLostPkts that has to be copied |
Definition at line 239 of file uwphy-clmsg.cc.
ClMsgUwPhyGetLostPkts::~ClMsgUwPhyGetLostPkts | ( | ) |
Destructor of the ClMsgUwPhyGetLostPkts class.
Definition at line 246 of file uwphy-clmsg.cc.
uint ClMsgUwPhyGetLostPkts::getLostPkts | ( | ) |
method to return the number of packets lost by the phy.
Definition at line 251 of file uwphy-clmsg.cc.
|
inline |
Definition at line 338 of file uwphy-clmsg.h.
void ClMsgUwPhyGetLostPkts::setLostPkts | ( | uint | lost_pkt | ) |
method to set the number of packets lost by the phy.
lost_pkt | number of packets lost by the phy. |
Definition at line 256 of file uwphy-clmsg.cc.
|
private |
Definition at line 344 of file uwphy-clmsg.h.
|
private |
Definition at line 343 of file uwphy-clmsg.h.