diff options
author | Javier <dev.git@javispedro.com> | 2016-01-01 22:05:42 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2016-01-01 22:05:42 +0100 |
commit | a45977185a485624095bff1a15024e9199eee676 (patch) | |
tree | 6cc57d085bdd01e493477c870dbe0548137998e1 /sapchannelinfo.h | |
parent | a24034bdfea259cdc09c74217be75d4f9de0dce5 (diff) | |
download | sapd-a45977185a485624095bff1a15024e9199eee676.tar.gz sapd-a45977185a485624095bff1a15024e9199eee676.zip |
reorganize source files into SAP and agents
Diffstat (limited to 'sapchannelinfo.h')
-rw-r--r-- | sapchannelinfo.h | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/sapchannelinfo.h b/sapchannelinfo.h deleted file mode 100644 index 922136e..0000000 --- a/sapchannelinfo.h +++ /dev/null @@ -1,68 +0,0 @@ -#ifndef SAPCHANNELINFO_H -#define SAPCHANNELINFO_H - -#include <QtCore/QObject> -#include <QtCore/QSharedDataPointer> -#include <QtCore/QDebug> - -class SAPChannelInfoData; - -class SAPChannelInfo -{ - Q_GADGET - -public: - SAPChannelInfo(); - SAPChannelInfo(const SAPChannelInfo &); - SAPChannelInfo &operator=(const SAPChannelInfo &); - ~SAPChannelInfo(); - - enum PayloadType { - PayloadNone = 0, - PayloadBinary = 1, - PayloadJson = 2, - PayloadAll = 0xFF - }; - - enum QoSType { - QoSUnrestrictedInOrder = 0, - QoSUnrestricted = 1, - QoSRestrictedInOrder = 2, - QoSRestricted = 3, - QoSReliabilityDisable = 4, - QoSReliabilityEnable = 5 - }; - - enum QoSPriority { - QoSPriorityLow = 0, - QoSPriorityMedium, - QoSPriorityHigh - }; - - enum QoSDataRate { - QoSDataRateLow = 0, - QoSDataRateHigh - }; - - unsigned short channelId() const; - void setChannelId(unsigned short id); - - PayloadType payloadType() const; - void setPayloadType(PayloadType type); - - QoSType qosType() const; - void setQoSType(QoSType type); - - QoSPriority qosPriority() const; - void setQoSPriority(QoSPriority priority); - - QoSDataRate qosDataRate() const; - void setQoSDataRate(QoSDataRate rate); - -private: - QSharedDataPointer<SAPChannelInfoData> data; -}; - -QDebug operator<<(QDebug debug, const SAPChannelInfo &info); - -#endif // SAPCHANNELINFO_H |