F´ Flight Software - C/C++ Documentation
devel
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
d
e
f
g
h
l
o
p
r
s
t
u
w
Enumerations
Enumerator
a
b
c
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
o
p
q
r
s
t
u
w
Typedefs
c
e
s
t
u
w
Enumerations
b
c
d
g
h
m
o
q
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Related Symbols
a
b
c
d
f
g
h
l
p
r
s
t
u
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
l
m
n
p
r
s
t
u
v
Functions
c
i
m
p
s
u
Variables
_
b
c
f
i
l
p
r
s
Typedefs
b
c
f
i
n
p
s
u
Enumerations
Enumerator
a
b
c
d
f
g
h
p
r
s
t
Macros
_
a
c
d
f
g
h
i
l
m
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
LinuxTimerComponentImpl.hpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title LinuxTimerImpl.hpp
3
// \author tim
4
// \brief hpp 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
#ifndef LinuxTimer_HPP
14
#define LinuxTimer_HPP
15
16
#include "
Os/Mutex.hpp
"
17
#include "
Svc/LinuxTimer/LinuxTimerComponentAc.hpp
"
18
19
namespace
Svc
{
20
21
class
LinuxTimerComponentImpl
:
22
public
LinuxTimerComponentBase
23
{
24
25
public
:
26
27
// ----------------------------------------------------------------------
28
// Construction, initialization, and destruction
29
// ----------------------------------------------------------------------
30
33
LinuxTimerComponentImpl
(
34
const
char
*
const
compName
35
);
36
39
void
init
(
40
const
NATIVE_INT_TYPE
instance = 0
41
);
42
45
~LinuxTimerComponentImpl
();
46
48
void
startTimer
(
NATIVE_INT_TYPE
interval);
49
51
void
quit
();
52
53
PRIVATE:
54
55
Os::Mutex
m_mutex;
56
57
volatile
bool
m_quit;
58
59
Svc::TimerVal
m_timer;
60
61
62
};
21
class
LinuxTimerComponentImpl
: {
…
};
63
64
}
// end namespace Svc
65
66
#endif
NATIVE_INT_TYPE
PlatformIntType NATIVE_INT_TYPE
Definition
BasicTypes.h:51
LinuxTimerComponentAc.hpp
Mutex.hpp
Fw::ObjBase::init
void init()
Object initializer.
Definition
ObjBase.cpp:27
Os::Mutex
Definition
Mutex.hpp:8
Svc::LinuxTimerComponentBase
Auto-generated base for LinuxTimer component.
Definition
LinuxTimerComponentAc.hpp:24
Svc::LinuxTimerComponentImpl
Definition
LinuxTimerComponentImpl.hpp:23
Svc::LinuxTimerComponentImpl::quit
void quit()
Quit timer.
Definition
LinuxTimerComponentImplCommon.cpp:46
Svc::LinuxTimerComponentImpl::~LinuxTimerComponentImpl
~LinuxTimerComponentImpl()
Definition
LinuxTimerComponentImplCommon.cpp:41
Svc::LinuxTimerComponentImpl::startTimer
void startTimer(NATIVE_INT_TYPE interval)
Start timer.
Definition
LinuxTimerComponentImplTaskDelay.cpp:20
Svc::LinuxTimerComponentImpl::LinuxTimerComponentImpl
LinuxTimerComponentImpl(const char *const compName)
Definition
LinuxTimerComponentImplCommon.cpp:24
Svc::TimerVal
Serializable class for carrying timer values.
Definition
TimerVal.hpp:22
Svc
Definition
ActiveRateGroupCfg.hpp:18
Svc
LinuxTimer
LinuxTimerComponentImpl.hpp
Generated by
1.10.0