![]() |
F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Svc/AssertFatalAdapter/AssertFatalAdapterComponentImpl.hpp>
Public Member Functions | |
AssertFatalAdapterComponentImpl (const char *const compName) | |
void | init (const NATIVE_INT_TYPE instance=0) |
~AssertFatalAdapterComponentImpl () | |
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) |
Report the assert as a FATAL. More... | |
![]() | |
void | init (NATIVE_INT_TYPE instance=0) |
Initialize AssertFatalAdapterComponentBase object. More... | |
void | set_Log_OutputPort (NATIVE_INT_TYPE portNum, Fw::InputLogPort *port) |
Connect port to Log[portNum]. More... | |
void | set_Time_OutputPort (NATIVE_INT_TYPE portNum, Fw::InputTimePort *port) |
Connect port to Time[portNum]. More... | |
![]() | |
void | setIdBase (const U32) |
Set the ID base. More... | |
U32 | getIdBase () const |
Additional Inherited Members | |
![]() | |
enum | { NUM_LOG_OUTPUT_PORTS = 1 , NUM_LOGTEXT_OUTPUT_PORTS = 1 , NUM_TIME_OUTPUT_PORTS = 1 } |
Enumerations for numbers of special output ports. More... | |
enum | { EVENTID_AF_ASSERT_0 = 0x0 , EVENTID_AF_ASSERT_1 = 0x1 , EVENTID_AF_ASSERT_2 = 0x2 , EVENTID_AF_ASSERT_3 = 0x3 , EVENTID_AF_ASSERT_4 = 0x4 , EVENTID_AF_ASSERT_5 = 0x5 , EVENTID_AF_ASSERT_6 = 0x6 , EVENTID_AF_UNEXPECTED_ASSERT = 0x7 } |
Event IDs. More... | |
![]() | |
AssertFatalAdapterComponentBase (const char *compName="") | |
Construct AssertFatalAdapterComponentBase object. More... | |
virtual | ~AssertFatalAdapterComponentBase () |
Destroy AssertFatalAdapterComponentBase object. More... | |
NATIVE_INT_TYPE | getNum_Log_OutputPorts () const |
NATIVE_INT_TYPE | getNum_Time_OutputPorts () const |
bool | isConnected_Log_OutputPort (NATIVE_INT_TYPE portNum) |
bool | isConnected_Time_OutputPort (NATIVE_INT_TYPE portNum) |
void | log_FATAL_AF_ASSERT_0 (const Fw::LogStringArg &file, U32 line) |
void | log_FATAL_AF_ASSERT_1 (const Fw::LogStringArg &file, U32 line, U32 arg1) |
void | log_FATAL_AF_ASSERT_2 (const Fw::LogStringArg &file, U32 line, U32 arg1, U32 arg2) |
void | log_FATAL_AF_ASSERT_3 (const Fw::LogStringArg &file, U32 line, U32 arg1, U32 arg2, U32 arg3) |
void | log_FATAL_AF_ASSERT_4 (const Fw::LogStringArg &file, U32 line, U32 arg1, U32 arg2, U32 arg3, U32 arg4) |
void | log_FATAL_AF_ASSERT_5 (const Fw::LogStringArg &file, U32 line, U32 arg1, U32 arg2, U32 arg3, U32 arg4, U32 arg5) |
void | log_FATAL_AF_ASSERT_6 (const Fw::LogStringArg &file, U32 line, U32 arg1, U32 arg2, U32 arg3, U32 arg4, U32 arg5, U32 arg6) |
void | log_FATAL_AF_UNEXPECTED_ASSERT (const Fw::LogStringArg &file, U32 line, U32 numArgs) |
Fw::Time | getTime () |
![]() | |
PassiveComponentBase (const char *name) | |
Named constructor. More... | |
virtual | ~PassiveComponentBase () |
Destructor. More... | |
void | init (NATIVE_INT_TYPE instance) |
Initialization function. More... | |
NATIVE_INT_TYPE | getInstance () const |
![]() | |
ObjBase (const char *name) | |
ObjBase constructor. More... | |
virtual | ~ObjBase () |
Destructor. More... | |
void | init () |
Object initializer. More... | |
Definition at line 20 of file AssertFatalAdapterComponentImpl.hpp.
Svc::AssertFatalAdapterComponentImpl::AssertFatalAdapterComponentImpl | ( | const char *const | compName | ) |
Construct object AssertFatalAdapter
compName | The component name |
Definition at line 45 of file AssertFatalAdapterComponentImpl.cpp.
Svc::AssertFatalAdapterComponentImpl::~AssertFatalAdapterComponentImpl | ( | ) |
Destroy object AssertFatalAdapter
Definition at line 65 of file AssertFatalAdapterComponentImpl.cpp.
void Svc::AssertFatalAdapterComponentImpl::init | ( | const NATIVE_INT_TYPE | instance = 0 | ) |
Initialize object AssertFatalAdapter
instance | The instance number |
Definition at line 57 of file AssertFatalAdapterComponentImpl.cpp.
void Svc::AssertFatalAdapterComponentImpl::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 | ||
) |
Report the assert as a FATAL.
Definition at line 107 of file AssertFatalAdapterComponentImpl.cpp.