senf::CyclicTimestamp Class Referencefinal

#include <senf/Scheduler/ClockService.hh>

Public Member Functions

 CyclicTimestamp ()
 
 CyclicTimestamp (std::uint32_t const &secs, std::uint32_t const &nsecs)
 
void update (ClockService::clock_type const &clockType)
 
void update (std::uint32_t const &secs, std::uint32_t const &nsecs)
 
std::uint32_t const & value () const
 
CyclicTimestamp distance (CyclicTimestamp const &other) const
 
std::uint32_t distanceAsMilliseconds (CyclicTimestamp const &other) const
 
senf::ClockService::clock_type distanceAsClockType (CyclicTimestamp const &other) const
 

Detailed Description

Definition at line 214 of file ClockService.hh.

Constructor & Destructor Documentation

◆ CyclicTimestamp() [1/2]

senf::CyclicTimestamp::CyclicTimestamp ( )
inline

Definition at line 217 of file ClockService.hh.

◆ CyclicTimestamp() [2/2]

senf::CyclicTimestamp::CyclicTimestamp ( std::uint32_t const &  secs,
std::uint32_t const &  nsecs 
)
inline

Definition at line 220 of file ClockService.hh.

Member Function Documentation

◆ distance()

CyclicTimestamp senf::CyclicTimestamp::distance ( CyclicTimestamp const &  other) const
inline

Definition at line 236 of file ClockService.hh.

◆ distanceAsClockType()

senf::ClockService::clock_type senf::CyclicTimestamp::distanceAsClockType ( CyclicTimestamp const &  other) const
inline

Definition at line 244 of file ClockService.hh.

◆ distanceAsMilliseconds()

std::uint32_t senf::CyclicTimestamp::distanceAsMilliseconds ( CyclicTimestamp const &  other) const
inline

Definition at line 240 of file ClockService.hh.

◆ update() [1/2]

void senf::CyclicTimestamp::update ( ClockService::clock_type const &  clockType)
inline

Definition at line 224 of file ClockService.hh.

◆ update() [2/2]

void senf::CyclicTimestamp::update ( std::uint32_t const &  secs,
std::uint32_t const &  nsecs 
)
inline

Definition at line 228 of file ClockService.hh.

◆ value()

std::uint32_t const& senf::CyclicTimestamp::value ( ) const
inline

Definition at line 232 of file ClockService.hh.


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