From 3da2c42c0e5ac9ecfcc4018d911b9edb6fa458ac Mon Sep 17 00:00:00 2001 From: john30 Date: Sun, 30 Nov 2014 20:18:35 +0100 Subject: [PATCH] added getPollPriority() --- src/lib/ebus/message.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/ebus/message.h b/src/lib/ebus/message.h index 2e53fb79..25373f5d 100644 --- a/src/lib/ebus/message.h +++ b/src/lib/ebus/message.h @@ -118,6 +118,11 @@ public: * @return the key for storing in @a MessageSet. */ unsigned long long getKey() { return m_key; } + /** + * @brief Get the polling priority, or 0 for no polling at all. + * @return the polling priority, or 0 for no polling at all. + */ + unsigned char getPollPriority() const { return m_pollPriority; } /** * @brief Reads the value from the master or slave @a SymbolString. * @param masterData the unescaped master data @a SymbolString for reading binary data.