Changeset 10422


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.
Location:
trunk/FACT++/src
Files:
2 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}
  • trunk/FACT++/src/MessageDim.h

    r10373 r10422  
    2828class MessageDimRX : public DimInfoHandler
    2929{
     30private:
     31    int  fMinLogLevel;
     32    bool fConnected;
     33
    3034protected:
    3135    MessageImp &fMsg;
     
    3337private:
    3438    DimStampedInfo fDimMessage;
    35 
    36     int  fMinLogLevel;
    37     bool fConnected;
    3839
    3940protected:
Note: See TracChangeset for help on using the changeset viewer.