|
libqi-api
2.1.0.18
|
#include <clock.hpp>
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 |
| typedef boost::chrono::duration<rep, period> qi::SteadyClock::duration |
| typedef boost::nano qi::SteadyClock::period |
| typedef int64_t qi::SteadyClock::rep |
| typedef boost::chrono::time_point<SteadyClock> qi::SteadyClock::SteadyClockTimePoint |
| typedef boost::chrono::time_point<SteadyClock> qi::SteadyClock::time_point |
| 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 SteadyClockTimePoint qi::SteadyClock::now | ( | ) | [static] |
| static int32_t qi::SteadyClock::toInt32ms | ( | const SteadyClockTimePoint & | t | ) | throw () [static] |
| static uint32_t qi::SteadyClock::toUint32ms | ( | const SteadyClockTimePoint & | t | ) | throw () [static] |
| BOOST_STATIC_CONSTEXPR bool qi::SteadyClock::is_steady = boost::chrono::steady_clock::is_steady |