LLDB  mainline
Public Member Functions | Private Types | List of all members
lldb_private::Timeout< Ratio > Class Template Reference

#include <Connection.h>

Inheritance diagram for lldb_private::Timeout< Ratio >:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::Timeout< Ratio >:
Collaboration graph
[legend]

Public Member Functions

 Timeout (llvm::NoneType none)
 
 Timeout (const Timeout &other)=default
 
template<typename Ratio2 , typename = typename EnableIf<int64_t, Ratio2>::type>
 Timeout (const Timeout< Ratio2 > &other)
 
template<typename Rep2 , typename Ratio2 , typename = typename EnableIf<Rep2, Ratio2>::type>
 Timeout (const std::chrono::duration< Rep2, Ratio2 > &other)
 

Private Types

template<typename Ratio2 >
using Dur = std::chrono::duration< int64_t, Ratio2 >
 
template<typename Rep2 , typename Ratio2 >
using EnableIf = std::enable_if< std::is_convertible< std::chrono::duration< Rep2, Ratio2 >, std::chrono::duration< int64_t, Ratio > >::value >
 
using Base = llvm::Optional< Dur< Ratio > >
 

Detailed Description

template<typename Ratio>
class lldb_private::Timeout< Ratio >

Definition at line 25 of file Connection.h.

Member Typedef Documentation

◆ Base

template<typename Ratio>
using lldb_private::Timeout< Ratio >::Base = llvm::Optional<Dur<Ratio> >
private

Definition at line 36 of file Timeout.h.

◆ Dur

template<typename Ratio>
template<typename Ratio2 >
using lldb_private::Timeout< Ratio >::Dur = std::chrono::duration<int64_t, Ratio2>
private

Definition at line 30 of file Timeout.h.

◆ EnableIf

template<typename Ratio>
template<typename Rep2 , typename Ratio2 >
using lldb_private::Timeout< Ratio >::EnableIf = std::enable_if< std::is_convertible<std::chrono::duration<Rep2, Ratio2>, std::chrono::duration<int64_t, Ratio> >::value>
private

Definition at line 34 of file Timeout.h.

Constructor & Destructor Documentation

◆ Timeout() [1/4]

template<typename Ratio>
lldb_private::Timeout< Ratio >::Timeout ( llvm::NoneType  none)
inline

Definition at line 39 of file Timeout.h.

Referenced by lldb_private::Timeout< std::micro >::Timeout().

◆ Timeout() [2/4]

template<typename Ratio>
lldb_private::Timeout< Ratio >::Timeout ( const Timeout< Ratio > &  other)
default

◆ Timeout() [3/4]

template<typename Ratio>
template<typename Ratio2 , typename = typename EnableIf<int64_t, Ratio2>::type>
lldb_private::Timeout< Ratio >::Timeout ( const Timeout< Ratio2 > &  other)
inline

Definition at line 44 of file Timeout.h.

◆ Timeout() [4/4]

template<typename Ratio>
template<typename Rep2 , typename Ratio2 , typename = typename EnableIf<Rep2, Ratio2>::type>
lldb_private::Timeout< Ratio >::Timeout ( const std::chrono::duration< Rep2, Ratio2 > &  other)
inline

Definition at line 49 of file Timeout.h.


The documentation for this class was generated from the following files: