libqi-api  2.0.6.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Static Public Member Functions | Public Attributes
qi::SteadyClock Class Reference

#include <clock.hpp>

List of all members.

Public Types

enum  Expect { Expect_SoonerOrLater, Expect_Later, Expect_Sooner }
typedef int64_t rep
typedef boost::nano period
typedef
boost::chrono::duration< rep,
period
duration
typedef
boost::chrono::time_point
< SteadyClock
time_point
typedef
boost::chrono::time_point
< SteadyClock
SteadyClockTimePoint

Static Public Member Functions

static SteadyClockTimePoint now ()
static uint32_t toUint32ms (const SteadyClockTimePoint &t) throw ()
static int32_t toInt32ms (const SteadyClockTimePoint &t) throw ()
static time_point fromUint32ms (uint32_t t_ms, SteadyClockTimePoint guess, Expect expect=Expect_SoonerOrLater) throw ()
static time_point fromInt32ms (int32_t t_ms, SteadyClockTimePoint guess, Expect expect=Expect_SoonerOrLater) throw ()

Public Attributes

BOOST_STATIC_CONSTEXPR bool is_steady = boost::chrono::steady_clock::is_steady

Detailed Description

Definition at line 28 of file clock.hpp.


Member Typedef Documentation

typedef boost::chrono::duration<rep, period> qi::SteadyClock::duration

Definition at line 33 of file clock.hpp.

typedef boost::nano qi::SteadyClock::period

Definition at line 32 of file clock.hpp.

Definition at line 31 of file clock.hpp.

typedef boost::chrono::time_point<SteadyClock> qi::SteadyClock::SteadyClockTimePoint

Definition at line 38 of file clock.hpp.

typedef boost::chrono::time_point<SteadyClock> qi::SteadyClock::time_point

Definition at line 34 of file clock.hpp.


Member Enumeration Documentation

Enumerator:
Expect_SoonerOrLater 
Expect_Later 
Expect_Sooner 

Definition at line 40 of file clock.hpp.


Member Function Documentation

static time_point qi::SteadyClock::fromInt32ms ( int32_t  t_ms,
SteadyClockTimePoint  guess,
Expect  expect = Expect_SoonerOrLater 
) throw () [static]
static time_point qi::SteadyClock::fromUint32ms ( uint32_t  t_ms,
SteadyClockTimePoint  guess,
Expect  expect = Expect_SoonerOrLater 
) throw () [static]
static int32_t qi::SteadyClock::toInt32ms ( const SteadyClockTimePoint t) throw () [static]
static uint32_t qi::SteadyClock::toUint32ms ( const SteadyClockTimePoint t) throw () [static]

Member Data Documentation

BOOST_STATIC_CONSTEXPR bool qi::SteadyClock::is_steady = boost::chrono::steady_clock::is_steady

Definition at line 35 of file clock.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines