F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
Assert.hpp File Reference
#include <FpConfig.hpp>

Go to the source code of this file.

Classes

class  Fw::AssertHook
 

Namespaces

 Fw
 

Macros

#define FW_ASSERT_FIRST_ARG(ARG_0, ...)   ARG_0
 
#define FW_ASSERT_NO_FIRST_ARG(ARG_0, ...)   __VA_ARGS__
 
#define FW_ASSERT(...)   ((void)(FW_ASSERT_FIRST_ARG(__VA_ARGS__)))
 
#define FILE_NAME_ARG   const CHAR*
 
#define __has_feature(x)   0
 
#define CLANG_ANALYZER_NORETURN
 

Functions

NATIVE_INT_TYPE Fw::SwAssert (FILE_NAME_ARG file, NATIVE_UINT_TYPE lineNo) CLANG_ANALYZER_NORETURN
 Assert with no arguments. More...
 
NATIVE_INT_TYPE Fw::SwAssert (FILE_NAME_ARG file, FwAssertArgType arg1, NATIVE_UINT_TYPE lineNo) CLANG_ANALYZER_NORETURN
 Assert with one argument. More...
 
NATIVE_INT_TYPE Fw::SwAssert (FILE_NAME_ARG file, FwAssertArgType arg1, FwAssertArgType arg2, NATIVE_UINT_TYPE lineNo) CLANG_ANALYZER_NORETURN
 Assert with two arguments. More...
 
NATIVE_INT_TYPE Fw::SwAssert (FILE_NAME_ARG file, FwAssertArgType arg1, FwAssertArgType arg2, FwAssertArgType arg3, NATIVE_UINT_TYPE lineNo) CLANG_ANALYZER_NORETURN
 Assert with three arguments. More...
 
NATIVE_INT_TYPE Fw::SwAssert (FILE_NAME_ARG file, FwAssertArgType arg1, FwAssertArgType arg2, FwAssertArgType arg3, FwAssertArgType arg4, NATIVE_UINT_TYPE lineNo) CLANG_ANALYZER_NORETURN
 Assert with four arguments. More...
 
NATIVE_INT_TYPE Fw::SwAssert (FILE_NAME_ARG file, FwAssertArgType arg1, FwAssertArgType arg2, FwAssertArgType arg3, FwAssertArgType arg4, FwAssertArgType arg5, NATIVE_UINT_TYPE lineNo) CLANG_ANALYZER_NORETURN
 Assert with five arguments. More...
 
NATIVE_INT_TYPE Fw::SwAssert (FILE_NAME_ARG file, FwAssertArgType arg1, FwAssertArgType arg2, FwAssertArgType arg3, FwAssertArgType arg4, FwAssertArgType arg5, FwAssertArgType arg6, NATIVE_UINT_TYPE lineNo) CLANG_ANALYZER_NORETURN
 Assert with six arguments. More...
 

Macro Definition Documentation

◆ __has_feature

#define __has_feature (   x)    0

Definition at line 47 of file Assert.hpp.

◆ CLANG_ANALYZER_NORETURN

#define CLANG_ANALYZER_NORETURN

Definition at line 52 of file Assert.hpp.

◆ FILE_NAME_ARG

#define FILE_NAME_ARG   const CHAR*

Definition at line 16 of file Assert.hpp.

◆ FW_ASSERT

#define FW_ASSERT (   ...)    ((void)(FW_ASSERT_FIRST_ARG(__VA_ARGS__)))

Definition at line 14 of file Assert.hpp.

◆ FW_ASSERT_FIRST_ARG

#define FW_ASSERT_FIRST_ARG (   ARG_0,
  ... 
)    ARG_0

Definition at line 7 of file Assert.hpp.

◆ FW_ASSERT_NO_FIRST_ARG

#define FW_ASSERT_NO_FIRST_ARG (   ARG_0,
  ... 
)    __VA_ARGS__

Definition at line 9 of file Assert.hpp.