DESERT 4.0.0
ClMsgUwPhyTxBusy Class Reference

#include <uwphy-clmsg.h>

Inheritance diagram for ClMsgUwPhyTxBusy:
Inheritance graph
Collaboration diagram for ClMsgUwPhyTxBusy:
Collaboration graph

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.

Constructor & Destructor Documentation

◆ ClMsgUwPhyTxBusy() [1/3]

ClMsgUwPhyTxBusy::ClMsgUwPhyTxBusy ( )

Broadcast constructor of the ClMsgUwPhyTxBusy class

◆ 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

◆ ClMsgUwPhyTxBusy() [3/3]

ClMsgUwPhyTxBusy::ClMsgUwPhyTxBusy ( const ClMsgUwPhyTxBusy msg)

Copy constructor

Parameters
constClMsgUwPhy& msg: ClMsgUwPhyTxBusy that has to be copied

References tx_busy.

◆ ~ClMsgUwPhyTxBusy()

ClMsgUwPhyTxBusy::~ClMsgUwPhyTxBusy ( )

Destructor of the class

Member Function Documentation

◆ getGetOp()

int ClMsgUwPhyTxBusy::getGetOp ( )

method to return the transmitting power

Returns
tx_busy

References getop.

◆ getTxBusy()

int ClMsgUwPhyTxBusy::getTxBusy ( )

method to return the transmitting power

Returns
tx_busy

References tx_busy.

◆ setGetOp()

void ClMsgUwPhyTxBusy::setGetOp ( int  go)

method to return the transmitting power

Returns
tx_busy

References getop.

Referenced by UWSmartOFDM::Mac2PhySetTxBusy().

◆ setTxBusy()

void ClMsgUwPhyTxBusy::setTxBusy ( int  powr)

method to set the transmitting busy variable

Parameters
intbusy: busy value to set

References tx_busy.

Referenced by UWSmartOFDM::Mac2PhySetTxBusy().

Member Data Documentation

◆ getop

int ClMsgUwPhyTxBusy::getop
private

Referenced by getGetOp(), and setGetOp().

◆ tx_busy

int ClMsgUwPhyTxBusy::tx_busy
private

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