ubuntu-location-service
..
An aggregating location service providing positioning and geocoding capabilities to applications.
|
Defines the timebase of the location service. More...
#include <clock.h>
Public Types | |
typedef std::chrono::high_resolution_clock | Type |
The underlying clock we are assuming for all time-stamping purposes. More... | |
typedef std::chrono::high_resolution_clock::duration | Duration |
Duration type of the location service clock. More... | |
typedef std::chrono::high_resolution_clock::time_point | Timestamp |
Timestamp type of the location service clock. More... | |
Static Public Member Functions | |
static Timestamp | now () |
Samples a timestamp from the clock. More... | |
static Timestamp | beginning_of_time () |
Samples a timestamp from the clock. More... | |
typedef std::chrono::high_resolution_clock::duration com::ubuntu::location::Clock::Duration |
typedef std::chrono::high_resolution_clock::time_point com::ubuntu::location::Clock::Timestamp |
typedef std::chrono::high_resolution_clock com::ubuntu::location::Clock::Type |
|
inlinestatic |
|
inlinestatic |
Samples a timestamp from the clock.
Definition at line 51 of file clock.h.
Referenced by com::ubuntu::location::Update< T >::Update().