mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 17:28:50 -05:00
ChannelAPI: added counter blocking features feedback
This commit is contained in:
parent
6ff2c603c2
commit
c87ca8c143
@ -21,6 +21,7 @@
|
||||
#include "channelapi.h"
|
||||
|
||||
ChannelAPI::ChannelAPI(const QString& name, StreamType streamType) :
|
||||
m_featuresSettingsFeedbackBlockCount(0),
|
||||
m_streamType(streamType),
|
||||
m_name(name),
|
||||
m_indexInDeviceSet(-1),
|
||||
|
@ -122,6 +122,7 @@ public:
|
||||
// Features support
|
||||
void addFeatureSettingsFeedback(Feature *feature);
|
||||
void removeFeatureSettingsFeedback(Feature *feature);
|
||||
void setFeatureSettingsFeedbackBlockCount(unsigned int count) { m_featuresSettingsFeedbackBlockCount = count; }
|
||||
|
||||
// MIMO support
|
||||
StreamType getStreamType() const { return m_streamType; }
|
||||
@ -131,6 +132,7 @@ public:
|
||||
|
||||
protected:
|
||||
QList<Feature*> m_featuresSettingsFeedback; //!< list of features to report back settings changes in swagger API format
|
||||
unsigned int m_featuresSettingsFeedbackBlockCount; //!< actually send feedback if 0. Decremented at each potential feedback
|
||||
|
||||
private:
|
||||
StreamType m_streamType;
|
||||
|
Loading…
Reference in New Issue
Block a user