mirror of
https://github.com/nasa/fpp.git
synced 2025-12-15 21:08:16 -06:00
138 lines
4.6 KiB
C++
Vendored
138 lines
4.6 KiB
C++
Vendored
// ======================================================================
|
|
// \title SmInitialQueued.hpp
|
|
// \author [user name]
|
|
// \brief hpp file for SmInitialQueued component implementation class
|
|
// ======================================================================
|
|
|
|
#ifndef FppTest_SmInitialQueued_HPP
|
|
#define FppTest_SmInitialQueued_HPP
|
|
|
|
#include "SmInitialQueuedComponentAc.hpp"
|
|
|
|
namespace FppTest {
|
|
|
|
class SmInitialQueued final :
|
|
public SmInitialQueuedComponentBase
|
|
{
|
|
|
|
public:
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Component construction and destruction
|
|
// ----------------------------------------------------------------------
|
|
|
|
//! Construct SmInitialQueued object
|
|
SmInitialQueued(
|
|
const char* const compName //!< The component name
|
|
);
|
|
|
|
//! Destroy SmInitialQueued object
|
|
~SmInitialQueued();
|
|
|
|
private:
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Handler implementations for typed input ports
|
|
// ----------------------------------------------------------------------
|
|
|
|
//! Handler implementation for schedIn
|
|
void schedIn_handler(
|
|
FwIndexType portNum, //!< The port number
|
|
U32 context //!< The call order
|
|
) override;
|
|
|
|
private:
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Implementations for internal state machine actions
|
|
// ----------------------------------------------------------------------
|
|
|
|
//! Implementation for action a of state machine FppTest_SmInitial_Basic
|
|
//!
|
|
//! Action a
|
|
void FppTest_SmInitial_Basic_action_a(
|
|
SmId smId, //!< The state machine id
|
|
FppTest_SmInitial_Basic::Signal signal //!< The signal
|
|
) override;
|
|
|
|
//! Implementation for action a of state machine FppTest_SmInitial_Choice
|
|
//!
|
|
//! Action a
|
|
void FppTest_SmInitial_Choice_action_a(
|
|
SmId smId, //!< The state machine id
|
|
FppTest_SmInitial_Choice::Signal signal //!< The signal
|
|
) override;
|
|
|
|
//! Implementation for action a of state machine FppTest_SmInitial_Nested
|
|
//!
|
|
//! Action a
|
|
void FppTest_SmInitial_Nested_action_a(
|
|
SmId smId, //!< The state machine id
|
|
FppTest_SmInitial_Nested::Signal signal //!< The signal
|
|
) override;
|
|
|
|
//! Implementation for action a of state machine FppTest_SmInitialQueued_Basic
|
|
//!
|
|
//! Action a
|
|
void FppTest_SmInitialQueued_Basic_action_a(
|
|
SmId smId, //!< The state machine id
|
|
FppTest_SmInitialQueued_Basic::Signal signal //!< The signal
|
|
) override;
|
|
|
|
//! Implementation for action a of state machine FppTest_SmInitialQueued_Choice
|
|
//!
|
|
//! Action a
|
|
void FppTest_SmInitialQueued_Choice_action_a(
|
|
SmId smId, //!< The state machine id
|
|
FppTest_SmInitialQueued_Choice::Signal signal //!< The signal
|
|
) override;
|
|
|
|
//! Implementation for action a of state machine FppTest_SmInitialQueued_Nested
|
|
//!
|
|
//! Action a
|
|
void FppTest_SmInitialQueued_Nested_action_a(
|
|
SmId smId, //!< The state machine id
|
|
FppTest_SmInitialQueued_Nested::Signal signal //!< The signal
|
|
) override;
|
|
|
|
private:
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Implementations for internal state machine guards
|
|
// ----------------------------------------------------------------------
|
|
|
|
//! Implementation for guard g of state machine FppTest_SmInitial_Choice
|
|
//!
|
|
//! Guard g
|
|
bool FppTest_SmInitial_Choice_guard_g(
|
|
SmId smId, //!< The state machine id
|
|
FppTest_SmInitial_Choice::Signal signal //!< The signal
|
|
) const override;
|
|
|
|
//! Implementation for guard g of state machine FppTest_SmInitialQueued_Choice
|
|
//!
|
|
//! Guard g
|
|
bool FppTest_SmInitialQueued_Choice_guard_g(
|
|
SmId smId, //!< The state machine id
|
|
FppTest_SmInitialQueued_Choice::Signal signal //!< The signal
|
|
) const override;
|
|
|
|
private:
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Overflow hook implementations for internal state machines
|
|
// ----------------------------------------------------------------------
|
|
|
|
//! Overflow hook implementation for smInitialNested
|
|
void smInitialNested_stateMachineOverflowHook(
|
|
SmId smId, //!< The state machine ID
|
|
FwEnumStoreType signal, //!< The signal
|
|
Fw::SerializeBufferBase& buffer //!< The message buffer
|
|
) override;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|