MeshLib Documentation
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{
8
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
Definition MRCameraOrientationPlugin.h:8
Definition MRMutexOwner.h:12
MutexOwner() noexcept=default
MR_BIND_IGNORE std::mutex m
Definition MRMutexOwner.h:19
MutexOwner(MutexOwner &&) noexcept
Definition MRMutexOwner.h:15
MutexOwner & operator=(const MutexOwner &) noexcept
Definition MRMutexOwner.h:16