F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
PrmBuffer.hpp
Go to the documentation of this file.
1
// ======================================================================
2
// @file PrmBuffer.hpp
3
// @author F Prime
4
// @brief A buffer sized for parameters
5
// ======================================================================
6
7
#ifndef FW_PRM_BUFFER_HPP
8
#define FW_PRM_BUFFER_HPP
9
10
#include "
Fw/Types/LinearBufferTemplate.hpp
"
11
#include "
Fw/Types/StringBase.hpp
"
12
13
namespace
Fw
{
14
15
static_assert(
FW_PARAM_BUFFER_MAX_SIZE
>=
StringBase::BUFFER_SIZE
(
FW_PARAM_STRING_MAX_SIZE
),
16
"param string must fit into param buffer"
);
17
18
using
ParamBuffer
=
LinearBufferTemplate<FW_PARAM_BUFFER_MAX_SIZE>
;
19
20
}
// namespace Fw
21
22
#endif
Fw::LinearBufferTemplate< FW_PARAM_BUFFER_MAX_SIZE >
FW_PARAM_BUFFER_MAX_SIZE
Definition:
FppConstantsAc.hpp:242
LinearBufferTemplate.hpp
FW_PARAM_STRING_MAX_SIZE
Definition:
FppConstantsAc.hpp:247
StringBase.hpp
Declares F Prime string base class.
Fw
Implementation of malloc based allocator.
Definition:
MemoryAllocation.hpp:14
Fw::ConstStringBase::BUFFER_SIZE
static constexpr SizeType BUFFER_SIZE(SizeType maxLength)
Get the size of a null-terminated string buffer.
Definition:
ConstStringBase.hpp:47
Fw
Prm
PrmBuffer.hpp
Generated by
1.8.14