F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
LogAssert.hpp
Go to the documentation of this file.
1
/*
2
* LogAssert.hpp
3
*
4
* Created on: Sep 9, 2016
5
* Author: tcanham
6
* Note: this file was originally a log assert file, under Fw::Types. It now made generic
7
* to log asserts to Fw::Logger
8
*/
9
10
#ifndef LOGGER_LOGASSERT_HPP_
11
#define LOGGER_LOGASSERT_HPP_
12
13
#include <
Fw/Types/Assert.hpp
>
14
15
namespace
Fw
{
16
17
class
LogAssertHook
:
public
Fw::AssertHook {
18
public
:
19
LogAssertHook
();
20
virtual
~LogAssertHook
();
21
void
reportAssert
(
22
FILE_NAME_ARG file,
23
NATIVE_UINT_TYPE
lineNo,
24
NATIVE_UINT_TYPE
numArgs,
25
FwAssertArgType
arg1,
26
FwAssertArgType
arg2,
27
FwAssertArgType
arg3,
28
FwAssertArgType
arg4,
29
FwAssertArgType
arg5,
30
FwAssertArgType
arg6
31
);
32
void
printAssert
(
const
CHAR
* msg);
33
void
doAssert
();
34
};
35
36
}
37
38
#endif
/* VXWORKSLOGASSERT_HPP_ */
Assert.hpp
CHAR
char CHAR
Definition
BasicTypes.h:28
NATIVE_UINT_TYPE
PlatformUIntType NATIVE_UINT_TYPE
Definition
BasicTypes.h:52
FwAssertArgType
PlatformAssertArgType FwAssertArgType
Definition
FpConfig.h:21
Fw::LogAssertHook
Definition
LogAssert.hpp:17
Fw::LogAssertHook::doAssert
void doAssert()
Fw::LogAssertHook::LogAssertHook
LogAssertHook()
Fw::LogAssertHook::~LogAssertHook
virtual ~LogAssertHook()
Fw::LogAssertHook::printAssert
void printAssert(const CHAR *msg)
Fw::LogAssertHook::reportAssert
void reportAssert(FILE_NAME_ARG file, NATIVE_UINT_TYPE lineNo, NATIVE_UINT_TYPE numArgs, FwAssertArgType arg1, FwAssertArgType arg2, FwAssertArgType arg3, FwAssertArgType arg4, FwAssertArgType arg5, FwAssertArgType arg6)
Fw
Definition
Buffer.cpp:21
Fw
Logger
LogAssert.hpp
Generated by
1.9.7