add getter to grabbed message

This commit is contained in:
John
2025-01-26 20:37:18 +01:00
parent 1a2c810fdc
commit 1965639f07
+6
View File
@@ -211,6 +211,12 @@ class GrabbedMessage {
*/
MasterSymbolString& getLastMasterData() { return m_lastMaster; }
/**
* Get the last @a SlaveSymbolString.
* @return the last @a SlaveSymbolString.
*/
SlaveSymbolString& getLastSlaveData() { return m_lastSlave; }
/**
* Dump the last received data and message count to the output.
* @param unknown whether to dump only if this message is unknown.