F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Toggle main menu visibility
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
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
o
p
r
s
t
u
v
w
Variables
b
c
f
g
k
l
m
o
p
r
s
t
u
w
z
Typedefs
a
b
c
d
e
f
g
h
i
l
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
f
h
i
k
n
o
p
s
v
Classes
Class List
Class Index
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
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
e
f
i
m
r
s
t
w
Enumerations
b
c
d
f
g
h
m
o
q
r
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Related Symbols
:
a
b
c
d
f
g
h
l
p
q
r
s
t
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Functions
f
g
i
m
p
r
s
t
u
Variables
_
b
c
f
g
i
l
p
r
s
w
Typedefs
a
b
c
e
f
i
n
p
s
t
u
Enumerations
Enumerator
a
b
c
f
g
h
p
r
s
t
Macros
_
a
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
►
F´ Flight Software - C/C++ Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
LockGuard.hpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title LockGuard.hpp
3
// \author vwong
4
// \brief hpp file for a RAII-style lock guard utility class
5
//
6
// \copyright
7
// Copyright (C) 2009-2020 California Institute of Technology.
8
// ALL RIGHTS RESERVED. United States Government Sponsorship
9
// acknowledged.
10
// ======================================================================
11
12
#ifndef LockGuard_HPP
13
#define LockGuard_HPP
14
15
#include <
FpConfig.hpp
>
16
#include <
Os/Mutex.hpp
>
17
18
namespace
Utils
{
19
20
class
LockGuard
21
{
22
23
public
:
24
25
// Construct and lock associated mutex
26
LockGuard
(
Os::Mutex
& mutex);
27
28
// Destruct and unlock associated mutex
29
~LockGuard
();
30
31
private
:
32
33
// parameters
34
Os::Mutex
& m_mutex;
35
};
20
class
LockGuard
{
…
};
36
37
}
// end namespace Utils
38
39
#endif
FpConfig.hpp
C++-compatible configuration header for fprime configuration.
Mutex.hpp
Os::Mutex
Definition
Mutex.hpp:8
Utils::LockGuard
Definition
LockGuard.hpp:21
Utils::LockGuard::LockGuard
LockGuard(Os::Mutex &mutex)
Definition
LockGuard.cpp:18
Utils::LockGuard::~LockGuard
~LockGuard()
Definition
LockGuard.cpp:27
Utils
Definition
CRCChecker.cpp:20
Utils
LockGuard.hpp
Generated by
1.10.0