Ticket #1: patch_franck.patch
File patch_franck.patch, 2.7 KB (added by , 9 years ago) |
---|
-
DBITEPlayerLib/DbtPlyEngine.cpp
269 269 //////////////////////////////////////////////////////////////////////////////// 270 270 void DbtPlyEngine::setState(DbtPlyEngineState * newState) 271 271 { 272 273 LOG_DEBUG(mCurrentState->toString() << " => " << newState->toString()); 272 BOOST_ASSERT(newState); 273 LOG_DEBUG(mCurrentState->toString().toStdString() << " => " << newState->toString().toStdString()); //FL added .toStdString() 274 274 mCurrentState = newState; 275 275 276 276 Q_EMIT displayStateSig(mCurrentState, mSpeed); -
DBITEPlayerLib/DbtPlyFileManager.cpp
285 285 int deltaT = road_time() - tNow; 286 286 deltaTDbtTab_[(deltaTDbtTabLoop_++)%1000] = deltaT; 287 287 if (deltaT > kMaxPendingTimeFromEngineMicrosecs) { 288 LOG_WARN(getName() << ": data not replayed: elapsed time since engine notification too big:" << deltaT << "us"); 289 288 LOG_WARN(getName().toStdString() << ": data not replayed: elapsed time since engine notification too big:" << deltaT << "us"); //FL added toStdString() 289 return; 290 290 } 291 291 292 292 timeToRead_ = tDbt; -
PacpusLib/ComponentBase.cpp
562 562 void ComponentBase::parseParameters(XmlComponentConfig const& cfg) 563 563 { 564 564 LOG_INFO("Parsing parameters..."); 565 LOG_INFO(mOptionsDescription); 565 std::ostringstream temp_stream; //FL added 566 temp_stream << mOptionsDescription; //FL added 567 LOG_INFO(temp_stream.str()); //FL changed from LOG_INFO(mOptionsDescription) 566 568 567 569 po::variables_map vm; 568 570 try { -
PacpusLib/XmlConfigFile.cpp
189 189 int errorColumn = 0; 190 190 if (!m_document.setContent(&m_file, /*namespaceProcessing=*/true, &errorMsg, &errorLine, &errorColumn)) { 191 191 LOG_ERROR("cannot parse XML file " << m_file.fileName()); 192 LOG_ERROR(errorMsg << " at " << errorLine << ":" << errorColumn << " (line:col)"); 192 LOG_ERROR(errorMsg.toStdString() << " at " << errorLine << ":" << errorColumn << " (line:col)"); //FL added .toStdString() 193 193 m_file.close(); 194 194 return 0; 195 195 }