1
0
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:
f4exb 2020-10-24 10:34:04 +02:00
parent 6ff2c603c2
commit c87ca8c143
2 changed files with 3 additions and 0 deletions

View File

@ -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),

View File

@ -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;