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
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
g
h
i
m
o
p
r
s
t
v
w
Variables
Typedefs
a
b
c
e
f
g
h
l
n
o
p
r
s
t
w
Enumerations
Enumerator
a
b
f
h
i
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
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
a
b
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
u
v
w
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
w
Related Symbols
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
Functions
f
i
m
p
r
s
t
u
Variables
Typedefs
a
b
c
e
f
i
n
p
s
u
Enumerations
Enumerator
Macros
_
a
c
d
f
g
h
i
l
m
p
r
s
t
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
LockGuard.cpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title LockGuard.cpp
3
// \author vwong
4
// \brief cpp file for a lock guard utility class
5
//
6
//
7
// \copyright
8
// Copyright (C) 2009-2020 California Institute of Technology.
9
// ALL RIGHTS RESERVED. United States Government Sponsorship
10
// acknowledged.
11
// ======================================================================
12
13
#include "
Utils/LockGuard.hpp
"
14
15
namespace
Utils
{
16
17
LockGuard ::
18
LockGuard (
19
Os::Mutex
& mutex
20
) :
21
m_mutex(mutex)
22
{
23
this->m_mutex.
lock
();
24
}
25
26
LockGuard ::
27
~LockGuard ()
28
{
29
this->m_mutex.unLock();
30
}
31
32
}
// end namespace Utils
LockGuard.hpp
Os::Mutex
Definition
Mutex.hpp:8
Os::Mutex::lock
void lock()
lock the mutex
Definition
Mutex.cpp:12
Utils
Definition
CRCChecker.cpp:20
Utils
LockGuard.cpp
Generated by
1.9.7