7 #ifndef FpySequencer_HPP 8 #define FpySequencer_HPP 10 #include "FppConstantsAc.hpp" 89 void Svc_FpySequencer_SequencerStateMachine_action_signalEntered(
97 void Svc_FpySequencer_SequencerStateMachine_action_setSequenceFilePath(
106 void Svc_FpySequencer_SequencerStateMachine_action_setSequenceBlockState(
115 void Svc_FpySequencer_SequencerStateMachine_action_validate(
123 void Svc_FpySequencer_SequencerStateMachine_action_report_seqSucceeded(
131 void Svc_FpySequencer_SequencerStateMachine_action_report_seqCancelled(
139 void Svc_FpySequencer_SequencerStateMachine_action_setGoalState_RUNNING(
147 void Svc_FpySequencer_SequencerStateMachine_action_setGoalState_VALID(
155 void Svc_FpySequencer_SequencerStateMachine_action_setGoalState_IDLE(
163 void Svc_FpySequencer_SequencerStateMachine_action_sendCmdResponse_OK(
172 void Svc_FpySequencer_SequencerStateMachine_action_sendCmdResponse_EXECUTION_ERROR(
180 void Svc_FpySequencer_SequencerStateMachine_action_dispatchStatement(
188 void Svc_FpySequencer_SequencerStateMachine_action_clearSequenceFile(
196 void Svc_FpySequencer_SequencerStateMachine_action_checkShouldWake(
204 void Svc_FpySequencer_SequencerStateMachine_action_resetRuntime(
212 void Svc_FpySequencer_SequencerStateMachine_action_checkStatementTimeout(
220 void Svc_FpySequencer_SequencerStateMachine_action_incrementSequenceCounter(
281 static constexpr U32 CRC_INITIAL_VALUE = 0xFFFFFFFFU;
309 U64 m_sequencesStarted;
312 U64 m_statementsDispatched;
321 U32 nextStatementIndex = 0;
337 U64 statementsFailed = 0;
340 U64 sequencesSucceeded = 0;
343 U64 sequencesFailed = 0;
346 U64 sequencesCancelled = 0;
353 void updateComputedCRC(
const U8* buffer,
372 Signal dispatchStatement();
383 Signal checkStatementTimeout();
392 void sendSignal(
Signal signal);
PlatformSizeType FwSizeType
bool Svc_FpySequencer_SequencerStateMachine_guard_goalStateIs_RUNNING(SmId smId, Svc_FpySequencer_SequencerStateMachine::Signal signal) const override
void pingIn_handler(FwIndexType portNum, U32 key) override
Handler for input port pingIn.
SmId
State machine identifiers.
Enum representing a command response.
void directive_waitRel_internalInterfaceHandler(const FpySequencer_WaitRelDirective &directive) override
Internal interface handler for directive_waitRel.
void parametersLoaded() override
Called whenever parameters are loaded.
U32 FwOpcodeType
The type of a command opcode.
void tlmWrite_handler(FwIndexType portNum, U32 context) override
Handler for input port tlmWrite.
External serialize buffer with no copy semantics.
void directive_waitAbs_internalInterfaceHandler(const FpySequencer_WaitAbsDirective &directive) override
Internal interface handler for directive_waitAbs.
void parameterUpdated(FwPrmIdType id) override
Called whenever a parameter is updated.
void allocateBuffer(FwEnumStoreType identifier, Fw::MemAllocator &allocator, FwSizeType bytes)
U32 FwPrmIdType
The type of a parameter identifier.
uint8_t U8
8-bit unsigned integer
void cmdResponseIn_handler(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) override
Handler for input port cmdResponseIn.
void checkTimers_handler(FwIndexType portNum, U32 context) override
Handler for input port checkTimers.
PlatformIndexType FwIndexType
RateGroupDivider component implementation.
Defines a base class for a memory allocator for classes.
Declares F Prime string base class.
void deallocateBuffer(Fw::MemAllocator &allocator)
Auto-generated base for FpySequencer component.
FpySequencer(const char *const compName)