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

#include <uwphy-clmsg.h>

Inheritance diagram for ClMsgUwPhyThresh:
Collaboration diagram for ClMsgUwPhyThresh:

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.

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

Constructor & Destructor Documentation

◆ ClMsgUwPhyThresh() [1/3]

ClMsgUwPhyThresh::ClMsgUwPhyThresh ( )

Broadcast constructor of the ClMsgUwPhyBRate class.

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

◆ 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

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

◆ ClMsgUwPhyThresh() [3/3]

ClMsgUwPhyThresh::ClMsgUwPhyThresh ( const ClMsgUwPhyThresh msg)

Copy constructor.

Parameters
constClMsgUwPhyThresh& msg: ClMsgUwPhyThresh that has to be copied

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

◆ ~ClMsgUwPhyThresh()

ClMsgUwPhyThresh::~ClMsgUwPhyThresh ( )
virtual

Destructor of the ClMsgUwPhyThresh class.

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

Member Function Documentation

◆ getThresh()

double ClMsgUwPhyThresh::getThresh ( )

method to return the rx threshold

Returns
threshold

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

◆ setThresh()

void ClMsgUwPhyThresh::setThresh ( double  thresh)

method to set the rx threshold

Parameters
doublethresh: threshold to set

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

Member Data Documentation

◆ threshold

double ClMsgUwPhyThresh::threshold
private

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


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