Public Types |
Public Member Functions |
Static Public Member Functions |
Public Attributes |
List of all members
NanoTime::Ticks< Clock_, T > Struct Template Reference
Class to handle a tick value associated with a clock. More...
#include <NanoTime.h>
Collaboration diagram for NanoTime::Ticks< Clock_, T >:
Public Types | |
using | Clock = Clock_ |
Public Member Functions | |
Ticks (T ticks) | |
operator T () const | |
String | toString () const |
template<Unit unit> | |
Time< T > | as () |
Static Public Member Functions | |
static constexpr Clock | clock () |
Public Attributes | |
T | ticks |
Detailed Description
template<typename Clock_, typename T>
struct NanoTime::Ticks< Clock_, T >
Class to handle a tick value associated with a clock.
Member Typedef Documentation
◆ Clock
template<typename Clock_ , typename T >
using NanoTime::Ticks< Clock_, T >::Clock = Clock_ |
Constructor & Destructor Documentation
◆ Ticks()
template<typename Clock_ , typename T >
|
inline |
Member Function Documentation
◆ as()
template<typename Clock_ , typename T >
template<Unit unit>
|
inline |
◆ clock()
template<typename Clock_ , typename T >
|
inlinestatic |
◆ operator T()
template<typename Clock_ , typename T >
|
inline |
◆ toString()
template<typename Clock_ , typename T >
|
inline |
Member Data Documentation
◆ ticks
template<typename Clock_ , typename T >
T NanoTime::Ticks< Clock_, T >::ticks |
The documentation for this struct was generated from the following file: