Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
Enumerator
a
c
d
e
f
i
l
m
n
o
r
t
u
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
i
l
m
n
o
p
q
r
s
t
v
Enumerations
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Variables
_
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Typedefs
b
c
f
h
i
l
p
r
s
t
u
Enumerations
Enumerator
c
d
e
i
o
p
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
include
sick_scan
tcp
Mutex.hpp
Go to the documentation of this file.
1
#include "
sick_scan/sick_scan_base.h
"
/* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */
6
#ifndef MUTEX_HPP
7
#define MUTEX_HPP
8
9
#include <mutex>
10
#include <thread>
11
12
#include "
sick_scan/tcp/BasicDatatypes.hpp
"
13
// #include <pthread.h>
14
15
16
//
17
// Mutex class
18
//
19
class
Mutex
20
{
21
public
:
22
Mutex
();
23
~Mutex
();
24
25
void
lock
();
26
void
unlock
();
27
28
private
:
29
std::mutex
m_mutex
;
30
// pthread_mutex_t m_mutex;
31
};
32
33
34
35
//
36
// Scoped Lock.
37
// Zerstoert das Mutex automatisch.
38
//
39
class
ScopedLock
40
{
41
public
:
42
ScopedLock
(
Mutex
* mutexPtr);
43
~ScopedLock
();
44
private
:
45
Mutex
*
m_mutexPtr
;
46
};
47
48
49
#endif // MUTEX_HPP
Mutex::lock
void lock()
Definition:
Mutex.cpp:47
ScopedLock
Definition:
Mutex.hpp:39
BasicDatatypes.hpp
ScopedLock::ScopedLock
ScopedLock(Mutex *mutexPtr)
Definition:
Mutex.cpp:14
Mutex::~Mutex
~Mutex()
Definition:
Mutex.cpp:43
ScopedLock::~ScopedLock
~ScopedLock()
Definition:
Mutex.cpp:25
Mutex
Definition:
Mutex.hpp:19
Mutex::Mutex
Mutex()
Definition:
Mutex.cpp:38
sick_scan_base.h
ScopedLock::m_mutexPtr
Mutex * m_mutexPtr
Definition:
Mutex.hpp:45
Mutex::m_mutex
std::mutex m_mutex
Definition:
Mutex.hpp:29
Mutex::unlock
void unlock()
Definition:
Mutex.cpp:53
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof
, Martin Günther
autogenerated on Fri Oct 25 2024 02:47:09