LMMS
Loading...
Searching...
No Matches
lmms::SystemSemaphore Class Reference

#include <SystemSemaphore.h>

Public Member Functions

 SystemSemaphore () noexcept
 SystemSemaphore (std::string key, unsigned int value)
 SystemSemaphore (std::string key)
 ~SystemSemaphore ()
 SystemSemaphore (SystemSemaphore &&other) noexcept
auto operator= (SystemSemaphore &&other) noexcept -> SystemSemaphore &
auto acquire () noexcept -> bool
auto release () noexcept -> bool
auto key () const noexcept -> const std::string &

Private Attributes

std::string m_key
std::unique_ptr< detail::SystemSemaphoreImpl > m_impl

Constructor & Destructor Documentation

◆ SystemSemaphore() [1/4]

lmms::SystemSemaphore::SystemSemaphore ( )
noexcept

◆ SystemSemaphore() [2/4]

lmms::SystemSemaphore::SystemSemaphore ( std::string key,
unsigned int value )

◆ SystemSemaphore() [3/4]

lmms::SystemSemaphore::SystemSemaphore ( std::string key)
explicit

◆ ~SystemSemaphore()

lmms::SystemSemaphore::~SystemSemaphore ( )

◆ SystemSemaphore() [4/4]

lmms::SystemSemaphore::SystemSemaphore ( SystemSemaphore && other)
noexcept

Member Function Documentation

◆ acquire()

auto lmms::SystemSemaphore::acquire ( ) -> bool
noexcept

◆ key()

auto lmms::SystemSemaphore::key ( ) const -> const std::string &
inlinenoexcept

◆ operator=()

auto lmms::SystemSemaphore::operator= ( SystemSemaphore && other) -> SystemSemaphore &
noexcept

◆ release()

auto lmms::SystemSemaphore::release ( ) -> bool
noexcept

Member Data Documentation

◆ m_impl

std::unique_ptr<detail::SystemSemaphoreImpl> lmms::SystemSemaphore::m_impl
private

◆ m_key

std::string lmms::SystemSemaphore::m_key
private

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