forked from boostorg/beast
Make Uncopyable derivations public
This commit is contained in:
1 parent
cc9358ee95
commit
9aaaa6aef0
73 files changed
+105
-106
No files matched your search
@@ -32,7 +32,7 @@
|
||||
This class lets you launch an executable, and read its output. You can also
|
||||
use it to check whether the child process has finished.
|
||||
*/
|
||||
class BEAST_API ChildProcess : LeakChecked <ChildProcess>, Uncopyable
|
||||
class BEAST_API ChildProcess : LeakChecked <ChildProcess>, public Uncopyable
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
@see ScopedLock, ScopedTryLock, ScopedUnlock, SpinLock, ReadWriteLock, Thread, InterProcessLock
|
||||
*/
|
||||
class BEAST_API CriticalSection : Uncopyable
|
||||
class BEAST_API CriticalSection : public Uncopyable
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
@@ -124,7 +124,7 @@ private:
|
||||
|
||||
@see CriticalSection, Array, OwnedArray, SharedObjectArray
|
||||
*/
|
||||
class BEAST_API DummyCriticalSection : Uncopyable
|
||||
class BEAST_API DummyCriticalSection : public Uncopyable
|
||||
{
|
||||
public:
|
||||
inline DummyCriticalSection() noexcept {}
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
Since the DLL is freed when this object is deleted, it's handy for managing
|
||||
library lifetimes using RAII.
|
||||
*/
|
||||
class BEAST_API DynamicLibrary : LeakChecked <DynamicLibrary>, Uncopyable
|
||||
class BEAST_API DynamicLibrary : LeakChecked <DynamicLibrary>, public Uncopyable
|
||||
{
|
||||
public:
|
||||
/** Creates an unopened DynamicLibrary object.
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
@see Timer
|
||||
*/
|
||||
class BEAST_API HighResolutionTimer : LeakChecked <HighResolutionTimer>, Uncopyable
|
||||
class BEAST_API HighResolutionTimer : LeakChecked <HighResolutionTimer>, public Uncopyable
|
||||
{
|
||||
protected:
|
||||
/** Creates a HighResolutionTimer.
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
@see CriticalSection
|
||||
*/
|
||||
class BEAST_API InterProcessLock : Uncopyable
|
||||
class BEAST_API InterProcessLock : public Uncopyable
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
@@ -71,7 +71,7 @@ public:
|
||||
|
||||
@see ScopedLock
|
||||
*/
|
||||
class ScopedLockType : Uncopyable
|
||||
class ScopedLockType : public Uncopyable
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
@see Thread, BEASTApplication
|
||||
*/
|
||||
class BEAST_API Process : Uncopyable
|
||||
class BEAST_API Process : public Uncopyable
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
@see ScopedReadLock, ScopedWriteLock, CriticalSection
|
||||
*/
|
||||
class BEAST_API ReadWriteLock : Uncopyable
|
||||
class BEAST_API ReadWriteLock : public Uncopyable
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
@see GenericScopedUnlock, CriticalSection, SpinLock, ScopedLock, ScopedUnlock
|
||||
*/
|
||||
template <class LockType>
|
||||
class GenericScopedLock : Uncopyable
|
||||
class GenericScopedLock : public Uncopyable
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
@@ -118,7 +118,7 @@ private:
|
||||
@see GenericScopedLock, CriticalSection, ScopedLock, ScopedUnlock
|
||||
*/
|
||||
template <class LockType>
|
||||
class GenericScopedUnlock : Uncopyable
|
||||
class GenericScopedUnlock : public Uncopyable
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
@@ -186,7 +186,7 @@ private:
|
||||
@see CriticalSection::tryEnter, GenericScopedLock, GenericScopedUnlock
|
||||
*/
|
||||
template <class LockType>
|
||||
class GenericScopedTryLock : Uncopyable
|
||||
class GenericScopedTryLock : public Uncopyable
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
@see ReadWriteLock, ScopedWriteLock
|
||||
*/
|
||||
class BEAST_API ScopedReadLock : Uncopyable
|
||||
class BEAST_API ScopedReadLock : public Uncopyable
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
@see ReadWriteLock, ScopedReadLock
|
||||
*/
|
||||
class BEAST_API ScopedWriteLock : Uncopyable
|
||||
class BEAST_API ScopedWriteLock : public Uncopyable
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
@see CriticalSection
|
||||
*/
|
||||
class BEAST_API SpinLock : Uncopyable
|
||||
class BEAST_API SpinLock : public Uncopyable
|
||||
{
|
||||
public:
|
||||
inline SpinLock() noexcept {}
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
@see CriticalSection, WaitableEvent, Process, ThreadWithProgressWindow,
|
||||
MessageManagerLock
|
||||
*/
|
||||
class BEAST_API Thread : LeakChecked <Thread>, Uncopyable
|
||||
class BEAST_API Thread : LeakChecked <Thread>, public Uncopyable
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
is deleted.
|
||||
*/
|
||||
template <typename Type>
|
||||
class ThreadLocalValue : Uncopyable
|
||||
class ThreadLocalValue : public Uncopyable
|
||||
{
|
||||
public:
|
||||
/** */
|
||||
@@ -170,7 +170,7 @@ public:
|
||||
private:
|
||||
//==============================================================================
|
||||
#if BEAST_NO_COMPILER_THREAD_LOCAL
|
||||
struct ObjectHolder : Uncopyable
|
||||
struct ObjectHolder : public Uncopyable
|
||||
{
|
||||
ObjectHolder (const Thread::ThreadID& tid)
|
||||
: threadId (tid), object()
|
||||
|
||||
@@ -46,7 +46,7 @@ class ThreadPoolThread;
|
||||
|
||||
@see ThreadPool, Thread
|
||||
*/
|
||||
class BEAST_API ThreadPoolJob : LeakChecked <ThreadPoolJob>, Uncopyable
|
||||
class BEAST_API ThreadPoolJob : LeakChecked <ThreadPoolJob>, public Uncopyable
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
@@ -137,7 +137,7 @@ private:
|
||||
|
||||
@see ThreadPoolJob, Thread
|
||||
*/
|
||||
class BEAST_API ThreadPool : LeakChecked <ThreadPool>, Uncopyable
|
||||
class BEAST_API ThreadPool : LeakChecked <ThreadPool>, public Uncopyable
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
calling thread until another thread wakes it up by calling the signal()
|
||||
method.
|
||||
*/
|
||||
class BEAST_API WaitableEvent : LeakChecked <WaitableEvent>, Uncopyable
|
||||
class BEAST_API WaitableEvent : LeakChecked <WaitableEvent>, public Uncopyable
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
|
||||
Reference in new issue
Block a user