DESERT 3.5.1
|
#include <ms2c_ClMessage.h>
Public Member Functions | |
ClMsgS2CPowerLevel () | |
ClMsgS2CPowerLevel (int stack_id, int dest_module_id) | |
ClMsgS2CPowerLevel (const ClMsgS2CPowerLevel &msg) | |
virtual | ~ClMsgS2CPowerLevel () |
void | set_power_level (int level) |
int | get_power_level () const |
![]() | |
ClMsgUwPhy (ClMessage_t type) | |
ClMsgUwPhy (int stack_id, int dest_module_id, ClMessage_t type) | |
ClMsgUwPhy (const ClMsgUwPhy &msg) | |
virtual | ~ClMsgUwPhy () |
virtual ClMsgUwPhy * | copy () |
void | setReqType (ReqType type) |
ReqType | getReqType () |
Private Attributes | |
int | power_level |
Additional Inherited Members | |
![]() | |
enum | ReqType { NOT_VALID = -1 , SET_REQ , GET_REQ , SET_REPLY , GET_REPLY } |
![]() | |
int | stack_id |
ReqType | req_type |
Class representing the message for changing or retrieving the power level (source level)
Definition at line 52 of file ms2c_ClMessage.h.
ClMsgS2CPowerLevel::ClMsgS2CPowerLevel | ( | ) |
Class constructor.
Definition at line 42 of file ms2c_ClMessage.cc.
ClMsgS2CPowerLevel::ClMsgS2CPowerLevel | ( | int | stack_id, |
int | dest_module_id | ||
) |
Class constructor, with parameters.
int | stack_id: id of the stack |
dest_mod_id | id of the destination module |
Definition at line 47 of file ms2c_ClMessage.cc.
ClMsgS2CPowerLevel::ClMsgS2CPowerLevel | ( | const ClMsgS2CPowerLevel & | msg | ) |
Class copy constructor.
Definition at line 53 of file ms2c_ClMessage.cc.
|
virtual |
Class destructor.
Definition at line 59 of file ms2c_ClMessage.cc.
|
inline |
Retrieve the power level specified in the Cl message.
Definition at line 87 of file ms2c_ClMessage.h.
void ClMsgS2CPowerLevel::set_power_level | ( | int | level | ) |
Set the poer level in the selected Cl message.
level | the power level to set in the Cl Message |
Definition at line 64 of file ms2c_ClMessage.cc.
|
private |
Power level (source level) value.
Definition at line 94 of file ms2c_ClMessage.h.