Agora  1.2.0
Agora project
ChSimRxBuffer Class Reference

#include <chsim_worker_storage.h>

Collaboration diagram for ChSimRxBuffer:

Public Types

enum  ChSimRxType { kRxTypePilotUl, kRxTypeBeaconDl }
 

Public Member Functions

 ChSimRxBuffer (ChSimRxType type, const Config *cfg, size_t max_frames, size_t max_symbols, size_t max_antennas, size_t symbol_size_bytes)
 
void Copy (size_t frame, size_t symbol, size_t ant, const short *input, size_t data_size)
 
const std::byte * Read (size_t frame, size_t symbol, size_t ant) const
 
size_t GetSymbolIdx (size_t symbol_id) const
 

Private Attributes

const ChSimRxType type_
 
const Config *const cfg_
 
const size_t max_frame_
 
std::vector< std::vector< std::vector< SimdAlignByteVector > > > storage_
 

Member Enumeration Documentation

◆ ChSimRxType

Enumerator
kRxTypePilotUl 
kRxTypeBeaconDl 

Constructor & Destructor Documentation

◆ ChSimRxBuffer()

ChSimRxBuffer::ChSimRxBuffer ( ChSimRxType  type,
const Config cfg,
size_t  max_frames,
size_t  max_symbols,
size_t  max_antennas,
size_t  symbol_size_bytes 
)
inline

Member Function Documentation

◆ Copy()

void ChSimRxBuffer::Copy ( size_t  frame,
size_t  symbol,
size_t  ant,
const short *  input,
size_t  data_size 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetSymbolIdx()

size_t ChSimRxBuffer::GetSymbolIdx ( size_t  symbol_id) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Read()

const std::byte* ChSimRxBuffer::Read ( size_t  frame,
size_t  symbol,
size_t  ant 
) const
inline
Here is the call graph for this function:

Member Data Documentation

◆ cfg_

const Config* const ChSimRxBuffer::cfg_
private

◆ max_frame_

const size_t ChSimRxBuffer::max_frame_
private

◆ storage_

std::vector<std::vector<std::vector<SimdAlignByteVector> > > ChSimRxBuffer::storage_
private

◆ type_

const ChSimRxType ChSimRxBuffer::type_
private

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