12 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_signalEntered(
23 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_setSequenceFilePath(
35 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_setSequenceBlockState(
40 this->m_sequenceBlockState = value.
get_block();
47 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_report_seqSucceeded(
51 this->m_tlm.sequencesSucceeded++;
63 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_report_seqCancelled(
67 this->m_tlm.sequencesCancelled++;
79 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_dispatchStatement(
83 Signal result = this->dispatchStatement();
98 FW_ASSERT(0, static_cast<FwAssertArgType>(result));
107 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_setGoalState_RUNNING(
118 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_setGoalState_VALID(
129 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_setGoalState_IDLE(
140 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_sendCmdResponse_OK(
154 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_sendCmdResponse_EXECUTION_ERROR(
168 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_resetRuntime(
173 this->m_runtime.~Runtime();
174 new (&this->m_runtime) Runtime();
182 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_validate(
197 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_checkShouldWake(
201 Signal result = this->checkShouldWake();
216 FW_ASSERT(0, static_cast<FwAssertArgType>(result));
224 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_checkStatementTimeout(
228 Signal result = this->checkStatementTimeout();
243 FW_ASSERT(0, static_cast<FwAssertArgType>(result));
251 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_incrementSequenceCounter(
255 this->m_sequencesStarted++;
261 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_clearSequenceFile(
265 this->m_sequenceFilePath =
"";
271 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_clearDebugBreakpoint(
275 this->m_debug.breakOnBreakpoint =
false;
276 this->m_debug.breakpointIndex = 0;
277 this->m_debug.breakOnlyOnceOnBreakpoint =
false;
283 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_report_debugBroken(
293 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_setDebugBreakpoint(
307 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_report_seqFailed(
320 void FpySequencer::Svc_FpySequencer_SequencerStateMachine_action_report_seqStarted(
352 return this->m_debug.breakOnBreakpoint && this->m_debug.breakpointIndex == this->m_runtime.nextStatementIndex;
362 return this->m_debug.breakOnlyOnceOnBreakpoint;
void sequencer_sendSignal_result_dispatchStatement_noMoreStatements()
Send signal result_dispatchStatement_noMoreStatements to state machine sequencer. ...
void sequencer_sendSignal_result_checkShouldWake_keepSleeping()
Send signal result_checkShouldWake_keepSleeping to state machine sequencer.
called in dispatchStatement method when a statement was unable to be sent out
called in dispatchStatement method when there were no more statements in the sequence ...
Svc::FpySequencer_BlockState::T get_block() const
Get member block.
void sequencer_sendSignal_result_dispatchStatement_success()
Send signal result_dispatchStatement_success to state machine sequencer.
bool get_breakOnBreakpoint() const
Get member breakOnBreakpoint.
bool Svc_FpySequencer_SequencerStateMachine_guard_goalStateIs_RUNNING(SmId smId, Svc_FpySequencer_SequencerStateMachine::Signal signal) const override
raised when we should keep sleeping
void sequencer_sendSignal_result_checkShouldWake_wakeup()
Send signal result_checkShouldWake_wakeup to state machine sequencer.
void sequencer_sendSignal_result_success()
Send signal result_success to state machine sequencer.
SmId
State machine identifiers.
void sequencer_sendSignal_result_dispatchStatement_failure()
Send signal result_dispatchStatement_failure to state machine sequencer.
void seqStartOut_out(FwIndexType portNum, const Fw::StringBase &filename)
Invoke output port seqStartOut.
U32 get_breakpointIndex() const
Get member breakpointIndex.
called in dispatchStatement method when a statement was successfully dispatched
Fw::ExternalString & get_filePath()
Get member filePath.
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
bool get_breakOnlyOnceOnBreakpoint() const
Get member breakOnlyOnceOnBreakpoint.
void sequencer_sendSignal_result_checkStatementTimeout_noTimeout()
Send signal result_checkStatementTimeout_noTimeout to state machine sequencer.
Command successfully executed.
bool isConnected_seqDoneOut_OutputPort(FwIndexType portNum)
void log_ACTIVITY_HI_DebugBroken(U32 stmtIdx, bool breakOnce) const
Log event DebugBroken.
void sequencer_sendSignal_result_timeOpFailed()
Send signal result_timeOpFailed to state machine sequencer.
void seqDoneOut_out(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
Invoke output port seqDoneOut.
Command had execution error.
void sequencer_sendSignal_result_checkStatementTimeout_statementTimeout()
Send signal result_checkStatementTimeout_statementTimeout to state machine sequencer.
void log_ACTIVITY_HI_SequenceCancelled(const Fw::StringBase &filePath) const
Log event SequenceCancelled.
raised when the statement has not timed out yet
RateGroupDivider component implementation.
raised when we are done sleeping
void sequencer_sendSignal_result_failure()
Send signal result_failure to state machine sequencer.
void sequencer_sendSignal_entered()
Send signal entered to state machine sequencer.
raised when the statement times out, according to the timeout parameter
void log_ACTIVITY_HI_DebugBreakpointSet(U32 breakpointIdx, bool breakOnce) const
Log event DebugBreakpointSet.
void log_ACTIVITY_HI_SequenceDone(const Fw::StringBase &filePath) const
Log event SequenceDone.
FpySequencer_SequencerStateMachineStateMachineBase::Signal Signal
bool Svc_FpySequencer_SequencerStateMachine_guard_shouldDebugBreak(SmId smId, Svc_FpySequencer_SequencerStateMachine::Signal signal) const override
bool Svc_FpySequencer_SequencerStateMachine_guard_debugBreakOnce(SmId smId, Svc_FpySequencer_SequencerStateMachine::Signal signal) const override