Honeycomb  0.1
Component-Model Framework
Clock.h
Go to the documentation of this file.
1 // Honeycomb, Copyright (C) 2013 Daniel Carter. Distributed under the Boost Software License v1.0.
2 #pragma once
3 
5 namespace honey { namespace platform
6 {
7 
8 template<class Subclass>
9 struct SystemClock
10 {
11  typedef TimePoint<Subclass, Microsec> TimePoint;
12 
13  static TimePoint now();
14 };
15 
16 template<class Subclass>
17 struct MonoClock
18 {
19  typedef TimePoint<Subclass, Nanosec> TimePoint;
20 
21  static TimePoint now();
22 };
23 
24 } }
Global Honeycomb namespace.