Changeset 14006 for trunk/FACT++/src/MessageDim.cc
- Timestamp:
- 05/31/12 17:11:37 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/MessageDim.cc
r11837 r14006 35 35 // 36 36 MessageDimTX::MessageDimTX(const std::string &name, std::ostream &out) 37 : DimDescribedService( (name + "/MESSAGE").c_str(), const_cast<char*>(""),37 : DimDescribedService(name + "/MESSAGE", const_cast<char*>(""), 38 38 "A general logging service providing a quality of service (severity)" 39 39 "|Message[string]:The message"), … … 168 168 return; 169 169 170 stringstream msg; 171 msg << server << ": " << fDimMessage.getString(); 170 const string msg = server+": "+fDimMessage.getString(); 172 171 173 172 // Make sure getTimestamp is called _before_ getTimestampMillisecs … … 177 176 178 177 // Write the received message to the output 179 fMsg.Write(Time(tsec, tms*1000), msg .str().c_str(), fDimMessage.getQuality());178 fMsg.Write(Time(tsec, tms*1000), msg, fDimMessage.getQuality()); 180 179 }
Note:
See TracChangeset
for help on using the changeset viewer.