DESERT 3.5.1
Loading...
Searching...
No Matches
ClMsgUwPhyTxBusy Class Reference

#include <uwphy-clmsg.h>

Inheritance diagram for ClMsgUwPhyTxBusy:
Collaboration diagram for ClMsgUwPhyTxBusy:

Public Member Functions

 ClMsgUwPhyTxBusy ()
 
 ClMsgUwPhyTxBusy (int stack_id, int dest_module_id)
 
 ClMsgUwPhyTxBusy (const ClMsgUwPhyTxBusy &msg)
 
 ~ClMsgUwPhyTxBusy ()
 
int getTxBusy ()
 
void setTxBusy (int powr)
 
int getGetOp ()
 
void setGetOp (int)
 
- 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 ClMsgUwPhycopy ()
 
void setReqType (ReqType type)
 
ReqType getReqType ()
 

Private Attributes

int tx_busy
 
int getop
 

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
 

Detailed Description

ClMsgUwPhyTxBusy should be and used to ask either to set or get the transmitting busy variable of a specific phy.

In addition, ClMsgUwPhyTxBusy can be used from the phy to reply such a request.

Definition at line 354 of file uwphy-clmsg.h.

Constructor & Destructor Documentation

◆ ClMsgUwPhyTxBusy() [1/3]

ClMsgUwPhyTxBusy::ClMsgUwPhyTxBusy ( )

Broadcast constructor of the ClMsgUwPhyTxBusy class.

Definition at line 181 of file uwphy-clmsg.cc.

◆ ClMsgUwPhyTxBusy() [2/3]

ClMsgUwPhyTxBusy::ClMsgUwPhyTxBusy ( int  stack_id,
int  dest_module_id 
)

Unicast constructor of the ClMsgUwPhyTxBusy class.

Parameters
intstack_id: id of the stack
dest_mod_idid of the destination module

Definition at line 188 of file uwphy-clmsg.cc.

◆ ClMsgUwPhyTxBusy() [3/3]

ClMsgUwPhyTxBusy::ClMsgUwPhyTxBusy ( const ClMsgUwPhyTxBusy msg)

Copy constructor.

Parameters
constClMsgUwPhy& msg: ClMsgUwPhyTxBusy that has to be copied

Definition at line 195 of file uwphy-clmsg.cc.

◆ ~ClMsgUwPhyTxBusy()

ClMsgUwPhyTxBusy::~ClMsgUwPhyTxBusy ( )

Destructor of the class.

Definition at line 201 of file uwphy-clmsg.cc.

Member Function Documentation

◆ getGetOp()

int ClMsgUwPhyTxBusy::getGetOp ( )

method to return the transmitting power

Returns
tx_busy

Definition at line 215 of file uwphy-clmsg.cc.

◆ getTxBusy()

int ClMsgUwPhyTxBusy::getTxBusy ( )

method to return the transmitting power

Returns
tx_busy

Definition at line 205 of file uwphy-clmsg.cc.

◆ setGetOp()

void ClMsgUwPhyTxBusy::setGetOp ( int  go)

method to return the transmitting power

Returns
tx_busy

Definition at line 220 of file uwphy-clmsg.cc.

◆ setTxBusy()

void ClMsgUwPhyTxBusy::setTxBusy ( int  powr)

method to set the transmitting busy variable

Parameters
intbusy: busy value to set

Definition at line 210 of file uwphy-clmsg.cc.

Member Data Documentation

◆ getop

int ClMsgUwPhyTxBusy::getop
private

Definition at line 408 of file uwphy-clmsg.h.

◆ tx_busy

int ClMsgUwPhyTxBusy::tx_busy
private

Definition at line 407 of file uwphy-clmsg.h.


The documentation for this class was generated from the following files: