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
6namespace MR
7{
10
11
15{
16 MutexOwner() noexcept = default;
17 MutexOwner( const MutexOwner& ) noexcept {}
18 MutexOwner( MutexOwner&& ) noexcept {}
19 MutexOwner& operator =( const MutexOwner& ) noexcept { return *this; }
20 MutexOwner& operator =( MutexOwner&& ) noexcept { return *this; }
21
22 MR_BIND_IGNORE std::mutex m;
23};
24
25}
MutexOwner() noexcept=default
MutexOwner(MutexOwner &&) noexcept
Definition MRMutexOwner.h:18
MutexOwner & operator=(const MutexOwner &) noexcept
Definition MRMutexOwner.h:19
std::mutex m
Definition MRMutexOwner.h:22
Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
Definition MRCameraOrientationPlugin.h:8