9 #if FW_ENABLE_TEXT_LOGGING 22 union SignalTypeUnion {
23 BYTE size_of_I16[
sizeof(I16)];
24 BYTE size_of_I32[
sizeof(I32)];
36 sizeof(SignalTypeUnion);
43 CMDRESPONSEIN_CMDRESPONSE,
57 INTERNAL_STATE_MACHINE_SIGNAL,
71 BYTE internalSmBufferSize[SmSignalBuffer::SERIALIZED_SIZE];
76 class ComponentIpcSerializableBuffer :
86 MAX_DATA_SIZE =
sizeof(BuffUnion),
88 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
91 ComponentIpcSerializableBuffer() :
Fw::LinearBufferBase(m_buff, sizeof(m_buff)) {
97 U8 m_buff[SERIALIZATION_SIZE];
108 m_component(component)
116 this->initBase(static_cast<FwEnumStoreType>(smId));
125 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
126 action_processInvoke(
131 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_processInvoke(this->getId(), signal, value);
134 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
135 action_setCancelRequested(
Signal signal)
137 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_setCancelRequested(this->getId(), signal);
140 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
141 action_clearCancelRequested(
Signal signal)
143 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_clearCancelRequested(this->getId(), signal);
146 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
147 action_cancelPendingRequest(
152 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_cancelPendingRequest(this->getId(), signal, value);
155 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
156 action_respond_noblock_OK(
161 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_respond_noblock_OK(this->getId(), signal, value);
164 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
165 action_respond_ERROR(
170 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_respond_ERROR(this->getId(), signal, value);
173 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
174 action_incrementSequenceFailure(
Signal signal)
176 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_incrementSequenceFailure(this->getId(), signal);
179 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
180 action_respondInvoke_BUSY(
185 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_respondInvoke_BUSY(this->getId(), signal, value);
188 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
189 action_respondInvoke_ERROR(
194 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_respondInvoke_ERROR(this->getId(), signal, value);
197 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
198 action_respondLoad_BUSY(
203 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_respondLoad_BUSY(this->getId(), signal, value);
206 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
207 action_respond_block_OK(
212 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_respond_block_OK(this->getId(), signal, value);
215 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
216 action_respond_block_ERROR(
221 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_respond_block_ERROR(this->getId(), signal, value);
224 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
230 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_load(this->getId(), signal, value);
233 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
239 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_invokeStart(this->getId(), signal, value);
242 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
248 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_invokeMain(this->getId(), signal, value);
251 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
252 action_reportModuleInvalidMain(
257 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_reportModuleInvalidMain(this->getId(), signal, value);
260 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
261 action_reportModuleMainInvokeFailed(
266 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_reportModuleMainInvokeFailed(this->getId(), signal, value);
269 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
270 action_reportModuleStartInvokeFailed(
275 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_reportModuleStartInvokeFailed(this->getId(), signal, value);
278 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
279 action_reportModuleStarted(
284 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_reportModuleStarted(this->getId(), signal, value);
287 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
288 action_reportModuleSucceeded(
293 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_reportModuleSucceeded(this->getId(), signal, value);
296 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
297 action_reportModuleStartFailed(
302 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_reportModuleStartFailed(this->getId(), signal, value);
305 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
306 action_reportModuleMainFailed(
311 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_reportModuleMainFailed(this->getId(), signal, value);
314 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
315 action_resetStore(
Signal signal)
317 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_resetStore(this->getId(), signal);
320 void WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
326 this->m_component.Svc_WasmSequencer_ControllerStateMachine_action_runEngine(this->getId(), signal, value);
329 bool WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
330 guard_cancelRequested(
Signal signal)
const 332 return this->m_component.Svc_WasmSequencer_ControllerStateMachine_guard_cancelRequested(this->getId(), signal);
335 bool WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
336 guard_moduleHasStart(
341 return this->m_component.Svc_WasmSequencer_ControllerStateMachine_guard_moduleHasStart(this->getId(), signal, value);
344 bool WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
345 guard_moduleHasValidMain(
350 return this->m_component.Svc_WasmSequencer_ControllerStateMachine_guard_moduleHasValidMain(this->getId(), signal, value);
353 bool WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
354 guard_invokeSucceeded(
359 return this->m_component.Svc_WasmSequencer_ControllerStateMachine_guard_invokeSucceeded(this->getId(), signal, value);
362 bool WasmSequencerComponentBase::Svc_WasmSequencer_ControllerStateMachine ::
363 guard_interpreterSucceeded(
Signal signal)
const 365 return this->m_component.Svc_WasmSequencer_ControllerStateMachine_guard_interpreterSucceeded(this->getId(), signal);
370 m_component(component)
378 this->initBase(static_cast<FwEnumStoreType>(smId));
387 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
393 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_cmdReplyOK(this->getId(), signal, value);
396 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
397 action_signalEntered(
Signal signal)
399 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_signalEntered(this->getId(), signal);
402 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
403 action_spin(
Signal signal)
405 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_spin(this->getId(), signal);
408 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
409 action_reset(
Signal signal)
411 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_reset(this->getId(), signal);
414 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
415 action_clearExitStatus(
Signal signal)
417 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_clearExitStatus(this->getId(), signal);
420 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
421 action_setExitReason_INTERPRETER_FINISHED(
Signal signal)
423 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_setExitReason_INTERPRETER_FINISHED(this->getId(), signal);
426 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
427 action_setExitReason_INTERPRETER_TRAP(
Signal signal)
429 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_setExitReason_INTERPRETER_TRAP(this->getId(), signal);
432 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
433 action_setExitReason_REPLY_TIMEOUT(
Signal signal)
435 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_setExitReason_REPLY_TIMEOUT(this->getId(), signal);
438 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
439 action_setExitReason_HOST_FAILURE(
Signal signal)
441 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_setExitReason_HOST_FAILURE(this->getId(), signal);
444 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
445 action_setExitReason_TIMER_INCOMPARABLE(
Signal signal)
447 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_setExitReason_TIMER_INCOMPARABLE(this->getId(), signal);
450 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
451 action_setExitReason_UNEXPECTED_REPLY(
Signal signal)
453 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_setExitReason_UNEXPECTED_REPLY(this->getId(), signal);
456 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
457 action_setExitReason_CANCEL(
Signal signal)
459 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_setExitReason_CANCEL(this->getId(), signal);
462 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
468 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_setExitCode(this->getId(), signal, value);
471 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
472 action_setTrapReason(
477 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_setTrapReason(this->getId(), signal, value);
480 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
481 action_setLastHostFunction(
Signal signal)
483 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_setLastHostFunction(this->getId(), signal);
486 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
487 action_finish(
Signal signal)
489 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_finish(this->getId(), signal);
492 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
493 action_reportPaused(
Signal signal)
495 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_reportPaused(this->getId(), signal);
498 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
499 action_clearPause(
Signal signal)
501 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_clearPause(this->getId(), signal);
504 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
505 action_dispatchPendingHostFunction(
Signal signal)
507 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_dispatchPendingHostFunction(this->getId(), signal);
510 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
511 action_clearPendingHostFunction(
Signal signal)
513 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_clearPendingHostFunction(this->getId(), signal);
516 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
522 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_setContext(this->getId(), signal, value);
525 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
526 action_clearContext(
Signal signal)
528 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_clearContext(this->getId(), signal);
531 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
532 action_resume(
Signal signal)
534 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_resume(this->getId(), signal);
537 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
543 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_resumeI32(this->getId(), signal, value);
546 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
547 action_checkSleepTimers(
Signal signal)
549 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_checkSleepTimers(this->getId(), signal);
552 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
553 action_checkTimeout(
Signal signal)
555 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_checkTimeout(this->getId(), signal);
558 void WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
559 action_dequeueSerialAndResume(
564 this->m_component.Svc_WasmSequencer_InterpreterStateMachine_action_dequeueSerialAndResume(this->getId(), signal, value);
567 bool WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
568 guard_pendingPause(
Signal signal)
const 570 return this->m_component.Svc_WasmSequencer_InterpreterStateMachine_guard_pendingPause(this->getId(), signal);
573 bool WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
574 guard_pendingHostFunction(
Signal signal)
const 576 return this->m_component.Svc_WasmSequencer_InterpreterStateMachine_guard_pendingHostFunction(this->getId(), signal);
579 bool WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
580 guard_pendingHostFunctionIsSleep(
Signal signal)
const 582 return this->m_component.Svc_WasmSequencer_InterpreterStateMachine_guard_pendingHostFunctionIsSleep(this->getId(), signal);
585 bool WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
586 guard_blockingSerialIn(
591 return this->m_component.Svc_WasmSequencer_InterpreterStateMachine_guard_blockingSerialIn(this->getId(), signal, value);
594 bool WasmSequencerComponentBase::Svc_WasmSequencer_InterpreterStateMachine ::
595 guard_dequeueSucceeded(
Signal signal)
const 597 return this->m_component.Svc_WasmSequencer_InterpreterStateMachine_guard_dequeueSucceeded(this->getId(), signal);
617 #if !FW_DIRECT_PORT_CALLS 624 this->m_cmdIn_InputPort[port].
init();
629 this->m_cmdIn_InputPort[port].
setPortNum(port);
631 #if FW_OBJECT_NAMES == 1 635 this->m_objName.toChar(),
638 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
643 #if !FW_DIRECT_PORT_CALLS 650 this->m_checkTimers_InputPort[port].
init();
655 this->m_checkTimers_InputPort[port].
setPortNum(port);
657 #if FW_OBJECT_NAMES == 1 661 this->m_objName.toChar(),
664 this->m_checkTimers_InputPort[port].setObjName(portName.
toChar());
669 #if !FW_DIRECT_PORT_CALLS 676 this->m_cmdResponseIn_InputPort[port].
init();
681 this->m_cmdResponseIn_InputPort[port].
setPortNum(port);
683 #if FW_OBJECT_NAMES == 1 687 this->m_objName.toChar(),
690 this->m_cmdResponseIn_InputPort[port].setObjName(portName.
toChar());
695 #if !FW_DIRECT_PORT_CALLS 702 this->m_seqCancelIn_InputPort[port].
init();
707 this->m_seqCancelIn_InputPort[port].
setPortNum(port);
709 #if FW_OBJECT_NAMES == 1 713 this->m_objName.toChar(),
716 this->m_seqCancelIn_InputPort[port].setObjName(portName.
toChar());
721 #if !FW_DIRECT_PORT_CALLS 728 this->m_seqRunIn_InputPort[port].
init();
733 this->m_seqRunIn_InputPort[port].
setPortNum(port);
735 #if FW_OBJECT_NAMES == 1 739 this->m_objName.toChar(),
742 this->m_seqRunIn_InputPort[port].setObjName(portName.
toChar());
747 #if !FW_DIRECT_PORT_CALLS 754 this->m_writeTelemetry_InputPort[port].
init();
755 this->m_writeTelemetry_InputPort[port].
addCallComp(
757 m_p_writeTelemetry_in
759 this->m_writeTelemetry_InputPort[port].
setPortNum(port);
761 #if FW_OBJECT_NAMES == 1 765 this->m_objName.toChar(),
768 this->m_writeTelemetry_InputPort[port].setObjName(portName.
toChar());
773 #if !FW_DIRECT_PORT_CALLS 780 this->m_serialIn_InputPort[port].init();
781 this->m_serialIn_InputPort[port].addCallComp(
785 this->m_serialIn_InputPort[port].setPortNum(port);
787 #if FW_OBJECT_NAMES == 1 791 this->m_objName.toChar(),
794 this->m_serialIn_InputPort[port].setObjName(portName.
toChar());
799 #if !FW_DIRECT_PORT_CALLS 806 this->m_cmdRegOut_OutputPort[port].
init();
808 #if FW_OBJECT_NAMES == 1 812 this->m_objName.toChar(),
815 this->m_cmdRegOut_OutputPort[port].setObjName(portName.
toChar());
820 #if !FW_DIRECT_PORT_CALLS 827 this->m_cmdResponseOut_OutputPort[port].
init();
829 #if FW_OBJECT_NAMES == 1 833 this->m_objName.toChar(),
836 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
841 #if !FW_DIRECT_PORT_CALLS 848 this->m_logOut_OutputPort[port].
init();
850 #if FW_OBJECT_NAMES == 1 854 this->m_objName.toChar(),
857 this->m_logOut_OutputPort[port].setObjName(portName.
toChar());
862 #if !FW_DIRECT_PORT_CALLS && FW_ENABLE_TEXT_LOGGING 866 port < static_cast<FwIndexType>(this->getNum_logTextOut_OutputPorts());
869 this->m_logTextOut_OutputPort[port].
init();
871 #if FW_OBJECT_NAMES == 1 875 this->m_objName.toChar(),
878 this->m_logTextOut_OutputPort[port].setObjName(portName.
toChar());
883 #if !FW_DIRECT_PORT_CALLS 890 this->m_prmGet_OutputPort[port].
init();
892 #if FW_OBJECT_NAMES == 1 896 this->m_objName.toChar(),
899 this->m_prmGet_OutputPort[port].setObjName(portName.
toChar());
904 #if !FW_DIRECT_PORT_CALLS 911 this->m_prmSet_OutputPort[port].
init();
913 #if FW_OBJECT_NAMES == 1 917 this->m_objName.toChar(),
920 this->m_prmSet_OutputPort[port].setObjName(portName.
toChar());
925 #if !FW_DIRECT_PORT_CALLS 932 this->m_timeCaller_OutputPort[port].
init();
934 #if FW_OBJECT_NAMES == 1 938 this->m_objName.toChar(),
941 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
946 #if !FW_DIRECT_PORT_CALLS 953 this->m_tlmOut_OutputPort[port].
init();
955 #if FW_OBJECT_NAMES == 1 959 this->m_objName.toChar(),
962 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
967 #if !FW_DIRECT_PORT_CALLS 974 this->m_cmdOut_OutputPort[port].
init();
976 #if FW_OBJECT_NAMES == 1 980 this->m_objName.toChar(),
983 this->m_cmdOut_OutputPort[port].setObjName(portName.
toChar());
988 #if !FW_DIRECT_PORT_CALLS 995 this->m_getParam_OutputPort[port].
init();
997 #if FW_OBJECT_NAMES == 1 1001 this->m_objName.toChar(),
1004 this->m_getParam_OutputPort[port].setObjName(portName.
toChar());
1009 #if !FW_DIRECT_PORT_CALLS 1016 this->m_getTlmChan_OutputPort[port].
init();
1018 #if FW_OBJECT_NAMES == 1 1022 this->m_objName.toChar(),
1025 this->m_getTlmChan_OutputPort[port].setObjName(portName.
toChar());
1030 #if !FW_DIRECT_PORT_CALLS 1037 this->m_seqDoneOut_OutputPort[port].
init();
1039 #if FW_OBJECT_NAMES == 1 1043 this->m_objName.toChar(),
1046 this->m_seqDoneOut_OutputPort[port].setObjName(portName.
toChar());
1051 #if !FW_DIRECT_PORT_CALLS 1058 this->m_seqStartOut_OutputPort[port].
init();
1060 #if FW_OBJECT_NAMES == 1 1064 this->m_objName.toChar(),
1067 this->m_seqStartOut_OutputPort[port].setObjName(portName.
toChar());
1072 #if !FW_DIRECT_PORT_CALLS 1079 this->m_serialOut_OutputPort[port].init();
1081 #if FW_OBJECT_NAMES == 1 1085 this->m_objName.toChar(),
1088 this->m_serialOut_OutputPort[port].setObjName(portName.
toChar());
1096 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
1100 static_cast<FwAssertArgType>(qStat)
1104 #if !FW_DIRECT_PORT_CALLS 1115 static_cast<FwAssertArgType>(portNum)
1118 return &this->m_cmdIn_InputPort[portNum];
1123 #if !FW_DIRECT_PORT_CALLS 1134 static_cast<FwAssertArgType>(portNum)
1137 return &this->m_checkTimers_InputPort[portNum];
1145 static_cast<FwAssertArgType>(portNum)
1148 return &this->m_cmdResponseIn_InputPort[portNum];
1156 static_cast<FwAssertArgType>(portNum)
1159 return &this->m_seqCancelIn_InputPort[portNum];
1167 static_cast<FwAssertArgType>(portNum)
1170 return &this->m_seqRunIn_InputPort[portNum];
1178 static_cast<FwAssertArgType>(portNum)
1181 return &this->m_writeTelemetry_InputPort[portNum];
1186 #if !FW_DIRECT_PORT_CALLS 1197 static_cast<FwAssertArgType>(portNum)
1200 return &this->m_serialIn_InputPort[portNum];
1205 #if !FW_DIRECT_PORT_CALLS 1219 static_cast<FwAssertArgType>(portNum)
1222 this->m_cmdRegOut_OutputPort[portNum].
addCallPort(port);
1233 static_cast<FwAssertArgType>(portNum)
1236 this->m_cmdResponseOut_OutputPort[portNum].
addCallPort(port);
1247 static_cast<FwAssertArgType>(portNum)
1250 this->m_logOut_OutputPort[portNum].
addCallPort(port);
1253 #if FW_ENABLE_TEXT_LOGGING == 1 1255 void WasmSequencerComponentBase ::
1256 set_logTextOut_OutputPort(
1262 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1263 static_cast<FwAssertArgType>(portNum)
1266 this->m_logTextOut_OutputPort[portNum].addCallPort(port);
1279 static_cast<FwAssertArgType>(portNum)
1282 this->m_prmGet_OutputPort[portNum].
addCallPort(port);
1293 static_cast<FwAssertArgType>(portNum)
1296 this->m_prmSet_OutputPort[portNum].
addCallPort(port);
1307 static_cast<FwAssertArgType>(portNum)
1310 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
1321 static_cast<FwAssertArgType>(portNum)
1324 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
1329 #if !FW_DIRECT_PORT_CALLS 1343 static_cast<FwAssertArgType>(portNum)
1346 this->m_cmdOut_OutputPort[portNum].
addCallPort(port);
1357 static_cast<FwAssertArgType>(portNum)
1360 this->m_getParam_OutputPort[portNum].
addCallPort(port);
1371 static_cast<FwAssertArgType>(portNum)
1374 this->m_getTlmChan_OutputPort[portNum].
addCallPort(port);
1385 static_cast<FwAssertArgType>(portNum)
1388 this->m_seqDoneOut_OutputPort[portNum].
addCallPort(port);
1399 static_cast<FwAssertArgType>(portNum)
1402 this->m_seqStartOut_OutputPort[portNum].
addCallPort(port);
1407 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 1416 Fw::InputSerializePort* port
1421 static_cast<FwAssertArgType>(portNum)
1424 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
1430 Fw::InputSerializePort* port
1435 static_cast<FwAssertArgType>(portNum)
1438 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
1444 Fw::InputSerializePort* port
1449 static_cast<FwAssertArgType>(portNum)
1452 this->m_logOut_OutputPort[portNum].registerSerialPort(port);
1455 #if FW_ENABLE_TEXT_LOGGING == 1 1457 void WasmSequencerComponentBase ::
1458 set_logTextOut_OutputPort(
1460 Fw::InputSerializePort* port
1464 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1465 static_cast<FwAssertArgType>(portNum)
1468 this->m_logTextOut_OutputPort[portNum].registerSerialPort(port);
1476 Fw::InputSerializePort* port
1481 static_cast<FwAssertArgType>(portNum)
1484 this->m_prmSet_OutputPort[portNum].registerSerialPort(port);
1490 Fw::InputSerializePort* port
1495 static_cast<FwAssertArgType>(portNum)
1498 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
1504 Fw::InputSerializePort* port
1509 static_cast<FwAssertArgType>(portNum)
1512 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
1517 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 1526 Fw::InputSerializePort* port
1531 static_cast<FwAssertArgType>(portNum)
1534 this->m_cmdOut_OutputPort[portNum].registerSerialPort(port);
1540 Fw::InputSerializePort* port
1545 static_cast<FwAssertArgType>(portNum)
1548 this->m_seqDoneOut_OutputPort[portNum].registerSerialPort(port);
1554 Fw::InputSerializePort* port
1559 static_cast<FwAssertArgType>(portNum)
1562 this->m_seqStartOut_OutputPort[portNum].registerSerialPort(port);
1567 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 1573 void WasmSequencerComponentBase ::
1574 set_serialOut_OutputPort(
1581 static_cast<FwAssertArgType>(portNum)
1584 this->m_serialOut_OutputPort[portNum].registerSerialPort(port);
1598 this->cmdRegOut_out(
1603 this->cmdRegOut_out(
1608 this->cmdRegOut_out(
1613 this->cmdRegOut_out(
1618 this->cmdRegOut_out(
1623 this->cmdRegOut_out(
1628 this->cmdRegOut_out(
1633 this->cmdRegOut_out(
1638 this->cmdRegOut_out(
1643 this->cmdRegOut_out(
1648 this->cmdRegOut_out(
1653 this->cmdRegOut_out(
1658 this->cmdRegOut_out(
1663 this->cmdRegOut_out(
1668 this->cmdRegOut_out(
1673 this->cmdRegOut_out(
1678 this->cmdRegOut_out(
1683 this->cmdRegOut_out(
1706 this->m_param_HOST_FUNCTION_TIMEOUT_SECS_valid = this->prmGet_out(
1712 this->m_paramLock.
lock();
1716 _stat = _paramBuffer.
deserializeTo(this->m_HOST_FUNCTION_TIMEOUT_SECS);
1725 this->m_HOST_FUNCTION_TIMEOUT_SECS = 60.0f;
1728 this->m_paramLock.
unlock();
1733 this->m_param_INSTRUCTION_FUEL_valid = this->prmGet_out(
1739 this->m_paramLock.
lock();
1743 _stat = _paramBuffer.
deserializeTo(this->m_INSTRUCTION_FUEL);
1752 this->m_INSTRUCTION_FUEL = 1000;
1755 this->m_paramLock.
unlock();
1760 this->m_param_SEQ_BASE_DIR_valid = this->prmGet_out(
1766 this->m_paramLock.
lock();
1782 this->m_paramLock.
unlock();
1795 m_stateMachine_controller(*this),
1796 m_stateMachine_interpreter(*this)
1807 #if !FW_DIRECT_PORT_CALLS 1818 static_cast<FwAssertArgType>(portNum)
1821 return this->m_cmdRegOut_OutputPort[portNum].
isConnected();
1829 static_cast<FwAssertArgType>(portNum)
1832 return this->m_cmdResponseOut_OutputPort[portNum].
isConnected();
1840 static_cast<FwAssertArgType>(portNum)
1843 return this->m_logOut_OutputPort[portNum].
isConnected();
1846 #if FW_ENABLE_TEXT_LOGGING == 1 1848 bool WasmSequencerComponentBase ::
1849 isConnected_logTextOut_OutputPort(
FwIndexType portNum)
const 1852 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1853 static_cast<FwAssertArgType>(portNum)
1856 return this->m_logTextOut_OutputPort[portNum].isConnected();
1866 static_cast<FwAssertArgType>(portNum)
1869 return this->m_prmGet_OutputPort[portNum].
isConnected();
1877 static_cast<FwAssertArgType>(portNum)
1880 return this->m_prmSet_OutputPort[portNum].
isConnected();
1888 static_cast<FwAssertArgType>(portNum)
1891 return this->m_timeCaller_OutputPort[portNum].
isConnected();
1899 static_cast<FwAssertArgType>(portNum)
1902 return this->m_tlmOut_OutputPort[portNum].
isConnected();
1907 #if !FW_DIRECT_PORT_CALLS 1918 static_cast<FwAssertArgType>(portNum)
1921 return this->m_cmdOut_OutputPort[portNum].
isConnected();
1929 static_cast<FwAssertArgType>(portNum)
1932 return this->m_getParam_OutputPort[portNum].
isConnected();
1940 static_cast<FwAssertArgType>(portNum)
1943 return this->m_getTlmChan_OutputPort[portNum].
isConnected();
1951 static_cast<FwAssertArgType>(portNum)
1954 return this->m_seqDoneOut_OutputPort[portNum].
isConnected();
1962 static_cast<FwAssertArgType>(portNum)
1965 return this->m_seqStartOut_OutputPort[portNum].
isConnected();
1970 #if !FW_DIRECT_PORT_CALLS 1981 static_cast<FwAssertArgType>(portNum)
1984 return this->m_serialOut_OutputPort[portNum].isConnected();
2005 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
2008 switch (opCode - idBase) {
2118 Fw::CmdResponse _cstat = this->paramSet_HOST_FUNCTION_TIMEOUT_SECS(args);
2128 Fw::CmdResponse _cstat = this->paramSave_HOST_FUNCTION_TIMEOUT_SECS();
2197 static_cast<FwAssertArgType>(portNum)
2205 ComponentIpcSerializableBuffer msg;
2209 _status = msg.serializeFrom(
2210 static_cast<FwEnumStoreType>(CHECKTIMERS_SCHED)
2214 static_cast<FwAssertArgType>(_status)
2218 _status = msg.serializeFrom(portNum);
2221 static_cast<FwAssertArgType>(_status)
2225 _status = msg.serializeFrom(context);
2228 static_cast<FwAssertArgType>(_status)
2237 static_cast<FwAssertArgType>(qStatus)
2252 static_cast<FwAssertArgType>(portNum)
2262 ComponentIpcSerializableBuffer msg;
2266 _status = msg.serializeFrom(
2267 static_cast<FwEnumStoreType>(CMDRESPONSEIN_CMDRESPONSE)
2271 static_cast<FwAssertArgType>(_status)
2275 _status = msg.serializeFrom(portNum);
2278 static_cast<FwAssertArgType>(_status)
2282 _status = msg.serializeFrom(opCode);
2285 static_cast<FwAssertArgType>(_status)
2289 _status = msg.serializeFrom(cmdSeq);
2292 static_cast<FwAssertArgType>(_status)
2296 _status = msg.serializeFrom(response);
2299 static_cast<FwAssertArgType>(_status)
2308 static_cast<FwAssertArgType>(qStatus)
2318 static_cast<FwAssertArgType>(portNum)
2335 static_cast<FwAssertArgType>(portNum)
2344 ComponentIpcSerializableBuffer msg;
2348 _status = msg.serializeFrom(
2349 static_cast<FwEnumStoreType>(SEQRUNIN_CMDSEQIN)
2353 static_cast<FwAssertArgType>(_status)
2357 _status = msg.serializeFrom(portNum);
2360 static_cast<FwAssertArgType>(_status)
2367 static_cast<FwAssertArgType>(_status)
2371 _status = msg.serializeFrom(args);
2374 static_cast<FwAssertArgType>(_status)
2383 static_cast<FwAssertArgType>(qStatus)
2396 static_cast<FwAssertArgType>(portNum)
2404 ComponentIpcSerializableBuffer msg;
2408 _status = msg.serializeFrom(
2409 static_cast<FwEnumStoreType>(WRITETELEMETRY_SCHED)
2413 static_cast<FwAssertArgType>(_status)
2417 _status = msg.serializeFrom(portNum);
2420 static_cast<FwAssertArgType>(_status)
2424 _status = msg.serializeFrom(context);
2427 static_cast<FwAssertArgType>(_status)
2434 if (qStatus == Os::Queue::Status::FULL) {
2441 static_cast<FwAssertArgType>(qStatus)
2460 static_cast<FwAssertArgType>(portNum)
2523 #if !FW_DIRECT_PORT_CALLS 2538 static_cast<FwAssertArgType>(portNum)
2542 this->m_cmdOut_OutputPort[portNum].isConnected(),
2543 static_cast<FwAssertArgType>(portNum)
2545 this->m_cmdOut_OutputPort[portNum].
invoke(
2560 static_cast<FwAssertArgType>(portNum)
2564 this->m_getParam_OutputPort[portNum].isConnected(),
2565 static_cast<FwAssertArgType>(portNum)
2567 return this->m_getParam_OutputPort[portNum].
invoke(
2583 static_cast<FwAssertArgType>(portNum)
2587 this->m_getTlmChan_OutputPort[portNum].isConnected(),
2588 static_cast<FwAssertArgType>(portNum)
2590 return this->m_getTlmChan_OutputPort[portNum].
invoke(
2607 static_cast<FwAssertArgType>(portNum)
2611 this->m_seqDoneOut_OutputPort[portNum].isConnected(),
2612 static_cast<FwAssertArgType>(portNum)
2614 this->m_seqDoneOut_OutputPort[portNum].
invoke(
2630 static_cast<FwAssertArgType>(portNum)
2634 this->m_seqStartOut_OutputPort[portNum].isConnected(),
2635 static_cast<FwAssertArgType>(portNum)
2637 this->m_seqStartOut_OutputPort[portNum].
invoke(
2645 #if !FW_DIRECT_PORT_CALLS 2659 static_cast<FwAssertArgType>(portNum)
2663 this->m_serialOut_OutputPort[portNum].isConnected(),
2664 static_cast<FwAssertArgType>(portNum)
2666 return this->m_serialOut_OutputPort[portNum].invokeSerial(
2680 return this->m_stateMachine_controller.
getState();
2686 return this->m_stateMachine_interpreter.
getState();
2696 ComponentIpcSerializableBuffer buffer;
2703 this->controller_sendSignalFinish(buffer);
2709 ComponentIpcSerializableBuffer buffer;
2716 this->controller_sendSignalFinish(buffer);
2722 ComponentIpcSerializableBuffer buffer;
2729 this->controller_sendSignalFinish(buffer);
2735 ComponentIpcSerializableBuffer buffer;
2742 this->controller_sendSignalFinish(buffer);
2748 ComponentIpcSerializableBuffer buffer;
2755 this->controller_sendSignalFinish(buffer);
2761 ComponentIpcSerializableBuffer buffer;
2765 this->controller_sendSignalFinish(buffer);
2771 ComponentIpcSerializableBuffer buffer;
2778 this->controller_sendSignalFinish(buffer);
2784 ComponentIpcSerializableBuffer buffer;
2791 this->controller_sendSignalFinish(buffer);
2797 ComponentIpcSerializableBuffer buffer;
2804 this->controller_sendSignalFinish(buffer);
2810 ComponentIpcSerializableBuffer buffer;
2814 this->interpreter_sendSignalFinish(buffer);
2820 ComponentIpcSerializableBuffer buffer;
2827 this->interpreter_sendSignalFinish(buffer);
2833 ComponentIpcSerializableBuffer buffer;
2837 this->interpreter_sendSignalFinish(buffer);
2843 ComponentIpcSerializableBuffer buffer;
2847 this->interpreter_sendSignalFinish(buffer);
2853 ComponentIpcSerializableBuffer buffer;
2860 this->interpreter_sendSignalFinish(buffer);
2866 ComponentIpcSerializableBuffer buffer;
2870 this->interpreter_sendSignalFinish(buffer);
2876 ComponentIpcSerializableBuffer buffer;
2880 this->interpreter_sendSignalFinish(buffer);
2886 ComponentIpcSerializableBuffer buffer;
2893 this->interpreter_sendSignalFinish(buffer);
2899 ComponentIpcSerializableBuffer buffer;
2903 this->interpreter_sendSignalFinish(buffer);
2909 ComponentIpcSerializableBuffer buffer;
2916 this->interpreter_sendSignalFinish(buffer);
2922 ComponentIpcSerializableBuffer buffer;
2926 this->interpreter_sendSignalFinish(buffer);
2932 ComponentIpcSerializableBuffer buffer;
2936 this->interpreter_sendSignalFinish(buffer);
2942 ComponentIpcSerializableBuffer buffer;
2949 this->interpreter_sendSignalFinish(buffer);
2955 ComponentIpcSerializableBuffer buffer;
2962 this->interpreter_sendSignalFinish(buffer);
2968 ComponentIpcSerializableBuffer buffer;
2975 this->interpreter_sendSignalFinish(buffer);
2981 ComponentIpcSerializableBuffer buffer;
2985 this->interpreter_sendSignalFinish(buffer);
2991 ComponentIpcSerializableBuffer buffer;
2995 this->interpreter_sendSignalFinish(buffer);
3010 this->cmdResponseOut_out(0, opCode, cmdSeq, response);
3031 ComponentIpcSerializableBuffer msg;
3035 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_RUN));
3038 static_cast<FwAssertArgType>(_status)
3044 _status = msg.serializeFrom(port);
3047 static_cast<FwAssertArgType>(_status)
3050 _status = msg.serializeFrom(opCode);
3053 static_cast<FwAssertArgType>(_status)
3056 _status = msg.serializeFrom(cmdSeq);
3059 static_cast<FwAssertArgType>(_status)
3062 _status = msg.serializeFrom(args);
3065 static_cast<FwAssertArgType>(_status)
3074 static_cast<FwAssertArgType>(qStatus)
3090 ComponentIpcSerializableBuffer msg;
3094 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_LOAD));
3097 static_cast<FwAssertArgType>(_status)
3103 _status = msg.serializeFrom(port);
3106 static_cast<FwAssertArgType>(_status)
3109 _status = msg.serializeFrom(opCode);
3112 static_cast<FwAssertArgType>(_status)
3115 _status = msg.serializeFrom(cmdSeq);
3118 static_cast<FwAssertArgType>(_status)
3121 _status = msg.serializeFrom(args);
3124 static_cast<FwAssertArgType>(_status)
3133 static_cast<FwAssertArgType>(qStatus)
3149 ComponentIpcSerializableBuffer msg;
3153 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_INVOKE));
3156 static_cast<FwAssertArgType>(_status)
3162 _status = msg.serializeFrom(port);
3165 static_cast<FwAssertArgType>(_status)
3168 _status = msg.serializeFrom(opCode);
3171 static_cast<FwAssertArgType>(_status)
3174 _status = msg.serializeFrom(cmdSeq);
3177 static_cast<FwAssertArgType>(_status)
3180 _status = msg.serializeFrom(args);
3183 static_cast<FwAssertArgType>(_status)
3192 static_cast<FwAssertArgType>(qStatus)
3208 ComponentIpcSerializableBuffer msg;
3212 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_WAIT));
3215 static_cast<FwAssertArgType>(_status)
3221 _status = msg.serializeFrom(port);
3224 static_cast<FwAssertArgType>(_status)
3227 _status = msg.serializeFrom(opCode);
3230 static_cast<FwAssertArgType>(_status)
3233 _status = msg.serializeFrom(cmdSeq);
3236 static_cast<FwAssertArgType>(_status)
3239 _status = msg.serializeFrom(args);
3242 static_cast<FwAssertArgType>(_status)
3251 static_cast<FwAssertArgType>(qStatus)
3262 #if FW_CMD_CHECK_RESIDUAL 3267 this->cmdResponseOut_out(
3293 ComponentIpcSerializableBuffer msg;
3297 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_PAUSE));
3300 static_cast<FwAssertArgType>(_status)
3306 _status = msg.serializeFrom(port);
3309 static_cast<FwAssertArgType>(_status)
3312 _status = msg.serializeFrom(opCode);
3315 static_cast<FwAssertArgType>(_status)
3318 _status = msg.serializeFrom(cmdSeq);
3321 static_cast<FwAssertArgType>(_status)
3324 _status = msg.serializeFrom(args);
3327 static_cast<FwAssertArgType>(_status)
3336 static_cast<FwAssertArgType>(qStatus)
3352 ComponentIpcSerializableBuffer msg;
3356 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CONTINUE));
3359 static_cast<FwAssertArgType>(_status)
3365 _status = msg.serializeFrom(port);
3368 static_cast<FwAssertArgType>(_status)
3371 _status = msg.serializeFrom(opCode);
3374 static_cast<FwAssertArgType>(_status)
3377 _status = msg.serializeFrom(cmdSeq);
3380 static_cast<FwAssertArgType>(_status)
3383 _status = msg.serializeFrom(args);
3386 static_cast<FwAssertArgType>(_status)
3395 static_cast<FwAssertArgType>(qStatus)
3411 ComponentIpcSerializableBuffer msg;
3415 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_GLOBAL_SET_I32));
3418 static_cast<FwAssertArgType>(_status)
3424 _status = msg.serializeFrom(port);
3427 static_cast<FwAssertArgType>(_status)
3430 _status = msg.serializeFrom(opCode);
3433 static_cast<FwAssertArgType>(_status)
3436 _status = msg.serializeFrom(cmdSeq);
3439 static_cast<FwAssertArgType>(_status)
3442 _status = msg.serializeFrom(args);
3445 static_cast<FwAssertArgType>(_status)
3454 static_cast<FwAssertArgType>(qStatus)
3470 ComponentIpcSerializableBuffer msg;
3474 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_GLOBAL_SET_I64));
3477 static_cast<FwAssertArgType>(_status)
3483 _status = msg.serializeFrom(port);
3486 static_cast<FwAssertArgType>(_status)
3489 _status = msg.serializeFrom(opCode);
3492 static_cast<FwAssertArgType>(_status)
3495 _status = msg.serializeFrom(cmdSeq);
3498 static_cast<FwAssertArgType>(_status)
3501 _status = msg.serializeFrom(args);
3504 static_cast<FwAssertArgType>(_status)
3513 static_cast<FwAssertArgType>(qStatus)
3529 ComponentIpcSerializableBuffer msg;
3533 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_GLOBAL_SET_F32));
3536 static_cast<FwAssertArgType>(_status)
3542 _status = msg.serializeFrom(port);
3545 static_cast<FwAssertArgType>(_status)
3548 _status = msg.serializeFrom(opCode);
3551 static_cast<FwAssertArgType>(_status)
3554 _status = msg.serializeFrom(cmdSeq);
3557 static_cast<FwAssertArgType>(_status)
3560 _status = msg.serializeFrom(args);
3563 static_cast<FwAssertArgType>(_status)
3572 static_cast<FwAssertArgType>(qStatus)
3588 ComponentIpcSerializableBuffer msg;
3592 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_GLOBAL_SET_F64));
3595 static_cast<FwAssertArgType>(_status)
3601 _status = msg.serializeFrom(port);
3604 static_cast<FwAssertArgType>(_status)
3607 _status = msg.serializeFrom(opCode);
3610 static_cast<FwAssertArgType>(_status)
3613 _status = msg.serializeFrom(cmdSeq);
3616 static_cast<FwAssertArgType>(_status)
3619 _status = msg.serializeFrom(args);
3622 static_cast<FwAssertArgType>(_status)
3631 static_cast<FwAssertArgType>(qStatus)
3647 ComponentIpcSerializableBuffer msg;
3651 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_GLOBAL_GET));
3654 static_cast<FwAssertArgType>(_status)
3660 _status = msg.serializeFrom(port);
3663 static_cast<FwAssertArgType>(_status)
3666 _status = msg.serializeFrom(opCode);
3669 static_cast<FwAssertArgType>(_status)
3672 _status = msg.serializeFrom(cmdSeq);
3675 static_cast<FwAssertArgType>(_status)
3678 _status = msg.serializeFrom(args);
3681 static_cast<FwAssertArgType>(_status)
3690 static_cast<FwAssertArgType>(qStatus)
3833 this->timeCaller_out(0, _logTime);
3843 #if FW_AMPCS_COMPATIBLE 3848 static_cast<FwAssertArgType>(_status)
3852 #if FW_AMPCS_COMPATIBLE 3855 static_cast<U8>(
sizeof(U16))
3859 static_cast<FwAssertArgType>(_status)
3865 static_cast<FwAssertArgType>(_status)
3878 #if FW_ENABLE_TEXT_LOGGING 3879 if (this->isConnected_logTextOut_OutputPort(0)) {
3880 #if FW_OBJECT_NAMES == 1 3881 const char* _formatString =
3882 "(%s) %s: Successfully allocated store with %" PRIu16
" modules";
3884 const char* _formatString =
3885 "%s: Successfully allocated store with %" PRIu16
" modules";
3889 (void) _logString.
format(
3892 this->m_objName.toChar(),
3894 "StoreAllocationSucceeded ",
3898 this->logTextOut_out(
3915 this->timeCaller_out(0, _logTime);
3924 #if FW_AMPCS_COMPATIBLE 3930 static_cast<FwAssertArgType>(_status)
3944 #if FW_ENABLE_TEXT_LOGGING 3945 if (this->isConnected_logTextOut_OutputPort(0)) {
3946 #if FW_OBJECT_NAMES == 1 3947 const char* _formatString =
3948 "(%s) %s: Cannot invoke a module when no module is loaded";
3950 const char* _formatString =
3951 "%s: Cannot invoke a module when no module is loaded";
3955 (void) _logString.
format(
3958 this->m_objName.toChar(),
3960 "ControllerCannotInvoke " 3963 this->logTextOut_out(
3983 this->timeCaller_out(0, _logTime);
3993 #if FW_AMPCS_COMPATIBLE 3998 static_cast<FwAssertArgType>(_status)
4002 #if FW_AMPCS_COMPATIBLE 4009 static_cast<FwAssertArgType>(_status)
4015 static_cast<FwAssertArgType>(_status)
4018 #if FW_AMPCS_COMPATIBLE 4025 static_cast<FwAssertArgType>(_status)
4031 static_cast<FwAssertArgType>(_status)
4044 #if FW_ENABLE_TEXT_LOGGING 4045 if (this->isConnected_logTextOut_OutputPort(0)) {
4046 #if FW_OBJECT_NAMES == 1 4047 const char* _formatString =
4048 "(%s) %s: Controller cannot process signal %s in state %s";
4050 const char* _formatString =
4051 "%s: Controller cannot process signal %s in state %s";
4055 signalSource.toString(signalSourceStr);
4057 state.toString(stateStr);
4060 (void) _logString.
format(
4063 this->m_objName.toChar(),
4066 signalSourceStr.
toChar(),
4070 this->logTextOut_out(
4087 this->timeCaller_out(0, _logTime);
4097 #if FW_AMPCS_COMPATIBLE 4102 static_cast<FwAssertArgType>(_status)
4112 static_cast<FwAssertArgType>(_status)
4125 #if FW_ENABLE_TEXT_LOGGING 4126 if (this->isConnected_logTextOut_OutputPort(0)) {
4127 #if FW_OBJECT_NAMES == 1 4128 const char* _formatString =
4129 "(%s) %s: Module with name %s is not loaded into the store";
4131 const char* _formatString =
4132 "%s: Module with name %s is not loaded into the store";
4136 (void) _logString.
format(
4139 this->m_objName.toChar(),
4145 this->logTextOut_out(
4165 this->timeCaller_out(0, _logTime);
4175 #if FW_AMPCS_COMPATIBLE 4180 static_cast<FwAssertArgType>(_status)
4184 #if FW_AMPCS_COMPATIBLE 4191 static_cast<FwAssertArgType>(_status)
4197 static_cast<FwAssertArgType>(_status)
4200 #if FW_AMPCS_COMPATIBLE 4203 static_cast<U8>(
sizeof(U64))
4207 static_cast<FwAssertArgType>(_status)
4213 static_cast<FwAssertArgType>(_status)
4226 #if FW_ENABLE_TEXT_LOGGING 4227 if (this->isConnected_logTextOut_OutputPort(0)) {
4228 #if FW_OBJECT_NAMES == 1 4229 const char* _formatString =
4230 "(%s) %s: Guest memory.grow rejected: %s (requested %" PRIu64
" bytes)";
4232 const char* _formatString =
4233 "%s: Guest memory.grow rejected: %s (requested %" PRIu64
" bytes)";
4237 reason.toString(reasonStr);
4240 (void) _logString.
format(
4243 this->m_objName.toChar(),
4245 "MemoryGrowRejected ",
4250 this->logTextOut_out(
4271 this->timeCaller_out(0, _logTime);
4281 #if FW_AMPCS_COMPATIBLE 4286 static_cast<FwAssertArgType>(_status)
4296 static_cast<FwAssertArgType>(_status)
4305 static_cast<FwAssertArgType>(_status)
4308 #if FW_AMPCS_COMPATIBLE 4315 static_cast<FwAssertArgType>(_status)
4321 static_cast<FwAssertArgType>(_status)
4334 #if FW_ENABLE_TEXT_LOGGING 4335 if (this->isConnected_logTextOut_OutputPort(0)) {
4336 #if FW_OBJECT_NAMES == 1 4337 const char* _formatString =
4338 "(%s) %s: Failed to set global value for module %s global name %s: %s";
4340 const char* _formatString =
4341 "%s: Failed to set global value for module %s global name %s: %s";
4345 reason.toString(reasonStr);
4348 (void) _logString.
format(
4351 this->m_objName.toChar(),
4359 this->logTextOut_out(
4380 this->timeCaller_out(0, _logTime);
4390 #if FW_AMPCS_COMPATIBLE 4395 static_cast<FwAssertArgType>(_status)
4405 static_cast<FwAssertArgType>(_status)
4414 static_cast<FwAssertArgType>(_status)
4417 #if FW_AMPCS_COMPATIBLE 4424 static_cast<FwAssertArgType>(_status)
4430 static_cast<FwAssertArgType>(_status)
4443 #if FW_ENABLE_TEXT_LOGGING 4444 if (this->isConnected_logTextOut_OutputPort(0)) {
4445 #if FW_OBJECT_NAMES == 1 4446 const char* _formatString =
4447 "(%s) %s: Failed to get global value for module %s global name %s: %s";
4449 const char* _formatString =
4450 "%s: Failed to get global value for module %s global name %s: %s";
4454 reason.toString(reasonStr);
4457 (void) _logString.
format(
4460 this->m_objName.toChar(),
4468 this->logTextOut_out(
4489 this->timeCaller_out(0, _logTime);
4499 #if FW_AMPCS_COMPATIBLE 4504 static_cast<FwAssertArgType>(_status)
4514 static_cast<FwAssertArgType>(_status)
4523 static_cast<FwAssertArgType>(_status)
4526 #if FW_AMPCS_COMPATIBLE 4529 static_cast<U8>(
sizeof(I32))
4533 static_cast<FwAssertArgType>(_status)
4539 static_cast<FwAssertArgType>(_status)
4552 #if FW_ENABLE_TEXT_LOGGING 4553 if (this->isConnected_logTextOut_OutputPort(0)) {
4554 #if FW_OBJECT_NAMES == 1 4555 const char* _formatString =
4556 "(%s) %s: Global value module=%s name=%s value=%" PRIi32
"";
4558 const char* _formatString =
4559 "%s: Global value module=%s name=%s value=%" PRIi32
"";
4563 (void) _logString.
format(
4566 this->m_objName.toChar(),
4574 this->logTextOut_out(
4595 this->timeCaller_out(0, _logTime);
4605 #if FW_AMPCS_COMPATIBLE 4610 static_cast<FwAssertArgType>(_status)
4620 static_cast<FwAssertArgType>(_status)
4629 static_cast<FwAssertArgType>(_status)
4632 #if FW_AMPCS_COMPATIBLE 4635 static_cast<U8>(
sizeof(I64))
4639 static_cast<FwAssertArgType>(_status)
4645 static_cast<FwAssertArgType>(_status)
4658 #if FW_ENABLE_TEXT_LOGGING 4659 if (this->isConnected_logTextOut_OutputPort(0)) {
4660 #if FW_OBJECT_NAMES == 1 4661 const char* _formatString =
4662 "(%s) %s: Global value module=%s name=%s value=%" PRIi64
"";
4664 const char* _formatString =
4665 "%s: Global value module=%s name=%s value=%" PRIi64
"";
4669 (void) _logString.
format(
4672 this->m_objName.toChar(),
4680 this->logTextOut_out(
4701 this->timeCaller_out(0, _logTime);
4711 #if FW_AMPCS_COMPATIBLE 4716 static_cast<FwAssertArgType>(_status)
4726 static_cast<FwAssertArgType>(_status)
4735 static_cast<FwAssertArgType>(_status)
4738 #if FW_AMPCS_COMPATIBLE 4741 static_cast<U8>(
sizeof(
F32))
4745 static_cast<FwAssertArgType>(_status)
4751 static_cast<FwAssertArgType>(_status)
4764 #if FW_ENABLE_TEXT_LOGGING 4765 if (this->isConnected_logTextOut_OutputPort(0)) {
4766 #if FW_OBJECT_NAMES == 1 4767 const char* _formatString =
4768 "(%s) %s: Global value module=%s name=%s value=%f";
4770 const char* _formatString =
4771 "%s: Global value module=%s name=%s value=%f";
4775 (void) _logString.
format(
4778 this->m_objName.toChar(),
4783 static_cast<F64>(value)
4786 this->logTextOut_out(
4807 this->timeCaller_out(0, _logTime);
4817 #if FW_AMPCS_COMPATIBLE 4822 static_cast<FwAssertArgType>(_status)
4832 static_cast<FwAssertArgType>(_status)
4841 static_cast<FwAssertArgType>(_status)
4844 #if FW_AMPCS_COMPATIBLE 4847 static_cast<U8>(
sizeof(
F64))
4851 static_cast<FwAssertArgType>(_status)
4857 static_cast<FwAssertArgType>(_status)
4870 #if FW_ENABLE_TEXT_LOGGING 4871 if (this->isConnected_logTextOut_OutputPort(0)) {
4872 #if FW_OBJECT_NAMES == 1 4873 const char* _formatString =
4874 "(%s) %s: Global value module=%s name=%s value=%f";
4876 const char* _formatString =
4877 "%s: Global value module=%s name=%s value=%f";
4881 (void) _logString.
format(
4884 this->m_objName.toChar(),
4892 this->logTextOut_out(
4912 this->timeCaller_out(0, _logTime);
4922 #if FW_AMPCS_COMPATIBLE 4927 static_cast<FwAssertArgType>(_status)
4937 static_cast<FwAssertArgType>(_status)
4940 #if FW_AMPCS_COMPATIBLE 4943 static_cast<U8>(
sizeof(I32))
4947 static_cast<FwAssertArgType>(_status)
4953 static_cast<FwAssertArgType>(_status)
4966 #if FW_ENABLE_TEXT_LOGGING 4967 if (this->isConnected_logTextOut_OutputPort(0)) {
4968 #if FW_OBJECT_NAMES == 1 4969 const char* _formatString =
4970 "(%s) %s: Failed to open Wasm module file %s: status %" PRIi32
"";
4972 const char* _formatString =
4973 "%s: Failed to open Wasm module file %s: status %" PRIi32
"";
4977 (void) _logString.
format(
4980 this->m_objName.toChar(),
4987 this->logTextOut_out(
5007 this->timeCaller_out(0, _logTime);
5017 #if FW_AMPCS_COMPATIBLE 5022 static_cast<FwAssertArgType>(_status)
5032 static_cast<FwAssertArgType>(_status)
5041 static_cast<FwAssertArgType>(_status)
5054 #if FW_ENABLE_TEXT_LOGGING 5055 if (this->isConnected_logTextOut_OutputPort(0)) {
5056 #if FW_OBJECT_NAMES == 1 5057 const char* _formatString =
5058 "(%s) %s: Sequence file path too long: base dir %s + file %s";
5060 const char* _formatString =
5061 "%s: Sequence file path too long: base dir %s + file %s";
5065 (void) _logString.
format(
5068 this->m_objName.toChar(),
5070 "SequenceFilePathTooLong ",
5075 this->logTextOut_out(
5095 this->timeCaller_out(0, _logTime);
5105 #if FW_AMPCS_COMPATIBLE 5110 static_cast<FwAssertArgType>(_status)
5120 static_cast<FwAssertArgType>(_status)
5129 static_cast<FwAssertArgType>(_status)
5142 #if FW_ENABLE_TEXT_LOGGING 5143 if (this->isConnected_logTextOut_OutputPort(0)) {
5144 #if FW_OBJECT_NAMES == 1 5145 const char* _formatString =
5146 "(%s) %s: Sequence file %s is not contained within base dir %s (path traversal rejected)";
5148 const char* _formatString =
5149 "%s: Sequence file %s is not contained within base dir %s (path traversal rejected)";
5153 (void) _logString.
format(
5156 this->m_objName.toChar(),
5158 "SequenceFilePathNotContained ",
5163 this->logTextOut_out(
5180 this->timeCaller_out(0, _logTime);
5190 #if FW_AMPCS_COMPATIBLE 5195 static_cast<FwAssertArgType>(_status)
5199 #if FW_AMPCS_COMPATIBLE 5206 static_cast<FwAssertArgType>(_status)
5212 static_cast<FwAssertArgType>(_status)
5225 #if FW_ENABLE_TEXT_LOGGING 5226 if (this->isConnected_logTextOut_OutputPort(0)) {
5227 #if FW_OBJECT_NAMES == 1 5228 const char* _formatString =
5229 "(%s) %s: Module load failed: %s";
5231 const char* _formatString =
5232 "%s: Module load failed: %s";
5236 status.toString(statusStr);
5239 (void) _logString.
format(
5242 this->m_objName.toChar(),
5244 "ModuleLoadFailed ",
5248 this->logTextOut_out(
5265 this->timeCaller_out(0, _logTime);
5275 #if FW_AMPCS_COMPATIBLE 5280 static_cast<FwAssertArgType>(_status)
5284 #if FW_AMPCS_COMPATIBLE 5291 static_cast<FwAssertArgType>(_status)
5297 static_cast<FwAssertArgType>(_status)
5310 #if FW_ENABLE_TEXT_LOGGING 5311 if (this->isConnected_logTextOut_OutputPort(0)) {
5312 #if FW_OBJECT_NAMES == 1 5313 const char* _formatString =
5314 "(%s) %s: Module main invoke failed: %s";
5316 const char* _formatString =
5317 "%s: Module main invoke failed: %s";
5321 status.toString(statusStr);
5324 (void) _logString.
format(
5327 this->m_objName.toChar(),
5329 "ModuleMainInvokeFailed ",
5333 this->logTextOut_out(
5350 this->timeCaller_out(0, _logTime);
5360 #if FW_AMPCS_COMPATIBLE 5365 static_cast<FwAssertArgType>(_status)
5369 #if FW_AMPCS_COMPATIBLE 5376 static_cast<FwAssertArgType>(_status)
5382 static_cast<FwAssertArgType>(_status)
5395 #if FW_ENABLE_TEXT_LOGGING 5396 if (this->isConnected_logTextOut_OutputPort(0)) {
5397 #if FW_OBJECT_NAMES == 1 5398 const char* _formatString =
5399 "(%s) %s: Module start invoke failed: %s";
5401 const char* _formatString =
5402 "%s: Module start invoke failed: %s";
5406 status.toString(statusStr);
5409 (void) _logString.
format(
5412 this->m_objName.toChar(),
5414 "ModuleStartInvokeFailed ",
5418 this->logTextOut_out(
5435 this->timeCaller_out(0, _logTime);
5444 #if FW_AMPCS_COMPATIBLE 5450 static_cast<FwAssertArgType>(_status)
5464 #if FW_ENABLE_TEXT_LOGGING 5465 if (this->isConnected_logTextOut_OutputPort(0)) {
5466 #if FW_OBJECT_NAMES == 1 5467 const char* _formatString =
5468 "(%s) %s: Too many commands blocking on sequencer finish";
5470 const char* _formatString =
5471 "%s: Too many commands blocking on sequencer finish";
5475 (void) _logString.
format(
5478 this->m_objName.toChar(),
5480 "TooManyBlockingCommands " 5483 this->logTextOut_out(
5504 this->timeCaller_out(0, _logTime);
5514 #if FW_AMPCS_COMPATIBLE 5519 static_cast<FwAssertArgType>(_status)
5523 #if FW_AMPCS_COMPATIBLE 5530 static_cast<FwAssertArgType>(_status)
5536 static_cast<FwAssertArgType>(_status)
5539 #if FW_AMPCS_COMPATIBLE 5542 static_cast<U8>(
sizeof(U32))
5546 static_cast<FwAssertArgType>(_status)
5552 static_cast<FwAssertArgType>(_status)
5555 #if FW_AMPCS_COMPATIBLE 5558 static_cast<U8>(
sizeof(U32))
5562 static_cast<FwAssertArgType>(_status)
5568 static_cast<FwAssertArgType>(_status)
5581 #if FW_ENABLE_TEXT_LOGGING 5582 if (this->isConnected_logTextOut_OutputPort(0)) {
5583 #if FW_OBJECT_NAMES == 1 5584 const char* _formatString =
5585 "(%s) %s: Host function %s buffer payload size %" PRIu32
" larger than host maximum size %" PRIu32
"";
5587 const char* _formatString =
5588 "%s: Host function %s buffer payload size %" PRIu32
" larger than host maximum size %" PRIu32
"";
5592 host_function.toString(host_functionStr);
5595 (void) _logString.
format(
5598 this->m_objName.toChar(),
5601 host_functionStr.
toChar(),
5606 this->logTextOut_out(
5627 this->timeCaller_out(0, _logTime);
5637 #if FW_AMPCS_COMPATIBLE 5642 static_cast<FwAssertArgType>(_status)
5646 #if FW_AMPCS_COMPATIBLE 5653 static_cast<FwAssertArgType>(_status)
5659 static_cast<FwAssertArgType>(_status)
5662 #if FW_AMPCS_COMPATIBLE 5665 static_cast<U8>(
sizeof(U32))
5669 static_cast<FwAssertArgType>(_status)
5675 static_cast<FwAssertArgType>(_status)
5678 #if FW_AMPCS_COMPATIBLE 5681 static_cast<U8>(
sizeof(U32))
5685 static_cast<FwAssertArgType>(_status)
5691 static_cast<FwAssertArgType>(_status)
5704 #if FW_ENABLE_TEXT_LOGGING 5705 if (this->isConnected_logTextOut_OutputPort(0)) {
5706 #if FW_OBJECT_NAMES == 1 5707 const char* _formatString =
5708 "(%s) %s: Host function %s buffer payload size %" PRIu32
" smaller than host value size %" PRIu32
"";
5710 const char* _formatString =
5711 "%s: Host function %s buffer payload size %" PRIu32
" smaller than host value size %" PRIu32
"";
5715 host_function.toString(host_functionStr);
5718 (void) _logString.
format(
5721 this->m_objName.toChar(),
5724 host_functionStr.
toChar(),
5729 this->logTextOut_out(
5749 this->timeCaller_out(0, _logTime);
5759 #if FW_AMPCS_COMPATIBLE 5764 static_cast<FwAssertArgType>(_status)
5768 #if FW_AMPCS_COMPATIBLE 5775 static_cast<FwAssertArgType>(_status)
5781 static_cast<FwAssertArgType>(_status)
5784 #if FW_AMPCS_COMPATIBLE 5791 static_cast<FwAssertArgType>(_status)
5797 static_cast<FwAssertArgType>(_status)
5810 #if FW_ENABLE_TEXT_LOGGING 5811 if (this->isConnected_logTextOut_OutputPort(0)) {
5812 #if FW_OBJECT_NAMES == 1 5813 const char* _formatString =
5814 "(%s) %s: Failed to read guest pointer in host function %s: %s";
5816 const char* _formatString =
5817 "%s: Failed to read guest pointer in host function %s: %s";
5821 host_function.toString(host_functionStr);
5823 code.toString(codeStr);
5826 (void) _logString.
format(
5829 this->m_objName.toChar(),
5831 "HostFunctionInvalidPointer ",
5832 host_functionStr.
toChar(),
5836 this->logTextOut_out(
5853 this->timeCaller_out(0, _logTime);
5863 #if FW_AMPCS_COMPATIBLE 5868 static_cast<FwAssertArgType>(_status)
5872 #if FW_AMPCS_COMPATIBLE 5875 static_cast<U8>(
sizeof(I32))
5879 static_cast<FwAssertArgType>(_status)
5885 static_cast<FwAssertArgType>(_status)
5898 #if FW_ENABLE_TEXT_LOGGING 5899 if (this->isConnected_logTextOut_OutputPort(0)) {
5900 #if FW_OBJECT_NAMES == 1 5901 const char* _formatString =
5902 "(%s) %s: Invalid blocking type value passed to serial_recv: %" PRIi32
"";
5904 const char* _formatString =
5905 "%s: Invalid blocking type value passed to serial_recv: %" PRIi32
"";
5909 (void) _logString.
format(
5912 this->m_objName.toChar(),
5914 "InvalidBlockingTypeValue ",
5918 this->logTextOut_out(
5939 this->timeCaller_out(0, _logTime);
5949 #if FW_AMPCS_COMPATIBLE 5954 static_cast<FwAssertArgType>(_status)
5958 #if FW_AMPCS_COMPATIBLE 5965 static_cast<FwAssertArgType>(_status)
5971 static_cast<FwAssertArgType>(_status)
5974 #if FW_AMPCS_COMPATIBLE 5977 static_cast<U8>(
sizeof(I32))
5981 static_cast<FwAssertArgType>(_status)
5987 static_cast<FwAssertArgType>(_status)
5990 #if FW_AMPCS_COMPATIBLE 5993 static_cast<U8>(
sizeof(U32))
5997 static_cast<FwAssertArgType>(_status)
6003 static_cast<FwAssertArgType>(_status)
6016 #if FW_ENABLE_TEXT_LOGGING 6017 if (this->isConnected_logTextOut_OutputPort(0)) {
6018 #if FW_OBJECT_NAMES == 1 6019 const char* _formatString =
6020 "(%s) %s: Host function %s requested invalid serial port index %" PRIi32
" (have %" PRIu32
" ports)";
6022 const char* _formatString =
6023 "%s: Host function %s requested invalid serial port index %" PRIi32
" (have %" PRIu32
" ports)";
6027 host_function.toString(host_functionStr);
6030 (void) _logString.
format(
6033 this->m_objName.toChar(),
6035 "HostFunctionInvalidPort ",
6036 host_functionStr.
toChar(),
6041 this->logTextOut_out(
6061 this->timeCaller_out(0, _logTime);
6071 #if FW_AMPCS_COMPATIBLE 6076 static_cast<FwAssertArgType>(_status)
6080 #if FW_AMPCS_COMPATIBLE 6087 static_cast<FwAssertArgType>(_status)
6093 static_cast<FwAssertArgType>(_status)
6096 #if FW_AMPCS_COMPATIBLE 6099 static_cast<U8>(
sizeof(I32))
6103 static_cast<FwAssertArgType>(_status)
6109 static_cast<FwAssertArgType>(_status)
6122 #if FW_ENABLE_TEXT_LOGGING 6123 if (this->isConnected_logTextOut_OutputPort(0)) {
6124 #if FW_OBJECT_NAMES == 1 6125 const char* _formatString =
6126 "(%s) %s: Host function %s failed to send on serial port: serialize status %" PRIi32
"";
6128 const char* _formatString =
6129 "%s: Host function %s failed to send on serial port: serialize status %" PRIi32
"";
6133 host_function.toString(host_functionStr);
6136 (void) _logString.
format(
6139 this->m_objName.toChar(),
6141 "SerialPortSendFailed ",
6142 host_functionStr.
toChar(),
6146 this->logTextOut_out(
6167 this->timeCaller_out(0, _logTime);
6177 #if FW_AMPCS_COMPATIBLE 6182 static_cast<FwAssertArgType>(_status)
6186 #if FW_AMPCS_COMPATIBLE 6189 static_cast<U8>(
sizeof(U32))
6193 static_cast<FwAssertArgType>(_status)
6199 static_cast<FwAssertArgType>(_status)
6202 #if FW_AMPCS_COMPATIBLE 6205 static_cast<U8>(
sizeof(U32))
6209 static_cast<FwAssertArgType>(_status)
6215 static_cast<FwAssertArgType>(_status)
6218 #if FW_AMPCS_COMPATIBLE 6221 static_cast<U8>(
sizeof(U32))
6225 static_cast<FwAssertArgType>(_status)
6231 static_cast<FwAssertArgType>(_status)
6244 #if FW_ENABLE_TEXT_LOGGING 6245 if (this->isConnected_logTextOut_OutputPort(0)) {
6246 #if FW_OBJECT_NAMES == 1 6247 const char* _formatString =
6248 "(%s) %s: Serial input port %" PRIu32
" dropped oversized frame of %" PRIu32
" bytes (queue max %" PRIu32
")";
6250 const char* _formatString =
6251 "%s: Serial input port %" PRIu32
" dropped oversized frame of %" PRIu32
" bytes (queue max %" PRIu32
")";
6255 (void) _logString.
format(
6258 this->m_objName.toChar(),
6260 "SerialInFrameTooLarge ",
6266 this->logTextOut_out(
6286 this->timeCaller_out(0, _logTime);
6296 #if FW_AMPCS_COMPATIBLE 6301 static_cast<FwAssertArgType>(_status)
6305 #if FW_AMPCS_COMPATIBLE 6308 static_cast<U8>(
sizeof(I32))
6312 static_cast<FwAssertArgType>(_status)
6318 static_cast<FwAssertArgType>(_status)
6327 static_cast<FwAssertArgType>(_status)
6340 #if FW_ENABLE_TEXT_LOGGING 6341 if (this->isConnected_logTextOut_OutputPort(0)) {
6342 #if FW_OBJECT_NAMES == 1 6343 const char* _formatString =
6344 "(%s) %s: Guest event at invalid/forbidden severity '%" PRIi32
"': %s";
6346 const char* _formatString =
6347 "%s: Guest event at invalid/forbidden severity '%" PRIi32
"': %s";
6351 (void) _logString.
format(
6354 this->m_objName.toChar(),
6356 "HostFunctionInvalidSeverity ",
6361 this->logTextOut_out(
6378 this->timeCaller_out(0, _logTime);
6388 #if FW_AMPCS_COMPATIBLE 6393 static_cast<FwAssertArgType>(_status)
6397 #if FW_AMPCS_COMPATIBLE 6404 static_cast<FwAssertArgType>(_status)
6410 static_cast<FwAssertArgType>(_status)
6423 #if FW_ENABLE_TEXT_LOGGING 6424 if (this->isConnected_logTextOut_OutputPort(0)) {
6425 #if FW_OBJECT_NAMES == 1 6426 const char* _formatString =
6427 "(%s) %s: Sequence at index %" PRIu8
" finished starting";
6429 const char* _formatString =
6430 "%s: Sequence at index %" PRIu8
" finished starting";
6434 (void) _logString.
format(
6437 this->m_objName.toChar(),
6439 "SequenceStarting ",
6443 this->logTextOut_out(
6460 this->timeCaller_out(0, _logTime);
6470 #if FW_AMPCS_COMPATIBLE 6475 static_cast<FwAssertArgType>(_status)
6479 #if FW_AMPCS_COMPATIBLE 6486 static_cast<FwAssertArgType>(_status)
6492 static_cast<FwAssertArgType>(_status)
6505 #if FW_ENABLE_TEXT_LOGGING 6506 if (this->isConnected_logTextOut_OutputPort(0)) {
6507 #if FW_OBJECT_NAMES == 1 6508 const char* _formatString =
6509 "(%s) %s: Sequence at index %" PRIu8
" finished successfully";
6511 const char* _formatString =
6512 "%s: Sequence at index %" PRIu8
" finished successfully";
6516 (void) _logString.
format(
6519 this->m_objName.toChar(),
6521 "SequenceSucceeded ",
6525 this->logTextOut_out(
6545 this->timeCaller_out(0, _logTime);
6555 #if FW_AMPCS_COMPATIBLE 6560 static_cast<FwAssertArgType>(_status)
6564 #if FW_AMPCS_COMPATIBLE 6571 static_cast<FwAssertArgType>(_status)
6577 static_cast<FwAssertArgType>(_status)
6580 #if FW_AMPCS_COMPATIBLE 6587 static_cast<FwAssertArgType>(_status)
6593 static_cast<FwAssertArgType>(_status)
6606 #if FW_ENABLE_TEXT_LOGGING 6607 if (this->isConnected_logTextOut_OutputPort(0)) {
6608 #if FW_OBJECT_NAMES == 1 6609 const char* _formatString =
6610 "(%s) %s: Sequence at index %" PRIu8
" was cancelled during %s";
6612 const char* _formatString =
6613 "%s: Sequence at index %" PRIu8
" was cancelled during %s";
6617 phase.toString(phaseStr);
6620 (void) _logString.
format(
6623 this->m_objName.toChar(),
6625 "SequenceCancelled ",
6630 this->logTextOut_out(
6651 this->timeCaller_out(0, _logTime);
6661 #if FW_AMPCS_COMPATIBLE 6666 static_cast<FwAssertArgType>(_status)
6670 #if FW_AMPCS_COMPATIBLE 6677 static_cast<FwAssertArgType>(_status)
6683 static_cast<FwAssertArgType>(_status)
6686 #if FW_AMPCS_COMPATIBLE 6693 static_cast<FwAssertArgType>(_status)
6699 static_cast<FwAssertArgType>(_status)
6702 #if FW_AMPCS_COMPATIBLE 6705 static_cast<U8>(
sizeof(I32))
6709 static_cast<FwAssertArgType>(_status)
6715 static_cast<FwAssertArgType>(_status)
6728 #if FW_ENABLE_TEXT_LOGGING 6729 if (this->isConnected_logTextOut_OutputPort(0)) {
6730 #if FW_OBJECT_NAMES == 1 6731 const char* _formatString =
6732 "(%s) %s: Sequence at index %" PRIu8
" exited during %s with non-zero code %" PRIi32
"";
6734 const char* _formatString =
6735 "%s: Sequence at index %" PRIu8
" exited during %s with non-zero code %" PRIi32
"";
6739 phase.toString(phaseStr);
6742 (void) _logString.
format(
6745 this->m_objName.toChar(),
6753 this->logTextOut_out(
6774 this->timeCaller_out(0, _logTime);
6784 #if FW_AMPCS_COMPATIBLE 6789 static_cast<FwAssertArgType>(_status)
6793 #if FW_AMPCS_COMPATIBLE 6800 static_cast<FwAssertArgType>(_status)
6806 static_cast<FwAssertArgType>(_status)
6809 #if FW_AMPCS_COMPATIBLE 6816 static_cast<FwAssertArgType>(_status)
6822 static_cast<FwAssertArgType>(_status)
6825 #if FW_AMPCS_COMPATIBLE 6828 static_cast<U8>(
sizeof(I32))
6832 static_cast<FwAssertArgType>(_status)
6838 static_cast<FwAssertArgType>(_status)
6851 #if FW_ENABLE_TEXT_LOGGING 6852 if (this->isConnected_logTextOut_OutputPort(0)) {
6853 #if FW_OBJECT_NAMES == 1 6854 const char* _formatString =
6855 "(%s) %s: Sequence at index %" PRIu8
" panicked during %s with code %" PRIi32
"";
6857 const char* _formatString =
6858 "%s: Sequence at index %" PRIu8
" panicked during %s with code %" PRIi32
"";
6862 phase.toString(phaseStr);
6865 (void) _logString.
format(
6868 this->m_objName.toChar(),
6876 this->logTextOut_out(
6897 this->timeCaller_out(0, _logTime);
6907 #if FW_AMPCS_COMPATIBLE 6912 static_cast<FwAssertArgType>(_status)
6916 #if FW_AMPCS_COMPATIBLE 6923 static_cast<FwAssertArgType>(_status)
6929 static_cast<FwAssertArgType>(_status)
6932 #if FW_AMPCS_COMPATIBLE 6939 static_cast<FwAssertArgType>(_status)
6945 static_cast<FwAssertArgType>(_status)
6948 #if FW_AMPCS_COMPATIBLE 6955 static_cast<FwAssertArgType>(_status)
6961 static_cast<FwAssertArgType>(_status)
6974 #if FW_ENABLE_TEXT_LOGGING 6975 if (this->isConnected_logTextOut_OutputPort(0)) {
6976 #if FW_OBJECT_NAMES == 1 6977 const char* _formatString =
6978 "(%s) %s: Sequence at index %" PRIu8
" trapped during %s: %s";
6980 const char* _formatString =
6981 "%s: Sequence at index %" PRIu8
" trapped during %s: %s";
6985 phase.toString(phaseStr);
6987 reason.toString(reasonStr);
6990 (void) _logString.
format(
6993 this->m_objName.toChar(),
7001 this->logTextOut_out(
7023 this->timeCaller_out(0, _logTime);
7033 #if FW_AMPCS_COMPATIBLE 7038 static_cast<FwAssertArgType>(_status)
7042 #if FW_AMPCS_COMPATIBLE 7049 static_cast<FwAssertArgType>(_status)
7055 static_cast<FwAssertArgType>(_status)
7058 #if FW_AMPCS_COMPATIBLE 7065 static_cast<FwAssertArgType>(_status)
7071 static_cast<FwAssertArgType>(_status)
7074 #if FW_AMPCS_COMPATIBLE 7081 static_cast<FwAssertArgType>(_status)
7087 static_cast<FwAssertArgType>(_status)
7090 #if FW_AMPCS_COMPATIBLE 7097 static_cast<FwAssertArgType>(_status)
7103 static_cast<FwAssertArgType>(_status)
7116 #if FW_ENABLE_TEXT_LOGGING 7117 if (this->isConnected_logTextOut_OutputPort(0)) {
7118 #if FW_OBJECT_NAMES == 1 7119 const char* _formatString =
7120 "(%s) %s: Sequence at index %" PRIu8
" failed during %s awaiting host function %s (reason %s)";
7122 const char* _formatString =
7123 "%s: Sequence at index %" PRIu8
" failed during %s awaiting host function %s (reason %s)";
7127 phase.toString(phaseStr);
7129 reason.toString(reasonStr);
7131 hostFunction.toString(hostFunctionStr);
7134 (void) _logString.
format(
7137 this->m_objName.toChar(),
7139 "SequenceHostFailure ",
7146 this->logTextOut_out(
7163 this->timeCaller_out(0, _logTime);
7172 #if FW_AMPCS_COMPATIBLE 7178 static_cast<FwAssertArgType>(_status)
7192 #if FW_ENABLE_TEXT_LOGGING 7193 if (this->isConnected_logTextOut_OutputPort(0)) {
7194 #if FW_OBJECT_NAMES == 1 7195 const char* _formatString =
7196 "(%s) %s: Sequence execution paused";
7198 const char* _formatString =
7199 "%s: Sequence execution paused";
7203 (void) _logString.
format(
7206 this->m_objName.toChar(),
7211 this->logTextOut_out(
7228 this->timeCaller_out(0, _logTime);
7237 #if FW_AMPCS_COMPATIBLE 7243 static_cast<FwAssertArgType>(_status)
7257 #if FW_ENABLE_TEXT_LOGGING 7258 if (this->isConnected_logTextOut_OutputPort(0)) {
7259 #if FW_OBJECT_NAMES == 1 7260 const char* _formatString =
7261 "(%s) %s: Sequence cannot continue when interpreter is not running";
7263 const char* _formatString =
7264 "%s: Sequence cannot continue when interpreter is not running";
7268 (void) _logString.
format(
7271 this->m_objName.toChar(),
7273 "SequenceNotRunning " 7276 this->logTextOut_out(
7296 this->timeCaller_out(0, _logTime);
7306 #if FW_AMPCS_COMPATIBLE 7311 static_cast<FwAssertArgType>(_status)
7315 #if FW_AMPCS_COMPATIBLE 7322 static_cast<FwAssertArgType>(_status)
7328 static_cast<FwAssertArgType>(_status)
7331 #if FW_AMPCS_COMPATIBLE 7334 static_cast<U8>(
sizeof(U64))
7338 static_cast<FwAssertArgType>(_status)
7344 static_cast<FwAssertArgType>(_status)
7357 #if FW_ENABLE_TEXT_LOGGING 7358 if (this->isConnected_logTextOut_OutputPort(0)) {
7359 #if FW_OBJECT_NAMES == 1 7360 const char* _formatString =
7361 "(%s) %s: Host function %s requested a sleep of %" PRIu64
" us that overflows the host timer";
7363 const char* _formatString =
7364 "%s: Host function %s requested a sleep of %" PRIu64
" us that overflows the host timer";
7368 host_function.toString(host_functionStr);
7371 (void) _logString.
format(
7374 this->m_objName.toChar(),
7376 "SleepDurationTooLarge ",
7377 host_functionStr.
toChar(),
7381 this->logTextOut_out(
7401 this->timeCaller_out(0, _logTime);
7411 #if FW_AMPCS_COMPATIBLE 7416 static_cast<FwAssertArgType>(_status)
7420 #if FW_AMPCS_COMPATIBLE 7427 static_cast<FwAssertArgType>(_status)
7433 static_cast<FwAssertArgType>(_status)
7436 #if FW_AMPCS_COMPATIBLE 7439 static_cast<U8>(
sizeof(I64))
7443 static_cast<FwAssertArgType>(_status)
7449 static_cast<FwAssertArgType>(_status)
7462 #if FW_ENABLE_TEXT_LOGGING 7463 if (this->isConnected_logTextOut_OutputPort(0)) {
7464 #if FW_OBJECT_NAMES == 1 7465 const char* _formatString =
7466 "(%s) %s: Host function %s requested id %" PRIi64
" outside representable id range";
7468 const char* _formatString =
7469 "%s: Host function %s requested id %" PRIi64
" outside representable id range";
7473 host_function.toString(host_functionStr);
7476 (void) _logString.
format(
7479 this->m_objName.toChar(),
7481 "HostFunctionInvalidId ",
7482 host_functionStr.
toChar(),
7486 this->logTextOut_out(
7502 U16 currentSequenceIdx
7508 this->timeCaller_out(0, _logTime);
7518 #if FW_AMPCS_COMPATIBLE 7523 static_cast<FwAssertArgType>(_status)
7527 #if FW_AMPCS_COMPATIBLE 7534 static_cast<FwAssertArgType>(_status)
7540 static_cast<FwAssertArgType>(_status)
7543 #if FW_AMPCS_COMPATIBLE 7550 static_cast<FwAssertArgType>(_status)
7556 static_cast<FwAssertArgType>(_status)
7559 #if FW_AMPCS_COMPATIBLE 7562 static_cast<U8>(
sizeof(U16))
7566 static_cast<FwAssertArgType>(_status)
7572 static_cast<FwAssertArgType>(_status)
7575 #if FW_AMPCS_COMPATIBLE 7578 static_cast<U8>(
sizeof(U16))
7582 static_cast<FwAssertArgType>(_status)
7588 static_cast<FwAssertArgType>(_status)
7601 #if FW_ENABLE_TEXT_LOGGING 7602 if (this->isConnected_logTextOut_OutputPort(0)) {
7603 #if FW_OBJECT_NAMES == 1 7604 const char* _formatString =
7605 "(%s) %s: Command response (opcode %" PRIu32
", response %s) was from a previous sequence (old idx %" PRIu16
", current idx %" PRIu16
")";
7607 const char* _formatString =
7608 "%s: Command response (opcode %" PRIu32
", response %s) was from a previous sequence (old idx %" PRIu16
", current idx %" PRIu16
")";
7612 response.toString(responseStr);
7615 (void) _logString.
format(
7618 this->m_objName.toChar(),
7620 "CmdResponseFromOldSequence ",
7627 this->logTextOut_out(
7649 this->timeCaller_out(0, _logTime);
7659 #if FW_AMPCS_COMPATIBLE 7664 static_cast<FwAssertArgType>(_status)
7668 #if FW_AMPCS_COMPATIBLE 7675 static_cast<FwAssertArgType>(_status)
7681 static_cast<FwAssertArgType>(_status)
7684 #if FW_AMPCS_COMPATIBLE 7691 static_cast<FwAssertArgType>(_status)
7697 static_cast<FwAssertArgType>(_status)
7700 #if FW_AMPCS_COMPATIBLE 7703 static_cast<U8>(
sizeof(U16))
7707 static_cast<FwAssertArgType>(_status)
7713 static_cast<FwAssertArgType>(_status)
7716 #if FW_AMPCS_COMPATIBLE 7719 static_cast<U8>(
sizeof(U16))
7723 static_cast<FwAssertArgType>(_status)
7729 static_cast<FwAssertArgType>(_status)
7742 #if FW_ENABLE_TEXT_LOGGING 7743 if (this->isConnected_logTextOut_OutputPort(0)) {
7744 #if FW_OBJECT_NAMES == 1 7745 const char* _formatString =
7746 "(%s) %s: Command response (opcode %" PRIu32
", response %s) was for a different command instance (actual idx %" PRIu16
", expected %" PRIu16
")";
7748 const char* _formatString =
7749 "%s: Command response (opcode %" PRIu32
", response %s) was for a different command instance (actual idx %" PRIu16
", expected %" PRIu16
")";
7753 response.toString(responseStr);
7756 (void) _logString.
format(
7759 this->m_objName.toChar(),
7761 "WrongCmdResponseIndex ",
7768 this->logTextOut_out(
7788 this->timeCaller_out(0, _logTime);
7798 #if FW_AMPCS_COMPATIBLE 7803 static_cast<FwAssertArgType>(_status)
7807 #if FW_AMPCS_COMPATIBLE 7814 static_cast<FwAssertArgType>(_status)
7820 static_cast<FwAssertArgType>(_status)
7823 #if FW_AMPCS_COMPATIBLE 7830 static_cast<FwAssertArgType>(_status)
7836 static_cast<FwAssertArgType>(_status)
7849 #if FW_ENABLE_TEXT_LOGGING 7850 if (this->isConnected_logTextOut_OutputPort(0)) {
7851 #if FW_OBJECT_NAMES == 1 7852 const char* _formatString =
7853 "(%s) %s: Module at index %" PRIu8
" does not have a valid 'main' entrypoint: %s";
7855 const char* _formatString =
7856 "%s: Module at index %" PRIu8
" does not have a valid 'main' entrypoint: %s";
7860 status.toString(statusStr);
7863 (void) _logString.
format(
7866 this->m_objName.toChar(),
7868 "InvalidModuleEntrypoint ",
7873 this->logTextOut_out(
7890 this->timeCaller_out(0, _logTime);
7900 #if FW_AMPCS_COMPATIBLE 7905 static_cast<FwAssertArgType>(_status)
7915 static_cast<FwAssertArgType>(_status)
7928 #if FW_ENABLE_TEXT_LOGGING 7929 if (this->isConnected_logTextOut_OutputPort(0)) {
7930 #if FW_OBJECT_NAMES == 1 7931 const char* _formatString =
7934 const char* _formatString =
7939 (void) _logString.
format(
7942 this->m_objName.toChar(),
7948 this->logTextOut_out(
7965 this->timeCaller_out(0, _logTime);
7975 #if FW_AMPCS_COMPATIBLE 7980 static_cast<FwAssertArgType>(_status)
7990 static_cast<FwAssertArgType>(_status)
8003 #if FW_ENABLE_TEXT_LOGGING 8004 if (this->isConnected_logTextOut_OutputPort(0)) {
8005 #if FW_OBJECT_NAMES == 1 8006 const char* _formatString =
8009 const char* _formatString =
8014 (void) _logString.
format(
8017 this->m_objName.toChar(),
8023 this->logTextOut_out(
8040 this->timeCaller_out(0, _logTime);
8050 #if FW_AMPCS_COMPATIBLE 8055 static_cast<FwAssertArgType>(_status)
8065 static_cast<FwAssertArgType>(_status)
8078 #if FW_ENABLE_TEXT_LOGGING 8079 if (this->isConnected_logTextOut_OutputPort(0)) {
8080 #if FW_OBJECT_NAMES == 1 8081 const char* _formatString =
8084 const char* _formatString =
8089 (void) _logString.
format(
8092 this->m_objName.toChar(),
8098 this->logTextOut_out(
8115 this->timeCaller_out(0, _logTime);
8125 #if FW_AMPCS_COMPATIBLE 8130 static_cast<FwAssertArgType>(_status)
8140 static_cast<FwAssertArgType>(_status)
8153 #if FW_ENABLE_TEXT_LOGGING 8154 if (this->isConnected_logTextOut_OutputPort(0)) {
8155 #if FW_OBJECT_NAMES == 1 8156 const char* _formatString =
8159 const char* _formatString =
8164 (void) _logString.
format(
8167 this->m_objName.toChar(),
8173 this->logTextOut_out(
8190 this->timeCaller_out(0, _logTime);
8200 #if FW_AMPCS_COMPATIBLE 8205 static_cast<FwAssertArgType>(_status)
8215 static_cast<FwAssertArgType>(_status)
8228 #if FW_ENABLE_TEXT_LOGGING 8229 if (this->isConnected_logTextOut_OutputPort(0)) {
8230 #if FW_OBJECT_NAMES == 1 8231 const char* _formatString =
8234 const char* _formatString =
8239 (void) _logString.
format(
8242 this->m_objName.toChar(),
8248 this->logTextOut_out(
8275 this->timeCaller_out(0, _tlmTime);
8301 if (not this->m_first_update_ControllerState) {
8303 if (arg == this->m_last_ControllerState) {
8307 this->m_last_ControllerState = arg;
8311 this->m_first_update_ControllerState =
false;
8312 this->m_last_ControllerState = arg;
8320 static_cast<FwAssertArgType>(_stat)
8338 if (not this->m_first_update_InterpreterState) {
8340 if (arg == this->m_last_InterpreterState) {
8344 this->m_last_InterpreterState = arg;
8348 this->m_first_update_InterpreterState =
false;
8349 this->m_last_InterpreterState = arg;
8357 static_cast<FwAssertArgType>(_stat)
8375 if (not this->m_first_update_SequencesSucceeded) {
8377 if (arg == this->m_last_SequencesSucceeded) {
8381 this->m_last_SequencesSucceeded = arg;
8385 this->m_first_update_SequencesSucceeded =
false;
8386 this->m_last_SequencesSucceeded = arg;
8394 static_cast<FwAssertArgType>(_stat)
8412 if (not this->m_first_update_SequencesFailed) {
8414 if (arg == this->m_last_SequencesFailed) {
8418 this->m_last_SequencesFailed = arg;
8422 this->m_first_update_SequencesFailed =
false;
8423 this->m_last_SequencesFailed = arg;
8431 static_cast<FwAssertArgType>(_stat)
8449 if (not this->m_first_update_SequencesCancelled) {
8451 if (arg == this->m_last_SequencesCancelled) {
8455 this->m_last_SequencesCancelled = arg;
8459 this->m_first_update_SequencesCancelled =
false;
8460 this->m_last_SequencesCancelled = arg;
8468 static_cast<FwAssertArgType>(_stat)
8486 if (not this->m_first_update_CommandsDispatched) {
8488 if (arg == this->m_last_CommandsDispatched) {
8492 this->m_last_CommandsDispatched = arg;
8496 this->m_first_update_CommandsDispatched =
false;
8497 this->m_last_CommandsDispatched = arg;
8505 static_cast<FwAssertArgType>(_stat)
8523 if (not this->m_first_update_CommandsFailed) {
8525 if (arg == this->m_last_CommandsFailed) {
8529 this->m_last_CommandsFailed = arg;
8533 this->m_first_update_CommandsFailed =
false;
8534 this->m_last_CommandsFailed = arg;
8542 static_cast<FwAssertArgType>(_stat)
8560 if (not this->m_first_update_LastTrapReason) {
8562 if (arg == this->m_last_LastTrapReason) {
8566 this->m_last_LastTrapReason = arg;
8570 this->m_first_update_LastTrapReason =
false;
8571 this->m_last_LastTrapReason = arg;
8579 static_cast<FwAssertArgType>(_stat)
8597 if (not this->m_first_update_SeqName) {
8599 if (arg == this->m_last_SeqName) {
8603 this->m_last_SeqName = arg;
8607 this->m_first_update_SeqName =
false;
8608 this->m_last_SeqName = arg;
8619 static_cast<FwAssertArgType>(_stat)
8654 this->m_paramLock.
lock();
8655 valid = this->m_param_HOST_FUNCTION_TIMEOUT_SECS_valid;
8657 _local = this->m_HOST_FUNCTION_TIMEOUT_SECS;
8659 this->m_paramLock.
unlock();
8667 this->m_paramLock.
lock();
8668 valid = this->m_param_INSTRUCTION_FUEL_valid;
8670 _local = this->m_INSTRUCTION_FUEL;
8672 this->m_paramLock.
unlock();
8680 this->m_paramLock.
lock();
8681 valid = this->m_param_SEQ_BASE_DIR_valid;
8683 _local = this->m_SEQ_BASE_DIR;
8685 this->m_paramLock.
unlock();
8698 this->timeCaller_out(0, _time);
8716 this->m_guardedPortMutex.
lock();
8722 this->m_guardedPortMutex.
unLock();
8732 ComponentIpcSerializableBuffer _msg;
8742 static_cast<FwAssertArgType>(_msgStatus)
8752 static_cast<FwAssertArgType>(_deserStatus)
8755 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
8757 if (_msgType == WASMSEQUENCER_COMPONENT_EXIT) {
8762 _deserStatus = _msg.deserializeTo(portNum);
8765 static_cast<FwAssertArgType>(_deserStatus)
8770 case CHECKTIMERS_SCHED: {
8773 _deserStatus = _msg.deserializeTo(context);
8776 static_cast<FwAssertArgType>(_deserStatus)
8788 case CMDRESPONSEIN_CMDRESPONSE: {
8791 _deserStatus = _msg.deserializeTo(opCode);
8794 static_cast<FwAssertArgType>(_deserStatus)
8799 _deserStatus = _msg.deserializeTo(cmdSeq);
8802 static_cast<FwAssertArgType>(_deserStatus)
8807 _deserStatus = _msg.deserializeTo(response);
8810 static_cast<FwAssertArgType>(_deserStatus)
8824 case SEQRUNIN_CMDSEQIN: {
8827 Fw::ExternalString filename(__fprime_ac_filename_buffer,
sizeof __fprime_ac_filename_buffer);
8828 _deserStatus = _msg.deserializeTo(filename);
8831 static_cast<FwAssertArgType>(_deserStatus)
8836 _deserStatus = _msg.deserializeTo(args);
8839 static_cast<FwAssertArgType>(_deserStatus)
8852 case WRITETELEMETRY_SCHED: {
8855 _deserStatus = _msg.deserializeTo(context);
8858 static_cast<FwAssertArgType>(_deserStatus)
8873 _deserStatus = _msg.deserializeTo(_opCode);
8876 static_cast<FwAssertArgType>(_deserStatus)
8881 _deserStatus = _msg.deserializeTo(_cmdSeq);
8884 static_cast<FwAssertArgType>(_deserStatus)
8889 _deserStatus = _msg.deserializeTo(args);
8892 static_cast<FwAssertArgType>(_deserStatus)
8945 #if FW_CMD_CHECK_RESIDUAL 8970 _deserStatus = _msg.deserializeTo(_opCode);
8973 static_cast<FwAssertArgType>(_deserStatus)
8978 _deserStatus = _msg.deserializeTo(_cmdSeq);
8981 static_cast<FwAssertArgType>(_deserStatus)
8986 _deserStatus = _msg.deserializeTo(args);
8989 static_cast<FwAssertArgType>(_deserStatus)
9027 #if FW_CMD_CHECK_RESIDUAL 9051 _deserStatus = _msg.deserializeTo(_opCode);
9054 static_cast<FwAssertArgType>(_deserStatus)
9059 _deserStatus = _msg.deserializeTo(_cmdSeq);
9062 static_cast<FwAssertArgType>(_deserStatus)
9067 _deserStatus = _msg.deserializeTo(args);
9070 static_cast<FwAssertArgType>(_deserStatus)
9123 #if FW_CMD_CHECK_RESIDUAL 9148 _deserStatus = _msg.deserializeTo(_opCode);
9151 static_cast<FwAssertArgType>(_deserStatus)
9156 _deserStatus = _msg.deserializeTo(_cmdSeq);
9159 static_cast<FwAssertArgType>(_deserStatus)
9164 _deserStatus = _msg.deserializeTo(args);
9167 static_cast<FwAssertArgType>(_deserStatus)
9175 #if FW_CMD_CHECK_RESIDUAL 9195 _deserStatus = _msg.deserializeTo(_opCode);
9198 static_cast<FwAssertArgType>(_deserStatus)
9203 _deserStatus = _msg.deserializeTo(_cmdSeq);
9206 static_cast<FwAssertArgType>(_deserStatus)
9211 _deserStatus = _msg.deserializeTo(args);
9214 static_cast<FwAssertArgType>(_deserStatus)
9222 #if FW_CMD_CHECK_RESIDUAL 9239 case CMD_CONTINUE: {
9242 _deserStatus = _msg.deserializeTo(_opCode);
9245 static_cast<FwAssertArgType>(_deserStatus)
9250 _deserStatus = _msg.deserializeTo(_cmdSeq);
9253 static_cast<FwAssertArgType>(_deserStatus)
9258 _deserStatus = _msg.deserializeTo(args);
9261 static_cast<FwAssertArgType>(_deserStatus)
9269 #if FW_CMD_CHECK_RESIDUAL 9286 case CMD_GLOBAL_SET_I32: {
9289 _deserStatus = _msg.deserializeTo(_opCode);
9292 static_cast<FwAssertArgType>(_deserStatus)
9297 _deserStatus = _msg.deserializeTo(_cmdSeq);
9300 static_cast<FwAssertArgType>(_deserStatus)
9305 _deserStatus = _msg.deserializeTo(args);
9308 static_cast<FwAssertArgType>(_deserStatus)
9361 #if FW_CMD_CHECK_RESIDUAL 9383 case CMD_GLOBAL_SET_I64: {
9386 _deserStatus = _msg.deserializeTo(_opCode);
9389 static_cast<FwAssertArgType>(_deserStatus)
9394 _deserStatus = _msg.deserializeTo(_cmdSeq);
9397 static_cast<FwAssertArgType>(_deserStatus)
9402 _deserStatus = _msg.deserializeTo(args);
9405 static_cast<FwAssertArgType>(_deserStatus)
9458 #if FW_CMD_CHECK_RESIDUAL 9480 case CMD_GLOBAL_SET_F32: {
9483 _deserStatus = _msg.deserializeTo(_opCode);
9486 static_cast<FwAssertArgType>(_deserStatus)
9491 _deserStatus = _msg.deserializeTo(_cmdSeq);
9494 static_cast<FwAssertArgType>(_deserStatus)
9499 _deserStatus = _msg.deserializeTo(args);
9502 static_cast<FwAssertArgType>(_deserStatus)
9555 #if FW_CMD_CHECK_RESIDUAL 9577 case CMD_GLOBAL_SET_F64: {
9580 _deserStatus = _msg.deserializeTo(_opCode);
9583 static_cast<FwAssertArgType>(_deserStatus)
9588 _deserStatus = _msg.deserializeTo(_cmdSeq);
9591 static_cast<FwAssertArgType>(_deserStatus)
9596 _deserStatus = _msg.deserializeTo(args);
9599 static_cast<FwAssertArgType>(_deserStatus)
9652 #if FW_CMD_CHECK_RESIDUAL 9674 case CMD_GLOBAL_GET: {
9677 _deserStatus = _msg.deserializeTo(_opCode);
9680 static_cast<FwAssertArgType>(_deserStatus)
9685 _deserStatus = _msg.deserializeTo(_cmdSeq);
9688 static_cast<FwAssertArgType>(_deserStatus)
9693 _deserStatus = _msg.deserializeTo(args);
9696 static_cast<FwAssertArgType>(_deserStatus)
9734 #if FW_CMD_CHECK_RESIDUAL 9756 case INTERNAL_STATE_MACHINE_SIGNAL:
9757 this->smDispatch(_msg);
9771 void WasmSequencerComponentBase ::
9782 compPtr->cmdIn_handlerBase(
9794 void WasmSequencerComponentBase ::
9803 compPtr->checkTimers_handlerBase(
9809 void WasmSequencerComponentBase ::
9810 m_p_cmdResponseIn_in(
9820 compPtr->cmdResponseIn_handlerBase(
9828 void WasmSequencerComponentBase ::
9836 compPtr->seqCancelIn_handlerBase(portNum);
9839 void WasmSequencerComponentBase ::
9849 compPtr->seqRunIn_handlerBase(
9856 void WasmSequencerComponentBase ::
9857 m_p_writeTelemetry_in(
9865 compPtr->writeTelemetry_handlerBase(
9875 #if FW_PORT_SERIALIZATION 9877 void WasmSequencerComponentBase ::
9886 compPtr->serialIn_handlerBase(
9894 #if !FW_DIRECT_PORT_CALLS 9900 void WasmSequencerComponentBase ::
9908 static_cast<FwAssertArgType>(portNum)
9912 this->m_cmdRegOut_OutputPort[portNum].isConnected(),
9913 static_cast<FwAssertArgType>(portNum)
9915 this->m_cmdRegOut_OutputPort[portNum].
invoke(
9920 void WasmSequencerComponentBase ::
9930 static_cast<FwAssertArgType>(portNum)
9934 this->m_cmdResponseOut_OutputPort[portNum].isConnected(),
9935 static_cast<FwAssertArgType>(portNum)
9937 this->m_cmdResponseOut_OutputPort[portNum].
invoke(
9944 void WasmSequencerComponentBase ::
9955 static_cast<FwAssertArgType>(portNum)
9959 this->m_logOut_OutputPort[portNum].isConnected(),
9960 static_cast<FwAssertArgType>(portNum)
9962 this->m_logOut_OutputPort[portNum].
invoke(
9970 #if FW_ENABLE_TEXT_LOGGING 9972 void WasmSequencerComponentBase ::
9982 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
9983 static_cast<FwAssertArgType>(portNum)
9987 this->m_logTextOut_OutputPort[portNum].isConnected(),
9988 static_cast<FwAssertArgType>(portNum)
9990 this->m_logTextOut_OutputPort[portNum].invoke(
10009 static_cast<FwAssertArgType>(portNum)
10013 this->m_prmGet_OutputPort[portNum].isConnected(),
10014 static_cast<FwAssertArgType>(portNum)
10016 return this->m_prmGet_OutputPort[portNum].
invoke(
10022 void WasmSequencerComponentBase ::
10031 static_cast<FwAssertArgType>(portNum)
10035 this->m_prmSet_OutputPort[portNum].isConnected(),
10036 static_cast<FwAssertArgType>(portNum)
10038 this->m_prmSet_OutputPort[portNum].
invoke(
10044 void WasmSequencerComponentBase ::
10052 static_cast<FwAssertArgType>(portNum)
10056 this->m_timeCaller_OutputPort[portNum].isConnected(),
10057 static_cast<FwAssertArgType>(portNum)
10059 this->m_timeCaller_OutputPort[portNum].
invoke(
10064 void WasmSequencerComponentBase ::
10074 static_cast<FwAssertArgType>(portNum)
10078 this->m_tlmOut_OutputPort[portNum].isConnected(),
10079 static_cast<FwAssertArgType>(portNum)
10081 this->m_tlmOut_OutputPort[portNum].
invoke(
10094 void WasmSequencerComponentBase ::
10104 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(INTERNAL_STATE_MACHINE_SIGNAL));
10108 status = buffer.
serializeFrom(static_cast<FwIndexType>(0));
10112 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(smId));
10116 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(signal));
10120 void WasmSequencerComponentBase ::
10129 static_cast<FwAssertArgType>(qStatus)
10133 void WasmSequencerComponentBase ::
10142 static_cast<FwAssertArgType>(qStatus)
10150 void WasmSequencerComponentBase ::
10156 WasmSequencerComponentBase::deserializeSmIdAndSignal(buffer, storedSmId, storedSignal);
10159 const SmId smId =
static_cast<SmId>(storedSmId);
10163 this->Svc_WasmSequencer_ControllerStateMachine_smDispatch(buffer, this->m_stateMachine_controller, signal);
10168 this->Svc_WasmSequencer_InterpreterStateMachine_smDispatch(buffer, this->m_stateMachine_interpreter, signal);
10172 FW_ASSERT(
false, static_cast<FwAssertArgType>(smId));
10177 void WasmSequencerComponentBase ::
10178 deserializeSmIdAndSignal(
10198 void WasmSequencerComponentBase ::
10199 Svc_WasmSequencer_ControllerStateMachine_smDispatch(
10201 Svc_WasmSequencer_ControllerStateMachine& sm,
10214 sm.sendSignal_run(value);
10225 sm.sendSignal_load(value);
10236 sm.sendSignal_invoke(value);
10247 sm.sendSignal_invoked(value);
10258 sm.sendSignal_invokeFailed(value);
10265 sm.sendSignal_cancel();
10276 sm.sendSignal_loadSucceeded(value);
10287 sm.sendSignal_loadFailed(value);
10298 sm.sendSignal_engineFinished(value);
10302 FW_ASSERT(
false, static_cast<FwAssertArgType>(signal));
10307 void WasmSequencerComponentBase ::
10308 Svc_WasmSequencer_InterpreterStateMachine_smDispatch(
10310 Svc_WasmSequencer_InterpreterStateMachine& sm,
10319 sm.sendSignal_cmd_CONTINUE();
10330 sm.sendSignal_cmdCancel(value);
10337 sm.sendSignal_cancel();
10344 sm.sendSignal_entered();
10355 sm.sendSignal_run(value);
10362 sm.sendSignal_checkTimers();
10369 sm.sendSignal_hostResume();
10380 sm.sendSignal_hostResumeI32(value);
10387 sm.sendSignal_hostResponseFailure();
10398 sm.sendSignal_hostResponseUnexpected(value);
10405 sm.sendSignal_hostResponseTimeIncomparable();
10412 sm.sendSignal_hostResponseTimeout();
10423 sm.sendSignal_serialInMessage(value);
10434 sm.sendSignal_interpreterFinished(value);
10445 sm.sendSignal_interpreterTrap(value);
10452 sm.sendSignal_interpreterOutOfFuel();
10459 sm.sendSignal_interpreterHostFunctionNeedsPause();
10463 FW_ASSERT(
false, static_cast<FwAssertArgType>(signal));
10482 this->m_paramLock.
lock();
10483 this->m_HOST_FUNCTION_TIMEOUT_SECS = _localVal;
10485 this->m_paramLock.
unlock();
10502 this->m_paramLock.
lock();
10503 this->m_INSTRUCTION_FUEL = _localVal;
10505 this->m_paramLock.
unlock();
10522 this->m_paramLock.
lock();
10523 this->m_SEQ_BASE_DIR = _localVal;
10525 this->m_paramLock.
unlock();
10537 paramSave_HOST_FUNCTION_TIMEOUT_SECS()
10546 this->m_paramLock.
lock();
10548 _stat = _paramBuffer.
serializeFrom(m_HOST_FUNCTION_TIMEOUT_SECS);
10550 this->m_paramLock.
unlock();
10565 paramSave_INSTRUCTION_FUEL()
10574 this->m_paramLock.
lock();
10578 this->m_paramLock.
unlock();
10593 paramSave_SEQ_BASE_DIR()
10602 this->m_paramLock.
lock();
10606 this->m_paramLock.
unlock();
void log_ACTIVITY_LO_LogActivityLo(const Fw::StringBase &msg) const
An ACTIVITY_HI event emitted by the guest program.
Called on cancel port invocation.
Serialization/Deserialization operation was successful.
static constexpr FwIndexType getNum_serialIn_InputPorts()
void interpreter_sendSignal_hostResumeI32(I32 value)
Send signal hostResumeI32 to state machine interpreter.
void controller_sendSignal_loadFailed(const Svc::WasmSequencer_RequestContext &value)
Send signal loadFailed to state machine controller.
void addCallPort(InputTimePort *callPort)
Register an input port.
Fw::ParamValid getParam_out(FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer &val) const
Invoke output port getParam.
void invoke(Fw::ComBuffer &data, U32 context) const
Invoke a port connection.
void init()
Initialization function.
static constexpr FwSizeType CAPACITY
void checkTimers_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port checkTimers.
void invoke(const Fw::StringBase &filename, const Svc::SeqArgs &args) const
Invoke a port connection.
A function has been invoked, run the interpreter to completion.
void log_WARNING_HI_HostFunctionInvalidId(const Svc::WasmSequencer_HostFunction &host_function, I64 id) const
Opcode to set parameter INSTRUCTION_FUEL.
void log_WARNING_HI_ModuleStartInvokeFailed(const Svc::WasmSequencer_Status &status) const
No sequence is running so we cannot continue from a pause.
Invoke a main function from a loaded module.
void cmdResponseIn_handlerBase(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
Handler base-class function for input port cmdResponseIn.
Channel ID for SequencesSucceeded.
void tlmWrite_SequencesSucceeded(U64 arg, Fw::Time _tlmTime=Fw::Time())
virtual void cmdResponseIn_handler(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)=0
Handler for input port cmdResponseIn.
Called on CANCEL cmd. Raised in LOADING, READY and RUNNING modes.
FwIdType FwOpcodeType
The type of a command opcode.
void log_WARNING_HI_TooManyBlockingCommands() const
A WARNING_LO event emitted by the guest program.
The size of the serial representation.
void GLOBAL_SET_F32_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void log_WARNING_LO_CmdResponseFromOldSequence(FwOpcodeType opcode, const Fw::CmdResponse &response, U16 oldSequenceIdx, U16 currentSequenceIdx) const
void log_WARNING_HI_SequenceTrapped(Svc::WasmSequencer_ModuleIdx index, const Svc::WasmSequencer_SequencePhase &phase, const Svc::WasmSequencer_TrapReason &reason) const
static constexpr FwSizeType CAPACITY
virtual void GLOBAL_SET_I64_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command GLOBAL_SET_I64.
Channel ID for CommandsDispatched.
FwIdType getIdBase() const
void log_WARNING_HI_InvalidBlockingTypeValue(I32 invalidValue) const
Log event InvalidBlockingTypeValue.
PlatformSizeType FwSizeType
Auto-generated base for WasmSequencer component.
Status receive(U8 *destination, FwSizeType capacity, BlockingType blockType, FwSizeType &actualSize, FwQueuePriorityType &priority) override
receive a message from the queue through delegate
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
virtual void lock()
Lock the guarded mutex.
void WAIT_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void controller_sendSignal_engineFinished(const Svc::WasmSequencer_RequestContext &value)
Send signal engineFinished to state machine controller.
void log_ACTIVITY_LO_GlobalValueF32(const Fw::StringBase &module_name, const Fw::StringBase &globalName, F32 value) const
Log event GlobalValueF32.
Failed to invoke a module's main entrypoint.
void set_getTlmChan_OutputPort(FwIndexType portNum, Fw::InputTlmGetPort *port)
Connect port to getTlmChan[portNum].
Status
status returned from the queue send function
Execution was paused at a breakpoint.
virtual void GLOBAL_GET_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &moduleName, const Fw::CmdStringArg &name)=0
void log_ACTIVITY_HI_LogActivityHi(const Fw::StringBase &msg) const
void tlmWrite_InterpreterState(const Svc::WasmSequencer_InterpreterStateMachine_State &arg, Fw::Time _tlmTime=Fw::Time())
called when an unexpected or incorrect host-function response comes in. only raised in the RUNNING st...
raised whenever the checkTimers port is called
void init()
Initialization function.
Tracks the currently executing host function.
void log_WARNING_HI_SequenceFilePathNotContained(const Fw::StringBase &baseDir, const Fw::StringBase &fileName) const
StringTemplate< FW_FIXED_LENGTH_STRING_SIZE > String
Svc_WasmSequencer_InterpreterStateMachine(WasmSequencerComponentBase &component)
Constructor.
SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG) override
Deserialize an 8-bit unsigned integer value.
virtual void LOAD_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName, const Fw::CmdStringArg &name)=0
The size of the serial representation.
The sequence was cancelled.
FwIdType FwPrmIdType
The type of a parameter identifier.
void CONTINUE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void interpreter_sendSignal_entered()
Send signal entered to state machine interpreter.
void log_ACTIVITY_HI_SequencePaused() const
void unLock()
unlock the mutex and assert success
void addCallPort(InputPrmSetPort *callPort)
Register an input port.
Fw::Times are not comparable during a sleep.
void addCallPort(InputTlmGetPort *callPort)
Register an input port.
bool isConnected_getTlmChan_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_prmSet_OutputPorts()
virtual const CHAR * toChar() const =0
Convert to a C-style char*.
void interpreter_sendSignal_serialInMessage(const FwIndexType &value)
Send signal serialInMessage to state machine interpreter.
void seqCancelIn_handlerBase(FwIndexType portNum)
Handler base-class function for input port seqCancelIn.
Channel ID for CommandsFailed.
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
void GLOBAL_SET_I32_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
static constexpr FwIndexType getNum_cmdOut_OutputPorts()
Signal to AWAITING_RESPONSE to resume the interpreter with no host function return value...
Signal emited inside the laod action when module load fails.
void set_seqDoneOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to seqDoneOut[portNum].
void log_WARNING_HI_FileOpenError(const Fw::StringBase &fileName, I32 status) const
void init()
Initialization function.
void log_WARNING_LO_ControllerBusy(const Svc::WasmSequencer_SignalSource &signalSource, const Svc::WasmSequencer_ControllerStateMachine_State &state) const
static constexpr FwIndexType getNum_seqStartOut_OutputPorts()
Enum representing a command response.
No time base has been established (Required)
SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG) override
Serialize an 8-bit unsigned integer value.
void addCallPort(InputCmdRegPort *callPort)
Register an input port.
FwSizeType paramGet_INSTRUCTION_FUEL(Fw::ParamValid &valid)
void regCommands()
Register commands with the Command Dispatcher.
An ACTIVITY_LO event emitted by the guest program.
bool isConnected_getParam_OutputPort(FwIndexType portNum) const
virtual SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG)=0
Serialize an 8-bit unsigned integer value.
bool isConnected_tlmOut_OutputPort(FwIndexType portNum) const
virtual void PAUSE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
void init()
Initialization function.
void log_WARNING_LO_MemoryGrowRejected(const Svc::WasmSequencer_MemoryGrowFailReason &reason, U64 requestedSize) const
Os::Queue m_queue
queue object for active component
void log_WARNING_HI_HostFunctionInvalidPointer(const Svc::WasmSequencer_HostFunction &host_function, const Svc::WasmSequencer_Status &code) const
Log event HostFunctionInvalidPointer.
Software diagnostic events.
Channel ID for SequencesFailed.
Opcode to set parameter HOST_FUNCTION_TIMEOUT_SECS.
void addCallPort(InputTlmPort *callPort)
Register an input port.
void addCallPort(InputPrmGetPort *callPort)
Register an input port.
void init()
Object initializer.
Channel ID for ControllerState.
The size of the serial representation.
void RUN_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
SerializeStatus
forward declaration for string
void controller_sendSignal_cancel()
Send signal cancel to state machine controller.
static constexpr FwIndexType getNum_getTlmChan_OutputPorts()
float F32
32-bit floating point
called on CONTINUE cmd. only raised in RUNNING.PAUSED state
virtual SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG)=0
Deserialize an 8-bit unsigned integer value.
Message will block until space is available.
void unlock()
alias for unLock to meet BasicLockable requirements
void log_ACTIVITY_LO_GlobalValueI32(const Fw::StringBase &module_name, const Fw::StringBase &globalName, I32 value) const
Log event GlobalValueI32.
void set_prmGet_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to prmGet[portNum].
void log_DIAGNOSTIC_StoreAllocationSucceeded(U16 moduleCount) const
void interpreter_sendSignal_cmd_CONTINUE()
Send signal cmd_CONTINUE to state machine interpreter.
void log_WARNING_HI_SequencePanic(Svc::WasmSequencer_ModuleIdx index, const Svc::WasmSequencer_SequencePhase &phase, I32 code) const
void log_WARNING_HI_HostFunctionInvalidPort(const Svc::WasmSequencer_HostFunction &host_function, I32 index, U32 numPorts) const
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts()
void GLOBAL_SET_I64_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
virtual ~WasmSequencerComponentBase()
Destroy WasmSequencerComponentBase object.
FwIdType FwEventIdType
The type of an event identifier.
called when a paused host function (F´ command) unsuccessfully executed. only raised in RUNNING...
static constexpr FwIndexType getNum_cmdResponseIn_InputPorts()
Svc_WasmSequencer_ControllerStateMachine::State controller_getState() const
Get the state of state machine instance controller.
void invoke(FwOpcodeType opCode) const
Invoke a port connection.
virtual void WAIT_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
The size of the serial representation.
bool isConnected_prmSet_OutputPort(FwIndexType portNum) const
virtual void parameterUpdated(FwPrmIdType id)
Called whenever a parameter is updated.
void log_WARNING_LO_SequenceNotRunning() const
void controller_sendSignal_load(const Svc::WasmSequencer_LoadRequest &value)
Send signal load to state machine controller.
The program has been aborted.
void cmdOut_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context) const
Invoke output port cmdOut.
Fw::TlmValid invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Wait for the interpreter to finish and return it's result as a CmdResponse.
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects) ...
A host function timed-out.
void init()
Initialization function.
Data was the wrong format (e.g. wrong packet type)
virtual void unLock()
Unlock the guarded mutex.
void interpreter_sendSignal_interpreterHostFunctionNeedsPause()
Send signal interpreterHostFunctionNeedsPause to state machine interpreter.
Svc::InputSchedPort * get_writeTelemetry_InputPort(FwIndexType portNum)
Less important informational events.
Os::Queue::Status createQueue(FwSizeType depth, FwSizeType msgSize)
The guest called fprime.panic.
void seqDoneOut_out(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke output port seqDoneOut.
Signal to AWAITING_RESPONSE to resume the interpreter with an i32 host function return value...
#define FW_MIN(a, b)
MIN macro (deprecated in C++, use std::min)
void controller_sendSignal_loadSucceeded(const Svc::WasmSequencer_RequestContext &value)
Send signal loadSucceeded to state machine controller.
void loadParameters()
Load the parameters from a parameter source.
A less serious but recoverable event.
Fw::ParamValid invoke(FwPrmIdType id, Fw::ParamBuffer &val) const
Failed to open the requested Wasm module file.
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
ActiveComponentBase(const char *name)
Constructor.
virtual void GLOBAL_GET_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command GLOBAL_GET.
static constexpr FwIndexType getNum_seqCancelIn_InputPorts()
bool isConnected_seqDoneOut_OutputPort(FwIndexType portNum) const
bool isConnected_serialOut_OutputPort(FwIndexType portNum) const
void interpreter_sendSignal_hostResponseUnexpected(const Svc::WasmSequencer_HostFunction &value)
Send signal hostResponseUnexpected to state machine interpreter.
void tlmWrite_LastTrapReason(const Svc::WasmSequencer_TrapReason &arg, Fw::Time _tlmTime=Fw::Time())
void invoke(Fw::Time &time) const
Invoke a port connection.
WasmSequencerComponentBase(const char *compName="")
Construct WasmSequencerComponentBase object.
void cmdIn_handlerBase(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Handler base-class function for input port cmdIn.
Resume the sequence from a paused state.
Serializable::SizeType getDeserializeSizeLeft() const override
Get remaining deserialization buffer size.
A command was issued in a state where it is not valid.
void invoke(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke a port connection.
virtual void CONTINUE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CONTINUE.
Fw::InputSerializePort * get_serialIn_InputPort(FwIndexType portNum)
Channel ID for InterpreterState.
FwIdType FwChanIdType
The type of a telemetry channel identifier.
void interpreter_sendSignal_hostResponseFailure()
Send signal hostResponseFailure to state machine interpreter.
virtual void GLOBAL_SET_F32_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &moduleName, const Fw::CmdStringArg &name, F32 value)=0
WasmSequencerComponentBase::SmId getId() const
Get the state machine id.
Fw::InputCmdResponsePort * get_cmdResponseIn_InputPort(FwIndexType portNum)
void log_WARNING_HI_SequenceExited(Svc::WasmSequencer_ModuleIdx index, const Svc::WasmSequencer_SequencePhase &phase, I32 code) const
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) const
Status send(const U8 *buffer, FwSizeType size, FwQueuePriorityType priority, BlockingType blockType) override
send a message into the queue through delegate
Sequencer blocking state.
void log_ACTIVITY_LO_GlobalValueF64(const Fw::StringBase &module_name, const Fw::StringBase &globalName, F64 value) const
Log event GlobalValueF64.
void log_WARNING_HI_LogWarningHi(const Fw::StringBase &msg) const
void interpreter_sendSignal_interpreterFinished(I32 value)
Send signal interpreterFinished to state machine interpreter.
static constexpr FwIndexType getNum_seqRunIn_InputPorts()
virtual void writeTelemetry_handler(FwIndexType portNum, U32 context)=0
Handler for input port writeTelemetry.
void resetDeser() override
Reset deserialization pointer to beginning of buffer.
void interpreter_sendSignal_hostResume()
Send signal hostResume to state machine interpreter.
The size of the serial representation.
void log_WARNING_LO_GlobalSetFailed(const Fw::StringBase &module_name, const Fw::StringBase &globalName, const Svc::WasmSequencer_Status &reason) const
Log event GlobalSetFailed.
WasmSequencerComponentBase::SmId getId() const
Get the state machine id.
bool isConnected_logOut_OutputPort(FwIndexType portNum) const
void log_WARNING_HI_ModuleLoadFailed(const Svc::WasmSequencer_Status &status) const
A string backed by an external buffer.
A serious but recoverable event.
Errors dispatching messages.
Opcode to save parameter SEQ_BASE_DIR.
void invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke a port connection.
U8 WasmSequencer_ModuleIdx
const char * toChar() const
Convert to a C-style char*.
void log_WARNING_HI_HostFunctionInvalidSeverity(I32 raw, const Fw::StringBase &msg) const
static constexpr FwIndexType getNum_tlmOut_OutputPorts()
Enum representing event severity.
Signal sent from command to load a Wasm module but not execute it.
void interpreter_sendSignal_hostResponseTimeout()
Send signal hostResponseTimeout to state machine interpreter.
void log_WARNING_HI_SerialInFrameTooLarge(U32 portIndex, U32 size, U32 maxSize) const
The size of the serial representation.
The size of the serial representation.
The size of the serial representation.
void GLOBAL_SET_F64_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Signal emited inside of the load action when a module load succeeds.
void tlmWrite_SequencesFailed(U64 arg, Fw::Time _tlmTime=Fw::Time())
Which phase of a module's execution a sequence-completion event refers to.
Fw::SerializeStatus serialOut_out(FwIndexType portNum, Fw::LinearBufferBase &buffer)
Invoke output port serialOut.
static constexpr FwIndexType getNum_writeTelemetry_InputPorts()
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
void init()
Initialization function.
Command successfully executed.
virtual void GLOBAL_SET_I32_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &moduleName, const Fw::CmdStringArg &name, I32 value)=0
void set_prmSet_OutputPort(FwIndexType portNum, Fw::InputPrmSetPort *port)
Connect port to prmSet[portNum].
virtual void checkTimers_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port checkTimers.
void tlmWrite_ControllerState(const Svc::WasmSequencer_ControllerStateMachine_State &arg, Fw::Time _tlmTime=Fw::Time())
void set_seqStartOut_OutputPort(FwIndexType portNum, Svc::InputCmdSeqInPort *port)
Connect port to seqStartOut[portNum].
Fw::TlmValid getTlmChan_out(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke output port getTlmChan.
bool isConnected_seqStartOut_OutputPort(FwIndexType portNum) const
virtual Serializable::SizeType getDeserializeSizeLeft() const =0
Get remaining deserialization buffer size.
void log_ACTIVITY_HI_SequenceStarting(Svc::WasmSequencer_ModuleIdx index) const
void log_ACTIVITY_LO_GlobalValueI64(const Fw::StringBase &module_name, const Fw::StringBase &globalName, I64 value) const
Log event GlobalValueI64.
F32 paramGet_HOST_FUNCTION_TIMEOUT_SECS(Fw::ParamValid &valid)
uint8_t U8
8-bit unsigned integer
Svc_WasmSequencer_InterpreterStateMachine::State interpreter_getState() const
Get the state of state machine instance interpreter.
static constexpr FwSizeType CAPACITY
Channel ID for SequencesCancelled.
The size of the serial representation.
The program has completed.
void log_WARNING_LO_LogWarningLo(const Fw::StringBase &msg) const
Svc::InputSchedPort * get_checkTimers_InputPort(FwIndexType portNum)
void init(WasmSequencerComponentBase::SmId smId)
Initialize the state machine.
An asynchronous host function has been called and has requested the interpreter pause.
void tlmWrite(FwChanIdType id, Fw::TlmBuffer &_tlmBuff, Fw::Time _tlmTime=Fw::Time()) const
A guest serial port host function requested a port index outside the configured range.
virtual void RUN_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName, const Svc::BlockState &block, const Svc::SeqArgs &seqArgs)=0
void log_WARNING_HI_BufferTooLarge(const Svc::WasmSequencer_HostFunction &host_function, U32 size, U32 maxSize) const
virtual void writeTelemetry_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port writeTelemetry.
Generic entry of a state.
Command failed to deserialize.
void interpreter_sendSignal_checkTimers()
Send signal checkTimers to state machine interpreter.
A WARNING_HI event emitted by the guest program.
PlatformQueuePriorityType FwQueuePriorityType
The type of queue priorities used.
static constexpr FwIndexType getNum_serialOut_OutputPorts()
Command had execution error.
Important informational events.
void controller_sendSignal_run(const Svc::WasmSequencer_LoadRequest &value)
Send signal run to state machine controller.
void log_WARNING_LO_ControllerCannotInvoke() const
A command was issued in a state where it is not valid.
void interpreter_sendSignal_interpreterTrap(const Svc::WasmSequencer_TrapReason &value)
Send signal interpreterTrap to state machine interpreter.
void tlmWrite_SeqName(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
void invoke(FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args) const
Invoke a port connection.
Svc::InputCmdSeqCancelPort * get_seqCancelIn_InputPort(FwIndexType portNum)
virtual void seqRunIn_handler(FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args)=0
Handler for input port seqRunIn.
SmId
State machine identifiers.
Opcode to save parameter HOST_FUNCTION_TIMEOUT_SECS.
Channel ID for LastTrapReason.
The interpreter aborted the sequence with a byte-code trap.
WasmSequencer_InterpreterStateMachineStateMachineBase::State getState() const
Get the state.
static constexpr FwIndexType getNum_prmGet_OutputPorts()
Fw::ParamString paramGet_SEQ_BASE_DIR(Fw::ParamValid &valid)
void interpreter_sendSignal_run(const Svc::WasmSequencer_RequestContext &value)
Send signal run to state machine interpreter.
void tlmWrite_CommandsFailed(U64 arg, Fw::Time _tlmTime=Fw::Time())
void log_ACTIVITY_HI_SequenceSucceeded(Svc::WasmSequencer_ModuleIdx index) const
void init()
Initialization function.
virtual void CONTINUE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
void log_WARNING_HI_SequenceHostFailure(Svc::WasmSequencer_ModuleIdx index, const Svc::WasmSequencer_SequencePhase &phase, const Svc::WasmSequencer_ExitReason &reason, const Svc::WasmSequencer_HostFunction &hostFunction) const
A sequence is starting after the main entrypoint was invoked.
A message was sent requesting an exit of the loop.
virtual void seqRunIn_preMsgHook(FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args)
Pre-message hook for async input port seqRunIn.
static constexpr FwIndexType getNum_logOut_OutputPorts()
void interpreter_sendSignal_hostResponseTimeIncomparable()
Send signal hostResponseTimeIncomparable to state machine interpreter.
void log_WARNING_LO_ModuleNotFound(const Fw::StringBase &module_name) const
void writeTelemetry_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port writeTelemetry.
void log_WARNING_HI_WrongCmdResponseIndex(FwOpcodeType opcode, const Fw::CmdResponse &response, U16 actualCmdIdx, U16 expectedCmdIdx) const
PlatformIndexType FwIndexType
The interpreter store was allocated with capacity for the given number of modules.
void set_cmdRegOut_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to cmdRegOut[portNum].
WasmSequencer_ControllerStateMachineStateMachineBase::State getState() const
Get the state.
void log_WARNING_HI_InvalidModuleEntrypoint(Svc::WasmSequencer_ModuleIdx moduleIdx, const Svc::WasmSequencer_Status &status) const
Log event InvalidModuleEntrypoint.
void log_WARNING_LO_GlobalGetFailed(const Fw::StringBase &module_name, const Fw::StringBase &globalName, const Svc::WasmSequencer_Status &reason) const
Log event GlobalGetFailed.
The size of the serial representation.
void tlmWrite_SequencesCancelled(U64 arg, Fw::Time _tlmTime=Fw::Time())
double F64
64-bit floating point (double). Required for compiler-supplied double promotion.
void log_WARNING_HI_ModuleMainInvokeFailed(const Svc::WasmSequencer_Status &status) const
void addCallPort(InputLogPort *callPort)
Register an input port.
void addCallPort(InputCmdSeqInPort *callPort)
Register an input port.
virtual void GLOBAL_SET_F64_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command GLOBAL_SET_F64.
void seqStartOut_out(FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args) const
Invoke output port seqStartOut.
A module failed to decode/validate while loading.
The size of the serial representation.
virtual void cmdResponseIn_preMsgHook(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
Pre-message hook for async input port cmdResponseIn.
void init()
Initialization function.
void set_cmdOut_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to cmdOut[portNum].
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
void incNumMsgDropped()
increment the number of messages dropped
Svc_WasmSequencer_ControllerStateMachine(WasmSequencerComponentBase &component)
Constructor.
void interpreter_sendSignal_interpreterOutOfFuel()
Send signal interpreterOutOfFuel to state machine interpreter.
void serialIn_handlerBase(FwIndexType portNum, Fw::LinearBufferBase &buffer)
Handler base-class function for input port serialIn.
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
Command failed validation.
RateGroupDivider component implementation.
void CANCEL_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
A guest host function supplied a buffer too small to hold the host value being returned.
message sent/received okay
Enum representing parameter validity.
void log_ACTIVITY_HI_SequenceCancelled(Svc::WasmSequencer_ModuleIdx index, const Svc::WasmSequencer_SequencePhase &phase) const
void controller_sendSignal_invoked(const Svc::WasmSequencer_RequestContext &value)
Send signal invoked to state machine controller.
void init(WasmSequencerComponentBase::SmId smId)
Initialize the state machine.
void invoke(FwPrmIdType id, Fw::ParamBuffer &val) const
Invoke a port connection.
void seqRunIn_handlerBase(FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args)
Handler base-class function for input port seqRunIn.
void log_DIAGNOSTIC_LogDiagnostic(const Fw::StringBase &msg) const
void addCallPort(InputComPort *callPort)
Register an input port.
void INVOKE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void set_getParam_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to getParam[portNum].
Called on CANCEL cmd. Raised in LOADING, READY and RUNNING modes.
virtual void RUN_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command RUN.
void PAUSE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void LOAD_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
LinearBufferTemplate< FW_SM_SIGNAL_BUFFER_MAX_SIZE > SmSignalBuffer
Opcode to save parameter INSTRUCTION_FUEL.
Message will return with status when space is unavailable.
void log_WARNING_HI_SleepDurationTooLarge(const Svc::WasmSequencer_HostFunction &host_function, U64 micros) const
message to exit active component task
Implementation of malloc based allocator.
virtual void LOAD_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command LOAD.
static constexpr FwIndexType getNum_checkTimers_InputPorts()
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts()
void log_WARNING_HI_SequenceFilePathTooLong(const Fw::StringBase &baseDir, const Fw::StringBase &fileName) const
virtual void PAUSE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command PAUSE.
Failed to find a loaded module with the requested name.
Opcode to set parameter SEQ_BASE_DIR.
Corresponds to spacewasm_status_t.
static constexpr SizeType BUFFER_SIZE(SizeType maxLength)
Get the size of a null-terminated string buffer.
virtual void CANCEL_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
void init()
Initialization function.
virtual void GLOBAL_SET_F64_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &moduleName, const Fw::CmdStringArg &name, F64 value)=0
virtual void GLOBAL_SET_I64_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &moduleName, const Fw::CmdStringArg &name, I64 value)=0
static constexpr FwIndexType getNum_cmdIn_InputPorts()
void controller_sendSignal_invokeFailed(const Svc::WasmSequencer_RequestContext &value)
Send signal invokeFailed to state machine controller.
void init()
Initialization function.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum) const
void interpreter_sendSignal_cancel()
Send signal cancel to state machine interpreter.
Signal emitted by processInvoke when the requested module was resolved successfully.
A struct holding the context needed to reply to a command request.
void interpreter_sendSignal_cmdCancel(const Svc::WasmSequencer_CommandRequest &value)
Send signal cmdCancel to state machine interpreter.
virtual SerializeStatus moveDeserToOffset(FwSizeType offset)=0
Move deserialization pointer to specified offset.
virtual void serialIn_handler(FwIndexType portNum, Fw::LinearBufferBase &buffer)=0
Handler for input port serialIn.
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum) const
virtual void INVOKE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command INVOKE.
FpySequencer_SequencerStateMachineStateMachineBase::Signal Signal
bool isConnected_prmGet_OutputPort(FwIndexType portNum) const
Failed to invoke a module's start function.
virtual void GLOBAL_SET_I32_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command GLOBAL_SET_I32.
static constexpr FwSizeType CAPACITY
bool isConnected_cmdOut_OutputPort(FwIndexType portNum) const
Svc::InputCmdSeqInPort * get_seqRunIn_InputPort(FwIndexType portNum)
void log_WARNING_HI_SerialPortSendFailed(const Svc::WasmSequencer_HostFunction &host_function, I32 status) const
The interpreter ran a program to completion.
Why a guest memory.grow request could not be serviced by the guest bump allocator.
void controller_sendSignal_invoke(const Svc::WasmSequencer_InvokeRequest &value)
Send signal invoke to state machine controller.
virtual void checkTimers_handler(FwIndexType portNum, U32 context)=0
Handler for input port checkTimers.
PlatformAssertArgType FwAssertArgType
The type of arguments to assert functions.
virtual void INVOKE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &module, const Svc::BlockState &block, const Svc::SeqArgs &seqArgs)=0
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
The size of the serial representation.
void GLOBAL_GET_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
No more fuel (ran to instruction bound)
void addCallPort(InputCmdResponsePort *callPort)
Register an input port.
void lock()
lock the mutex and assert success
virtual void WAIT_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command WAIT.
A guest host function supplied a buffer larger than the host maximum for that call.
The size of the serial representation.
virtual void parametersLoaded()
Called whenever parameters are loaded.
Svc::WasmSequencer_ControllerStateMachine_State State
The state type.
virtual void GLOBAL_SET_F32_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command GLOBAL_SET_F32.
A DIAGNOSTIC event emitted by the guest program.
SerializeStatus serializeTo(SerialBufferBase &buffer, Endianness mode=Endianness::BIG) const override
Serialize the contents of this object to a buffer.
void set_cmdResponseOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdResponseOut[portNum].
BYTE cmdPortSize[Fw::CmdPortBuffer::CAPACITY]
void tlmWrite_CommandsDispatched(U64 arg, Fw::Time _tlmTime=Fw::Time())
static constexpr FwIndexType getNum_getParam_OutputPorts()
void log_WARNING_HI_BufferTooSmall(const Svc::WasmSequencer_HostFunction &host_function, U32 size, U32 valueSize) const
static constexpr FwIndexType getNum_seqDoneOut_OutputPorts()
virtual void seqCancelIn_handler(FwIndexType portNum)=0
Handler for input port seqCancelIn.