mirror of
https://github.com/nasa/fpp.git
synced 2025-12-15 21:08:16 -06:00
49 lines
1.6 KiB
C++
Vendored
49 lines
1.6 KiB
C++
Vendored
// ======================================================================
|
|
// \title ActiveExternalStateMachines.hpp
|
|
// \author [user name]
|
|
// \brief hpp file for ActiveExternalStateMachines component implementation class
|
|
// ======================================================================
|
|
|
|
#ifndef ExternalSm_ActiveExternalStateMachines_HPP
|
|
#define ExternalSm_ActiveExternalStateMachines_HPP
|
|
|
|
#include "ActiveExternalStateMachinesComponentAc.hpp"
|
|
|
|
namespace ExternalSm {
|
|
|
|
class ActiveExternalStateMachines final :
|
|
public ActiveExternalStateMachinesComponentBase
|
|
{
|
|
|
|
public:
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Component construction and destruction
|
|
// ----------------------------------------------------------------------
|
|
|
|
//! Construct ActiveExternalStateMachines object
|
|
ActiveExternalStateMachines(
|
|
const char* const compName //!< The component name
|
|
);
|
|
|
|
//! Destroy ActiveExternalStateMachines object
|
|
~ActiveExternalStateMachines();
|
|
|
|
private:
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Overflow hook implementations for external state machines
|
|
// ----------------------------------------------------------------------
|
|
|
|
//! Overflow hook implementation for sm5
|
|
void sm5_stateMachineOverflowHook(
|
|
const ExternalSm::ActiveExternalStateMachines_S2_Interface::ActiveExternalStateMachines_S2_Signals signal, //!< The state machine signal
|
|
const Fw::SmSignalBuffer& data //!< The state machine data
|
|
) override;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|