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 | |
TraceBackDiscreteMemory (uint32_t size) | |
void | resize (uint32_t size) |
TraceBackBuffer & | store (int samplesToReport) |
TraceBackBuffer & | recall (uint32_t shift) |
TraceBackBuffer & | current () |
TraceBackBuffer & | at (int index) |
uint32_t | currentIndex () const |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Public Attributes | |
std::vector< TraceBackBuffer > | m_traceBackBuffers |
uint32_t | m_memSize |
uint32_t | m_currentMemIndex |
uint32_t | m_traceSize |
Definition at line 703 of file scopevis.h.
|
inline |
Give memory size in number of traces
Definition at line 713 of file scopevis.h.
|
inline |
Return trace at given memory position
Definition at line 766 of file scopevis.h.
Referenced by ScopeVis::processMemoryTrace().
|
inline |
Return trace at current memory position
Definition at line 758 of file scopevis.h.
Referenced by ScopeVis::processTrace().
|
inline |
Return current memory index
Definition at line 774 of file scopevis.h.
Referenced by ScopeVis::processMemoryTrace().
|
inline |
Deserializer
Definition at line 799 of file scopevis.h.
References SimpleDeserializer::getVersion(), i, SimpleDeserializer::isValid(), SimpleDeserializer::readBlob(), and SimpleDeserializer::readU32().
|
inline |
Recalls trace at shift positions back. Therefore 0 is current. Wraps around memory size.
Definition at line 749 of file scopevis.h.
|
inline |
Resize all trace buffers in memory
Definition at line 721 of file scopevis.h.
Referenced by ScopeVis::ScopeVis(), and ScopeVis::setTraceSize().
|
inline |
Serializer
Definition at line 779 of file scopevis.h.
References SimpleSerializer::final(), i, SimpleSerializer::writeBlob(), and SimpleSerializer::writeU32().
|
inline |
Move index forward by one position and return reference to the trace at this position Copy a trace length of samples into the new memory slot samplesToReport are the number of samples to report on the next trace
Definition at line 736 of file scopevis.h.
References ScopeVis::TraceBackBuffer::reset().
Referenced by ScopeVis::processTrace().
uint32_t ScopeVis::TraceBackDiscreteMemory::m_currentMemIndex |
Definition at line 707 of file scopevis.h.
uint32_t ScopeVis::TraceBackDiscreteMemory::m_memSize |
Definition at line 706 of file scopevis.h.
std::vector<TraceBackBuffer> ScopeVis::TraceBackDiscreteMemory::m_traceBackBuffers |
Definition at line 705 of file scopevis.h.
uint32_t ScopeVis::TraceBackDiscreteMemory::m_traceSize |
Definition at line 708 of file scopevis.h.