tin  1.5.9
tsm::tick_count Struct Reference

Strong value type for semantic scheduler ticks. More...

#include <ticks.h>

Collaboration diagram for tsm::tick_count:
Collaboration graph

Public Types

using rep = tick_rep
 
using period = tick_period
 
using value_type = tick_duration
 

Public Member Functions

constexpr tick_count () noexcept=default
 
constexpr tick_count (tick_duration duration) noexcept
 
constexpr tick_count (tick_rep count) noexcept
 
constexpr tick_rep count () const noexcept
 

Public Attributes

tick_duration value {}
 

Detailed Description

Strong value type for semantic scheduler ticks.

Member Typedef Documentation

◆ period

◆ rep

◆ value_type

Constructor & Destructor Documentation

◆ tick_count() [1/3]

constexpr tsm::tick_count::tick_count ( )
constexprdefaultnoexcept

◆ tick_count() [2/3]

constexpr tsm::tick_count::tick_count ( tick_duration  duration)
inlineexplicitconstexprnoexcept

◆ tick_count() [3/3]

constexpr tsm::tick_count::tick_count ( tick_rep  count)
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ count()

constexpr tick_rep tsm::tick_count::count ( ) const
inlineconstexprnoexcept

Member Data Documentation

◆ value

tick_duration tsm::tick_count::value {}

The documentation for this struct was generated from the following file: