From: John F. <jo...@us...> - 2011-09-27 08:14:39
|
Update of /cvsroot/ingex/ingex/studio/ace-tao/common In directory vz-cvs-4.sog:/tmp/cvs-serv19576/common Modified Files: CopyManager.cpp Log Message: Fixed problem with quad-split directory creation. Index: CopyManager.cpp =================================================================== RCS file: /cvsroot/ingex/ingex/studio/ace-tao/common/CopyManager.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** CopyManager.cpp 13 Jun 2011 15:57:51 -0000 1.9 --- CopyManager.cpp 27 Sep 2011 08:14:37 -0000 1.10 *************** *** 65,84 **** void CopyManager::AddSrcDest(const std::string & src, const std::string & dest, int priority) { ! if (!src.empty() && !dest.empty()) { ! std::ostringstream ss; ! switch (mMode) ! { ! case CopyMode::OLD: ! ss << " " << priority << " \"" << src << "\" \"" << dest << "\""; ! mArgs += ss.str(); ! break; ! case CopyMode::NEW: ! ss << priority << "\n" ! << src << "\n" ! << dest << "\n"; ! mArgs += ss.str(); ! break; ! } } } --- 65,81 ---- void CopyManager::AddSrcDest(const std::string & src, const std::string & dest, int priority) { ! std::ostringstream ss; ! switch (mMode) { ! case CopyMode::OLD: ! ss << " " << priority << " \"" << src << "\" \"" << dest << "\""; ! mArgs += ss.str(); ! break; ! case CopyMode::NEW: ! ss << priority << "\n" ! << src << "\n" ! << dest << "\n"; ! mArgs += ss.str(); ! break; } } *************** *** 106,114 **** case CopyMode::NEW: ! //if (!mArgs.empty()) { // Create command std::ostringstream ss; ss << mRecorderName << "\n" << index << "\n" << mArgs; // Send it TcpPort port; --- 103,112 ---- case CopyMode::NEW: ! if (!mArgs.empty()) { // Create command std::ostringstream ss; ss << mRecorderName << "\n" << index << "\n" << mArgs; + ACE_DEBUG((LM_DEBUG, ACE_TEXT("CopyManager Start command \"%C\"\n"), ss.str().c_str())); // Send it TcpPort port; *************** *** 146,154 **** case CopyMode::NEW: ! //if (!mArgs.empty()) { // Create command std::ostringstream ss; ss << mRecorderName << "\n" << index << "\n"; // Send it TcpPort port; --- 144,153 ---- case CopyMode::NEW: ! if (!mArgs.empty()) { // Create command std::ostringstream ss; ss << mRecorderName << "\n" << index << "\n"; + ACE_DEBUG((LM_DEBUG, ACE_TEXT("CopyManager Stop command \"%C\"\n"), ss.str().c_str())); // Send it TcpPort port; |