Classes | List of all members
evgen::details::TimeInUnits< Clock, Duration, typename > Class Template Reference
Inheritance diagram for evgen::details::TimeInUnits< Clock, Duration, typename >:
evgen::details::TimeInUnitsBase< Clock, Duration >

Classes

class  type
 

Additional Inherited Members

- Public Types inherited from evgen::details::TimeInUnitsBase< Clock, Duration >
using duration_t = art::TimeValue_t
 Type of the time duration as returned by this class. More...
 
- Public Member Functions inherited from evgen::details::TimeInUnitsBase< Clock, Duration >
duration_t operator() ()
 Reads and returns the current time the clock. More...
 
- Static Public Member Functions inherited from evgen::details::TimeInUnitsBase< Clock, Duration >
static duration_t read_clock ()
 Reads and returns the current time the clock. More...
 
static duration_t currentOffsetFromEpoch ()
 
- Static Protected Member Functions inherited from evgen::details::TimeInUnitsBase< Clock, Duration >
static constexpr duration_t toDuration (TimeInterval dt)
 Converts a std::chrono::duration into our duration metric. More...
 
static constexpr auto periodToDuration ()
 Returns the duration (duration_t) of a period type. More...
 
static duration_t timeFromEpoch (TimePoint t)
 Returns the time elapsed from the epoch to t. More...
 

Detailed Description

template<typename Clock, typename Duration, typename = void>
class evgen::details::TimeInUnits< Clock, Duration, typename >

Class reading a clock and converting the value to a specific unit; if the unit is more precise than the clock, random padding fills the gap

Definition at line 248 of file GeneratedEventTimestamp_plugin.cc.


The documentation for this class was generated from the following file: