FACT++  1.0
Time ServiceDim::GetTime ( ) const
inlinevirtual

Reimplemented from EventImp.

Definition at line 34 of file ServiceDim.h.

References DimInfo::getTimestamp(), and DimInfo::getTimestampMillisecs().

35  {
36  // Must be in exactly this order!
37  const int tsec = const_cast<ServiceDim*>(this)->getTimestamp();
38  const int tms = const_cast<ServiceDim*>(this)->getTimestampMillisecs();
39 
40  return Time(tsec, tms*1000);
41  }
Adds some functionality to boost::posix_time::ptime for our needs.
Definition: Time.h:30
int getTimestampMillisecs()
Definition: diccpp.cxx:114
int getTimestamp()
Definition: diccpp.cxx:107

+ Here is the call graph for this function: