FAST.Framework
1.0.0
include
FMutex.h
1
/******************************************************************************
2
**
3
** FAST.Framework
4
**
5
** Created: 2023-10-11
6
** Author: Boris Fast
7
** Mail: support@fast-framework.com
8
**
9
******************************************************************************/
10
11
#ifndef FMUTEX_H
12
#define FMUTEX_H
13
14
using namespace
std;
15
16
#include "FObject.h"
17
21
class
FMutex
:
public
FObject
22
{
23
public
:
24
FMutex
() =
default
;
25
virtual
~FMutex
() =
default
;
26
27
void
Lock()
const
;
28
void
Unlock()
const
;
29
Boolean TryLock()
const
;
30
31
static
void
LockGuard();
32
33
const
type_info& GetType()
override
;
34
FString
GetName()
const override
;
35
36
private
:
37
};
38
39
#endif
// FMUTEX_H
FMutex
Definition:
FMutex.h:22
FMutex::FMutex
FMutex()=default
Constructor of mutex object.
FMutex::~FMutex
virtual ~FMutex()=default
Destroy mutex object.
FObject
Definition:
FObject.h:50
FString
Definition:
FString.h:22
Generated by
1.9.1