JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
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: