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

#include <ms2c_ClMessage.h>

Inheritance diagram for ClMsgS2CRxFailed:
Collaboration diagram for ClMsgS2CRxFailed:

Public Member Functions

 ClMsgS2CRxFailed ()
 
 ClMsgS2CRxFailed (int stack_id, int dest_module_id)
 
 ClMsgS2CRxFailed (const ClMsgS2CRxFailed &msg)
 
virtual ~ClMsgS2CRxFailed ()
 
void set_n_rx_failed (int n_failed)
 
int get_n_rx_failed () const
 
- 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 n_rx_failed
 

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

Class representing the Cl message type used for retrieving the failed receptions counter of S2C devices.

Definition at line 155 of file ms2c_ClMessage.h.

Constructor & Destructor Documentation

◆ ClMsgS2CRxFailed() [1/3]

ClMsgS2CRxFailed::ClMsgS2CRxFailed ( )

Class constructor: no parameters.

Definition at line 94 of file ms2c_ClMessage.cc.

◆ ClMsgS2CRxFailed() [2/3]

ClMsgS2CRxFailed::ClMsgS2CRxFailed ( int  stack_id,
int  dest_module_id 
)

Class constructor with parameters.

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

Definition at line 99 of file ms2c_ClMessage.cc.

◆ ClMsgS2CRxFailed() [3/3]

ClMsgS2CRxFailed::ClMsgS2CRxFailed ( const ClMsgS2CRxFailed msg)

Class copy constrcutor.

Definition at line 106 of file ms2c_ClMessage.cc.

◆ ~ClMsgS2CRxFailed()

ClMsgS2CRxFailed::~ClMsgS2CRxFailed ( )
virtual

Class destructor.

Definition at line 113 of file ms2c_ClMessage.cc.

Member Function Documentation

◆ get_n_rx_failed()

int ClMsgS2CRxFailed::get_n_rx_failed ( ) const
inline

Method used to retrieve the number of reception failures from the message.

Returns
number of failed receptions set in the message

Definition at line 191 of file ms2c_ClMessage.h.

◆ set_n_rx_failed()

void ClMsgS2CRxFailed::set_n_rx_failed ( int  n_failed)

Method used to set the number of reception failures in the message.

Parameters
n_failednumber of failed receptions to set

Definition at line 117 of file ms2c_ClMessage.cc.

Member Data Documentation

◆ n_rx_failed

int ClMsgS2CRxFailed::n_rx_failed
private

Number of failed receptions.

Definition at line 197 of file ms2c_ClMessage.h.


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