F´ Flight Software - C/C++ Documentation  NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
FatalHandlerComponentImpl.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title FatalHandlerImpl.hpp
3 // \author tcanham
4 // \brief hpp 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 #ifndef FatalHandler_HPP
14 #define FatalHandler_HPP
15 
16 #include "Svc/FatalHandler/FatalHandlerComponentAc.hpp"
17 
18 namespace Svc {
19 
21  public FatalHandlerComponentBase
22  {
23 
24  public:
25 
26  // ----------------------------------------------------------------------
27  // Construction, initialization, and destruction
28  // ----------------------------------------------------------------------
29 
33  const char *const compName
34  );
35 
38  void init(
39  const NATIVE_INT_TYPE instance = 0
40  );
41 
45 
46  PRIVATE:
47 
48  // ----------------------------------------------------------------------
49  // Handler implementations for user-defined typed input ports
50  // ----------------------------------------------------------------------
51 
54  void FatalReceive_handler(
55  const NATIVE_INT_TYPE portNum,
56  FwEventIdType Id
57  );
58 
59 
60  };
61 
62 } // end namespace Svc
63 
64 #endif
Svc::FatalHandlerComponentImpl::FatalHandlerComponentImpl
FatalHandlerComponentImpl(const char *const compName)
Definition: FatalHandlerComponentCommonImpl.cpp:24
Svc::FatalHandlerComponentImpl
Definition: FatalHandlerComponentImpl.hpp:20
NATIVE_INT_TYPE
int NATIVE_INT_TYPE
native integer type declaration
Definition: BasicTypes.hpp:27
Svc::FatalHandlerComponentImpl::init
void init(const NATIVE_INT_TYPE instance=0)
Definition: FatalHandlerComponentCommonImpl.cpp:32
FwEventIdType
#define FwEventIdType
Type representation for a event id.
Definition: FpConfig.hpp:70
Svc
Definition: ActiveRateGroupCfg.hpp:18
Svc::FatalHandlerComponentImpl::~FatalHandlerComponentImpl
~FatalHandlerComponentImpl()
Definition: FatalHandlerComponentCommonImpl.cpp:40