Positive time duration up to milliseconds resolution. 更多...
#include <Time.h>
Public 成员函数 | |
constexpr size_t | milliseconds () const noexcept |
operator boost::posix_time::time_duration () const | |
time_duration & | operator= (const time_duration &)=default |
constexpr | time_duration () noexcept |
time_duration (boost::posix_time::time_duration timeout) | |
time_duration (const time_duration &)=default | |
template<typename Rep , typename Period > | |
time_duration (std::chrono::duration< Rep, Period > duration) | |
constexpr auto | to_chrono () const |
boost::posix_time::time_duration | to_posix_time () const |
静态 Public 成员函数 | |
static time_duration | milliseconds (size_t timeout) |
static time_duration | seconds (size_t timeout) |
Private 属性 | |
size_t | _milliseconds |
Positive time duration up to milliseconds resolution.
Automatically casts between std::chrono::duration and boost::posix_time::time_duration.
|
inline |
引用了 DEBUG_ASSERT.
|
inline |
|
default |
|
inlineconstexprnoexcept |
引用了 _milliseconds.
被这些函数引用 carla::client::detail::Client::Pimpl::GetTimeout() , 以及 FCarlaServer::RunSome().
|
inlinestatic |
|
inline |
|
default |
|
inlinestatic |
被这些函数引用 carla::multigpu::Secondary::Reconnect() , 以及 carla::streaming::detail::tcp::Client::Reconnect().
|
inlineconstexpr |
|
inline |
|
private |
被这些函数引用 milliseconds(), to_chrono() , 以及 to_posix_time().