5G-MAG Reference Tools - MBMS Modem
Public Member Functions | Public Attributes | Private Attributes | List of all members
RestHandler::ChannelInfo Class Reference

RX Info pertaining to an SCH (MCCH/MCH or PDSCH) More...

#include <RestHandler.h>

Collaboration diagram for RestHandler::ChannelInfo:
Collaboration graph

Public Member Functions

void SetData (std::vector< uint8_t > data)
 
std::vector< uint8_t > GetData ()
 

Public Attributes

bool present = false
 
int mcs = 0
 
double ber
 
unsigned total = 1
 
unsigned errors = 0
 

Private Attributes

std::vector< uint8_t > _data = {}
 
std::mutex _data_mutex
 

Detailed Description

RX Info pertaining to an SCH (MCCH/MCH or PDSCH)

Definition at line 70 of file RestHandler.h.

Member Function Documentation

◆ GetData()

std::vector<uint8_t> RestHandler::ChannelInfo::GetData ( )
inline

Definition at line 76 of file RestHandler.h.

76  {
77  std::lock_guard<std::mutex> lock(_data_mutex);
78  return _data;
79  };
std::vector< uint8_t > _data
Definition: RestHandler.h:86

◆ SetData()

void RestHandler::ChannelInfo::SetData ( std::vector< uint8_t >  data)
inline

Definition at line 72 of file RestHandler.h.

72  {
73  std::lock_guard<std::mutex> lock(_data_mutex);
74  _data = data;
75  };

Member Data Documentation

◆ _data

std::vector<uint8_t> RestHandler::ChannelInfo::_data = {}
private

Definition at line 86 of file RestHandler.h.

◆ _data_mutex

std::mutex RestHandler::ChannelInfo::_data_mutex
private

Definition at line 87 of file RestHandler.h.

◆ ber

double RestHandler::ChannelInfo::ber

Definition at line 82 of file RestHandler.h.

◆ errors

unsigned RestHandler::ChannelInfo::errors = 0

Definition at line 84 of file RestHandler.h.

◆ mcs

int RestHandler::ChannelInfo::mcs = 0

Definition at line 81 of file RestHandler.h.

◆ present

bool RestHandler::ChannelInfo::present = false

Definition at line 80 of file RestHandler.h.

◆ total

unsigned RestHandler::ChannelInfo::total = 1

Definition at line 83 of file RestHandler.h.


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