summaryrefslogtreecommitdiff
path: root/sapchannelinfo.cc
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-12-14 01:52:17 +0100
committerJavier <dev.git@javispedro.com>2015-12-14 01:52:17 +0100
commit702e018ca9e780bb076033ce5d1d370d4eb7319e (patch)
tree2012493213c630d7281718aadd1a6fa9a2c92885 /sapchannelinfo.cc
parentce8a092a235c8d59f01631c80786f920eb6a777b (diff)
downloadsapd-702e018ca9e780bb076033ce5d1d370d4eb7319e.tar.gz
sapd-702e018ca9e780bb076033ce5d1d370d4eb7319e.zip
properly handle data frames with sequence numbers
Diffstat (limited to 'sapchannelinfo.cc')
-rw-r--r--sapchannelinfo.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/sapchannelinfo.cc b/sapchannelinfo.cc
index 12ba5b5..530341a 100644
--- a/sapchannelinfo.cc
+++ b/sapchannelinfo.cc
@@ -78,3 +78,12 @@ void SAPChannelInfo::setQoSDataRate(QoSDataRate rate)
{
data->qosDataRate = rate;
}
+
+QDebug operator<<(QDebug debug, const SAPChannelInfo &info)
+{
+ QDebugStateSaver saver(debug);
+ Q_UNUSED(saver);
+ debug.nospace() << "SAPChannelInfo(" << info.channelId() << ", qosType=" << info.qosType() << ", dataRate=" << info.qosDataRate() << ", priority=" << info.qosPriority()
+ << ", payload=" << info.payloadType() << ")";
+ return debug;
+}