F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
Svc::AssertFatalAdapterComponentImpl Class Reference

#include <Svc/AssertFatalAdapter/AssertFatalAdapterComponentImpl.hpp>

Inheritance diagram for Svc::AssertFatalAdapterComponentImpl:
Svc::AssertFatalAdapterComponentBase Fw::PassiveComponentBase Fw::ObjBase

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...
 
- Public Member Functions inherited from Svc::AssertFatalAdapterComponentBase
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...
 
- Public Member Functions inherited from Fw::PassiveComponentBase
void setIdBase (const U32)
 Set the ID base. More...
 
U32 getIdBase () const
 

Additional Inherited Members

- Protected Types inherited from Svc::AssertFatalAdapterComponentBase
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...
 
- Protected Member Functions inherited from Svc::AssertFatalAdapterComponentBase
 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 ()
 
- Protected Member Functions inherited from Fw::PassiveComponentBase
 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
 
- Protected Member Functions inherited from Fw::ObjBase
 ObjBase (const char *name)
 ObjBase constructor. More...
 
virtual ~ObjBase ()
 Destructor. More...
 
void init ()
 Object initializer. More...
 

Detailed Description

Definition at line 20 of file AssertFatalAdapterComponentImpl.hpp.

Constructor & Destructor Documentation

◆ AssertFatalAdapterComponentImpl()

Svc::AssertFatalAdapterComponentImpl::AssertFatalAdapterComponentImpl ( const char *const  compName)

Construct object AssertFatalAdapter

Parameters
compNameThe component name

Definition at line 45 of file AssertFatalAdapterComponentImpl.cpp.

◆ ~AssertFatalAdapterComponentImpl()

Svc::AssertFatalAdapterComponentImpl::~AssertFatalAdapterComponentImpl ( )

Destroy object AssertFatalAdapter

Definition at line 65 of file AssertFatalAdapterComponentImpl.cpp.

Member Function Documentation

◆ init()

void Svc::AssertFatalAdapterComponentImpl::init ( const NATIVE_INT_TYPE  instance = 0)

Initialize object AssertFatalAdapter

Parameters
instanceThe instance number

Definition at line 57 of file AssertFatalAdapterComponentImpl.cpp.

◆ reportAssert()

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.


The documentation for this class was generated from the following files: