SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
Public Member Functions | Public Attributes | List of all members
RemoteMetaDataFEC Struct Reference

#include <remotedatablock.h>

Public Member Functions

bool operator== (const RemoteMetaDataFEC &rhs)
 
void init ()
 

Public Attributes

uint64_t m_centerFrequency
 8 center frequency in kHz More...
 
uint32_t m_sampleRate
 12 sample rate in Hz More...
 
uint8_t m_sampleBytes
 13 4 LSB: number of bytes per sample (2 or 4) More...
 
uint8_t m_sampleBits
 14 number of effective bits per sample (deprecated) More...
 
uint8_t m_nbOriginalBlocks
 15 number of blocks with original (protected) data More...
 
uint8_t m_nbFECBlocks
 16 number of blocks carrying FEC More...
 
uint32_t m_tv_sec
 20 seconds of timestamp at start time of super-frame processing More...
 
uint32_t m_tv_usec
 24 microseconds of timestamp at start time of super-frame processing More...
 
uint32_t m_crc32
 28 CRC32 of the above More...
 

Detailed Description

Definition at line 39 of file remotedatablock.h.

Member Function Documentation

◆ init()

void RemoteMetaDataFEC::init ( )
inline

Definition at line 63 of file remotedatablock.h.

Referenced by RemoteInputBuffer::RemoteInputBuffer(), RemoteSource::RemoteSource(), and UDPSinkFEC::UDPSinkFEC().

64  {
66  m_sampleRate = 0;
67  m_sampleBytes = 0;
68  m_sampleBits = 0;
70  m_nbFECBlocks = 0;
71  m_tv_sec = 0;
72  m_tv_usec = 0;
73  m_crc32 = 0;
74  }
uint32_t m_sampleRate
12 sample rate in Hz
uint8_t m_sampleBytes
13 4 LSB: number of bytes per sample (2 or 4)
uint32_t m_crc32
28 CRC32 of the above
uint8_t m_nbFECBlocks
16 number of blocks carrying FEC
uint32_t m_tv_usec
24 microseconds of timestamp at start time of super-frame processing
uint8_t m_sampleBits
14 number of effective bits per sample (deprecated)
uint32_t m_tv_sec
20 seconds of timestamp at start time of super-frame processing
uint8_t m_nbOriginalBlocks
15 number of blocks with original (protected) data
uint64_t m_centerFrequency
8 center frequency in kHz
+ Here is the caller graph for this function:

◆ operator==()

bool RemoteMetaDataFEC::operator== ( const RemoteMetaDataFEC rhs)
inline

Definition at line 52 of file remotedatablock.h.

References m_centerFrequency, m_nbFECBlocks, m_nbOriginalBlocks, m_sampleBits, m_sampleBytes, and m_sampleRate.

53  {
54  // Only the first 6 fields are relevant
55  return (m_centerFrequency == rhs.m_centerFrequency)
56  && (m_sampleRate == rhs.m_sampleRate)
57  && (m_sampleBytes == rhs.m_sampleBytes)
58  && (m_sampleBits == rhs.m_sampleBits)
60  && (m_nbFECBlocks == rhs.m_nbFECBlocks);
61  }
uint32_t m_sampleRate
12 sample rate in Hz
uint8_t m_sampleBytes
13 4 LSB: number of bytes per sample (2 or 4)
uint8_t m_nbFECBlocks
16 number of blocks carrying FEC
uint8_t m_sampleBits
14 number of effective bits per sample (deprecated)
uint8_t m_nbOriginalBlocks
15 number of blocks with original (protected) data
uint64_t m_centerFrequency
8 center frequency in kHz

Member Data Documentation

◆ m_centerFrequency

uint64_t RemoteMetaDataFEC::m_centerFrequency

◆ m_crc32

uint32_t RemoteMetaDataFEC::m_crc32

28 CRC32 of the above

Definition at line 50 of file remotedatablock.h.

Referenced by UDPSinkFEC::write().

◆ m_nbFECBlocks

uint8_t RemoteMetaDataFEC::m_nbFECBlocks

◆ m_nbOriginalBlocks

uint8_t RemoteMetaDataFEC::m_nbOriginalBlocks

◆ m_sampleBits

uint8_t RemoteMetaDataFEC::m_sampleBits

14 number of effective bits per sample (deprecated)

Definition at line 44 of file remotedatablock.h.

Referenced by operator==(), RemoteInputBuffer::printMeta(), RemoteSource::printMeta(), RemoteInputUDPHandler::tick(), and UDPSinkFEC::write().

◆ m_sampleBytes

uint8_t RemoteMetaDataFEC::m_sampleBytes

◆ m_sampleRate

uint32_t RemoteMetaDataFEC::m_sampleRate

◆ m_tv_sec

uint32_t RemoteMetaDataFEC::m_tv_sec

20 seconds of timestamp at start time of super-frame processing

Definition at line 48 of file remotedatablock.h.

Referenced by RemoteInputBuffer::checkSlotData(), RemoteInputBuffer::printMeta(), RemoteSource::printMeta(), and UDPSinkFEC::write().

◆ m_tv_usec

uint32_t RemoteMetaDataFEC::m_tv_usec

24 microseconds of timestamp at start time of super-frame processing

Definition at line 49 of file remotedatablock.h.

Referenced by RemoteInputBuffer::checkSlotData(), RemoteInputBuffer::printMeta(), RemoteSource::printMeta(), and UDPSinkFEC::write().


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