Ignore:
Timestamp:
05/04/11 15:17:47 (14 years ago)
Author:
tbretz
Message:
Improved/fixed the retrieval of times from Dim once again.
File:
1 edited

Legend:

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

    r10549 r10570  
    755755                return;
    756756
    757         getInfo()->getTimestamp();
    758 
    759757        DimInfo* I = getInfo();
    760758        SubscriptionsListType::iterator x;
     
    799797        if (I->getSize() <= 0)
    800798                return;
    801         //check that the message has been updated by something, i.e. must be different from its initial value
     799
     800        // Make sure that getTimestampMillisecs is NEVER called before
     801        // getTimestamp is properly called
     802        // check that the message has been updated by something, i.e. must be different from its initial value
    802803        if (I->getTimestamp() == 0)
    803804                return;
Note: See TracChangeset for help on using the changeset viewer.