DESERT 4.0.0
ClMsgUwPhyThresh Class Reference

#include <uwphy-clmsg.h>

Inheritance diagram for ClMsgUwPhyThresh:
Inheritance graph
Collaboration diagram for ClMsgUwPhyThresh:
Collaboration graph

Public Member Functions

 ClMsgUwPhyThresh ()
 
 ClMsgUwPhyThresh (int stack_id, int dest_module_id)
 
 ClMsgUwPhyThresh (const ClMsgUwPhyThresh &msg)
 
virtual ~ClMsgUwPhyThresh ()
 
double getThresh ()
 
void setThresh (double thresh)
 
- 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

double threshold
 

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

ClMsgUwPhyThresh should be and used to ask either to set or get the receiving threshold (can be SNR or receiving power, depending on the phy) of a specific phy. In addition, ClMsgUwPhyThresh can be used from the phy to reply such a request.

Constructor & Destructor Documentation

◆ ClMsgUwPhyThresh() [1/3]

ClMsgUwPhyThresh::ClMsgUwPhyThresh ( )

Broadcast constructor of the ClMsgUwPhyBRate class

◆ ClMsgUwPhyThresh() [2/3]

ClMsgUwPhyThresh::ClMsgUwPhyThresh ( int  stack_id,
int  dest_module_id 
)

Unicast constructor of the ClMsgUwPhyThresh class

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

◆ ClMsgUwPhyThresh() [3/3]

ClMsgUwPhyThresh::ClMsgUwPhyThresh ( const ClMsgUwPhyThresh msg)

Copy constructor

Parameters
constClMsgUwPhyThresh& msg: ClMsgUwPhyThresh that has to be copied

References threshold.

◆ ~ClMsgUwPhyThresh()

ClMsgUwPhyThresh::~ClMsgUwPhyThresh ( )
virtual

Destructor of the ClMsgUwPhyThresh class

Member Function Documentation

◆ getThresh()

double ClMsgUwPhyThresh::getThresh ( )

method to return the rx threshold

Returns
threshold

References threshold.

◆ setThresh()

void ClMsgUwPhyThresh::setThresh ( double  thresh)

method to set the rx threshold

Parameters
doublethresh: threshold to set

References threshold.

Member Data Documentation

◆ threshold

double ClMsgUwPhyThresh::threshold
private

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