F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
Toggle main menu visibility
Main Page
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 Symbols
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
Loading...
Searching...
No Matches
FatalHandlerComponentBaremetalImpl.cpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title FatalHandlerImpl.cpp
3
// \author lestarch
4
// \brief cpp file for FatalHandler component implementation class
5
// ======================================================================
6
7
#include <cstdlib>
8
#include <
Fw/Logger/Logger.hpp
>
9
#include <
Svc/FatalHandler/FatalHandlerComponentImpl.hpp
>
10
#include <
FpConfig.hpp
>
11
12
namespace
Svc
{
13
14
// ----------------------------------------------------------------------
15
// Handler implementations for user-defined typed input ports
16
// ----------------------------------------------------------------------
17
18
void
FatalHandlerComponentImpl::FatalReceive_handler(
19
const
NATIVE_INT_TYPE
portNum,
20
FwEventIdType
Id) {
21
Fw::Logger::log
(
"FATAL %"
PRI_FwEventIdType
"handled.\n"
,Id);
22
while
(
true
) {}
// Returning might be bad
23
}
24
25
}
// end namespace Svc
NATIVE_INT_TYPE
PlatformIntType NATIVE_INT_TYPE
Definition
BasicTypes.h:55
FatalHandlerComponentImpl.hpp
FwEventIdType
U32 FwEventIdType
Definition
FpConfig.h:103
PRI_FwEventIdType
#define PRI_FwEventIdType
Definition
FpConfig.h:104
FpConfig.hpp
C++-compatible configuration header for fprime configuration.
Logger.hpp
Fw::Logger::log
static void log(const char *format,...)
log a formated string with supplied arguments
Definition
Logger.cpp:21
Svc
Definition
ActiveRateGroupCfg.hpp:18
Svc
FatalHandler
FatalHandlerComponentBaremetalImpl.cpp
Generated by
1.9.8