fprime/Svc/FatalHandler/FatalHandlerComponentImpl.hpp
Thomas Boyer-Chammard c69ff72110
Format Svc and add to CI (#3978)
* Format Svc and add to CI

* Fix comlogger include

* fix assert UTs

* Fix static analysis warning

* formatting
2025-08-04 16:21:47 -07:00

50 lines
1.5 KiB
C++

// ======================================================================
// \title FatalHandlerImpl.hpp
// \author tcanham
// \brief hpp file for FatalHandler component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
//
// ======================================================================
#ifndef FatalHandler_HPP
#define FatalHandler_HPP
#include "Svc/FatalHandler/FatalHandlerComponentAc.hpp"
namespace Svc {
class FatalHandlerComponentImpl final : public FatalHandlerComponentBase {
public:
// ----------------------------------------------------------------------
// Construction, initialization, and destruction
// ----------------------------------------------------------------------
//! Construct object FatalHandler
//!
FatalHandlerComponentImpl(const char* const compName /*!< The component name*/
);
//! Destroy object FatalHandler
//!
~FatalHandlerComponentImpl();
private:
// ----------------------------------------------------------------------
// Handler implementations for user-defined typed input ports
// ----------------------------------------------------------------------
//! Handler implementation for FatalReceive
//!
void FatalReceive_handler(const FwIndexType portNum, /*!< The port number*/
FwEventIdType Id /*!< The ID of the FATAL event*/
);
};
} // end namespace Svc
#endif