Agora  1.2.0
Agora project
RxStatus Class Reference

#include <shared_counters.h>

Public Member Functions

 RxStatus (Config *cfg)
 
bool add_new_packet (const Packet *pkt)
 
bool received_all_pilots (size_t frame_id)
 
bool is_demod_ready (size_t frame_id, size_t symbol_id)
 
void decode_done (size_t frame_id)
 

Public Attributes

std::array< std::atomic< size_t >, kFrameWndnum_pkts_ = {}
 
std::array< std::atomic< size_t >, kFrameWndnum_pilot_pkts_ = {}
 
std::array< std::array< std::atomic< size_t >, kMaxSymbols >, kFrameWndnum_data_pkts_ = {}
 
size_t cur_frame_ = 0
 
size_t latest_frame_ = 0
 
size_t num_decode_tasks_completed_
 
std::mutex decode_mutex_
 
const size_t num_pilot_pkts_per_frame_
 
const size_t num_pilot_symbols_per_frame_
 
const size_t num_data_symbol_per_frame_
 
const size_t num_pkts_per_symbol_
 
const size_t num_decode_tasks_per_frame_
 

Constructor & Destructor Documentation

◆ RxStatus()

RxStatus::RxStatus ( Config cfg)
inline

Member Function Documentation

◆ add_new_packet()

bool RxStatus::add_new_packet ( const Packet pkt)
inline
Here is the call graph for this function:

◆ decode_done()

void RxStatus::decode_done ( size_t  frame_id)
inline
Here is the call graph for this function:

◆ is_demod_ready()

bool RxStatus::is_demod_ready ( size_t  frame_id,
size_t  symbol_id 
)
inline

◆ received_all_pilots()

bool RxStatus::received_all_pilots ( size_t  frame_id)
inline

Member Data Documentation

◆ cur_frame_

size_t RxStatus::cur_frame_ = 0

◆ decode_mutex_

std::mutex RxStatus::decode_mutex_

◆ latest_frame_

size_t RxStatus::latest_frame_ = 0

◆ num_data_pkts_

std::array<std::array<std::atomic<size_t>, kMaxSymbols>, kFrameWnd> RxStatus::num_data_pkts_ = {}

◆ num_data_symbol_per_frame_

const size_t RxStatus::num_data_symbol_per_frame_

◆ num_decode_tasks_completed_

size_t RxStatus::num_decode_tasks_completed_

◆ num_decode_tasks_per_frame_

const size_t RxStatus::num_decode_tasks_per_frame_

◆ num_pilot_pkts_

std::array<std::atomic<size_t>, kFrameWnd> RxStatus::num_pilot_pkts_ = {}

◆ num_pilot_pkts_per_frame_

const size_t RxStatus::num_pilot_pkts_per_frame_

◆ num_pilot_symbols_per_frame_

const size_t RxStatus::num_pilot_symbols_per_frame_

◆ num_pkts_

std::array<std::atomic<size_t>, kFrameWnd> RxStatus::num_pkts_ = {}

◆ num_pkts_per_symbol_

const size_t RxStatus::num_pkts_per_symbol_

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