JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::HighResolutionTimer::Pimpl::Clock Class Reference
Collaboration diagram for juce::HighResolutionTimer::Pimpl::Clock:

Public Member Functions

 Clock (std::chrono::steady_clock::rep millis) noexcept
 
void next () noexcept
 
bool wait (std::condition_variable &cond, std::unique_lock< std::mutex > &lock) noexcept
 

Private Attributes

std::chrono::steady_clock::duration delta
 
std::chrono::time_point< std::chrono::steady_clock > time
 

Constructor & Destructor Documentation

◆ Clock()

juce::HighResolutionTimer::Pimpl::Clock::Clock ( std::chrono::steady_clock::rep  millis)
inlineexplicitnoexcept

Member Function Documentation

◆ next()

void juce::HighResolutionTimer::Pimpl::Clock::next ( )
inlinenoexcept

References delta, and time.

Referenced by juce::HighResolutionTimer::Pimpl::start().

◆ wait()

bool juce::HighResolutionTimer::Pimpl::Clock::wait ( std::condition_variable &  cond,
std::unique_lock< std::mutex > &  lock 
)
inlinenoexcept

Member Data Documentation

◆ delta

std::chrono::steady_clock::duration juce::HighResolutionTimer::Pimpl::Clock::delta
private

Referenced by next().

◆ time

std::chrono::time_point<std::chrono::steady_clock> juce::HighResolutionTimer::Pimpl::Clock::time
private

Referenced by next(), and wait().


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