removed getReceivedData()

This commit is contained in:
john30
2014-12-07 10:00:57 +01:00
parent d33cede5ea
commit 3599378364
2 changed files with 0 additions and 15 deletions
-12
View File
@@ -476,7 +476,6 @@ void BusHandler::receiveCompleted()
else {
string data = output.str();
L.log(bus, trace, "%s %s: %s", clazz.c_str(), name.c_str(), data.c_str());
m_receivedData[clazz+";"+name] = data;
}
return;
}
@@ -487,14 +486,3 @@ void BusHandler::receiveCompleted()
else
L.log(bus, trace, "received master-slave %s / %s", m_command.getDataStr().c_str(), m_response.getDataStr().c_str());
}
string BusHandler::getReceivedData(Message* message) {
if (message == NULL)
return NULL;
string clazz = message->getClass();
string name = message->getName();
map<string, string>::iterator it = m_receivedData.find(clazz+";"+name);
if (it == m_receivedData.end())
return NULL;
return it->second;
}
-3
View File
@@ -265,9 +265,6 @@ private:
/** whether the response CRC is valid. */
bool m_responseCrcValid;
/** the last received data by "class;name". */
map<string, string> m_receivedData;
};