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