F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
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
c
d
e
g
i
m
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Enumerator
a
c
e
f
h
i
m
n
o
p
s
u
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
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Typedefs
c
e
p
s
t
u
Enumerations
b
c
d
g
h
l
m
o
p
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Related Functions
a
b
c
d
f
g
h
l
p
r
s
t
u
v
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
l
m
n
p
q
r
s
t
u
v
Functions
c
i
m
s
u
Variables
b
c
d
i
p
s
Typedefs
b
c
d
f
i
m
n
p
q
r
s
t
u
Enumerations
Enumerator
a
b
c
d
f
g
h
p
r
s
t
Macros
_
a
c
d
f
h
l
m
p
r
s
u
v
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
LinuxTimerComponentImplCommon.cpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title LinuxTimerImpl.cpp
3
// \author tim
4
// \brief cpp file for LinuxTimer component implementation class
5
//
6
// \copyright
7
// Copyright 2009-2015, by the California Institute of Technology.
8
// ALL RIGHTS RESERVED. United States Government Sponsorship
9
// acknowledged.
10
//
11
// ======================================================================
12
13
14
#include <
Svc/LinuxTimer/LinuxTimerComponentImpl.hpp
>
15
#include <
FpConfig.hpp
>
16
17
namespace
Svc
{
18
19
// ----------------------------------------------------------------------
20
// Construction, initialization, and destruction
21
// ----------------------------------------------------------------------
22
23
LinuxTimerComponentImpl ::
24
LinuxTimerComponentImpl
(
25
const
char
*
const
compName
26
) :
LinuxTimerComponentBase
(compName),
27
m_quit(false)
28
{
29
30
}
31
32
LinuxTimerComponentImpl ::
33
~LinuxTimerComponentImpl
()
34
{
35
36
}
37
38
void
LinuxTimerComponentImpl::quit
() {
39
this->m_mutex.
lock
();
40
this->m_quit =
true
;
41
this->m_mutex.
unLock
();
42
}
43
44
}
// end namespace Svc
FpConfig.hpp
C++-compatible configuration header for fprime configuration.
LinuxTimerComponentImpl.hpp
Os::Mutex::unLock
void unLock()
unlock the mutex and assert success
Definition:
Mutex.cpp:40
Os::Mutex::lock
void lock()
lock the mutex and assert success
Definition:
Mutex.cpp:34
Svc::LinuxTimerComponentBase
Auto-generated base for LinuxTimer component.
Definition:
LinuxTimerComponentAc.hpp:24
Svc::LinuxTimerComponentImpl::quit
void quit()
Quit timer.
Definition:
LinuxTimerComponentImplCommon.cpp:38
Svc::LinuxTimerComponentImpl::~LinuxTimerComponentImpl
~LinuxTimerComponentImpl()
Definition:
LinuxTimerComponentImplCommon.cpp:33
Svc::LinuxTimerComponentImpl::LinuxTimerComponentImpl
LinuxTimerComponentImpl(const char *const compName)
Definition:
LinuxTimerComponentImplCommon.cpp:24
Svc
Definition:
ActiveRateGroupCfg.hpp:18
Svc
LinuxTimer
LinuxTimerComponentImplCommon.cpp
Generated by
1.9.1