LibreOffice Module comphelper (master)
1
include
comphelper
unoimplbase.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*/
9
#pragma once
10
11
#include <
comphelper/comphelperdllapi.h
>
12
#include <mutex>
13
14
namespace
comphelper
15
{
22
class
COMPHELPER_DLLPUBLIC
UnoImplBase
23
{
24
public
:
25
virtual
~UnoImplBase
();
26
27
protected
:
28
mutable
std::mutex
m_aMutex
;
29
bool
m_bDisposed
=
false
;
30
};
31
32
}
// namespace comphelper
33
34
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
comphelper::UnoImplBase
This class is meant to be used as a base class for UNO object implementations that want to use std::m...
Definition:
unoimplbase.hxx:23
comphelper::UnoImplBase::m_aMutex
std::mutex m_aMutex
Definition:
unoimplbase.hxx:28
comphelperdllapi.h
COMPHELPER_DLLPUBLIC
#define COMPHELPER_DLLPUBLIC
Definition:
comphelperdllapi.h:27
m_bDisposed
bool m_bDisposed
comphelper
mutex
std::mutex mutex
Definition:
random.cxx:41
Generated on Sun Jul 30 2023 04:30:37 for LibreOffice Module comphelper (master) by
1.9.3