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
CAssert.h
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.h
>
12
13
#if FW_ASSERT_LEVEL == FW_NO_ASSERT
14
15
#define FW_CASSERT(...)
16
17
#else
// ASSERT is defined
18
19
#if FW_ASSERT_LEVEL == FW_FILEID_ASSERT
20
#define FILE_NAME_ARG NATIVE_UINT_TYPE
21
#define FW_CASSERT(cond) ((void)((cond) ? (0) : (CAssert0(ASSERT_FILE_ID, __LINE__))))
22
#else
23
#define FILE_NAME_ARG const CHAR*
24
#define FW_CASSERT(cond) ((void)((cond) ? (0) : (CAssert0((FILE_NAME_ARG)(__FILE__), __LINE__))))
25
#endif
26
27
I32
CAssert0
(
FILE_NAME_ARG
file, U32 lineNo);
28
I32 CAssert1(
FILE_NAME_ARG
file, U32 lineNo,
NATIVE_INT_TYPE
arg1);
29
30
#endif
// ASSERT is defined
31
#endif
/* FWCASSERT_HPP_ */
CAssert0
NATIVE_INT_TYPE CAssert0(FILE_NAME_ARG file, NATIVE_UINT_TYPE lineNo)
Definition
Assert.cpp:266
FILE_NAME_ARG
#define FILE_NAME_ARG
Definition
Assert.hpp:16
NATIVE_INT_TYPE
PlatformIntType NATIVE_INT_TYPE
Definition
BasicTypes.h:51
FpConfig.h
C-compatible configuration header for fprime configuration.
Fw
Types
CAssert.h
Generated by
1.10.0