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

Reimplemented from EventImp.

Definition at line 58 of file EventDim.h.

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

59  {
60  // Must be in exactly this order!
61  const int tsec = const_cast<EventDim*>(this)->getTimestamp();
62  const int tms = const_cast<EventDim*>(this)->getTimestampMillisecs();
63 
64  return Time(tsec, tms*1000);
65  }
int getTimestampMillisecs()
Definition: discpp.cxx:1466
int getTimestamp()
Definition: discpp.cxx:1453
Adds some functionality to boost::posix_time::ptime for our needs.
Definition: Time.h:30
Concerete implementation of an EventImp as a DimCommand.
Definition: EventDim.h:24

+ Here is the call graph for this function: