F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
Assert.cpp File Reference
#include <Fw/FPrimeBasicTypes.hpp>
#include <Fw/Types/Assert.hpp>
#include <Fw/Types/format.hpp>
#include <Fw/Types/StringUtils.hpp>
#include <cassert>
#include <cstdio>

Go to the source code of this file.

Namespaces

 Fw
 

Macros

#define fileIdFs   "Assert: 0x%08" PRIx32 ":%" PRI_PlatformUIntType
 

Functions

void Fw::defaultPrintAssert (const CHAR *msg)
 
void Fw::defaultReportAssert (FILE_NAME_ARG file, FwSizeType lineNo, FwSizeType numArgs, FwAssertArgType arg1, FwAssertArgType arg2, FwAssertArgType arg3, FwAssertArgType arg4, FwAssertArgType arg5, FwAssertArgType arg6, CHAR *destBuffer, FwSizeType buffSize)
 
I8 Fw::defaultSwAssert (FILE_NAME_ARG file, FwSizeType lineNo, FwSizeType numArgs, FwAssertArgType arg1, FwAssertArgType arg2, FwAssertArgType arg3, FwAssertArgType arg4, FwAssertArgType arg5, FwAssertArgType arg6)
 
I8 Fw::SwAssert (FILE_NAME_ARG file, FwSizeType lineNo) CLANG_ANALYZER_NORETURN
 Assert with no arguments. More...
 
I8 Fw::SwAssert (FILE_NAME_ARG file, FwAssertArgType arg1, FwSizeType lineNo) CLANG_ANALYZER_NORETURN
 Assert with one argument. More...
 
I8 Fw::SwAssert (FILE_NAME_ARG file, FwAssertArgType arg1, FwAssertArgType arg2, FwSizeType lineNo) CLANG_ANALYZER_NORETURN
 Assert with two arguments. More...
 
I8 Fw::SwAssert (FILE_NAME_ARG file, FwAssertArgType arg1, FwAssertArgType arg2, FwAssertArgType arg3, FwSizeType lineNo) CLANG_ANALYZER_NORETURN
 Assert with three arguments. More...
 
I8 Fw::SwAssert (FILE_NAME_ARG file, FwAssertArgType arg1, FwAssertArgType arg2, FwAssertArgType arg3, FwAssertArgType arg4, FwSizeType lineNo) CLANG_ANALYZER_NORETURN
 Assert with four arguments. More...
 
I8 Fw::SwAssert (FILE_NAME_ARG file, FwAssertArgType arg1, FwAssertArgType arg2, FwAssertArgType arg3, FwAssertArgType arg4, FwAssertArgType arg5, FwSizeType lineNo) CLANG_ANALYZER_NORETURN
 Assert with five arguments. More...
 
I8 Fw::SwAssert (FILE_NAME_ARG file, FwAssertArgType arg1, FwAssertArgType arg2, FwAssertArgType arg3, FwAssertArgType arg4, FwAssertArgType arg5, FwAssertArgType arg6, FwSizeType lineNo) CLANG_ANALYZER_NORETURN
 Assert with six arguments. More...
 
I8 CAssert0 (FILE_NAME_ARG file, FwSizeType lineNo)
 

Variables

STATIC AssertHook * Fw::s_assertHook = nullptr
 

Macro Definition Documentation

◆ fileIdFs

#define fileIdFs   "Assert: 0x%08" PRIx32 ":%" PRI_PlatformUIntType

Definition at line 9 of file Assert.cpp.

Function Documentation

◆ CAssert0()

I8 CAssert0 ( FILE_NAME_ARG  file,
FwSizeType  lineNo 
)

Definition at line 185 of file Assert.cpp.