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

Disables low-power-mode for the duration of an instance's lifetime. More...

#include <juce_ScopedLowPowerModeDisabler.h>

Collaboration diagram for juce::ScopedLowPowerModeDisabler:

Public Member Functions

 ScopedLowPowerModeDisabler ()
 
 ~ScopedLowPowerModeDisabler ()
 

Private Attributes

std::unique_ptr< Pimpl > pimpl
 

Detailed Description

Disables low-power-mode for the duration of an instance's lifetime.

Currently this is only implemented on macOS, where it will disable the "App Nap" power-saving feature.

@tags{Events}

Constructor & Destructor Documentation

◆ ScopedLowPowerModeDisabler()

juce::ScopedLowPowerModeDisabler::ScopedLowPowerModeDisabler ( )

◆ ~ScopedLowPowerModeDisabler()

juce::ScopedLowPowerModeDisabler::~ScopedLowPowerModeDisabler ( )

Member Data Documentation

◆ pimpl

std::unique_ptr<Pimpl> juce::ScopedLowPowerModeDisabler::pimpl
private

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