OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::Channel< T >::Unlocker< Ptr > Class Template Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Channel.hpp>

Collaboration diagram for Slic3r::Channel< T >::Unlocker< Ptr >:

Public Member Functions

 Unlocker (UniqueLock lock)
 Unlocker (const Unlocker &other) noexcept
 Unlocker (Unlocker &&other) noexcept
Unlocker & operator= (const Unlocker &other)=delete
Unlocker & operator= (Unlocker &&other)
void operator() (Ptr *)

Private Attributes

UniqueLock m_lock

Detailed Description

template<class T>
template<class Ptr>
class Slic3r::Channel< T >::Unlocker< Ptr >

Constructor & Destructor Documentation

◆ Unlocker() [1/3]

template<class T>
template<class Ptr>
Slic3r::Channel< T >::Unlocker< Ptr >::Unlocker ( UniqueLock lock)
inline
UniqueLock m_lock
Definition Channel.hpp:34
Definition Channel.hpp:19

References m_lock.

Referenced by Unlocker(), Unlocker(), operator=(), and operator=().

Here is the caller graph for this function:

◆ Unlocker() [2/3]

template<class T>
template<class Ptr>
Slic3r::Channel< T >::Unlocker< Ptr >::Unlocker ( const Unlocker< Ptr > & other)
inlinenoexcept
27: m_lock(std::move(other.m_lock)) {} // XXX: done beacuse of MSVC 2013 not supporting init of deleter by move

References Unlocker().

Here is the call graph for this function:

◆ Unlocker() [3/3]

template<class T>
template<class Ptr>
Slic3r::Channel< T >::Unlocker< Ptr >::Unlocker ( Unlocker< Ptr > && other)
inlinenoexcept
28: m_lock(std::move(other.m_lock)) {}

References Unlocker().

Here is the call graph for this function:

Member Function Documentation

◆ operator()()

template<class T>
template<class Ptr>
void Slic3r::Channel< T >::Unlocker< Ptr >::operator() ( Ptr * )
inline
32{ m_lock.unlock(); }

References m_lock.

◆ operator=() [1/2]

template<class T>
template<class Ptr>
Unlocker & Slic3r::Channel< T >::Unlocker< Ptr >::operator= ( const Unlocker< Ptr > & other)
delete

References Unlocker().

Here is the call graph for this function:

◆ operator=() [2/2]

template<class T>
template<class Ptr>
Unlocker & Slic3r::Channel< T >::Unlocker< Ptr >::operator= ( Unlocker< Ptr > && other)
inline
30{ m_lock = std::move(other.m_lock); }

References Unlocker(), and m_lock.

Here is the call graph for this function:

Member Data Documentation

◆ m_lock

template<class T>
template<class Ptr>
UniqueLock Slic3r::Channel< T >::Unlocker< Ptr >::m_lock
mutableprivate

Referenced by Unlocker(), operator()(), and operator=().


The documentation for this class was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Channel.hpp