![]() |
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.
|
#include <devicextrxshared.h>
Collaboration diagram for DeviceXTRXShared:Classes | |
| class | MsgReportBuddyChange |
| class | MsgReportClockSourceChange |
| class | MsgReportDeviceInfo |
| class | ThreadInterface |
Public Member Functions | |
| DeviceXTRXShared () | |
| ~DeviceXTRXShared () | |
| double | get_board_temperature () |
| bool | get_gps_status () |
Public Attributes | |
| DeviceXTRX * | m_dev |
| int | m_channel |
| allocated channel (-1 if none) More... | |
| XTRXInput * | m_source |
| XTRXOutput * | m_sink |
| ThreadInterface * | m_thread |
| holds the thread address if started else 0 More... | |
| bool | m_threadWasRunning |
| flag to know if thread needs to be resumed after suspend More... | |
Static Public Attributes | |
| static const float | m_sampleFifoLengthInSeconds = 0.25 |
| static const int | m_sampleFifoMinSize = 48000 |
Private Attributes | |
| bool | m_first_1pps_count |
| uint64_t | m_last_1pps_count |
| uint32_t | m_no_1pps_count_change_counter |
Structure shared by a buddy with other buddies
Definition at line 32 of file devicextrxshared.h.
| DeviceXTRXShared::DeviceXTRXShared | ( | ) |
Definition at line 30 of file devicextrxshared.cpp.
| DeviceXTRXShared::~DeviceXTRXShared | ( | ) |
Definition at line 42 of file devicextrxshared.cpp.
| double DeviceXTRXShared::get_board_temperature | ( | ) |
Definition at line 45 of file devicextrxshared.cpp.
References DeviceXTRX::getDevice(), and m_dev.
Referenced by XTRXOutput::handleMessage(), XTRXInput::handleMessage(), XTRXOutput::webapiFormatDeviceReport(), and XTRXInput::webapiFormatDeviceReport().
Here is the call graph for this function:
Here is the caller graph for this function:| bool DeviceXTRXShared::get_gps_status | ( | ) |
Definition at line 58 of file devicextrxshared.cpp.
References DeviceXTRX::getDevice(), m_dev, m_first_1pps_count, m_last_1pps_count, and m_no_1pps_count_change_counter.
Referenced by XTRXOutput::handleMessage(), XTRXInput::handleMessage(), XTRXOutput::webapiFormatDeviceReport(), and XTRXInput::webapiFormatDeviceReport().
Here is the call graph for this function:
Here is the caller graph for this function:| int DeviceXTRXShared::m_channel |
allocated channel (-1 if none)
Definition at line 137 of file devicextrxshared.h.
Referenced by XTRXInput::apply_gain_lna(), XTRXInput::apply_gain_pga(), XTRXInput::apply_gain_tia(), XTRXOutput::applySettings(), XTRXInput::applySettings(), XTRXOutput::closeDevice(), XTRXInput::closeDevice(), XTRXOutput::getChannelIndex(), XTRXInput::getChannelIndex(), XTRXOutput::openDevice(), and XTRXInput::openDevice().
| DeviceXTRX* DeviceXTRXShared::m_dev |
Definition at line 136 of file devicextrxshared.h.
Referenced by XTRXInput::apply_gain_lna(), XTRXInput::apply_gain_pga(), XTRXInput::apply_gain_tia(), XTRXOutput::applySettings(), XTRXInput::applySettings(), XTRXOutput::closeDevice(), XTRXInput::closeDevice(), get_board_temperature(), get_gps_status(), XTRXOutput::getClockGen(), XTRXInput::getClockGen(), XTRXOutput::getDevSampleRate(), XTRXInput::getDevSampleRate(), XTRXInput::getLog2HardDecim(), XTRXOutput::getLog2HardInterp(), XTRXOutput::getSampleRate(), XTRXInput::getSampleRate(), XTRXOutput::handleMessage(), XTRXInput::handleMessage(), XTRXOutput::openDevice(), XTRXInput::openDevice(), XTRXOutput::start(), XTRXInput::start(), XTRXOutput::stop(), XTRXInput::stop(), XTRXOutput::webapiFormatDeviceReport(), and XTRXInput::webapiFormatDeviceReport().
|
private |
Definition at line 154 of file devicextrxshared.h.
Referenced by get_gps_status().
|
private |
Definition at line 155 of file devicextrxshared.h.
Referenced by get_gps_status().
|
private |
Definition at line 156 of file devicextrxshared.h.
Referenced by get_gps_status().
|
static |
Definition at line 144 of file devicextrxshared.h.
|
static |
Definition at line 145 of file devicextrxshared.h.
| XTRXOutput* DeviceXTRXShared::m_sink |
Definition at line 139 of file devicextrxshared.h.
Referenced by XTRXOutput::closeDevice(), and XTRXOutput::openDevice().
| XTRXInput* DeviceXTRXShared::m_source |
Definition at line 138 of file devicextrxshared.h.
Referenced by XTRXInput::closeDevice(), and XTRXInput::openDevice().
| ThreadInterface* DeviceXTRXShared::m_thread |
holds the thread address if started else 0
Definition at line 141 of file devicextrxshared.h.
Referenced by XTRXOutput::resumeRxThread(), XTRXInput::resumeTxThread(), XTRXOutput::start(), XTRXInput::start(), XTRXOutput::stop(), XTRXInput::stop(), XTRXOutput::suspendRxThread(), and XTRXInput::suspendTxThread().
| bool DeviceXTRXShared::m_threadWasRunning |
flag to know if thread needs to be resumed after suspend
Definition at line 142 of file devicextrxshared.h.
Referenced by XTRXOutput::resumeRxThread(), XTRXInput::resumeTxThread(), XTRXOutput::suspendRxThread(), and XTRXInput::suspendTxThread().
1.8.13