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

#include <uwmmac-clmsg.h>

Inheritance diagram for ClMsgUwMmacEnable:
Collaboration diagram for ClMsgUwMmacEnable:

Public Member Functions

 ClMsgUwMmacEnable ()
 
 ClMsgUwMmacEnable (int stack_id, int dest_module_id)
 
 ClMsgUwMmacEnable (const ClMsgUwMmacEnable &msg)
 
 ~ClMsgUwMmacEnable ()
 
double getEnable ()
 
void disable ()
 
void enable ()
 
- Public Member Functions inherited from ClMsgUwMmac
 ClMsgUwMmac (ClMessage_t type)
 
 ClMsgUwMmac (int stack_id, int dest_module_id, ClMessage_t type)
 
 ClMsgUwMmac (const ClMsgUwMmac &msg)
 
virtual ~ClMsgUwMmac ()
 
virtual ClMsgUwMmaccopy ()
 
void setReqType (ReqType type)
 
ReqType getReqType ()
 

Private Attributes

bool enable_
 

Additional Inherited Members

- Public Types inherited from ClMsgUwMmac
enum  ReqType {
  NOT_VALID = -1 , SET_REQ , GET_REQ , SET_REPLY ,
  GET_REPLY
}
 
- Protected Attributes inherited from ClMsgUwMmac
int stack_id
 
ReqType req_type
 

Detailed Description

ClMsgUwMmacEnable should be and used to ask either to set or get the transmitting power of a specific phy.

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

Definition at line 130 of file uwmmac-clmsg.h.

Constructor & Destructor Documentation

◆ ClMsgUwMmacEnable() [1/3]

ClMsgUwMmacEnable::ClMsgUwMmacEnable ( )

Broadcast constructor of the ClMsgUwMmacEnable class.

Definition at line 82 of file uwmmac-clmsg.cpp.

◆ ClMsgUwMmacEnable() [2/3]

ClMsgUwMmacEnable::ClMsgUwMmacEnable ( int  stack_id,
int  dest_module_id 
)

Unicast constructor of the ClMsgUwMmacEnable class.

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

Definition at line 88 of file uwmmac-clmsg.cpp.

◆ ClMsgUwMmacEnable() [3/3]

ClMsgUwMmacEnable::ClMsgUwMmacEnable ( const ClMsgUwMmacEnable msg)

Copy constructor.

Parameters
constClMsgUwMmac& msg: ClMsgUwMmacEnable that has to be copied

Definition at line 94 of file uwmmac-clmsg.cpp.

◆ ~ClMsgUwMmacEnable()

ClMsgUwMmacEnable::~ClMsgUwMmacEnable ( )

Destructor of the ClMsgUwMmacEnable class.

Definition at line 100 of file uwmmac-clmsg.cpp.

Member Function Documentation

◆ disable()

void ClMsgUwMmacEnable::disable ( )

method to set the transmitting power

Parameters
doublepowr: power to set

Definition at line 115 of file uwmmac-clmsg.cpp.

◆ enable()

void ClMsgUwMmacEnable::enable ( )

method to set the transmitting power

Parameters
doublepowr: power to set

Definition at line 109 of file uwmmac-clmsg.cpp.

◆ getEnable()

double ClMsgUwMmacEnable::getEnable ( )

method to return the transmitting power

Returns
tx_power

Definition at line 104 of file uwmmac-clmsg.cpp.

Member Data Documentation

◆ enable_

bool ClMsgUwMmacEnable::enable_
private

Definition at line 177 of file uwmmac-clmsg.h.


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