add getter to grabbed message
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user