F´ Flight Software - C/C++ Documentation
NASA-v1.5.0
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
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
g
h
i
m
r
s
t
v
w
Variables
Typedefs
Enumerations
Enumerator
a
b
c
f
h
i
l
m
n
o
p
s
t
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
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
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
c
t
u
w
Enumerations
b
c
d
e
f
g
h
i
m
o
p
q
s
t
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
w
Related Functions
a
b
c
f
g
h
l
p
r
s
t
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Functions
f
i
m
s
u
Variables
_
c
f
i
l
p
t
Typedefs
Enumerations
Enumerator
a
c
d
f
i
m
p
r
s
t
w
Macros
a
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
CAssert.hpp
Go to the documentation of this file.
1
/*
2
* FwCAssert.hpp
3
*
4
* Created on: Jun 8, 2014
5
* Author: tcanham
6
*/
7
8
#ifndef FWCASSERT_HPP_
9
#define FWCASSERT_HPP_
10
11
#include <
FpConfig.hpp
>
12
#include <
Fw/Types/BasicTypes.hpp
>
13
14
#if FW_ASSERT_LEVEL == FW_NO_ASSERT
15
16
#define FW_CASSERT(...)
17
18
#else // ASSERT is defined
19
20
#if FW_ASSERT_LEVEL == FW_FILEID_ASSERT
21
#define FILE_NAME_ARG NATIVE_UINT_TYPE
22
#define FW_CASSERT(cond) \
23
((void) ((cond) ? (0) : \
24
(CAssert0(ASSERT_FILE_ID, __LINE__))))
25
#else
26
#define FILE_NAME_ARG U8*
27
#define FW_CASSERT(cond) \
28
((void) ((cond) ? (0) : \
29
(CAssert0((U8*)__FILE__, __LINE__))))
30
#endif
31
32
#ifdef __cplusplus
33
extern
"C"
{
34
#endif // __cplusplus
35
36
I32 CAssert0(FILE_NAME_ARG file, U32 lineNo);
37
I32 CAssert1(FILE_NAME_ARG file, U32 lineNo,
NATIVE_INT_TYPE
arg1);
38
39
#ifdef __cplusplus
40
}
// extern "C"
41
#endif // __cplusplus
42
43
44
45
#endif // ASSERT is defined
46
#endif
/* FWCASSERT_HPP_ */
FpConfig.hpp
ISF configuration file.
BasicTypes.hpp
Declares ISF basic types.
NATIVE_INT_TYPE
int NATIVE_INT_TYPE
native integer type declaration
Definition:
BasicTypes.hpp:29
Fw
Types
CAssert.hpp
Generated by
1.8.19