LMMS
Loading...
Searching...
No Matches
juce::SafeActionImpl Class Reference
Inheritance diagram for juce::SafeActionImpl:
juce::InterprocessConnection::SafeAction

Public Member Functions

 SafeActionImpl (InterprocessConnection &p)
template<typename Fn>
void ifSafe (Fn &&fn)
void setSafe (bool s)
bool isSafe ()

Private Attributes

CriticalSection mutex
InterprocessConnectionref
bool safe = false

Constructor & Destructor Documentation

◆ SafeActionImpl()

juce::SafeActionImpl::SafeActionImpl ( InterprocessConnection & p)
inlineexplicit

Member Function Documentation

◆ ifSafe()

template<typename Fn>
void juce::SafeActionImpl::ifSafe ( Fn && fn)
inline

◆ isSafe()

bool juce::SafeActionImpl::isSafe ( )
inline

◆ setSafe()

void juce::SafeActionImpl::setSafe ( bool s)
inline

Member Data Documentation

◆ mutex

CriticalSection juce::SafeActionImpl::mutex
private

◆ ref

InterprocessConnection& juce::SafeActionImpl::ref
private

◆ safe

bool juce::SafeActionImpl::safe = false
private

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