F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
FatalHandlerComponentVxWorksImpl.cpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title FatalHandlerImpl.cpp
3
// \author tcanham
4
// \brief cpp file for FatalHandler component implementation class
5
//
6
// \copyright
7
// Copyright 2009-2015, by the California Institute of Technology.
8
// ALL RIGHTS RESERVED. United States Government Sponsorship
9
// acknowledged.
10
//
11
// ======================================================================
12
13
#include <
Svc/FatalHandler/FatalHandlerComponentImpl.hpp
>
14
#include <
FpConfig.hpp
>
15
#include <taskLib.h>
16
#include <
Fw/Logger/Logger.hpp
>
17
18
namespace
Svc
{
19
20
void
FatalHandlerComponentImpl::FatalReceive_handler(
21
const
NATIVE_INT_TYPE
portNum,
22
FwEventIdType
Id) {
23
Fw::Logger::logMsg
(
"FATAL %d handled.\n"
,Id,0,0,0,0,0);
24
taskSuspend(0);
25
}
26
27
}
// end namespace Svc
NATIVE_INT_TYPE
PlatformIntType NATIVE_INT_TYPE
Definition:
BasicTypes.h:51
FatalHandlerComponentImpl.hpp
FwEventIdType
U32 FwEventIdType
Definition:
FpConfig.h:62
FpConfig.hpp
C++-compatible configuration header for fprime configuration.
Logger.hpp
Fw::Logger::logMsg
static void logMsg(const char *fmt, POINTER_CAST a0=0, POINTER_CAST a1=0, POINTER_CAST a2=0, POINTER_CAST a3=0, POINTER_CAST a4=0, POINTER_CAST a5=0, POINTER_CAST a6=0, POINTER_CAST a7=0, POINTER_CAST a8=0, POINTER_CAST a9=0)
Definition:
Logger.cpp:18
Svc
Definition:
ActiveRateGroupCfg.hpp:18
Svc
FatalHandler
FatalHandlerComponentVxWorksImpl.cpp
Generated by
1.9.1