Kagome
Polkadot Runtime Engine in C++17
clock_impl.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_CORE_CLOCK_IMPL_CLOCK_IMPL_HPP
7 #define KAGOME_CORE_CLOCK_IMPL_CLOCK_IMPL_HPP
8 
9 #include "clock/clock.hpp"
10 
11 namespace kagome::clock {
12 
13  template <typename ClockType>
14  class ClockImpl : public Clock<ClockType> {
15  public:
16  typename Clock<ClockType>::TimePoint now() const override;
17  uint64_t nowUint64() const override;
18  };
19 
20  // aliases for implementations
23 
24 } // namespace kagome::clock
25 
26 #endif // KAGOME_CORE_CLOCK_IMPL_CLOCK_IMPL_HPP
Clock< ClockType >::TimePoint now() const override
Definition: clock_impl.cpp:11
uint64_t nowUint64() const override
Definition: clock_impl.cpp:16
typename ClockType::time_point TimePoint
Definition: clock.hpp:27