F´ Flight Software - C/C++ Documentation
NASA-v1.6.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
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
r
s
t
v
w
Variables
Typedefs
Enumerations
Enumerator
a
b
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
x
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
d
e
f
g
h
i
l
m
n
p
q
r
s
t
u
v
w
x
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
w
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
Functions
i
m
p
s
u
Variables
Typedefs
Enumerations
Enumerator
c
d
e
f
m
o
p
r
s
t
v
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
ConfigCheck.cpp
Go to the documentation of this file.
1
13
#include <FpConfig.hpp>
14
#include <Fw/Types/BasicTypes.hpp>
15
16
// Check that command/telemetry strings are not larger than an argument buffer
17
18
static_assert(
FW_CMD_STRING_MAX_SIZE
<=
FW_CMD_ARG_BUFFER_MAX_SIZE
,
"FW_CMD_STRING_MAX_SIZE cannot be larger than FW_CMD_ARG_BUFFER_MAX_SIZE"
);
19
static_assert(
FW_LOG_STRING_MAX_SIZE
<=
FW_LOG_BUFFER_MAX_SIZE
,
"FW_LOG_STRING_MAX_SIZE cannot be larger than FW_LOG_BUFFER_MAX_SIZE"
);
20
static_assert(
FW_TLM_STRING_MAX_SIZE
<=
FW_TLM_BUFFER_MAX_SIZE
,
"FW_TLM_STRING_MAX_SIZE cannot be larger than FW_TLM_BUFFER_MAX_SIZE"
);
21
static_assert(
FW_PARAM_STRING_MAX_SIZE
<=
FW_PARAM_BUFFER_MAX_SIZE
,
"FW_PARAM_STRING_MAX_SIZE cannot be larger than FW_PARAM_BUFFER_MAX_SIZE"
);
22
23
// Text logging needs the code generator for serializables to generate a stringified version of the
24
// value.
25
static_assert((
FW_ENABLE_TEXT_LOGGING
== 0) || (
FW_SERIALIZABLE_TO_STRING
== 1),
"FW_SERIALIZABLE_TO_STRING must be enabled to enable FW_ENABLE_TEXT_LOGGING"
);
26
FW_PARAM_STRING_MAX_SIZE
#define FW_PARAM_STRING_MAX_SIZE
Max size of parameter string type.
Definition:
FpConfig.hpp:263
FW_LOG_STRING_MAX_SIZE
#define FW_LOG_STRING_MAX_SIZE
Max size of log string parameter type.
Definition:
FpConfig.hpp:243
FW_ENABLE_TEXT_LOGGING
#define FW_ENABLE_TEXT_LOGGING
Indicates whether text logging is turned on.
Definition:
FpConfig.hpp:278
FW_PARAM_BUFFER_MAX_SIZE
#define FW_PARAM_BUFFER_MAX_SIZE
Definition:
FpConfig.hpp:258
FW_TLM_STRING_MAX_SIZE
#define FW_TLM_STRING_MAX_SIZE
Max size of channelized telemetry string type.
Definition:
FpConfig.hpp:253
FW_TLM_BUFFER_MAX_SIZE
#define FW_TLM_BUFFER_MAX_SIZE
Definition:
FpConfig.hpp:248
FW_CMD_STRING_MAX_SIZE
#define FW_CMD_STRING_MAX_SIZE
Max character size of command string arguments.
Definition:
FpConfig.hpp:223
FW_LOG_BUFFER_MAX_SIZE
#define FW_LOG_BUFFER_MAX_SIZE
Definition:
FpConfig.hpp:238
FW_SERIALIZABLE_TO_STRING
#define FW_SERIALIZABLE_TO_STRING
Indicates if autocoded serializables have toString() methods.
Definition:
FpConfig.hpp:289
FW_CMD_ARG_BUFFER_MAX_SIZE
#define FW_CMD_ARG_BUFFER_MAX_SIZE
Definition:
FpConfig.hpp:218
Fw
Cfg
ConfigCheck.cpp
Generated by
1.8.17