MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMutexOwner.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "MRPch/MRBindingMacros.h"
4
#include <mutex>
5
6
namespace
MR
7
{
8
11
struct
MutexOwner
12
{
13
MutexOwner
() noexcept = default;
14
MutexOwner
( const
MutexOwner
& ) noexcept {}
15
MutexOwner
(
MutexOwner
&& ) noexcept {}
16
MutexOwner
& operator =(
const
MutexOwner
& )
noexcept
{
return
*
this
; }
17
MutexOwner
& operator =(
MutexOwner
&& ) noexcept {
return
*
this
; }
18
19
MR_BIND_IGNORE std::mutex m;
20
};
21
22
}
//namespace MR
MR::MutexOwner::MutexOwner
unsafe MutexOwner()
MR
Definition
MRCameraOrientationPlugin.h:8
MeshLib
source
MRMesh
MRMutexOwner.h
Generated by
1.11.0