Changeset 13068 for trunk/FACT++/src/DimServiceInfoList.cc
- Timestamp:
- 03/11/12 20:00:53 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/DimServiceInfoList.cc
r12907 r13068 676 676 const string fmt = t->second.first; 677 677 678 // Avoid compiler warning of unused parameter 679 lout << flush; 680 678 681 // Convert the user entered data according to the format string 679 682 // into a data block which will be attached to the event 683 #ifndef DEBUG 684 ostringstream sout; 685 const Converter conv(sout, fmt, false); 686 #else 680 687 const Converter conv(lout, fmt, false); 688 #endif 681 689 if (!conv) 682 690 throw runtime_error("Couldn't properly parse the format... ignored."); 683 691 692 #ifdef DEBUG 684 693 lout << kBlue << cmd; 694 #endif 685 695 const vector<char> v = conv.GetVector(str.substr(p0)); 696 #ifdef DEBUG 686 697 lout << endl; 698 #endif 687 699 688 700 const int rc = DimClient::sendCommand(cmd.c_str(), (void*)v.data(), v.size());
Note:
See TracChangeset
for help on using the changeset viewer.