Ignore:
Timestamp:
Apr 20, 2011, 3:21:25 PM (9 years ago)
Author:
tbretz
Message:
Fixed the millisecond part of the time, the Time class expects microseconds; some changes to the order of the data members to ensure a proper destruction.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/MessageDim.cc

    r10373 r10422  
    111111//
    112112MessageDimRX::MessageDimRX(const std::string &name, MessageImp &imp)
    113 : fMsg(imp),
    114 fDimMessage(Form("%s/MESSAGE", name.c_str()).c_str(), const_cast<char*>(""), this),
    115 fConnected(false)
     113: fMinLogLevel(0), fConnected(false), fMsg(imp),
     114fDimMessage((name+"/MESSAGE").c_str(), const_cast<char*>(""), this)
    116115{
    117     fMinLogLevel = 0;
    118116}
    119117
     
    149147
    150148    // Write the received message to the output
    151     fMsg.Write(Time(getInfo()->getTimestamp(), getInfo()->getTimestampMillisecs()),
     149    fMsg.Write(Time(getInfo()->getTimestamp(), getInfo()->getTimestampMillisecs()*1000),
    152150               msg.str().c_str(), getInfo()->getQuality());
    153151}
Note: See TracChangeset for help on using the changeset viewer.