18 #ifndef DEVICES_PLUTOSDR_DEVICEPLUTOSDRSHARED_H_ 19 #define DEVICES_PLUTOSDR_DEVICEPLUTOSDRSHARED_H_ 40 virtual void startWork() = 0;
41 virtual void stopWork() = 0;
42 virtual void setDeviceSampleRate(
int sampleRate) = 0;
43 virtual bool isRunning() = 0;
75 m_devSampleRate(devSampleRate),
76 m_lpfFIREnable(lpfFIREnable),
77 m_lpfFIRlogIntDec(lpfFIRlog2IntDec),
79 m_loPPMTenths(loPPMTenths)
99 m_threadWasRunning(false)
uint32_t getLpfFiRlog2IntDec() const
bool m_threadWasRunning
flag to know if thread needs to be resumed after suspend
bool isLpfFirEnable() const
ThreadInterface * m_thread
holds the thread address if started else 0
MsgCrossReportToBuddy(uint64_t devSampleRate, bool lpfFIREnable, uint32_t lpfFIRlog2IntDec, uint32_t lpfFIRBW, int32_t loPPMTenths)
DevicePlutoSDRParams * m_deviceParams
unique hardware device parameters
static MsgCrossReportToBuddy * create(uint64_t devSampleRate, bool lpfFIREnable, uint32_t lpfFIRlog2Interp, uint32_t lpfFIRBW, int32_t loPPMTenths)
static const int m_sampleFifoMinSize
#define MESSAGE_CLASS_DECLARATION
uint32_t m_lpfFIRlogIntDec
uint32_t getLpfFirbw() const
int32_t getLoPPMTenths() const
static const float m_sampleFifoLengthInSeconds
uint64_t getDevSampleRate() const
unsigned __int64 uint64_t