10 #if FW_ENABLE_TEXT_LOGGING 23 union SignalTypeUnion {
31 sizeof(SignalTypeUnion);
37 CMDRESPONSEIN_CMDRESPONSE,
39 SEQCANCELIN_CMDSEQCANCEL,
52 CMD_DUMP_STACK_TO_FILE,
53 INT_IF_CHECKTIMERSINTERNAL,
54 INT_IF_DIRECTIVE_ALLOCATE,
55 INT_IF_DIRECTIVE_CALL,
56 INT_IF_DIRECTIVE_CONSTCMD,
57 INT_IF_DIRECTIVE_DISCARD,
58 INT_IF_DIRECTIVE_EXIT,
59 INT_IF_DIRECTIVE_GETFIELD,
60 INT_IF_DIRECTIVE_GOTO,
62 INT_IF_DIRECTIVE_LOADABS,
63 INT_IF_DIRECTIVE_LOADREL,
64 INT_IF_DIRECTIVE_MEMCMP,
65 INT_IF_DIRECTIVE_NOOP,
66 INT_IF_DIRECTIVE_PEEK,
67 INT_IF_DIRECTIVE_POPEVENT,
68 INT_IF_DIRECTIVE_POPSERIALIZABLE,
69 INT_IF_DIRECTIVE_PUSHPRM,
70 INT_IF_DIRECTIVE_PUSHRAND,
71 INT_IF_DIRECTIVE_PUSHTIME,
72 INT_IF_DIRECTIVE_PUSHTLMVAL,
73 INT_IF_DIRECTIVE_PUSHTLMVALANDTIME,
74 INT_IF_DIRECTIVE_PUSHVAL,
75 INT_IF_DIRECTIVE_RETURN,
76 INT_IF_DIRECTIVE_SETSEED,
77 INT_IF_DIRECTIVE_STACKCMD,
78 INT_IF_DIRECTIVE_STACKOP,
79 INT_IF_DIRECTIVE_STOREABS,
80 INT_IF_DIRECTIVE_STOREABSCONSTOFFSET,
81 INT_IF_DIRECTIVE_STOREREL,
82 INT_IF_DIRECTIVE_STORERELCONSTOFFSET,
83 INT_IF_DIRECTIVE_WAITABS,
84 INT_IF_DIRECTIVE_WAITREL,
85 INT_IF_TLMWRITEINTERNAL,
86 INTERNAL_STATE_MACHINE_SIGNAL,
97 BYTE directive_allocateIntIfSize[
102 BYTE directive_callIntIfSize[
107 BYTE directive_constCmdIntIfSize[
112 BYTE directive_discardIntIfSize[
117 BYTE directive_exitIntIfSize[
122 BYTE directive_getFieldIntIfSize[
127 BYTE directive_gotoIntIfSize[
132 BYTE directive_ifIntIfSize[
137 BYTE directive_loadAbsIntIfSize[
142 BYTE directive_loadRelIntIfSize[
147 BYTE directive_memCmpIntIfSize[
152 BYTE directive_noOpIntIfSize[
157 BYTE directive_peekIntIfSize[
162 BYTE directive_popEventIntIfSize[
167 BYTE directive_popSerializableIntIfSize[
172 BYTE directive_pushPrmIntIfSize[
177 BYTE directive_pushRandIntIfSize[
182 BYTE directive_pushTimeIntIfSize[
187 BYTE directive_pushTlmValIntIfSize[
192 BYTE directive_pushTlmValAndTimeIntIfSize[
197 BYTE directive_pushValIntIfSize[
202 BYTE directive_returnIntIfSize[
207 BYTE directive_setSeedIntIfSize[
212 BYTE directive_stackCmdIntIfSize[
217 BYTE directive_stackOpIntIfSize[
222 BYTE directive_storeAbsIntIfSize[
227 BYTE directive_storeAbsConstOffsetIntIfSize[
232 BYTE directive_storeRelIntIfSize[
237 BYTE directive_storeRelConstOffsetIntIfSize[
242 BYTE directive_waitAbsIntIfSize[
247 BYTE directive_waitRelIntIfSize[
254 BYTE internalSmBufferSize[SmSignalBuffer::SERIALIZED_SIZE];
259 class ComponentIpcSerializableBuffer :
269 MAX_DATA_SIZE =
sizeof(BuffUnion),
271 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
274 ComponentIpcSerializableBuffer() :
Fw::LinearBufferBase(m_buff, sizeof(m_buff)) {
280 U8 m_buff[SERIALIZATION_SIZE];
291 m_component(component)
299 this->initBase(static_cast<FwEnumStoreType>(smId));
308 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
309 action_signalEntered(
Signal signal)
311 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_signalEntered(this->getId(), signal);
314 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
315 action_setSequenceFilePath(
320 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setSequenceFilePath(this->getId(), signal, value);
323 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
324 action_setSequenceBlockState(
329 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setSequenceBlockState(this->getId(), signal, value);
332 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
333 action_setSequenceArguments(
338 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setSequenceArguments(this->getId(), signal, value);
341 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
342 action_validate(
Signal signal)
344 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_validate(this->getId(), signal);
347 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
348 action_report_seqSucceeded(
Signal signal)
350 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqSucceeded(this->getId(), signal);
353 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
354 action_report_seqCancelled(
Signal signal)
356 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqCancelled(this->getId(), signal);
359 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
360 action_report_seqFailed(
Signal signal)
362 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqFailed(this->getId(), signal);
365 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
366 action_report_seqStarted(
Signal signal)
368 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqStarted(this->getId(), signal);
371 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
372 action_setGoalState_RUNNING(
Signal signal)
374 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_RUNNING(this->getId(), signal);
377 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
378 action_setGoalState_VALID(
Signal signal)
380 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_VALID(this->getId(), signal);
383 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
384 action_setGoalState_IDLE(
Signal signal)
386 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_IDLE(this->getId(), signal);
389 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
390 action_sendCmdResponse_OK(
Signal signal)
392 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_sendCmdResponse_OK(this->getId(), signal);
395 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
396 action_sendCmdResponse_EXECUTION_ERROR(
Signal signal)
398 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_sendCmdResponse_EXECUTION_ERROR(this->getId(), signal);
401 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
402 action_clearSequenceFile(
Signal signal)
404 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearSequenceFile(this->getId(), signal);
407 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
408 action_clearBreakpoint(
Signal signal)
410 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearBreakpoint(this->getId(), signal);
413 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
414 action_clearSequenceArguments(
Signal signal)
416 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearSequenceArguments(this->getId(), signal);
419 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
420 action_checkShouldWake(
Signal signal)
422 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_checkShouldWake(this->getId(), signal);
425 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
426 action_dispatchStatement(
Signal signal)
428 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_dispatchStatement(this->getId(), signal);
431 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
432 action_resetRuntime(
Signal signal)
434 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_resetRuntime(this->getId(), signal);
437 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
438 action_checkStatementTimeout(
Signal signal)
440 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_checkStatementTimeout(this->getId(), signal);
443 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
444 action_incrementSequenceCounter(
Signal signal)
446 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_incrementSequenceCounter(this->getId(), signal);
449 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
450 action_pushArgsToStack(
Signal signal)
452 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_pushArgsToStack(this->getId(), signal);
455 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
456 action_report_seqBroken(
Signal signal)
458 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqBroken(this->getId(), signal);
461 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
462 action_setBreakpoint(
467 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setBreakpoint(this->getId(), signal, value);
470 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
471 action_setBreakBeforeNextLine(
Signal signal)
473 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setBreakBeforeNextLine(this->getId(), signal);
476 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
477 action_clearBreakBeforeNextLine(
Signal signal)
479 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearBreakBeforeNextLine(this->getId(), signal);
482 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
483 guard_goalStateIs_RUNNING(
Signal signal)
const 485 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_goalStateIs_RUNNING(this->getId(), signal);
488 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
489 guard_shouldBreak(
Signal signal)
const 491 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_shouldBreak(this->getId(), signal);
494 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
495 guard_breakOnce(
Signal signal)
const 497 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_breakOnce(this->getId(), signal);
516 #if !FW_DIRECT_PORT_CALLS 523 this->m_cmdIn_InputPort[port].
init();
528 this->m_cmdIn_InputPort[port].
setPortNum(port);
530 #if FW_OBJECT_NAMES == 1 534 this->m_objName.toChar(),
537 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
542 #if !FW_DIRECT_PORT_CALLS 549 this->m_checkTimers_InputPort[port].
init();
554 this->m_checkTimers_InputPort[port].
setPortNum(port);
556 #if FW_OBJECT_NAMES == 1 560 this->m_objName.toChar(),
563 this->m_checkTimers_InputPort[port].setObjName(portName.
toChar());
568 #if !FW_DIRECT_PORT_CALLS 575 this->m_cmdResponseIn_InputPort[port].
init();
580 this->m_cmdResponseIn_InputPort[port].
setPortNum(port);
582 #if FW_OBJECT_NAMES == 1 586 this->m_objName.toChar(),
589 this->m_cmdResponseIn_InputPort[port].setObjName(portName.
toChar());
594 #if !FW_DIRECT_PORT_CALLS 601 this->m_pingIn_InputPort[port].
init();
606 this->m_pingIn_InputPort[port].
setPortNum(port);
608 #if FW_OBJECT_NAMES == 1 612 this->m_objName.toChar(),
615 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
620 #if !FW_DIRECT_PORT_CALLS 627 this->m_seqCancelIn_InputPort[port].
init();
632 this->m_seqCancelIn_InputPort[port].
setPortNum(port);
634 #if FW_OBJECT_NAMES == 1 638 this->m_objName.toChar(),
641 this->m_seqCancelIn_InputPort[port].setObjName(portName.
toChar());
646 #if !FW_DIRECT_PORT_CALLS 653 this->m_seqRunIn_InputPort[port].
init();
658 this->m_seqRunIn_InputPort[port].
setPortNum(port);
660 #if FW_OBJECT_NAMES == 1 664 this->m_objName.toChar(),
667 this->m_seqRunIn_InputPort[port].setObjName(portName.
toChar());
672 #if !FW_DIRECT_PORT_CALLS 679 this->m_tlmWrite_InputPort[port].
init();
684 this->m_tlmWrite_InputPort[port].
setPortNum(port);
686 #if FW_OBJECT_NAMES == 1 690 this->m_objName.toChar(),
693 this->m_tlmWrite_InputPort[port].setObjName(portName.
toChar());
698 #if !FW_DIRECT_PORT_CALLS 705 this->m_cmdRegOut_OutputPort[port].
init();
707 #if FW_OBJECT_NAMES == 1 711 this->m_objName.toChar(),
714 this->m_cmdRegOut_OutputPort[port].setObjName(portName.
toChar());
719 #if !FW_DIRECT_PORT_CALLS 726 this->m_cmdResponseOut_OutputPort[port].
init();
728 #if FW_OBJECT_NAMES == 1 732 this->m_objName.toChar(),
735 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
740 #if !FW_DIRECT_PORT_CALLS 747 this->m_logOut_OutputPort[port].
init();
749 #if FW_OBJECT_NAMES == 1 753 this->m_objName.toChar(),
756 this->m_logOut_OutputPort[port].setObjName(portName.
toChar());
761 #if !FW_DIRECT_PORT_CALLS && FW_ENABLE_TEXT_LOGGING 765 port < static_cast<FwIndexType>(this->getNum_logTextOut_OutputPorts());
768 this->m_logTextOut_OutputPort[port].
init();
770 #if FW_OBJECT_NAMES == 1 774 this->m_objName.toChar(),
777 this->m_logTextOut_OutputPort[port].setObjName(portName.
toChar());
782 #if !FW_DIRECT_PORT_CALLS 789 this->m_prmGet_OutputPort[port].
init();
791 #if FW_OBJECT_NAMES == 1 795 this->m_objName.toChar(),
798 this->m_prmGet_OutputPort[port].setObjName(portName.
toChar());
803 #if !FW_DIRECT_PORT_CALLS 810 this->m_prmSet_OutputPort[port].
init();
812 #if FW_OBJECT_NAMES == 1 816 this->m_objName.toChar(),
819 this->m_prmSet_OutputPort[port].setObjName(portName.
toChar());
824 #if !FW_DIRECT_PORT_CALLS 831 this->m_timeCaller_OutputPort[port].
init();
833 #if FW_OBJECT_NAMES == 1 837 this->m_objName.toChar(),
840 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
845 #if !FW_DIRECT_PORT_CALLS 852 this->m_tlmOut_OutputPort[port].
init();
854 #if FW_OBJECT_NAMES == 1 858 this->m_objName.toChar(),
861 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
866 #if !FW_DIRECT_PORT_CALLS 873 this->m_cmdOut_OutputPort[port].
init();
875 #if FW_OBJECT_NAMES == 1 879 this->m_objName.toChar(),
882 this->m_cmdOut_OutputPort[port].setObjName(portName.
toChar());
887 #if !FW_DIRECT_PORT_CALLS 894 this->m_getParam_OutputPort[port].
init();
896 #if FW_OBJECT_NAMES == 1 900 this->m_objName.toChar(),
903 this->m_getParam_OutputPort[port].setObjName(portName.
toChar());
908 #if !FW_DIRECT_PORT_CALLS 915 this->m_getTlmChan_OutputPort[port].
init();
917 #if FW_OBJECT_NAMES == 1 921 this->m_objName.toChar(),
924 this->m_getTlmChan_OutputPort[port].setObjName(portName.
toChar());
929 #if !FW_DIRECT_PORT_CALLS 936 this->m_pingOut_OutputPort[port].
init();
938 #if FW_OBJECT_NAMES == 1 942 this->m_objName.toChar(),
945 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
950 #if !FW_DIRECT_PORT_CALLS 957 this->m_seqDoneOut_OutputPort[port].
init();
959 #if FW_OBJECT_NAMES == 1 963 this->m_objName.toChar(),
966 this->m_seqDoneOut_OutputPort[port].setObjName(portName.
toChar());
971 #if !FW_DIRECT_PORT_CALLS 978 this->m_seqStartOut_OutputPort[port].
init();
980 #if FW_OBJECT_NAMES == 1 984 this->m_objName.toChar(),
987 this->m_seqStartOut_OutputPort[port].setObjName(portName.
toChar());
992 #if !FW_DIRECT_PORT_CALLS 999 this->m_serialOut_OutputPort[port].init();
1001 #if FW_OBJECT_NAMES == 1 1005 this->m_objName.toChar(),
1008 this->m_serialOut_OutputPort[port].setObjName(portName.
toChar());
1016 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
1020 static_cast<FwAssertArgType>(qStat)
1024 #if !FW_DIRECT_PORT_CALLS 1035 static_cast<FwAssertArgType>(portNum)
1038 return &this->m_cmdIn_InputPort[portNum];
1043 #if !FW_DIRECT_PORT_CALLS 1054 static_cast<FwAssertArgType>(portNum)
1057 return &this->m_checkTimers_InputPort[portNum];
1065 static_cast<FwAssertArgType>(portNum)
1068 return &this->m_cmdResponseIn_InputPort[portNum];
1076 static_cast<FwAssertArgType>(portNum)
1079 return &this->m_pingIn_InputPort[portNum];
1087 static_cast<FwAssertArgType>(portNum)
1090 return &this->m_seqCancelIn_InputPort[portNum];
1098 static_cast<FwAssertArgType>(portNum)
1101 return &this->m_seqRunIn_InputPort[portNum];
1109 static_cast<FwAssertArgType>(portNum)
1112 return &this->m_tlmWrite_InputPort[portNum];
1117 #if !FW_DIRECT_PORT_CALLS 1131 static_cast<FwAssertArgType>(portNum)
1134 this->m_cmdRegOut_OutputPort[portNum].
addCallPort(port);
1145 static_cast<FwAssertArgType>(portNum)
1148 this->m_cmdResponseOut_OutputPort[portNum].
addCallPort(port);
1159 static_cast<FwAssertArgType>(portNum)
1162 this->m_logOut_OutputPort[portNum].
addCallPort(port);
1165 #if FW_ENABLE_TEXT_LOGGING == 1 1167 void FpySequencerComponentBase ::
1168 set_logTextOut_OutputPort(
1174 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1175 static_cast<FwAssertArgType>(portNum)
1178 this->m_logTextOut_OutputPort[portNum].addCallPort(port);
1191 static_cast<FwAssertArgType>(portNum)
1194 this->m_prmGet_OutputPort[portNum].
addCallPort(port);
1205 static_cast<FwAssertArgType>(portNum)
1208 this->m_prmSet_OutputPort[portNum].
addCallPort(port);
1219 static_cast<FwAssertArgType>(portNum)
1222 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
1233 static_cast<FwAssertArgType>(portNum)
1236 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
1241 #if !FW_DIRECT_PORT_CALLS 1255 static_cast<FwAssertArgType>(portNum)
1258 this->m_cmdOut_OutputPort[portNum].
addCallPort(port);
1269 static_cast<FwAssertArgType>(portNum)
1272 this->m_getParam_OutputPort[portNum].
addCallPort(port);
1283 static_cast<FwAssertArgType>(portNum)
1286 this->m_getTlmChan_OutputPort[portNum].
addCallPort(port);
1297 static_cast<FwAssertArgType>(portNum)
1300 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
1311 static_cast<FwAssertArgType>(portNum)
1314 this->m_seqDoneOut_OutputPort[portNum].
addCallPort(port);
1325 static_cast<FwAssertArgType>(portNum)
1328 this->m_seqStartOut_OutputPort[portNum].
addCallPort(port);
1333 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 1342 Fw::InputSerializePort* port
1347 static_cast<FwAssertArgType>(portNum)
1350 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
1356 Fw::InputSerializePort* port
1361 static_cast<FwAssertArgType>(portNum)
1364 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
1370 Fw::InputSerializePort* port
1375 static_cast<FwAssertArgType>(portNum)
1378 this->m_logOut_OutputPort[portNum].registerSerialPort(port);
1381 #if FW_ENABLE_TEXT_LOGGING == 1 1383 void FpySequencerComponentBase ::
1384 set_logTextOut_OutputPort(
1386 Fw::InputSerializePort* port
1390 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1391 static_cast<FwAssertArgType>(portNum)
1394 this->m_logTextOut_OutputPort[portNum].registerSerialPort(port);
1402 Fw::InputSerializePort* port
1407 static_cast<FwAssertArgType>(portNum)
1410 this->m_prmSet_OutputPort[portNum].registerSerialPort(port);
1416 Fw::InputSerializePort* port
1421 static_cast<FwAssertArgType>(portNum)
1424 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
1430 Fw::InputSerializePort* port
1435 static_cast<FwAssertArgType>(portNum)
1438 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
1443 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 1452 Fw::InputSerializePort* port
1457 static_cast<FwAssertArgType>(portNum)
1460 this->m_cmdOut_OutputPort[portNum].registerSerialPort(port);
1466 Fw::InputSerializePort* port
1471 static_cast<FwAssertArgType>(portNum)
1474 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
1480 Fw::InputSerializePort* port
1485 static_cast<FwAssertArgType>(portNum)
1488 this->m_seqDoneOut_OutputPort[portNum].registerSerialPort(port);
1494 Fw::InputSerializePort* port
1499 static_cast<FwAssertArgType>(portNum)
1502 this->m_seqStartOut_OutputPort[portNum].registerSerialPort(port);
1507 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 1513 void FpySequencerComponentBase ::
1514 set_serialOut_OutputPort(
1521 static_cast<FwAssertArgType>(portNum)
1524 this->m_serialOut_OutputPort[portNum].registerSerialPort(port);
1538 this->cmdRegOut_out(
1543 this->cmdRegOut_out(
1548 this->cmdRegOut_out(
1553 this->cmdRegOut_out(
1558 this->cmdRegOut_out(
1563 this->cmdRegOut_out(
1568 this->cmdRegOut_out(
1573 this->cmdRegOut_out(
1578 this->cmdRegOut_out(
1583 this->cmdRegOut_out(
1588 this->cmdRegOut_out(
1593 this->cmdRegOut_out(
1598 this->cmdRegOut_out(
1603 this->cmdRegOut_out(
1608 this->cmdRegOut_out(
1613 this->cmdRegOut_out(
1636 this->m_param_STATEMENT_TIMEOUT_SECS_valid = this->prmGet_out(
1642 this->m_paramLock.
lock();
1646 _stat = _paramBuffer.
deserializeTo(this->m_STATEMENT_TIMEOUT_SECS);
1655 this->m_STATEMENT_TIMEOUT_SECS = 0.0f;
1658 this->m_paramLock.
unlock();
1659 this->
parameterLoaded(PARAMID_STATEMENT_TIMEOUT_SECS, this->m_param_STATEMENT_TIMEOUT_SECS_valid);
1664 this->m_param_SEQ_BASE_DIR_valid = this->prmGet_out(
1670 this->m_paramLock.
lock();
1686 this->m_paramLock.
unlock();
1687 this->
parameterLoaded(PARAMID_SEQ_BASE_DIR, this->m_param_SEQ_BASE_DIR_valid);
1700 m_stateMachine_sequencer(*this)
1711 #if !FW_DIRECT_PORT_CALLS 1722 static_cast<FwAssertArgType>(portNum)
1725 return this->m_cmdRegOut_OutputPort[portNum].
isConnected();
1733 static_cast<FwAssertArgType>(portNum)
1736 return this->m_cmdResponseOut_OutputPort[portNum].
isConnected();
1744 static_cast<FwAssertArgType>(portNum)
1747 return this->m_logOut_OutputPort[portNum].
isConnected();
1750 #if FW_ENABLE_TEXT_LOGGING == 1 1752 bool FpySequencerComponentBase ::
1753 isConnected_logTextOut_OutputPort(
FwIndexType portNum)
const 1756 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1757 static_cast<FwAssertArgType>(portNum)
1760 return this->m_logTextOut_OutputPort[portNum].isConnected();
1770 static_cast<FwAssertArgType>(portNum)
1773 return this->m_prmGet_OutputPort[portNum].
isConnected();
1781 static_cast<FwAssertArgType>(portNum)
1784 return this->m_prmSet_OutputPort[portNum].
isConnected();
1792 static_cast<FwAssertArgType>(portNum)
1795 return this->m_timeCaller_OutputPort[portNum].
isConnected();
1803 static_cast<FwAssertArgType>(portNum)
1806 return this->m_tlmOut_OutputPort[portNum].
isConnected();
1811 #if !FW_DIRECT_PORT_CALLS 1822 static_cast<FwAssertArgType>(portNum)
1825 return this->m_cmdOut_OutputPort[portNum].
isConnected();
1833 static_cast<FwAssertArgType>(portNum)
1836 return this->m_getParam_OutputPort[portNum].
isConnected();
1844 static_cast<FwAssertArgType>(portNum)
1847 return this->m_getTlmChan_OutputPort[portNum].
isConnected();
1855 static_cast<FwAssertArgType>(portNum)
1858 return this->m_pingOut_OutputPort[portNum].
isConnected();
1866 static_cast<FwAssertArgType>(portNum)
1869 return this->m_seqDoneOut_OutputPort[portNum].
isConnected();
1877 static_cast<FwAssertArgType>(portNum)
1880 return this->m_seqStartOut_OutputPort[portNum].
isConnected();
1885 #if !FW_DIRECT_PORT_CALLS 1896 static_cast<FwAssertArgType>(portNum)
1899 return this->m_serialOut_OutputPort[portNum].isConnected();
1920 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
1923 switch (opCode - idBase) {
2092 static_cast<FwAssertArgType>(portNum)
2113 static_cast<FwAssertArgType>(portNum)
2123 ComponentIpcSerializableBuffer msg;
2127 _status = msg.serializeFrom(
2128 static_cast<FwEnumStoreType>(CMDRESPONSEIN_CMDRESPONSE)
2132 static_cast<FwAssertArgType>(_status)
2136 _status = msg.serializeFrom(portNum);
2139 static_cast<FwAssertArgType>(_status)
2143 _status = msg.serializeFrom(opCode);
2146 static_cast<FwAssertArgType>(_status)
2150 _status = msg.serializeFrom(cmdSeq);
2153 static_cast<FwAssertArgType>(_status)
2157 _status = msg.serializeFrom(response);
2160 static_cast<FwAssertArgType>(_status)
2169 static_cast<FwAssertArgType>(qStatus)
2182 static_cast<FwAssertArgType>(portNum)
2190 ComponentIpcSerializableBuffer msg;
2194 _status = msg.serializeFrom(
2195 static_cast<FwEnumStoreType>(PINGIN_PING)
2199 static_cast<FwAssertArgType>(_status)
2203 _status = msg.serializeFrom(portNum);
2206 static_cast<FwAssertArgType>(_status)
2210 _status = msg.serializeFrom(key);
2213 static_cast<FwAssertArgType>(_status)
2220 if (qStatus == Os::Queue::Status::FULL) {
2227 static_cast<FwAssertArgType>(qStatus)
2237 static_cast<FwAssertArgType>(portNum)
2242 ComponentIpcSerializableBuffer msg;
2246 _status = msg.serializeFrom(
2247 static_cast<FwEnumStoreType>(SEQCANCELIN_CMDSEQCANCEL)
2251 static_cast<FwAssertArgType>(_status)
2255 _status = msg.serializeFrom(portNum);
2258 static_cast<FwAssertArgType>(_status)
2267 static_cast<FwAssertArgType>(qStatus)
2281 static_cast<FwAssertArgType>(portNum)
2290 ComponentIpcSerializableBuffer msg;
2294 _status = msg.serializeFrom(
2295 static_cast<FwEnumStoreType>(SEQRUNIN_CMDSEQIN)
2299 static_cast<FwAssertArgType>(_status)
2303 _status = msg.serializeFrom(portNum);
2306 static_cast<FwAssertArgType>(_status)
2313 static_cast<FwAssertArgType>(_status)
2317 _status = msg.serializeFrom(args);
2320 static_cast<FwAssertArgType>(_status)
2329 static_cast<FwAssertArgType>(qStatus)
2342 static_cast<FwAssertArgType>(portNum)
2396 #if !FW_DIRECT_PORT_CALLS 2411 static_cast<FwAssertArgType>(portNum)
2415 this->m_cmdOut_OutputPort[portNum].isConnected(),
2416 static_cast<FwAssertArgType>(portNum)
2418 this->m_cmdOut_OutputPort[portNum].
invoke(
2433 static_cast<FwAssertArgType>(portNum)
2437 this->m_getParam_OutputPort[portNum].isConnected(),
2438 static_cast<FwAssertArgType>(portNum)
2440 return this->m_getParam_OutputPort[portNum].
invoke(
2456 static_cast<FwAssertArgType>(portNum)
2460 this->m_getTlmChan_OutputPort[portNum].isConnected(),
2461 static_cast<FwAssertArgType>(portNum)
2463 return this->m_getTlmChan_OutputPort[portNum].
invoke(
2478 static_cast<FwAssertArgType>(portNum)
2482 this->m_pingOut_OutputPort[portNum].isConnected(),
2483 static_cast<FwAssertArgType>(portNum)
2485 this->m_pingOut_OutputPort[portNum].
invoke(
2500 static_cast<FwAssertArgType>(portNum)
2504 this->m_seqDoneOut_OutputPort[portNum].isConnected(),
2505 static_cast<FwAssertArgType>(portNum)
2507 this->m_seqDoneOut_OutputPort[portNum].
invoke(
2523 static_cast<FwAssertArgType>(portNum)
2527 this->m_seqStartOut_OutputPort[portNum].isConnected(),
2528 static_cast<FwAssertArgType>(portNum)
2530 this->m_seqStartOut_OutputPort[portNum].
invoke(
2538 #if !FW_DIRECT_PORT_CALLS 2552 static_cast<FwAssertArgType>(portNum)
2556 this->m_serialOut_OutputPort[portNum].isConnected(),
2557 static_cast<FwAssertArgType>(portNum)
2559 return this->m_serialOut_OutputPort[portNum].invokeSerial(
2581 ComponentIpcSerializableBuffer msg;
2585 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_CHECKTIMERSINTERNAL));
2588 static_cast<FwAssertArgType>(_status)
2592 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2595 static_cast<FwAssertArgType>(_status)
2604 static_cast<FwAssertArgType>(qStatus)
2614 ComponentIpcSerializableBuffer msg;
2618 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_ALLOCATE));
2621 static_cast<FwAssertArgType>(_status)
2625 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2628 static_cast<FwAssertArgType>(_status)
2631 _status = msg.serializeFrom(directive);
2634 static_cast<FwAssertArgType>(_status)
2637 _status = msg.serializeFrom(sequenceIndex);
2640 static_cast<FwAssertArgType>(_status)
2649 static_cast<FwAssertArgType>(qStatus)
2659 ComponentIpcSerializableBuffer msg;
2663 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_CALL));
2666 static_cast<FwAssertArgType>(_status)
2670 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2673 static_cast<FwAssertArgType>(_status)
2676 _status = msg.serializeFrom(directive);
2679 static_cast<FwAssertArgType>(_status)
2682 _status = msg.serializeFrom(sequenceIndex);
2685 static_cast<FwAssertArgType>(_status)
2694 static_cast<FwAssertArgType>(qStatus)
2704 ComponentIpcSerializableBuffer msg;
2708 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_CONSTCMD));
2711 static_cast<FwAssertArgType>(_status)
2715 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2718 static_cast<FwAssertArgType>(_status)
2721 _status = msg.serializeFrom(directive);
2724 static_cast<FwAssertArgType>(_status)
2727 _status = msg.serializeFrom(sequenceIndex);
2730 static_cast<FwAssertArgType>(_status)
2739 static_cast<FwAssertArgType>(qStatus)
2749 ComponentIpcSerializableBuffer msg;
2753 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_DISCARD));
2756 static_cast<FwAssertArgType>(_status)
2760 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2763 static_cast<FwAssertArgType>(_status)
2766 _status = msg.serializeFrom(directive);
2769 static_cast<FwAssertArgType>(_status)
2772 _status = msg.serializeFrom(sequenceIndex);
2775 static_cast<FwAssertArgType>(_status)
2784 static_cast<FwAssertArgType>(qStatus)
2794 ComponentIpcSerializableBuffer msg;
2798 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_EXIT));
2801 static_cast<FwAssertArgType>(_status)
2805 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2808 static_cast<FwAssertArgType>(_status)
2811 _status = msg.serializeFrom(directive);
2814 static_cast<FwAssertArgType>(_status)
2817 _status = msg.serializeFrom(sequenceIndex);
2820 static_cast<FwAssertArgType>(_status)
2829 static_cast<FwAssertArgType>(qStatus)
2839 ComponentIpcSerializableBuffer msg;
2843 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_GETFIELD));
2846 static_cast<FwAssertArgType>(_status)
2850 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2853 static_cast<FwAssertArgType>(_status)
2856 _status = msg.serializeFrom(directive);
2859 static_cast<FwAssertArgType>(_status)
2862 _status = msg.serializeFrom(sequenceIndex);
2865 static_cast<FwAssertArgType>(_status)
2874 static_cast<FwAssertArgType>(qStatus)
2884 ComponentIpcSerializableBuffer msg;
2888 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_GOTO));
2891 static_cast<FwAssertArgType>(_status)
2895 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2898 static_cast<FwAssertArgType>(_status)
2901 _status = msg.serializeFrom(directive);
2904 static_cast<FwAssertArgType>(_status)
2907 _status = msg.serializeFrom(sequenceIndex);
2910 static_cast<FwAssertArgType>(_status)
2919 static_cast<FwAssertArgType>(qStatus)
2929 ComponentIpcSerializableBuffer msg;
2933 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_IF));
2936 static_cast<FwAssertArgType>(_status)
2940 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2943 static_cast<FwAssertArgType>(_status)
2946 _status = msg.serializeFrom(directive);
2949 static_cast<FwAssertArgType>(_status)
2952 _status = msg.serializeFrom(sequenceIndex);
2955 static_cast<FwAssertArgType>(_status)
2964 static_cast<FwAssertArgType>(qStatus)
2974 ComponentIpcSerializableBuffer msg;
2978 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_LOADABS));
2981 static_cast<FwAssertArgType>(_status)
2985 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2988 static_cast<FwAssertArgType>(_status)
2991 _status = msg.serializeFrom(directive);
2994 static_cast<FwAssertArgType>(_status)
2997 _status = msg.serializeFrom(sequenceIndex);
3000 static_cast<FwAssertArgType>(_status)
3009 static_cast<FwAssertArgType>(qStatus)
3019 ComponentIpcSerializableBuffer msg;
3023 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_LOADREL));
3026 static_cast<FwAssertArgType>(_status)
3030 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3033 static_cast<FwAssertArgType>(_status)
3036 _status = msg.serializeFrom(directive);
3039 static_cast<FwAssertArgType>(_status)
3042 _status = msg.serializeFrom(sequenceIndex);
3045 static_cast<FwAssertArgType>(_status)
3054 static_cast<FwAssertArgType>(qStatus)
3064 ComponentIpcSerializableBuffer msg;
3068 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_MEMCMP));
3071 static_cast<FwAssertArgType>(_status)
3075 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3078 static_cast<FwAssertArgType>(_status)
3081 _status = msg.serializeFrom(directive);
3084 static_cast<FwAssertArgType>(_status)
3087 _status = msg.serializeFrom(sequenceIndex);
3090 static_cast<FwAssertArgType>(_status)
3099 static_cast<FwAssertArgType>(qStatus)
3109 ComponentIpcSerializableBuffer msg;
3113 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_NOOP));
3116 static_cast<FwAssertArgType>(_status)
3120 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3123 static_cast<FwAssertArgType>(_status)
3126 _status = msg.serializeFrom(directive);
3129 static_cast<FwAssertArgType>(_status)
3132 _status = msg.serializeFrom(sequenceIndex);
3135 static_cast<FwAssertArgType>(_status)
3144 static_cast<FwAssertArgType>(qStatus)
3154 ComponentIpcSerializableBuffer msg;
3158 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PEEK));
3161 static_cast<FwAssertArgType>(_status)
3165 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3168 static_cast<FwAssertArgType>(_status)
3171 _status = msg.serializeFrom(directive);
3174 static_cast<FwAssertArgType>(_status)
3177 _status = msg.serializeFrom(sequenceIndex);
3180 static_cast<FwAssertArgType>(_status)
3189 static_cast<FwAssertArgType>(qStatus)
3199 ComponentIpcSerializableBuffer msg;
3203 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_POPEVENT));
3206 static_cast<FwAssertArgType>(_status)
3210 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3213 static_cast<FwAssertArgType>(_status)
3216 _status = msg.serializeFrom(directive);
3219 static_cast<FwAssertArgType>(_status)
3222 _status = msg.serializeFrom(sequenceIndex);
3225 static_cast<FwAssertArgType>(_status)
3234 static_cast<FwAssertArgType>(qStatus)
3244 ComponentIpcSerializableBuffer msg;
3248 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_POPSERIALIZABLE));
3251 static_cast<FwAssertArgType>(_status)
3255 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3258 static_cast<FwAssertArgType>(_status)
3261 _status = msg.serializeFrom(directive);
3264 static_cast<FwAssertArgType>(_status)
3267 _status = msg.serializeFrom(sequenceIndex);
3270 static_cast<FwAssertArgType>(_status)
3279 static_cast<FwAssertArgType>(qStatus)
3289 ComponentIpcSerializableBuffer msg;
3293 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHPRM));
3296 static_cast<FwAssertArgType>(_status)
3300 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3303 static_cast<FwAssertArgType>(_status)
3306 _status = msg.serializeFrom(directive);
3309 static_cast<FwAssertArgType>(_status)
3312 _status = msg.serializeFrom(sequenceIndex);
3315 static_cast<FwAssertArgType>(_status)
3324 static_cast<FwAssertArgType>(qStatus)
3334 ComponentIpcSerializableBuffer msg;
3338 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHRAND));
3341 static_cast<FwAssertArgType>(_status)
3345 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3348 static_cast<FwAssertArgType>(_status)
3351 _status = msg.serializeFrom(directive);
3354 static_cast<FwAssertArgType>(_status)
3357 _status = msg.serializeFrom(sequenceIndex);
3360 static_cast<FwAssertArgType>(_status)
3369 static_cast<FwAssertArgType>(qStatus)
3379 ComponentIpcSerializableBuffer msg;
3383 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHTIME));
3386 static_cast<FwAssertArgType>(_status)
3390 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3393 static_cast<FwAssertArgType>(_status)
3396 _status = msg.serializeFrom(directive);
3399 static_cast<FwAssertArgType>(_status)
3402 _status = msg.serializeFrom(sequenceIndex);
3405 static_cast<FwAssertArgType>(_status)
3414 static_cast<FwAssertArgType>(qStatus)
3424 ComponentIpcSerializableBuffer msg;
3428 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHTLMVAL));
3431 static_cast<FwAssertArgType>(_status)
3435 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3438 static_cast<FwAssertArgType>(_status)
3441 _status = msg.serializeFrom(directive);
3444 static_cast<FwAssertArgType>(_status)
3447 _status = msg.serializeFrom(sequenceIndex);
3450 static_cast<FwAssertArgType>(_status)
3459 static_cast<FwAssertArgType>(qStatus)
3469 ComponentIpcSerializableBuffer msg;
3473 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHTLMVALANDTIME));
3476 static_cast<FwAssertArgType>(_status)
3480 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3483 static_cast<FwAssertArgType>(_status)
3486 _status = msg.serializeFrom(directive);
3489 static_cast<FwAssertArgType>(_status)
3492 _status = msg.serializeFrom(sequenceIndex);
3495 static_cast<FwAssertArgType>(_status)
3504 static_cast<FwAssertArgType>(qStatus)
3514 ComponentIpcSerializableBuffer msg;
3518 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHVAL));
3521 static_cast<FwAssertArgType>(_status)
3525 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3528 static_cast<FwAssertArgType>(_status)
3531 _status = msg.serializeFrom(directive);
3534 static_cast<FwAssertArgType>(_status)
3537 _status = msg.serializeFrom(sequenceIndex);
3540 static_cast<FwAssertArgType>(_status)
3549 static_cast<FwAssertArgType>(qStatus)
3559 ComponentIpcSerializableBuffer msg;
3563 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_RETURN));
3566 static_cast<FwAssertArgType>(_status)
3570 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3573 static_cast<FwAssertArgType>(_status)
3576 _status = msg.serializeFrom(directive);
3579 static_cast<FwAssertArgType>(_status)
3582 _status = msg.serializeFrom(sequenceIndex);
3585 static_cast<FwAssertArgType>(_status)
3594 static_cast<FwAssertArgType>(qStatus)
3604 ComponentIpcSerializableBuffer msg;
3608 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_SETSEED));
3611 static_cast<FwAssertArgType>(_status)
3615 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3618 static_cast<FwAssertArgType>(_status)
3621 _status = msg.serializeFrom(directive);
3624 static_cast<FwAssertArgType>(_status)
3627 _status = msg.serializeFrom(sequenceIndex);
3630 static_cast<FwAssertArgType>(_status)
3639 static_cast<FwAssertArgType>(qStatus)
3649 ComponentIpcSerializableBuffer msg;
3653 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STACKCMD));
3656 static_cast<FwAssertArgType>(_status)
3660 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3663 static_cast<FwAssertArgType>(_status)
3666 _status = msg.serializeFrom(directive);
3669 static_cast<FwAssertArgType>(_status)
3672 _status = msg.serializeFrom(sequenceIndex);
3675 static_cast<FwAssertArgType>(_status)
3684 static_cast<FwAssertArgType>(qStatus)
3694 ComponentIpcSerializableBuffer msg;
3698 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STACKOP));
3701 static_cast<FwAssertArgType>(_status)
3705 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3708 static_cast<FwAssertArgType>(_status)
3711 _status = msg.serializeFrom(directive);
3714 static_cast<FwAssertArgType>(_status)
3717 _status = msg.serializeFrom(sequenceIndex);
3720 static_cast<FwAssertArgType>(_status)
3729 static_cast<FwAssertArgType>(qStatus)
3739 ComponentIpcSerializableBuffer msg;
3743 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STOREABS));
3746 static_cast<FwAssertArgType>(_status)
3750 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3753 static_cast<FwAssertArgType>(_status)
3756 _status = msg.serializeFrom(directive);
3759 static_cast<FwAssertArgType>(_status)
3762 _status = msg.serializeFrom(sequenceIndex);
3765 static_cast<FwAssertArgType>(_status)
3774 static_cast<FwAssertArgType>(qStatus)
3784 ComponentIpcSerializableBuffer msg;
3788 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STOREABSCONSTOFFSET));
3791 static_cast<FwAssertArgType>(_status)
3795 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3798 static_cast<FwAssertArgType>(_status)
3801 _status = msg.serializeFrom(directive);
3804 static_cast<FwAssertArgType>(_status)
3807 _status = msg.serializeFrom(sequenceIndex);
3810 static_cast<FwAssertArgType>(_status)
3819 static_cast<FwAssertArgType>(qStatus)
3829 ComponentIpcSerializableBuffer msg;
3833 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STOREREL));
3836 static_cast<FwAssertArgType>(_status)
3840 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3843 static_cast<FwAssertArgType>(_status)
3846 _status = msg.serializeFrom(directive);
3849 static_cast<FwAssertArgType>(_status)
3852 _status = msg.serializeFrom(sequenceIndex);
3855 static_cast<FwAssertArgType>(_status)
3864 static_cast<FwAssertArgType>(qStatus)
3874 ComponentIpcSerializableBuffer msg;
3878 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STORERELCONSTOFFSET));
3881 static_cast<FwAssertArgType>(_status)
3885 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3888 static_cast<FwAssertArgType>(_status)
3891 _status = msg.serializeFrom(directive);
3894 static_cast<FwAssertArgType>(_status)
3897 _status = msg.serializeFrom(sequenceIndex);
3900 static_cast<FwAssertArgType>(_status)
3909 static_cast<FwAssertArgType>(qStatus)
3919 ComponentIpcSerializableBuffer msg;
3923 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_WAITABS));
3926 static_cast<FwAssertArgType>(_status)
3930 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3933 static_cast<FwAssertArgType>(_status)
3936 _status = msg.serializeFrom(directive);
3939 static_cast<FwAssertArgType>(_status)
3942 _status = msg.serializeFrom(sequenceIndex);
3945 static_cast<FwAssertArgType>(_status)
3954 static_cast<FwAssertArgType>(qStatus)
3964 ComponentIpcSerializableBuffer msg;
3968 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_WAITREL));
3971 static_cast<FwAssertArgType>(_status)
3975 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3978 static_cast<FwAssertArgType>(_status)
3981 _status = msg.serializeFrom(directive);
3984 static_cast<FwAssertArgType>(_status)
3987 _status = msg.serializeFrom(sequenceIndex);
3990 static_cast<FwAssertArgType>(_status)
3999 static_cast<FwAssertArgType>(qStatus)
4006 ComponentIpcSerializableBuffer msg;
4010 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_TLMWRITEINTERNAL));
4013 static_cast<FwAssertArgType>(_status)
4017 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
4020 static_cast<FwAssertArgType>(_status)
4027 if (qStatus == Os::Queue::Status::FULL) {
4034 static_cast<FwAssertArgType>(qStatus)
4045 return this->m_stateMachine_sequencer.
getState();
4055 ComponentIpcSerializableBuffer buffer;
4062 this->sequencer_sendSignalFinish(buffer);
4068 ComponentIpcSerializableBuffer buffer;
4075 this->sequencer_sendSignalFinish(buffer);
4081 ComponentIpcSerializableBuffer buffer;
4088 this->sequencer_sendSignalFinish(buffer);
4094 ComponentIpcSerializableBuffer buffer;
4098 this->sequencer_sendSignalFinish(buffer);
4104 ComponentIpcSerializableBuffer buffer;
4111 this->sequencer_sendSignalFinish(buffer);
4117 ComponentIpcSerializableBuffer buffer;
4121 this->sequencer_sendSignalFinish(buffer);
4127 ComponentIpcSerializableBuffer buffer;
4131 this->sequencer_sendSignalFinish(buffer);
4137 ComponentIpcSerializableBuffer buffer;
4141 this->sequencer_sendSignalFinish(buffer);
4147 ComponentIpcSerializableBuffer buffer;
4151 this->sequencer_sendSignalFinish(buffer);
4157 ComponentIpcSerializableBuffer buffer;
4161 this->sequencer_sendSignalFinish(buffer);
4167 ComponentIpcSerializableBuffer buffer;
4171 this->sequencer_sendSignalFinish(buffer);
4177 ComponentIpcSerializableBuffer buffer;
4181 this->sequencer_sendSignalFinish(buffer);
4187 ComponentIpcSerializableBuffer buffer;
4191 this->sequencer_sendSignalFinish(buffer);
4197 ComponentIpcSerializableBuffer buffer;
4201 this->sequencer_sendSignalFinish(buffer);
4207 ComponentIpcSerializableBuffer buffer;
4211 this->sequencer_sendSignalFinish(buffer);
4217 ComponentIpcSerializableBuffer buffer;
4221 this->sequencer_sendSignalFinish(buffer);
4227 ComponentIpcSerializableBuffer buffer;
4231 this->sequencer_sendSignalFinish(buffer);
4237 ComponentIpcSerializableBuffer buffer;
4241 this->sequencer_sendSignalFinish(buffer);
4247 ComponentIpcSerializableBuffer buffer;
4251 this->sequencer_sendSignalFinish(buffer);
4257 ComponentIpcSerializableBuffer buffer;
4261 this->sequencer_sendSignalFinish(buffer);
4267 ComponentIpcSerializableBuffer buffer;
4271 this->sequencer_sendSignalFinish(buffer);
4277 ComponentIpcSerializableBuffer buffer;
4281 this->sequencer_sendSignalFinish(buffer);
4287 ComponentIpcSerializableBuffer buffer;
4291 this->sequencer_sendSignalFinish(buffer);
4297 ComponentIpcSerializableBuffer buffer;
4301 this->sequencer_sendSignalFinish(buffer);
4307 ComponentIpcSerializableBuffer buffer;
4311 this->sequencer_sendSignalFinish(buffer);
4317 ComponentIpcSerializableBuffer buffer;
4321 this->sequencer_sendSignalFinish(buffer);
4336 this->cmdResponseOut_out(0, opCode, cmdSeq, response);
4357 ComponentIpcSerializableBuffer msg;
4361 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_RUN));
4364 static_cast<FwAssertArgType>(_status)
4370 _status = msg.serializeFrom(port);
4373 static_cast<FwAssertArgType>(_status)
4376 _status = msg.serializeFrom(opCode);
4379 static_cast<FwAssertArgType>(_status)
4382 _status = msg.serializeFrom(cmdSeq);
4385 static_cast<FwAssertArgType>(_status)
4388 _status = msg.serializeFrom(args);
4391 static_cast<FwAssertArgType>(_status)
4400 static_cast<FwAssertArgType>(qStatus)
4416 ComponentIpcSerializableBuffer msg;
4420 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_RUN_ARGS));
4423 static_cast<FwAssertArgType>(_status)
4429 _status = msg.serializeFrom(port);
4432 static_cast<FwAssertArgType>(_status)
4435 _status = msg.serializeFrom(opCode);
4438 static_cast<FwAssertArgType>(_status)
4441 _status = msg.serializeFrom(cmdSeq);
4444 static_cast<FwAssertArgType>(_status)
4447 _status = msg.serializeFrom(args);
4450 static_cast<FwAssertArgType>(_status)
4459 static_cast<FwAssertArgType>(qStatus)
4475 ComponentIpcSerializableBuffer msg;
4479 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_VALIDATE));
4482 static_cast<FwAssertArgType>(_status)
4488 _status = msg.serializeFrom(port);
4491 static_cast<FwAssertArgType>(_status)
4494 _status = msg.serializeFrom(opCode);
4497 static_cast<FwAssertArgType>(_status)
4500 _status = msg.serializeFrom(cmdSeq);
4503 static_cast<FwAssertArgType>(_status)
4506 _status = msg.serializeFrom(args);
4509 static_cast<FwAssertArgType>(_status)
4518 static_cast<FwAssertArgType>(qStatus)
4534 ComponentIpcSerializableBuffer msg;
4538 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_VALIDATE_ARGS));
4541 static_cast<FwAssertArgType>(_status)
4547 _status = msg.serializeFrom(port);
4550 static_cast<FwAssertArgType>(_status)
4553 _status = msg.serializeFrom(opCode);
4556 static_cast<FwAssertArgType>(_status)
4559 _status = msg.serializeFrom(cmdSeq);
4562 static_cast<FwAssertArgType>(_status)
4565 _status = msg.serializeFrom(args);
4568 static_cast<FwAssertArgType>(_status)
4577 static_cast<FwAssertArgType>(qStatus)
4593 ComponentIpcSerializableBuffer msg;
4597 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_RUN_VALIDATED));
4600 static_cast<FwAssertArgType>(_status)
4606 _status = msg.serializeFrom(port);
4609 static_cast<FwAssertArgType>(_status)
4612 _status = msg.serializeFrom(opCode);
4615 static_cast<FwAssertArgType>(_status)
4618 _status = msg.serializeFrom(cmdSeq);
4621 static_cast<FwAssertArgType>(_status)
4624 _status = msg.serializeFrom(args);
4627 static_cast<FwAssertArgType>(_status)
4636 static_cast<FwAssertArgType>(qStatus)
4652 ComponentIpcSerializableBuffer msg;
4656 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CANCEL));
4659 static_cast<FwAssertArgType>(_status)
4665 _status = msg.serializeFrom(port);
4668 static_cast<FwAssertArgType>(_status)
4671 _status = msg.serializeFrom(opCode);
4674 static_cast<FwAssertArgType>(_status)
4677 _status = msg.serializeFrom(cmdSeq);
4680 static_cast<FwAssertArgType>(_status)
4683 _status = msg.serializeFrom(args);
4686 static_cast<FwAssertArgType>(_status)
4695 static_cast<FwAssertArgType>(qStatus)
4711 ComponentIpcSerializableBuffer msg;
4715 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SET_BREAKPOINT));
4718 static_cast<FwAssertArgType>(_status)
4724 _status = msg.serializeFrom(port);
4727 static_cast<FwAssertArgType>(_status)
4730 _status = msg.serializeFrom(opCode);
4733 static_cast<FwAssertArgType>(_status)
4736 _status = msg.serializeFrom(cmdSeq);
4739 static_cast<FwAssertArgType>(_status)
4742 _status = msg.serializeFrom(args);
4745 static_cast<FwAssertArgType>(_status)
4754 static_cast<FwAssertArgType>(qStatus)
4770 ComponentIpcSerializableBuffer msg;
4774 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_BREAK));
4777 static_cast<FwAssertArgType>(_status)
4783 _status = msg.serializeFrom(port);
4786 static_cast<FwAssertArgType>(_status)
4789 _status = msg.serializeFrom(opCode);
4792 static_cast<FwAssertArgType>(_status)
4795 _status = msg.serializeFrom(cmdSeq);
4798 static_cast<FwAssertArgType>(_status)
4801 _status = msg.serializeFrom(args);
4804 static_cast<FwAssertArgType>(_status)
4813 static_cast<FwAssertArgType>(qStatus)
4829 ComponentIpcSerializableBuffer msg;
4833 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CONTINUE));
4836 static_cast<FwAssertArgType>(_status)
4842 _status = msg.serializeFrom(port);
4845 static_cast<FwAssertArgType>(_status)
4848 _status = msg.serializeFrom(opCode);
4851 static_cast<FwAssertArgType>(_status)
4854 _status = msg.serializeFrom(cmdSeq);
4857 static_cast<FwAssertArgType>(_status)
4860 _status = msg.serializeFrom(args);
4863 static_cast<FwAssertArgType>(_status)
4872 static_cast<FwAssertArgType>(qStatus)
4888 ComponentIpcSerializableBuffer msg;
4892 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CLEAR_BREAKPOINT));
4895 static_cast<FwAssertArgType>(_status)
4901 _status = msg.serializeFrom(port);
4904 static_cast<FwAssertArgType>(_status)
4907 _status = msg.serializeFrom(opCode);
4910 static_cast<FwAssertArgType>(_status)
4913 _status = msg.serializeFrom(cmdSeq);
4916 static_cast<FwAssertArgType>(_status)
4919 _status = msg.serializeFrom(args);
4922 static_cast<FwAssertArgType>(_status)
4931 static_cast<FwAssertArgType>(qStatus)
4947 ComponentIpcSerializableBuffer msg;
4951 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_STEP));
4954 static_cast<FwAssertArgType>(_status)
4960 _status = msg.serializeFrom(port);
4963 static_cast<FwAssertArgType>(_status)
4966 _status = msg.serializeFrom(opCode);
4969 static_cast<FwAssertArgType>(_status)
4972 _status = msg.serializeFrom(cmdSeq);
4975 static_cast<FwAssertArgType>(_status)
4978 _status = msg.serializeFrom(args);
4981 static_cast<FwAssertArgType>(_status)
4990 static_cast<FwAssertArgType>(qStatus)
5006 ComponentIpcSerializableBuffer msg;
5010 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_DUMP_STACK_TO_FILE));
5013 static_cast<FwAssertArgType>(_status)
5019 _status = msg.serializeFrom(port);
5022 static_cast<FwAssertArgType>(_status)
5025 _status = msg.serializeFrom(opCode);
5028 static_cast<FwAssertArgType>(_status)
5031 _status = msg.serializeFrom(cmdSeq);
5034 static_cast<FwAssertArgType>(_status)
5037 _status = msg.serializeFrom(args);
5040 static_cast<FwAssertArgType>(_status)
5049 static_cast<FwAssertArgType>(qStatus)
5203 this->timeCaller_out(0, _logTime);
5213 #if FW_AMPCS_COMPATIBLE 5218 static_cast<FwAssertArgType>(_status)
5222 #if FW_AMPCS_COMPATIBLE 5225 static_cast<U8>(
sizeof(I32))
5229 static_cast<FwAssertArgType>(_status)
5235 static_cast<FwAssertArgType>(_status)
5248 #if FW_ENABLE_TEXT_LOGGING 5249 if (this->isConnected_logTextOut_OutputPort(0)) {
5250 #if FW_OBJECT_NAMES == 1 5251 const char* _formatString =
5252 "(%s) %s: Cannot execute command in state %" PRIi32
"";
5254 const char* _formatString =
5255 "%s: Cannot execute command in state %" PRIi32
"";
5259 (void) _logString.
format(
5262 this->m_objName.toChar(),
5268 this->logTextOut_out(
5285 this->timeCaller_out(0, _logTime);
5295 #if FW_AMPCS_COMPATIBLE 5300 static_cast<FwAssertArgType>(_status)
5304 #if FW_AMPCS_COMPATIBLE 5307 static_cast<U8>(
sizeof(I32))
5311 static_cast<FwAssertArgType>(_status)
5317 static_cast<FwAssertArgType>(_status)
5330 #if FW_ENABLE_TEXT_LOGGING 5331 if (this->isConnected_logTextOut_OutputPort(0)) {
5332 #if FW_OBJECT_NAMES == 1 5333 const char* _formatString =
5334 "(%s) %s: Cannot run sequence from a port in state %" PRIi32
"";
5336 const char* _formatString =
5337 "%s: Cannot run sequence from a port in state %" PRIi32
"";
5341 (void) _logString.
format(
5344 this->m_objName.toChar(),
5346 "InvalidSeqRunCall ",
5350 this->logTextOut_out(
5367 this->timeCaller_out(0, _logTime);
5377 #if FW_AMPCS_COMPATIBLE 5382 static_cast<FwAssertArgType>(_status)
5386 #if FW_AMPCS_COMPATIBLE 5389 static_cast<U8>(
sizeof(I32))
5393 static_cast<FwAssertArgType>(_status)
5399 static_cast<FwAssertArgType>(_status)
5412 #if FW_ENABLE_TEXT_LOGGING 5413 if (this->isConnected_logTextOut_OutputPort(0)) {
5414 #if FW_OBJECT_NAMES == 1 5415 const char* _formatString =
5416 "(%s) %s: Cannot cancel sequence from a port in state %" PRIi32
"";
5418 const char* _formatString =
5419 "%s: Cannot cancel sequence from a port in state %" PRIi32
"";
5423 (void) _logString.
format(
5426 this->m_objName.toChar(),
5428 "InvalidSeqCancelCall ",
5432 this->logTextOut_out(
5452 this->timeCaller_out(0, _logTime);
5462 #if FW_AMPCS_COMPATIBLE 5467 static_cast<FwAssertArgType>(_status)
5477 static_cast<FwAssertArgType>(_status)
5480 #if FW_AMPCS_COMPATIBLE 5483 static_cast<U8>(
sizeof(I32))
5487 static_cast<FwAssertArgType>(_status)
5493 static_cast<FwAssertArgType>(_status)
5506 #if FW_ENABLE_TEXT_LOGGING 5507 if (this->isConnected_logTextOut_OutputPort(0)) {
5508 #if FW_OBJECT_NAMES == 1 5509 const char* _formatString =
5510 "(%s) %s: File open error encountered while opening %s: %" PRIi32
"";
5512 const char* _formatString =
5513 "%s: File open error encountered while opening %s: %" PRIi32
"";
5517 (void) _logString.
format(
5520 this->m_objName.toChar(),
5527 this->logTextOut_out(
5548 this->timeCaller_out(0, _logTime);
5558 #if FW_AMPCS_COMPATIBLE 5563 static_cast<FwAssertArgType>(_status)
5567 #if FW_AMPCS_COMPATIBLE 5574 static_cast<FwAssertArgType>(_status)
5580 static_cast<FwAssertArgType>(_status)
5589 static_cast<FwAssertArgType>(_status)
5592 #if FW_AMPCS_COMPATIBLE 5595 static_cast<U8>(
sizeof(I32))
5599 static_cast<FwAssertArgType>(_status)
5605 static_cast<FwAssertArgType>(_status)
5618 #if FW_ENABLE_TEXT_LOGGING 5619 if (this->isConnected_logTextOut_OutputPort(0)) {
5620 #if FW_OBJECT_NAMES == 1 5621 const char* _formatString =
5622 "(%s) %s: File write error encountered while writing %" PRIu64
" bytes to %s: %" PRIi32
"";
5624 const char* _formatString =
5625 "%s: File write error encountered while writing %" PRIu64
" bytes to %s: %" PRIi32
"";
5629 (void) _logString.
format(
5632 this->m_objName.toChar(),
5640 this->logTextOut_out(
5661 this->timeCaller_out(0, _logTime);
5671 #if FW_AMPCS_COMPATIBLE 5676 static_cast<FwAssertArgType>(_status)
5680 #if FW_AMPCS_COMPATIBLE 5687 static_cast<FwAssertArgType>(_status)
5693 static_cast<FwAssertArgType>(_status)
5702 static_cast<FwAssertArgType>(_status)
5705 #if FW_AMPCS_COMPATIBLE 5708 static_cast<U8>(
sizeof(I32))
5712 static_cast<FwAssertArgType>(_status)
5718 static_cast<FwAssertArgType>(_status)
5731 #if FW_ENABLE_TEXT_LOGGING 5732 if (this->isConnected_logTextOut_OutputPort(0)) {
5733 #if FW_OBJECT_NAMES == 1 5734 const char* _formatString =
5735 "(%s) %s: File read error encountered while reading %s of file %s: %" PRIi32
"";
5737 const char* _formatString =
5738 "%s: File read error encountered while reading %s of file %s: %" PRIi32
"";
5742 readStage.toString(readStageStr);
5745 (void) _logString.
format(
5748 this->m_objName.toChar(),
5756 this->logTextOut_out(
5776 this->timeCaller_out(0, _logTime);
5786 #if FW_AMPCS_COMPATIBLE 5791 static_cast<FwAssertArgType>(_status)
5795 #if FW_AMPCS_COMPATIBLE 5802 static_cast<FwAssertArgType>(_status)
5808 static_cast<FwAssertArgType>(_status)
5817 static_cast<FwAssertArgType>(_status)
5830 #if FW_ENABLE_TEXT_LOGGING 5831 if (this->isConnected_logTextOut_OutputPort(0)) {
5832 #if FW_OBJECT_NAMES == 1 5833 const char* _formatString =
5834 "(%s) %s: End of file encountered unexpectedly while reading %s of file %s";
5836 const char* _formatString =
5837 "%s: End of file encountered unexpectedly while reading %s of file %s";
5841 readStage.toString(readStageStr);
5844 (void) _logString.
format(
5847 this->m_objName.toChar(),
5854 this->logTextOut_out(
5877 this->timeCaller_out(0, _logTime);
5887 #if FW_AMPCS_COMPATIBLE 5892 static_cast<FwAssertArgType>(_status)
5896 #if FW_AMPCS_COMPATIBLE 5903 static_cast<FwAssertArgType>(_status)
5909 static_cast<FwAssertArgType>(_status)
5918 static_cast<FwAssertArgType>(_status)
5921 #if FW_AMPCS_COMPATIBLE 5924 static_cast<U8>(
sizeof(I32))
5928 static_cast<FwAssertArgType>(_status)
5934 static_cast<FwAssertArgType>(_status)
5937 #if FW_AMPCS_COMPATIBLE 5940 static_cast<U8>(
sizeof(U64))
5944 static_cast<FwAssertArgType>(_status)
5950 static_cast<FwAssertArgType>(_status)
5953 #if FW_AMPCS_COMPATIBLE 5956 static_cast<U8>(
sizeof(U64))
5960 static_cast<FwAssertArgType>(_status)
5966 static_cast<FwAssertArgType>(_status)
5979 #if FW_ENABLE_TEXT_LOGGING 5980 if (this->isConnected_logTextOut_OutputPort(0)) {
5981 #if FW_OBJECT_NAMES == 1 5982 const char* _formatString =
5983 "(%s) %s: Deserialize error encountered while reading %s of file %s: %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
5985 const char* _formatString =
5986 "%s: Deserialize error encountered while reading %s of file %s: %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
5990 readStage.toString(readStageStr);
5993 (void) _logString.
format(
5996 this->m_objName.toChar(),
5998 "FileReadDeserializeError ",
6006 this->logTextOut_out(
6026 this->timeCaller_out(0, _logTime);
6036 #if FW_AMPCS_COMPATIBLE 6041 static_cast<FwAssertArgType>(_status)
6045 #if FW_AMPCS_COMPATIBLE 6048 static_cast<U8>(
sizeof(
U8))
6052 static_cast<FwAssertArgType>(_status)
6058 static_cast<FwAssertArgType>(_status)
6061 #if FW_AMPCS_COMPATIBLE 6064 static_cast<U8>(
sizeof(
U8))
6068 static_cast<FwAssertArgType>(_status)
6074 static_cast<FwAssertArgType>(_status)
6087 #if FW_ENABLE_TEXT_LOGGING 6088 if (this->isConnected_logTextOut_OutputPort(0)) {
6089 #if FW_OBJECT_NAMES == 1 6090 const char* _formatString =
6091 "(%s) %s: Expected schema version %" PRIu8
", found %" PRIu8
"";
6093 const char* _formatString =
6094 "%s: Expected schema version %" PRIu8
", found %" PRIu8
"";
6098 (void) _logString.
format(
6101 this->m_objName.toChar(),
6103 "WrongSchemaVersion ",
6108 this->logTextOut_out(
6128 this->timeCaller_out(0, _logTime);
6138 #if FW_AMPCS_COMPATIBLE 6143 static_cast<FwAssertArgType>(_status)
6147 #if FW_AMPCS_COMPATIBLE 6150 static_cast<U8>(
sizeof(U32))
6154 static_cast<FwAssertArgType>(_status)
6160 static_cast<FwAssertArgType>(_status)
6163 #if FW_AMPCS_COMPATIBLE 6166 static_cast<U8>(
sizeof(U32))
6170 static_cast<FwAssertArgType>(_status)
6176 static_cast<FwAssertArgType>(_status)
6189 #if FW_ENABLE_TEXT_LOGGING 6190 if (this->isConnected_logTextOut_OutputPort(0)) {
6191 #if FW_OBJECT_NAMES == 1 6192 const char* _formatString =
6193 "(%s) %s: Expected CRC %" PRIu32
", actual was %" PRIu32
"";
6195 const char* _formatString =
6196 "%s: Expected CRC %" PRIu32
", actual was %" PRIu32
"";
6200 (void) _logString.
format(
6203 this->m_objName.toChar(),
6210 this->logTextOut_out(
6227 this->timeCaller_out(0, _logTime);
6237 #if FW_AMPCS_COMPATIBLE 6242 static_cast<FwAssertArgType>(_status)
6246 #if FW_AMPCS_COMPATIBLE 6253 static_cast<FwAssertArgType>(_status)
6259 static_cast<FwAssertArgType>(_status)
6272 #if FW_ENABLE_TEXT_LOGGING 6273 if (this->isConnected_logTextOut_OutputPort(0)) {
6274 #if FW_OBJECT_NAMES == 1 6275 const char* _formatString =
6276 "(%s) %s: File had %" PRIu64
" extra bytes at the end";
6278 const char* _formatString =
6279 "%s: File had %" PRIu64
" extra bytes at the end";
6283 (void) _logString.
format(
6286 this->m_objName.toChar(),
6288 "ExtraBytesInSequence ",
6292 this->logTextOut_out(
6312 this->timeCaller_out(0, _logTime);
6322 #if FW_AMPCS_COMPATIBLE 6327 static_cast<FwAssertArgType>(_status)
6331 #if FW_AMPCS_COMPATIBLE 6334 static_cast<U8>(
sizeof(U64))
6338 static_cast<FwAssertArgType>(_status)
6344 static_cast<FwAssertArgType>(_status)
6353 static_cast<FwAssertArgType>(_status)
6366 #if FW_ENABLE_TEXT_LOGGING 6367 if (this->isConnected_logTextOut_OutputPort(0)) {
6368 #if FW_OBJECT_NAMES == 1 6369 const char* _formatString =
6370 "(%s) %s: Buffer capacity of %" PRIu64
" was not big enough for sequence %s";
6372 const char* _formatString =
6373 "%s: Buffer capacity of %" PRIu64
" was not big enough for sequence %s";
6377 (void) _logString.
format(
6380 this->m_objName.toChar(),
6382 "InsufficientBufferSpace ",
6387 this->logTextOut_out(
6407 this->timeCaller_out(0, _logTime);
6417 #if FW_AMPCS_COMPATIBLE 6422 static_cast<FwAssertArgType>(_status)
6432 static_cast<FwAssertArgType>(_status)
6435 #if FW_AMPCS_COMPATIBLE 6438 static_cast<U8>(
sizeof(I32))
6442 static_cast<FwAssertArgType>(_status)
6448 static_cast<FwAssertArgType>(_status)
6461 #if FW_ENABLE_TEXT_LOGGING 6462 if (this->isConnected_logTextOut_OutputPort(0)) {
6463 #if FW_OBJECT_NAMES == 1 6464 const char* _formatString =
6465 "(%s) %s: File system API error encountered while operating on file %s: %" PRIi32
"";
6467 const char* _formatString =
6468 "%s: File system API error encountered while operating on file %s: %" PRIi32
"";
6472 (void) _logString.
format(
6475 this->m_objName.toChar(),
6482 this->logTextOut_out(
6502 this->timeCaller_out(0, _logTime);
6512 #if FW_AMPCS_COMPATIBLE 6517 static_cast<FwAssertArgType>(_status)
6527 static_cast<FwAssertArgType>(_status)
6536 static_cast<FwAssertArgType>(_status)
6549 #if FW_ENABLE_TEXT_LOGGING 6550 if (this->isConnected_logTextOut_OutputPort(0)) {
6551 #if FW_OBJECT_NAMES == 1 6552 const char* _formatString =
6553 "(%s) %s: Sequence file path was truncated: base directory %s and file name %s together exceed the maximum path length";
6555 const char* _formatString =
6556 "%s: Sequence file path was truncated: base directory %s and file name %s together exceed the maximum path length";
6560 (void) _logString.
format(
6563 this->m_objName.toChar(),
6565 "SequenceFilePathTooLong ",
6570 this->logTextOut_out(
6592 this->timeCaller_out(0, _logTime);
6602 #if FW_AMPCS_COMPATIBLE 6607 static_cast<FwAssertArgType>(_status)
6611 #if FW_AMPCS_COMPATIBLE 6618 static_cast<FwAssertArgType>(_status)
6624 static_cast<FwAssertArgType>(_status)
6627 #if FW_AMPCS_COMPATIBLE 6630 static_cast<U8>(
sizeof(U32))
6634 static_cast<FwAssertArgType>(_status)
6640 static_cast<FwAssertArgType>(_status)
6649 static_cast<FwAssertArgType>(_status)
6652 #if FW_AMPCS_COMPATIBLE 6659 static_cast<FwAssertArgType>(_status)
6665 static_cast<FwAssertArgType>(_status)
6678 #if FW_ENABLE_TEXT_LOGGING 6679 if (this->isConnected_logTextOut_OutputPort(0)) {
6680 #if FW_OBJECT_NAMES == 1 6681 const char* _formatString =
6682 "(%s) %s: Failed to execute command opcode %" PRIu32
" index %" PRIu32
" in sequence file %s: response was %s";
6684 const char* _formatString =
6685 "%s: Failed to execute command opcode %" PRIu32
" index %" PRIu32
" in sequence file %s: response was %s";
6689 response.toString(responseStr);
6692 (void) _logString.
format(
6695 this->m_objName.toChar(),
6704 this->logTextOut_out(
6721 this->timeCaller_out(0, _logTime);
6731 #if FW_AMPCS_COMPATIBLE 6736 static_cast<FwAssertArgType>(_status)
6746 static_cast<FwAssertArgType>(_status)
6759 #if FW_ENABLE_TEXT_LOGGING 6760 if (this->isConnected_logTextOut_OutputPort(0)) {
6761 #if FW_OBJECT_NAMES == 1 6762 const char* _formatString =
6763 "(%s) %s: Completed sequence file %s";
6765 const char* _formatString =
6766 "%s: Completed sequence file %s";
6770 (void) _logString.
format(
6773 this->m_objName.toChar(),
6779 this->logTextOut_out(
6796 this->timeCaller_out(0, _logTime);
6806 #if FW_AMPCS_COMPATIBLE 6811 static_cast<FwAssertArgType>(_status)
6821 static_cast<FwAssertArgType>(_status)
6834 #if FW_ENABLE_TEXT_LOGGING 6835 if (this->isConnected_logTextOut_OutputPort(0)) {
6836 #if FW_OBJECT_NAMES == 1 6837 const char* _formatString =
6838 "(%s) %s: Cancelled sequence file %s";
6840 const char* _formatString =
6841 "%s: Cancelled sequence file %s";
6845 (void) _logString.
format(
6848 this->m_objName.toChar(),
6850 "SequenceCancelled ",
6854 this->logTextOut_out(
6874 this->timeCaller_out(0, _logTime);
6884 #if FW_AMPCS_COMPATIBLE 6889 static_cast<FwAssertArgType>(_status)
6899 static_cast<FwAssertArgType>(_status)
6902 #if FW_AMPCS_COMPATIBLE 6905 static_cast<U8>(
sizeof(I32))
6909 static_cast<FwAssertArgType>(_status)
6915 static_cast<FwAssertArgType>(_status)
6928 #if FW_ENABLE_TEXT_LOGGING 6929 if (this->isConnected_logTextOut_OutputPort(0)) {
6930 #if FW_OBJECT_NAMES == 1 6931 const char* _formatString =
6932 "(%s) %s: Sequence %s exited with error code %" PRIi32
"";
6934 const char* _formatString =
6935 "%s: Sequence %s exited with error code %" PRIi32
"";
6939 (void) _logString.
format(
6942 this->m_objName.toChar(),
6944 "SequenceExitedWithError ",
6949 this->logTextOut_out(
6970 this->timeCaller_out(0, _logTime);
6980 #if FW_AMPCS_COMPATIBLE 6985 static_cast<FwAssertArgType>(_status)
6989 #if FW_AMPCS_COMPATIBLE 6992 static_cast<U8>(
sizeof(
U8))
6996 static_cast<FwAssertArgType>(_status)
7002 static_cast<FwAssertArgType>(_status)
7005 #if FW_AMPCS_COMPATIBLE 7008 static_cast<U8>(
sizeof(U32))
7012 static_cast<FwAssertArgType>(_status)
7018 static_cast<FwAssertArgType>(_status)
7027 static_cast<FwAssertArgType>(_status)
7040 #if FW_ENABLE_TEXT_LOGGING 7041 if (this->isConnected_logTextOut_OutputPort(0)) {
7042 #if FW_OBJECT_NAMES == 1 7043 const char* _formatString =
7044 "(%s) %s: Unknown sequencer directive id %" PRIu8
" at index %" PRIu32
" in file %s";
7046 const char* _formatString =
7047 "%s: Unknown sequencer directive id %" PRIu8
" at index %" PRIu32
" in file %s";
7051 (void) _logString.
format(
7054 this->m_objName.toChar(),
7056 "UnknownSequencerDirective ",
7062 this->logTextOut_out(
7083 this->timeCaller_out(0, _logTime);
7093 #if FW_AMPCS_COMPATIBLE 7098 static_cast<FwAssertArgType>(_status)
7102 #if FW_AMPCS_COMPATIBLE 7105 static_cast<U8>(
sizeof(I32))
7109 static_cast<FwAssertArgType>(_status)
7115 static_cast<FwAssertArgType>(_status)
7118 #if FW_AMPCS_COMPATIBLE 7125 static_cast<FwAssertArgType>(_status)
7131 static_cast<FwAssertArgType>(_status)
7134 #if FW_AMPCS_COMPATIBLE 7141 static_cast<FwAssertArgType>(_status)
7147 static_cast<FwAssertArgType>(_status)
7160 #if FW_ENABLE_TEXT_LOGGING 7161 if (this->isConnected_logTextOut_OutputPort(0)) {
7162 #if FW_OBJECT_NAMES == 1 7163 const char* _formatString =
7164 "(%s) %s: Received a command response while not running a sequence (was in state %" PRIi32
" opcode was %" PRIu32
" response code %s)";
7166 const char* _formatString =
7167 "%s: Received a command response while not running a sequence (was in state %" PRIi32
" opcode was %" PRIu32
" response code %s)";
7171 response.toString(responseStr);
7174 (void) _logString.
format(
7177 this->m_objName.toChar(),
7179 "CmdResponseWhileNotRunningSequence ",
7185 this->logTextOut_out(
7201 U16 currentSequenceIdx
7207 this->timeCaller_out(0, _logTime);
7217 #if FW_AMPCS_COMPATIBLE 7222 static_cast<FwAssertArgType>(_status)
7226 #if FW_AMPCS_COMPATIBLE 7233 static_cast<FwAssertArgType>(_status)
7239 static_cast<FwAssertArgType>(_status)
7242 #if FW_AMPCS_COMPATIBLE 7249 static_cast<FwAssertArgType>(_status)
7255 static_cast<FwAssertArgType>(_status)
7258 #if FW_AMPCS_COMPATIBLE 7261 static_cast<U8>(
sizeof(U16))
7265 static_cast<FwAssertArgType>(_status)
7271 static_cast<FwAssertArgType>(_status)
7274 #if FW_AMPCS_COMPATIBLE 7277 static_cast<U8>(
sizeof(U16))
7281 static_cast<FwAssertArgType>(_status)
7287 static_cast<FwAssertArgType>(_status)
7300 #if FW_ENABLE_TEXT_LOGGING 7301 if (this->isConnected_logTextOut_OutputPort(0)) {
7302 #if FW_OBJECT_NAMES == 1 7303 const char* _formatString =
7304 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s), but it was from a previous sequence, not the current one (old idx: %" PRIu16
", current idx: %" PRIu16
")";
7306 const char* _formatString =
7307 "%s: Received a response from cmd opcode %" PRIu32
" (response %s), but it was from a previous sequence, not the current one (old idx: %" PRIu16
", current idx: %" PRIu16
")";
7311 response.toString(responseStr);
7314 (void) _logString.
format(
7317 this->m_objName.toChar(),
7319 "CmdResponseFromOldSequence ",
7326 this->logTextOut_out(
7346 this->timeCaller_out(0, _logTime);
7356 #if FW_AMPCS_COMPATIBLE 7361 static_cast<FwAssertArgType>(_status)
7365 #if FW_AMPCS_COMPATIBLE 7372 static_cast<FwAssertArgType>(_status)
7378 static_cast<FwAssertArgType>(_status)
7381 #if FW_AMPCS_COMPATIBLE 7388 static_cast<FwAssertArgType>(_status)
7394 static_cast<FwAssertArgType>(_status)
7407 #if FW_ENABLE_TEXT_LOGGING 7408 if (this->isConnected_logTextOut_OutputPort(0)) {
7409 #if FW_OBJECT_NAMES == 1 7410 const char* _formatString =
7411 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was not awaiting a response";
7413 const char* _formatString =
7414 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was not awaiting a response";
7418 response.toString(responseStr);
7421 (void) _logString.
format(
7424 this->m_objName.toChar(),
7426 "CmdResponseWhileNotAwaiting ",
7431 this->logTextOut_out(
7446 U8 expectedDirectiveOpcode
7452 this->timeCaller_out(0, _logTime);
7462 #if FW_AMPCS_COMPATIBLE 7467 static_cast<FwAssertArgType>(_status)
7471 #if FW_AMPCS_COMPATIBLE 7478 static_cast<FwAssertArgType>(_status)
7484 static_cast<FwAssertArgType>(_status)
7487 #if FW_AMPCS_COMPATIBLE 7494 static_cast<FwAssertArgType>(_status)
7500 static_cast<FwAssertArgType>(_status)
7503 #if FW_AMPCS_COMPATIBLE 7506 static_cast<U8>(
sizeof(
U8))
7510 static_cast<FwAssertArgType>(_status)
7516 static_cast<FwAssertArgType>(_status)
7529 #if FW_ENABLE_TEXT_LOGGING 7530 if (this->isConnected_logTextOut_OutputPort(0)) {
7531 #if FW_OBJECT_NAMES == 1 7532 const char* _formatString =
7533 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was awaiting directive opcode %" PRIu8
"";
7535 const char* _formatString =
7536 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was awaiting directive opcode %" PRIu8
"";
7540 response.toString(responseStr);
7543 (void) _logString.
format(
7546 this->m_objName.toChar(),
7548 "CmdResponseWhileAwaitingDirective ",
7551 expectedDirectiveOpcode
7554 this->logTextOut_out(
7575 this->timeCaller_out(0, _logTime);
7585 #if FW_AMPCS_COMPATIBLE 7590 static_cast<FwAssertArgType>(_status)
7594 #if FW_AMPCS_COMPATIBLE 7601 static_cast<FwAssertArgType>(_status)
7607 static_cast<FwAssertArgType>(_status)
7610 #if FW_AMPCS_COMPATIBLE 7617 static_cast<FwAssertArgType>(_status)
7623 static_cast<FwAssertArgType>(_status)
7626 #if FW_AMPCS_COMPATIBLE 7633 static_cast<FwAssertArgType>(_status)
7639 static_cast<FwAssertArgType>(_status)
7652 #if FW_ENABLE_TEXT_LOGGING 7653 if (this->isConnected_logTextOut_OutputPort(0)) {
7654 #if FW_OBJECT_NAMES == 1 7655 const char* _formatString =
7656 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was expecting a response from command opcode %" PRIu32
"";
7658 const char* _formatString =
7659 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was expecting a response from command opcode %" PRIu32
"";
7663 response.toString(responseStr);
7666 (void) _logString.
format(
7669 this->m_objName.toChar(),
7671 "WrongCmdResponseOpcode ",
7677 this->logTextOut_out(
7699 this->timeCaller_out(0, _logTime);
7709 #if FW_AMPCS_COMPATIBLE 7714 static_cast<FwAssertArgType>(_status)
7718 #if FW_AMPCS_COMPATIBLE 7725 static_cast<FwAssertArgType>(_status)
7731 static_cast<FwAssertArgType>(_status)
7734 #if FW_AMPCS_COMPATIBLE 7741 static_cast<FwAssertArgType>(_status)
7747 static_cast<FwAssertArgType>(_status)
7750 #if FW_AMPCS_COMPATIBLE 7753 static_cast<U8>(
sizeof(U16))
7757 static_cast<FwAssertArgType>(_status)
7763 static_cast<FwAssertArgType>(_status)
7766 #if FW_AMPCS_COMPATIBLE 7769 static_cast<U8>(
sizeof(U16))
7773 static_cast<FwAssertArgType>(_status)
7779 static_cast<FwAssertArgType>(_status)
7792 #if FW_ENABLE_TEXT_LOGGING 7793 if (this->isConnected_logTextOut_OutputPort(0)) {
7794 #if FW_OBJECT_NAMES == 1 7795 const char* _formatString =
7796 "(%s) %s: Received a response from the correct cmd (opcode %" PRIu32
" response %s), but it was for a different instance of that opcode in the same sequence (actual idx %" PRIu16
" expected %" PRIu16
")";
7798 const char* _formatString =
7799 "%s: Received a response from the correct cmd (opcode %" PRIu32
" response %s), but it was for a different instance of that opcode in the same sequence (actual idx %" PRIu16
" expected %" PRIu16
")";
7803 response.toString(responseStr);
7806 (void) _logString.
format(
7809 this->m_objName.toChar(),
7811 "WrongCmdResponseIndex ",
7818 this->logTextOut_out(
7841 this->timeCaller_out(0, _logTime);
7851 #if FW_AMPCS_COMPATIBLE 7856 static_cast<FwAssertArgType>(_status)
7860 #if FW_AMPCS_COMPATIBLE 7863 static_cast<U8>(
sizeof(
U8))
7867 static_cast<FwAssertArgType>(_status)
7873 static_cast<FwAssertArgType>(_status)
7876 #if FW_AMPCS_COMPATIBLE 7879 static_cast<U8>(
sizeof(U32))
7883 static_cast<FwAssertArgType>(_status)
7889 static_cast<FwAssertArgType>(_status)
7892 #if FW_AMPCS_COMPATIBLE 7895 static_cast<U8>(
sizeof(I32))
7899 static_cast<FwAssertArgType>(_status)
7905 static_cast<FwAssertArgType>(_status)
7908 #if FW_AMPCS_COMPATIBLE 7911 static_cast<U8>(
sizeof(U64))
7915 static_cast<FwAssertArgType>(_status)
7921 static_cast<FwAssertArgType>(_status)
7924 #if FW_AMPCS_COMPATIBLE 7927 static_cast<U8>(
sizeof(U64))
7931 static_cast<FwAssertArgType>(_status)
7937 static_cast<FwAssertArgType>(_status)
7950 #if FW_ENABLE_TEXT_LOGGING 7951 if (this->isConnected_logTextOut_OutputPort(0)) {
7952 #if FW_OBJECT_NAMES == 1 7953 const char* _formatString =
7954 "(%s) %s: Deserialize error encountered while reading directive opcode %" PRIu8
" at index %" PRIu32
": %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
7956 const char* _formatString =
7957 "%s: Deserialize error encountered while reading directive opcode %" PRIu8
" at index %" PRIu32
": %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
7961 (void) _logString.
format(
7964 this->m_objName.toChar(),
7966 "DirectiveDeserializeError ",
7974 this->logTextOut_out(
7987 I32 internalTimeBase,
7994 this->timeCaller_out(0, _logTime);
8004 #if FW_AMPCS_COMPATIBLE 8009 static_cast<FwAssertArgType>(_status)
8013 #if FW_AMPCS_COMPATIBLE 8016 static_cast<U8>(
sizeof(I32))
8020 static_cast<FwAssertArgType>(_status)
8026 static_cast<FwAssertArgType>(_status)
8029 #if FW_AMPCS_COMPATIBLE 8032 static_cast<U8>(
sizeof(I32))
8036 static_cast<FwAssertArgType>(_status)
8042 static_cast<FwAssertArgType>(_status)
8055 #if FW_ENABLE_TEXT_LOGGING 8056 if (this->isConnected_logTextOut_OutputPort(0)) {
8057 #if FW_OBJECT_NAMES == 1 8058 const char* _formatString =
8059 "(%s) %s: getTime() time base was %" PRIi32
", but tried to operate on it with time base %" PRIi32
"";
8061 const char* _formatString =
8062 "%s: getTime() time base was %" PRIi32
", but tried to operate on it with time base %" PRIi32
"";
8066 (void) _logString.
format(
8069 this->m_objName.toChar(),
8071 "MismatchedTimeBase ",
8076 this->logTextOut_out(
8089 I32 internalTimeContext,
8090 I32 otherTimeContext
8096 this->timeCaller_out(0, _logTime);
8106 #if FW_AMPCS_COMPATIBLE 8111 static_cast<FwAssertArgType>(_status)
8115 #if FW_AMPCS_COMPATIBLE 8118 static_cast<U8>(
sizeof(I32))
8122 static_cast<FwAssertArgType>(_status)
8128 static_cast<FwAssertArgType>(_status)
8131 #if FW_AMPCS_COMPATIBLE 8134 static_cast<U8>(
sizeof(I32))
8138 static_cast<FwAssertArgType>(_status)
8144 static_cast<FwAssertArgType>(_status)
8157 #if FW_ENABLE_TEXT_LOGGING 8158 if (this->isConnected_logTextOut_OutputPort(0)) {
8159 #if FW_OBJECT_NAMES == 1 8160 const char* _formatString =
8161 "(%s) %s: getTime() time context was %" PRIi32
", but tried to operate on it with time context %" PRIi32
"";
8163 const char* _formatString =
8164 "%s: getTime() time context was %" PRIi32
", but tried to operate on it with time context %" PRIi32
"";
8168 (void) _logString.
format(
8171 this->m_objName.toChar(),
8173 "MismatchedTimeContext ",
8174 internalTimeContext,
8178 this->logTextOut_out(
8199 this->timeCaller_out(0, _logTime);
8209 #if FW_AMPCS_COMPATIBLE 8214 static_cast<FwAssertArgType>(_status)
8218 #if FW_AMPCS_COMPATIBLE 8225 static_cast<FwAssertArgType>(_status)
8231 static_cast<FwAssertArgType>(_status)
8234 #if FW_AMPCS_COMPATIBLE 8237 static_cast<U8>(
sizeof(U32))
8241 static_cast<FwAssertArgType>(_status)
8247 static_cast<FwAssertArgType>(_status)
8256 static_cast<FwAssertArgType>(_status)
8269 #if FW_ENABLE_TEXT_LOGGING 8270 if (this->isConnected_logTextOut_OutputPort(0)) {
8271 #if FW_OBJECT_NAMES == 1 8272 const char* _formatString =
8273 "(%s) %s: A command opcode %" PRIu32
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
8275 const char* _formatString =
8276 "%s: A command opcode %" PRIu32
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
8280 (void) _logString.
format(
8283 this->m_objName.toChar(),
8291 this->logTextOut_out(
8312 this->timeCaller_out(0, _logTime);
8322 #if FW_AMPCS_COMPATIBLE 8327 static_cast<FwAssertArgType>(_status)
8331 #if FW_AMPCS_COMPATIBLE 8334 static_cast<U8>(
sizeof(
U8))
8338 static_cast<FwAssertArgType>(_status)
8344 static_cast<FwAssertArgType>(_status)
8347 #if FW_AMPCS_COMPATIBLE 8350 static_cast<U8>(
sizeof(U32))
8354 static_cast<FwAssertArgType>(_status)
8360 static_cast<FwAssertArgType>(_status)
8369 static_cast<FwAssertArgType>(_status)
8382 #if FW_ENABLE_TEXT_LOGGING 8383 if (this->isConnected_logTextOut_OutputPort(0)) {
8384 #if FW_OBJECT_NAMES == 1 8385 const char* _formatString =
8386 "(%s) %s: A directive opcode %" PRIu8
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
8388 const char* _formatString =
8389 "%s: A directive opcode %" PRIu8
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
8393 (void) _logString.
format(
8396 this->m_objName.toChar(),
8398 "DirectiveTimedOut ",
8404 this->logTextOut_out(
8424 this->timeCaller_out(0, _logTime);
8434 #if FW_AMPCS_COMPATIBLE 8439 static_cast<FwAssertArgType>(_status)
8443 #if FW_AMPCS_COMPATIBLE 8446 static_cast<U8>(
sizeof(
U8))
8450 static_cast<FwAssertArgType>(_status)
8456 static_cast<FwAssertArgType>(_status)
8459 #if FW_AMPCS_COMPATIBLE 8462 static_cast<U8>(
sizeof(
U8))
8466 static_cast<FwAssertArgType>(_status)
8472 static_cast<FwAssertArgType>(_status)
8485 #if FW_ENABLE_TEXT_LOGGING 8486 if (this->isConnected_logTextOut_OutputPort(0)) {
8487 #if FW_OBJECT_NAMES == 1 8488 const char* _formatString =
8489 "(%s) %s: A sequence specified it had %" PRIu8
" args but the max was %" PRIu8
"";
8491 const char* _formatString =
8492 "%s: A sequence specified it had %" PRIu8
" args but the max was %" PRIu8
"";
8496 (void) _logString.
format(
8499 this->m_objName.toChar(),
8501 "TooManySequenceArgs ",
8506 this->logTextOut_out(
8526 this->timeCaller_out(0, _logTime);
8536 #if FW_AMPCS_COMPATIBLE 8541 static_cast<FwAssertArgType>(_status)
8545 #if FW_AMPCS_COMPATIBLE 8548 static_cast<U8>(
sizeof(U16))
8552 static_cast<FwAssertArgType>(_status)
8558 static_cast<FwAssertArgType>(_status)
8561 #if FW_AMPCS_COMPATIBLE 8564 static_cast<U8>(
sizeof(U16))
8568 static_cast<FwAssertArgType>(_status)
8574 static_cast<FwAssertArgType>(_status)
8587 #if FW_ENABLE_TEXT_LOGGING 8588 if (this->isConnected_logTextOut_OutputPort(0)) {
8589 #if FW_OBJECT_NAMES == 1 8590 const char* _formatString =
8591 "(%s) %s: A sequence specified it had %" PRIu16
" directives but the max was %" PRIu16
"";
8593 const char* _formatString =
8594 "%s: A sequence specified it had %" PRIu16
" directives but the max was %" PRIu16
"";
8598 (void) _logString.
format(
8601 this->m_objName.toChar(),
8603 "TooManySequenceDirectives ",
8608 this->logTextOut_out(
8629 this->timeCaller_out(0, _logTime);
8639 #if FW_AMPCS_COMPATIBLE 8644 static_cast<FwAssertArgType>(_status)
8648 #if FW_AMPCS_COMPATIBLE 8655 static_cast<FwAssertArgType>(_status)
8661 static_cast<FwAssertArgType>(_status)
8664 #if FW_AMPCS_COMPATIBLE 8671 static_cast<FwAssertArgType>(_status)
8677 static_cast<FwAssertArgType>(_status)
8686 static_cast<FwAssertArgType>(_status)
8699 #if FW_ENABLE_TEXT_LOGGING 8700 if (this->isConnected_logTextOut_OutputPort(0)) {
8701 #if FW_OBJECT_NAMES == 1 8702 const char* _formatString =
8703 "(%s) %s: Expected %" PRIu32
" bytes of arguments, but received %" PRIu64
" in sequence file %s";
8705 const char* _formatString =
8706 "%s: Expected %" PRIu32
" bytes of arguments, but received %" PRIu64
" in sequence file %s";
8710 (void) _logString.
format(
8713 this->m_objName.toChar(),
8721 this->logTextOut_out(
8741 this->timeCaller_out(0, _logTime);
8751 #if FW_AMPCS_COMPATIBLE 8756 static_cast<FwAssertArgType>(_status)
8760 #if FW_AMPCS_COMPATIBLE 8767 static_cast<FwAssertArgType>(_status)
8773 static_cast<FwAssertArgType>(_status)
8776 #if FW_AMPCS_COMPATIBLE 8783 static_cast<FwAssertArgType>(_status)
8789 static_cast<FwAssertArgType>(_status)
8802 #if FW_ENABLE_TEXT_LOGGING 8803 if (this->isConnected_logTextOut_OutputPort(0)) {
8804 #if FW_OBJECT_NAMES == 1 8805 const char* _formatString =
8806 "(%s) %s: Argument size %" PRIu64
" exceeds the %" PRIu64
" byte argument buffer";
8808 const char* _formatString =
8809 "%s: Argument size %" PRIu64
" exceeds the %" PRIu64
" byte argument buffer";
8813 (void) _logString.
format(
8816 this->m_objName.toChar(),
8818 "ArgSizeExceedsCapacity ",
8823 this->logTextOut_out(
8840 this->timeCaller_out(0, _logTime);
8850 #if FW_AMPCS_COMPATIBLE 8855 static_cast<FwAssertArgType>(_status)
8859 #if FW_AMPCS_COMPATIBLE 8866 static_cast<FwAssertArgType>(_status)
8872 static_cast<FwAssertArgType>(_status)
8885 #if FW_ENABLE_TEXT_LOGGING 8886 if (this->isConnected_logTextOut_OutputPort(0)) {
8887 #if FW_OBJECT_NAMES == 1 8888 const char* _formatString =
8889 "(%s) %s: Arguments of size %" PRIu32
" would exceed max stack size.";
8891 const char* _formatString =
8892 "%s: Arguments of size %" PRIu32
" would exceed max stack size.";
8896 (void) _logString.
format(
8899 this->m_objName.toChar(),
8901 "ArgTotalSizeExceedsStackLimit ",
8905 this->logTextOut_out(
8922 this->timeCaller_out(0, _logTime);
8932 #if FW_AMPCS_COMPATIBLE 8937 static_cast<FwAssertArgType>(_status)
8941 #if FW_AMPCS_COMPATIBLE 8944 static_cast<U8>(
sizeof(U32))
8948 static_cast<FwAssertArgType>(_status)
8954 static_cast<FwAssertArgType>(_status)
8967 #if FW_ENABLE_TEXT_LOGGING 8968 if (this->isConnected_logTextOut_OutputPort(0)) {
8969 #if FW_OBJECT_NAMES == 1 8970 const char* _formatString =
8971 "(%s) %s: Sequence paused before dispatching directive index %" PRIu32
"";
8973 const char* _formatString =
8974 "%s: Sequence paused before dispatching directive index %" PRIu32
"";
8978 (void) _logString.
format(
8981 this->m_objName.toChar(),
8987 this->logTextOut_out(
9007 this->timeCaller_out(0, _logTime);
9017 #if FW_AMPCS_COMPATIBLE 9022 static_cast<FwAssertArgType>(_status)
9026 #if FW_AMPCS_COMPATIBLE 9029 static_cast<U8>(
sizeof(U32))
9033 static_cast<FwAssertArgType>(_status)
9039 static_cast<FwAssertArgType>(_status)
9042 #if FW_AMPCS_COMPATIBLE 9045 static_cast<U8>(
sizeof(
U8))
9049 static_cast<FwAssertArgType>(_status)
9055 static_cast<FwAssertArgType>(_status)
9068 #if FW_ENABLE_TEXT_LOGGING 9069 if (this->isConnected_logTextOut_OutputPort(0)) {
9070 #if FW_OBJECT_NAMES == 1 9071 const char* _formatString =
9072 "(%s) %s: Breakpoint set before directive index %" PRIu32
". Will break once: %d";
9074 const char* _formatString =
9075 "%s: Breakpoint set before directive index %" PRIu32
". Will break once: %d";
9079 (void) _logString.
format(
9082 this->m_objName.toChar(),
9089 this->logTextOut_out(
9106 this->timeCaller_out(0, _logTime);
9115 #if FW_AMPCS_COMPATIBLE 9121 static_cast<FwAssertArgType>(_status)
9135 #if FW_ENABLE_TEXT_LOGGING 9136 if (this->isConnected_logTextOut_OutputPort(0)) {
9137 #if FW_OBJECT_NAMES == 1 9138 const char* _formatString =
9139 "(%s) %s: Breakpoint cleared";
9141 const char* _formatString =
9142 "%s: Breakpoint cleared";
9146 (void) _logString.
format(
9149 this->m_objName.toChar(),
9151 "BreakpointCleared " 9154 this->logTextOut_out(
9174 this->timeCaller_out(0, _logTime);
9184 #if FW_AMPCS_COMPATIBLE 9189 static_cast<FwAssertArgType>(_status)
9196 static_cast<FwAssertArgType>(_status)
9202 static_cast<FwAssertArgType>(_status)
9212 static_cast<FwAssertArgType>(_status)
9221 static_cast<FwAssertArgType>(_status)
9234 #if FW_ENABLE_TEXT_LOGGING 9235 if (this->isConnected_logTextOut_OutputPort(0)) {
9236 #if FW_OBJECT_NAMES == 1 9237 const char* _formatString =
9238 "(%s) %s: Sequence %s: %s";
9240 const char* _formatString =
9241 "%s: Sequence %s: %s";
9245 (void) _logString.
format(
9248 this->m_objName.toChar(),
9255 this->logTextOut_out(
9275 this->timeCaller_out(0, _logTime);
9285 #if FW_AMPCS_COMPATIBLE 9290 static_cast<FwAssertArgType>(_status)
9300 static_cast<FwAssertArgType>(_status)
9309 static_cast<FwAssertArgType>(_status)
9322 #if FW_ENABLE_TEXT_LOGGING 9323 if (this->isConnected_logTextOut_OutputPort(0)) {
9324 #if FW_OBJECT_NAMES == 1 9325 const char* _formatString =
9326 "(%s) %s: Sequence %s: %s";
9328 const char* _formatString =
9329 "%s: Sequence %s: %s";
9333 (void) _logString.
format(
9336 this->m_objName.toChar(),
9343 this->logTextOut_out(
9363 this->timeCaller_out(0, _logTime);
9373 #if FW_AMPCS_COMPATIBLE 9378 static_cast<FwAssertArgType>(_status)
9388 static_cast<FwAssertArgType>(_status)
9397 static_cast<FwAssertArgType>(_status)
9410 #if FW_ENABLE_TEXT_LOGGING 9411 if (this->isConnected_logTextOut_OutputPort(0)) {
9412 #if FW_OBJECT_NAMES == 1 9413 const char* _formatString =
9414 "(%s) %s: Sequence %s: %s";
9416 const char* _formatString =
9417 "%s: Sequence %s: %s";
9421 (void) _logString.
format(
9424 this->m_objName.toChar(),
9431 this->logTextOut_out(
9451 this->timeCaller_out(0, _logTime);
9461 #if FW_AMPCS_COMPATIBLE 9466 static_cast<FwAssertArgType>(_status)
9476 static_cast<FwAssertArgType>(_status)
9485 static_cast<FwAssertArgType>(_status)
9498 #if FW_ENABLE_TEXT_LOGGING 9499 if (this->isConnected_logTextOut_OutputPort(0)) {
9500 #if FW_OBJECT_NAMES == 1 9501 const char* _formatString =
9502 "(%s) %s: Sequence %s: %s";
9504 const char* _formatString =
9505 "%s: Sequence %s: %s";
9509 (void) _logString.
format(
9512 this->m_objName.toChar(),
9519 this->logTextOut_out(
9539 this->timeCaller_out(0, _logTime);
9549 #if FW_AMPCS_COMPATIBLE 9554 static_cast<FwAssertArgType>(_status)
9564 static_cast<FwAssertArgType>(_status)
9573 static_cast<FwAssertArgType>(_status)
9586 #if FW_ENABLE_TEXT_LOGGING 9587 if (this->isConnected_logTextOut_OutputPort(0)) {
9588 #if FW_OBJECT_NAMES == 1 9589 const char* _formatString =
9590 "(%s) %s: Sequence %s: %s";
9592 const char* _formatString =
9593 "%s: Sequence %s: %s";
9597 (void) _logString.
format(
9600 this->m_objName.toChar(),
9607 this->logTextOut_out(
9627 this->timeCaller_out(0, _logTime);
9637 #if FW_AMPCS_COMPATIBLE 9642 static_cast<FwAssertArgType>(_status)
9652 static_cast<FwAssertArgType>(_status)
9661 static_cast<FwAssertArgType>(_status)
9674 #if FW_ENABLE_TEXT_LOGGING 9675 if (this->isConnected_logTextOut_OutputPort(0)) {
9676 #if FW_OBJECT_NAMES == 1 9677 const char* _formatString =
9678 "(%s) %s: Sequence %s: %s";
9680 const char* _formatString =
9681 "%s: Sequence %s: %s";
9685 (void) _logString.
format(
9688 this->m_objName.toChar(),
9695 this->logTextOut_out(
9715 this->timeCaller_out(0, _logTime);
9725 #if FW_AMPCS_COMPATIBLE 9730 static_cast<FwAssertArgType>(_status)
9740 static_cast<FwAssertArgType>(_status)
9749 static_cast<FwAssertArgType>(_status)
9762 #if FW_ENABLE_TEXT_LOGGING 9763 if (this->isConnected_logTextOut_OutputPort(0)) {
9764 #if FW_OBJECT_NAMES == 1 9765 const char* _formatString =
9766 "(%s) %s: Sequence %s: %s";
9768 const char* _formatString =
9769 "%s: Sequence %s: %s";
9773 (void) _logString.
format(
9776 this->m_objName.toChar(),
9783 this->logTextOut_out(
9803 this->timeCaller_out(0, _logTime);
9813 #if FW_AMPCS_COMPATIBLE 9818 static_cast<FwAssertArgType>(_status)
9822 #if FW_AMPCS_COMPATIBLE 9829 static_cast<FwAssertArgType>(_status)
9835 static_cast<FwAssertArgType>(_status)
9838 #if FW_AMPCS_COMPATIBLE 9841 static_cast<U8>(
sizeof(I32))
9845 static_cast<FwAssertArgType>(_status)
9851 static_cast<FwAssertArgType>(_status)
9864 #if FW_ENABLE_TEXT_LOGGING 9865 if (this->isConnected_logTextOut_OutputPort(0)) {
9866 #if FW_OBJECT_NAMES == 1 9867 const char* _formatString =
9868 "(%s) %s: Ignored directive %s because the sequencer was not awaiting a statement response (was in state %" PRIi32
")";
9870 const char* _formatString =
9871 "%s: Ignored directive %s because the sequencer was not awaiting a statement response (was in state %" PRIi32
")";
9875 directive.toString(directiveStr);
9878 (void) _logString.
format(
9881 this->m_objName.toChar(),
9883 "DirectiveWhileNotAwaiting ",
9888 this->logTextOut_out(
9903 U64 currentSequenceIdx
9909 this->timeCaller_out(0, _logTime);
9919 #if FW_AMPCS_COMPATIBLE 9924 static_cast<FwAssertArgType>(_status)
9928 #if FW_AMPCS_COMPATIBLE 9935 static_cast<FwAssertArgType>(_status)
9941 static_cast<FwAssertArgType>(_status)
9944 #if FW_AMPCS_COMPATIBLE 9947 static_cast<U8>(
sizeof(U64))
9951 static_cast<FwAssertArgType>(_status)
9957 static_cast<FwAssertArgType>(_status)
9960 #if FW_AMPCS_COMPATIBLE 9963 static_cast<U8>(
sizeof(U64))
9967 static_cast<FwAssertArgType>(_status)
9973 static_cast<FwAssertArgType>(_status)
9986 #if FW_ENABLE_TEXT_LOGGING 9987 if (this->isConnected_logTextOut_OutputPort(0)) {
9988 #if FW_OBJECT_NAMES == 1 9989 const char* _formatString =
9990 "(%s) %s: Ignored directive %s because it was from a previous sequence, not the current one (old idx: %" PRIu64
", current idx: %" PRIu64
")";
9992 const char* _formatString =
9993 "%s: Ignored directive %s because it was from a previous sequence, not the current one (old idx: %" PRIu64
", current idx: %" PRIu64
")";
9997 directive.toString(directiveStr);
10000 (void) _logString.
format(
10003 this->m_objName.toChar(),
10005 "DirectiveFromOldSequence ",
10011 this->logTextOut_out(
10031 this->timeCaller_out(0, _logTime);
10041 #if FW_AMPCS_COMPATIBLE 10046 static_cast<FwAssertArgType>(_status)
10056 static_cast<FwAssertArgType>(_status)
10065 static_cast<FwAssertArgType>(_status)
10078 #if FW_ENABLE_TEXT_LOGGING 10079 if (this->isConnected_logTextOut_OutputPort(0)) {
10080 #if FW_OBJECT_NAMES == 1 10081 const char* _formatString =
10082 "(%s) %s: File %s is outside the configured sandbox directory %s";
10084 const char* _formatString =
10085 "%s: File %s is outside the configured sandbox directory %s";
10089 (void) _logString.
format(
10092 this->m_objName.toChar(),
10094 "FileOutsideSandbox ",
10099 this->logTextOut_out(
10126 this->timeCaller_out(0, _tlmTime);
10152 if (not this->m_first_update_State) {
10154 if (arg == this->m_last_State) {
10158 this->m_last_State = arg;
10162 this->m_first_update_State =
false;
10163 this->m_last_State = arg;
10171 static_cast<FwAssertArgType>(_stat)
10189 if (not this->m_first_update_SequencesSucceeded) {
10191 if (arg == this->m_last_SequencesSucceeded) {
10195 this->m_last_SequencesSucceeded = arg;
10199 this->m_first_update_SequencesSucceeded =
false;
10200 this->m_last_SequencesSucceeded = arg;
10208 static_cast<FwAssertArgType>(_stat)
10226 if (not this->m_first_update_SequencesFailed) {
10228 if (arg == this->m_last_SequencesFailed) {
10232 this->m_last_SequencesFailed = arg;
10236 this->m_first_update_SequencesFailed =
false;
10237 this->m_last_SequencesFailed = arg;
10245 static_cast<FwAssertArgType>(_stat)
10263 if (not this->m_first_update_SequencesCancelled) {
10265 if (arg == this->m_last_SequencesCancelled) {
10269 this->m_last_SequencesCancelled = arg;
10273 this->m_first_update_SequencesCancelled =
false;
10274 this->m_last_SequencesCancelled = arg;
10282 static_cast<FwAssertArgType>(_stat)
10300 if (not this->m_first_update_StatementsDispatched) {
10302 if (arg == this->m_last_StatementsDispatched) {
10306 this->m_last_StatementsDispatched = arg;
10310 this->m_first_update_StatementsDispatched =
false;
10311 this->m_last_StatementsDispatched = arg;
10319 static_cast<FwAssertArgType>(_stat)
10337 if (not this->m_first_update_StatementsFailed) {
10339 if (arg == this->m_last_StatementsFailed) {
10343 this->m_last_StatementsFailed = arg;
10347 this->m_first_update_StatementsFailed =
false;
10348 this->m_last_StatementsFailed = arg;
10356 static_cast<FwAssertArgType>(_stat)
10374 if (not this->m_first_update_LastDirectiveError) {
10376 if (arg == this->m_last_LastDirectiveError) {
10380 this->m_last_LastDirectiveError = arg;
10384 this->m_first_update_LastDirectiveError =
false;
10385 this->m_last_LastDirectiveError = arg;
10393 static_cast<FwAssertArgType>(_stat)
10411 if (not this->m_first_update_DirectiveErrorIndex) {
10413 if (arg == this->m_last_DirectiveErrorIndex) {
10417 this->m_last_DirectiveErrorIndex = arg;
10421 this->m_first_update_DirectiveErrorIndex =
false;
10422 this->m_last_DirectiveErrorIndex = arg;
10430 static_cast<FwAssertArgType>(_stat)
10448 if (not this->m_first_update_DirectiveErrorId) {
10450 if (arg == this->m_last_DirectiveErrorId) {
10454 this->m_last_DirectiveErrorId = arg;
10458 this->m_first_update_DirectiveErrorId =
false;
10459 this->m_last_DirectiveErrorId = arg;
10467 static_cast<FwAssertArgType>(_stat)
10485 if (not this->m_first_update_SeqPath) {
10487 if (arg == this->m_last_SeqPath) {
10491 this->m_last_SeqPath = arg;
10495 this->m_first_update_SeqPath =
false;
10496 this->m_last_SeqPath = arg;
10507 static_cast<FwAssertArgType>(_stat)
10525 if (not this->m_first_update_Debug_ReachedEndOfFile) {
10527 if (arg == this->m_last_Debug_ReachedEndOfFile) {
10531 this->m_last_Debug_ReachedEndOfFile = arg;
10535 this->m_first_update_Debug_ReachedEndOfFile =
false;
10536 this->m_last_Debug_ReachedEndOfFile = arg;
10544 static_cast<FwAssertArgType>(_stat)
10562 if (not this->m_first_update_Debug_NextStatementReadSuccess) {
10564 if (arg == this->m_last_Debug_NextStatementReadSuccess) {
10568 this->m_last_Debug_NextStatementReadSuccess = arg;
10572 this->m_first_update_Debug_NextStatementReadSuccess =
false;
10573 this->m_last_Debug_NextStatementReadSuccess = arg;
10581 static_cast<FwAssertArgType>(_stat)
10599 if (not this->m_first_update_Debug_NextStatementOpcode) {
10601 if (arg == this->m_last_Debug_NextStatementOpcode) {
10605 this->m_last_Debug_NextStatementOpcode = arg;
10609 this->m_first_update_Debug_NextStatementOpcode =
false;
10610 this->m_last_Debug_NextStatementOpcode = arg;
10618 static_cast<FwAssertArgType>(_stat)
10636 if (not this->m_first_update_Debug_NextStatementIndex) {
10638 if (arg == this->m_last_Debug_NextStatementIndex) {
10642 this->m_last_Debug_NextStatementIndex = arg;
10646 this->m_first_update_Debug_NextStatementIndex =
false;
10647 this->m_last_Debug_NextStatementIndex = arg;
10655 static_cast<FwAssertArgType>(_stat)
10673 if (not this->m_first_update_Debug_NextCmdOpcode) {
10675 if (arg == this->m_last_Debug_NextCmdOpcode) {
10679 this->m_last_Debug_NextCmdOpcode = arg;
10683 this->m_first_update_Debug_NextCmdOpcode =
false;
10684 this->m_last_Debug_NextCmdOpcode = arg;
10692 static_cast<FwAssertArgType>(_stat)
10710 if (not this->m_first_update_Debug_StackSize) {
10712 if (arg == this->m_last_Debug_StackSize) {
10716 this->m_last_Debug_StackSize = arg;
10720 this->m_first_update_Debug_StackSize =
false;
10721 this->m_last_Debug_StackSize = arg;
10729 static_cast<FwAssertArgType>(_stat)
10747 if (not this->m_first_update_BreakpointInUse) {
10749 if (arg == this->m_last_BreakpointInUse) {
10753 this->m_last_BreakpointInUse = arg;
10757 this->m_first_update_BreakpointInUse =
false;
10758 this->m_last_BreakpointInUse = arg;
10766 static_cast<FwAssertArgType>(_stat)
10784 if (not this->m_first_update_BreakpointIndex) {
10786 if (arg == this->m_last_BreakpointIndex) {
10790 this->m_last_BreakpointIndex = arg;
10794 this->m_first_update_BreakpointIndex =
false;
10795 this->m_last_BreakpointIndex = arg;
10803 static_cast<FwAssertArgType>(_stat)
10821 if (not this->m_first_update_BreakOnlyOnceOnBreakpoint) {
10823 if (arg == this->m_last_BreakOnlyOnceOnBreakpoint) {
10827 this->m_last_BreakOnlyOnceOnBreakpoint = arg;
10831 this->m_first_update_BreakOnlyOnceOnBreakpoint =
false;
10832 this->m_last_BreakOnlyOnceOnBreakpoint = arg;
10840 static_cast<FwAssertArgType>(_stat)
10858 if (not this->m_first_update_BreakBeforeNextLine) {
10860 if (arg == this->m_last_BreakBeforeNextLine) {
10864 this->m_last_BreakBeforeNextLine = arg;
10868 this->m_first_update_BreakBeforeNextLine =
false;
10869 this->m_last_BreakBeforeNextLine = arg;
10877 static_cast<FwAssertArgType>(_stat)
10895 if (not this->m_first_update_PRM_STATEMENT_TIMEOUT_SECS) {
10897 if (arg == this->m_last_PRM_STATEMENT_TIMEOUT_SECS) {
10901 this->m_last_PRM_STATEMENT_TIMEOUT_SECS = arg;
10905 this->m_first_update_PRM_STATEMENT_TIMEOUT_SECS =
false;
10906 this->m_last_PRM_STATEMENT_TIMEOUT_SECS = arg;
10914 static_cast<FwAssertArgType>(_stat)
10932 if (not this->m_first_update_PRM_SEQ_BASE_DIR) {
10934 if (arg == this->m_last_PRM_SEQ_BASE_DIR) {
10938 this->m_last_PRM_SEQ_BASE_DIR = arg;
10942 this->m_first_update_PRM_SEQ_BASE_DIR =
false;
10943 this->m_last_PRM_SEQ_BASE_DIR = arg;
10954 static_cast<FwAssertArgType>(_stat)
11000 this->m_paramLock.
lock();
11001 valid = this->m_param_STATEMENT_TIMEOUT_SECS_valid;
11003 _local = this->m_STATEMENT_TIMEOUT_SECS;
11005 this->m_paramLock.
unlock();
11013 this->m_paramLock.
lock();
11014 valid = this->m_param_SEQ_BASE_DIR_valid;
11016 _local = this->m_SEQ_BASE_DIR;
11018 this->m_paramLock.
unlock();
11031 this->timeCaller_out(0, _time);
11046 ComponentIpcSerializableBuffer _msg;
11056 static_cast<FwAssertArgType>(_msgStatus)
11066 static_cast<FwAssertArgType>(_deserStatus)
11069 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
11071 if (_msgType == FPYSEQUENCER_COMPONENT_EXIT) {
11076 _deserStatus = _msg.deserializeTo(portNum);
11079 static_cast<FwAssertArgType>(_deserStatus)
11082 switch (_msgType) {
11084 case CMDRESPONSEIN_CMDRESPONSE: {
11087 _deserStatus = _msg.deserializeTo(opCode);
11090 static_cast<FwAssertArgType>(_deserStatus)
11095 _deserStatus = _msg.deserializeTo(cmdSeq);
11098 static_cast<FwAssertArgType>(_deserStatus)
11103 _deserStatus = _msg.deserializeTo(response);
11106 static_cast<FwAssertArgType>(_deserStatus)
11120 case PINGIN_PING: {
11123 _deserStatus = _msg.deserializeTo(key);
11126 static_cast<FwAssertArgType>(_deserStatus)
11138 case SEQCANCELIN_CMDSEQCANCEL: {
11146 case SEQRUNIN_CMDSEQIN: {
11149 Fw::ExternalString filename(__fprime_ac_filename_buffer,
sizeof __fprime_ac_filename_buffer);
11150 _deserStatus = _msg.deserializeTo(filename);
11153 static_cast<FwAssertArgType>(_deserStatus)
11158 _deserStatus = _msg.deserializeTo(args);
11161 static_cast<FwAssertArgType>(_deserStatus)
11177 _deserStatus = _msg.deserializeTo(_opCode);
11180 static_cast<FwAssertArgType>(_deserStatus)
11185 _deserStatus = _msg.deserializeTo(_cmdSeq);
11188 static_cast<FwAssertArgType>(_deserStatus)
11193 _deserStatus = _msg.deserializeTo(args);
11196 static_cast<FwAssertArgType>(_deserStatus)
11234 #if FW_CMD_CHECK_RESIDUAL 11255 case CMD_RUN_ARGS: {
11258 _deserStatus = _msg.deserializeTo(_opCode);
11261 static_cast<FwAssertArgType>(_deserStatus)
11266 _deserStatus = _msg.deserializeTo(_cmdSeq);
11269 static_cast<FwAssertArgType>(_deserStatus)
11274 _deserStatus = _msg.deserializeTo(args);
11277 static_cast<FwAssertArgType>(_deserStatus)
11330 #if FW_CMD_CHECK_RESIDUAL 11352 case CMD_VALIDATE: {
11355 _deserStatus = _msg.deserializeTo(_opCode);
11358 static_cast<FwAssertArgType>(_deserStatus)
11363 _deserStatus = _msg.deserializeTo(_cmdSeq);
11366 static_cast<FwAssertArgType>(_deserStatus)
11371 _deserStatus = _msg.deserializeTo(args);
11374 static_cast<FwAssertArgType>(_deserStatus)
11397 #if FW_CMD_CHECK_RESIDUAL 11417 case CMD_VALIDATE_ARGS: {
11420 _deserStatus = _msg.deserializeTo(_opCode);
11423 static_cast<FwAssertArgType>(_deserStatus)
11428 _deserStatus = _msg.deserializeTo(_cmdSeq);
11431 static_cast<FwAssertArgType>(_deserStatus)
11436 _deserStatus = _msg.deserializeTo(args);
11439 static_cast<FwAssertArgType>(_deserStatus)
11477 #if FW_CMD_CHECK_RESIDUAL 11498 case CMD_RUN_VALIDATED: {
11501 _deserStatus = _msg.deserializeTo(_opCode);
11504 static_cast<FwAssertArgType>(_deserStatus)
11509 _deserStatus = _msg.deserializeTo(_cmdSeq);
11512 static_cast<FwAssertArgType>(_deserStatus)
11517 _deserStatus = _msg.deserializeTo(args);
11520 static_cast<FwAssertArgType>(_deserStatus)
11543 #if FW_CMD_CHECK_RESIDUAL 11566 _deserStatus = _msg.deserializeTo(_opCode);
11569 static_cast<FwAssertArgType>(_deserStatus)
11574 _deserStatus = _msg.deserializeTo(_cmdSeq);
11577 static_cast<FwAssertArgType>(_deserStatus)
11582 _deserStatus = _msg.deserializeTo(args);
11585 static_cast<FwAssertArgType>(_deserStatus)
11593 #if FW_CMD_CHECK_RESIDUAL 11610 case CMD_SET_BREAKPOINT: {
11613 _deserStatus = _msg.deserializeTo(_opCode);
11616 static_cast<FwAssertArgType>(_deserStatus)
11621 _deserStatus = _msg.deserializeTo(_cmdSeq);
11624 static_cast<FwAssertArgType>(_deserStatus)
11629 _deserStatus = _msg.deserializeTo(args);
11632 static_cast<FwAssertArgType>(_deserStatus)
11670 #if FW_CMD_CHECK_RESIDUAL 11694 _deserStatus = _msg.deserializeTo(_opCode);
11697 static_cast<FwAssertArgType>(_deserStatus)
11702 _deserStatus = _msg.deserializeTo(_cmdSeq);
11705 static_cast<FwAssertArgType>(_deserStatus)
11710 _deserStatus = _msg.deserializeTo(args);
11713 static_cast<FwAssertArgType>(_deserStatus)
11721 #if FW_CMD_CHECK_RESIDUAL 11738 case CMD_CONTINUE: {
11741 _deserStatus = _msg.deserializeTo(_opCode);
11744 static_cast<FwAssertArgType>(_deserStatus)
11749 _deserStatus = _msg.deserializeTo(_cmdSeq);
11752 static_cast<FwAssertArgType>(_deserStatus)
11757 _deserStatus = _msg.deserializeTo(args);
11760 static_cast<FwAssertArgType>(_deserStatus)
11768 #if FW_CMD_CHECK_RESIDUAL 11785 case CMD_CLEAR_BREAKPOINT: {
11788 _deserStatus = _msg.deserializeTo(_opCode);
11791 static_cast<FwAssertArgType>(_deserStatus)
11796 _deserStatus = _msg.deserializeTo(_cmdSeq);
11799 static_cast<FwAssertArgType>(_deserStatus)
11804 _deserStatus = _msg.deserializeTo(args);
11807 static_cast<FwAssertArgType>(_deserStatus)
11815 #if FW_CMD_CHECK_RESIDUAL 11835 _deserStatus = _msg.deserializeTo(_opCode);
11838 static_cast<FwAssertArgType>(_deserStatus)
11843 _deserStatus = _msg.deserializeTo(_cmdSeq);
11846 static_cast<FwAssertArgType>(_deserStatus)
11851 _deserStatus = _msg.deserializeTo(args);
11854 static_cast<FwAssertArgType>(_deserStatus)
11862 #if FW_CMD_CHECK_RESIDUAL 11879 case CMD_DUMP_STACK_TO_FILE: {
11882 _deserStatus = _msg.deserializeTo(_opCode);
11885 static_cast<FwAssertArgType>(_deserStatus)
11890 _deserStatus = _msg.deserializeTo(_cmdSeq);
11893 static_cast<FwAssertArgType>(_deserStatus)
11898 _deserStatus = _msg.deserializeTo(args);
11901 static_cast<FwAssertArgType>(_deserStatus)
11924 #if FW_CMD_CHECK_RESIDUAL 11944 case INT_IF_CHECKTIMERSINTERNAL: {
11948 _msg.getDeserializeSizeLeft() == 0,
11959 case INT_IF_DIRECTIVE_ALLOCATE: {
11961 _deserStatus = _msg.deserializeTo(directive);
11966 static_cast<FwAssertArgType>(_deserStatus)
11970 _deserStatus = _msg.deserializeTo(sequenceIndex);
11975 static_cast<FwAssertArgType>(_deserStatus)
11981 _msg.getDeserializeSizeLeft() == 0,
11995 case INT_IF_DIRECTIVE_CALL: {
11997 _deserStatus = _msg.deserializeTo(directive);
12002 static_cast<FwAssertArgType>(_deserStatus)
12006 _deserStatus = _msg.deserializeTo(sequenceIndex);
12011 static_cast<FwAssertArgType>(_deserStatus)
12017 _msg.getDeserializeSizeLeft() == 0,
12031 case INT_IF_DIRECTIVE_CONSTCMD: {
12033 _deserStatus = _msg.deserializeTo(directive);
12038 static_cast<FwAssertArgType>(_deserStatus)
12042 _deserStatus = _msg.deserializeTo(sequenceIndex);
12047 static_cast<FwAssertArgType>(_deserStatus)
12053 _msg.getDeserializeSizeLeft() == 0,
12067 case INT_IF_DIRECTIVE_DISCARD: {
12069 _deserStatus = _msg.deserializeTo(directive);
12074 static_cast<FwAssertArgType>(_deserStatus)
12078 _deserStatus = _msg.deserializeTo(sequenceIndex);
12083 static_cast<FwAssertArgType>(_deserStatus)
12089 _msg.getDeserializeSizeLeft() == 0,
12103 case INT_IF_DIRECTIVE_EXIT: {
12105 _deserStatus = _msg.deserializeTo(directive);
12110 static_cast<FwAssertArgType>(_deserStatus)
12114 _deserStatus = _msg.deserializeTo(sequenceIndex);
12119 static_cast<FwAssertArgType>(_deserStatus)
12125 _msg.getDeserializeSizeLeft() == 0,
12139 case INT_IF_DIRECTIVE_GETFIELD: {
12141 _deserStatus = _msg.deserializeTo(directive);
12146 static_cast<FwAssertArgType>(_deserStatus)
12150 _deserStatus = _msg.deserializeTo(sequenceIndex);
12155 static_cast<FwAssertArgType>(_deserStatus)
12161 _msg.getDeserializeSizeLeft() == 0,
12175 case INT_IF_DIRECTIVE_GOTO: {
12177 _deserStatus = _msg.deserializeTo(directive);
12182 static_cast<FwAssertArgType>(_deserStatus)
12186 _deserStatus = _msg.deserializeTo(sequenceIndex);
12191 static_cast<FwAssertArgType>(_deserStatus)
12197 _msg.getDeserializeSizeLeft() == 0,
12211 case INT_IF_DIRECTIVE_IF: {
12213 _deserStatus = _msg.deserializeTo(directive);
12218 static_cast<FwAssertArgType>(_deserStatus)
12222 _deserStatus = _msg.deserializeTo(sequenceIndex);
12227 static_cast<FwAssertArgType>(_deserStatus)
12233 _msg.getDeserializeSizeLeft() == 0,
12247 case INT_IF_DIRECTIVE_LOADABS: {
12249 _deserStatus = _msg.deserializeTo(directive);
12254 static_cast<FwAssertArgType>(_deserStatus)
12258 _deserStatus = _msg.deserializeTo(sequenceIndex);
12263 static_cast<FwAssertArgType>(_deserStatus)
12269 _msg.getDeserializeSizeLeft() == 0,
12283 case INT_IF_DIRECTIVE_LOADREL: {
12285 _deserStatus = _msg.deserializeTo(directive);
12290 static_cast<FwAssertArgType>(_deserStatus)
12294 _deserStatus = _msg.deserializeTo(sequenceIndex);
12299 static_cast<FwAssertArgType>(_deserStatus)
12305 _msg.getDeserializeSizeLeft() == 0,
12319 case INT_IF_DIRECTIVE_MEMCMP: {
12321 _deserStatus = _msg.deserializeTo(directive);
12326 static_cast<FwAssertArgType>(_deserStatus)
12330 _deserStatus = _msg.deserializeTo(sequenceIndex);
12335 static_cast<FwAssertArgType>(_deserStatus)
12341 _msg.getDeserializeSizeLeft() == 0,
12355 case INT_IF_DIRECTIVE_NOOP: {
12357 _deserStatus = _msg.deserializeTo(directive);
12362 static_cast<FwAssertArgType>(_deserStatus)
12366 _deserStatus = _msg.deserializeTo(sequenceIndex);
12371 static_cast<FwAssertArgType>(_deserStatus)
12377 _msg.getDeserializeSizeLeft() == 0,
12391 case INT_IF_DIRECTIVE_PEEK: {
12393 _deserStatus = _msg.deserializeTo(directive);
12398 static_cast<FwAssertArgType>(_deserStatus)
12402 _deserStatus = _msg.deserializeTo(sequenceIndex);
12407 static_cast<FwAssertArgType>(_deserStatus)
12413 _msg.getDeserializeSizeLeft() == 0,
12427 case INT_IF_DIRECTIVE_POPEVENT: {
12429 _deserStatus = _msg.deserializeTo(directive);
12434 static_cast<FwAssertArgType>(_deserStatus)
12438 _deserStatus = _msg.deserializeTo(sequenceIndex);
12443 static_cast<FwAssertArgType>(_deserStatus)
12449 _msg.getDeserializeSizeLeft() == 0,
12463 case INT_IF_DIRECTIVE_POPSERIALIZABLE: {
12465 _deserStatus = _msg.deserializeTo(directive);
12470 static_cast<FwAssertArgType>(_deserStatus)
12474 _deserStatus = _msg.deserializeTo(sequenceIndex);
12479 static_cast<FwAssertArgType>(_deserStatus)
12485 _msg.getDeserializeSizeLeft() == 0,
12499 case INT_IF_DIRECTIVE_PUSHPRM: {
12501 _deserStatus = _msg.deserializeTo(directive);
12506 static_cast<FwAssertArgType>(_deserStatus)
12510 _deserStatus = _msg.deserializeTo(sequenceIndex);
12515 static_cast<FwAssertArgType>(_deserStatus)
12521 _msg.getDeserializeSizeLeft() == 0,
12535 case INT_IF_DIRECTIVE_PUSHRAND: {
12537 _deserStatus = _msg.deserializeTo(directive);
12542 static_cast<FwAssertArgType>(_deserStatus)
12546 _deserStatus = _msg.deserializeTo(sequenceIndex);
12551 static_cast<FwAssertArgType>(_deserStatus)
12557 _msg.getDeserializeSizeLeft() == 0,
12571 case INT_IF_DIRECTIVE_PUSHTIME: {
12573 _deserStatus = _msg.deserializeTo(directive);
12578 static_cast<FwAssertArgType>(_deserStatus)
12582 _deserStatus = _msg.deserializeTo(sequenceIndex);
12587 static_cast<FwAssertArgType>(_deserStatus)
12593 _msg.getDeserializeSizeLeft() == 0,
12607 case INT_IF_DIRECTIVE_PUSHTLMVAL: {
12609 _deserStatus = _msg.deserializeTo(directive);
12614 static_cast<FwAssertArgType>(_deserStatus)
12618 _deserStatus = _msg.deserializeTo(sequenceIndex);
12623 static_cast<FwAssertArgType>(_deserStatus)
12629 _msg.getDeserializeSizeLeft() == 0,
12643 case INT_IF_DIRECTIVE_PUSHTLMVALANDTIME: {
12645 _deserStatus = _msg.deserializeTo(directive);
12650 static_cast<FwAssertArgType>(_deserStatus)
12654 _deserStatus = _msg.deserializeTo(sequenceIndex);
12659 static_cast<FwAssertArgType>(_deserStatus)
12665 _msg.getDeserializeSizeLeft() == 0,
12679 case INT_IF_DIRECTIVE_PUSHVAL: {
12681 _deserStatus = _msg.deserializeTo(directive);
12686 static_cast<FwAssertArgType>(_deserStatus)
12690 _deserStatus = _msg.deserializeTo(sequenceIndex);
12695 static_cast<FwAssertArgType>(_deserStatus)
12701 _msg.getDeserializeSizeLeft() == 0,
12715 case INT_IF_DIRECTIVE_RETURN: {
12717 _deserStatus = _msg.deserializeTo(directive);
12722 static_cast<FwAssertArgType>(_deserStatus)
12726 _deserStatus = _msg.deserializeTo(sequenceIndex);
12731 static_cast<FwAssertArgType>(_deserStatus)
12737 _msg.getDeserializeSizeLeft() == 0,
12751 case INT_IF_DIRECTIVE_SETSEED: {
12753 _deserStatus = _msg.deserializeTo(directive);
12758 static_cast<FwAssertArgType>(_deserStatus)
12762 _deserStatus = _msg.deserializeTo(sequenceIndex);
12767 static_cast<FwAssertArgType>(_deserStatus)
12773 _msg.getDeserializeSizeLeft() == 0,
12787 case INT_IF_DIRECTIVE_STACKCMD: {
12789 _deserStatus = _msg.deserializeTo(directive);
12794 static_cast<FwAssertArgType>(_deserStatus)
12798 _deserStatus = _msg.deserializeTo(sequenceIndex);
12803 static_cast<FwAssertArgType>(_deserStatus)
12809 _msg.getDeserializeSizeLeft() == 0,
12823 case INT_IF_DIRECTIVE_STACKOP: {
12825 _deserStatus = _msg.deserializeTo(directive);
12830 static_cast<FwAssertArgType>(_deserStatus)
12834 _deserStatus = _msg.deserializeTo(sequenceIndex);
12839 static_cast<FwAssertArgType>(_deserStatus)
12845 _msg.getDeserializeSizeLeft() == 0,
12859 case INT_IF_DIRECTIVE_STOREABS: {
12861 _deserStatus = _msg.deserializeTo(directive);
12866 static_cast<FwAssertArgType>(_deserStatus)
12870 _deserStatus = _msg.deserializeTo(sequenceIndex);
12875 static_cast<FwAssertArgType>(_deserStatus)
12881 _msg.getDeserializeSizeLeft() == 0,
12895 case INT_IF_DIRECTIVE_STOREABSCONSTOFFSET: {
12897 _deserStatus = _msg.deserializeTo(directive);
12902 static_cast<FwAssertArgType>(_deserStatus)
12906 _deserStatus = _msg.deserializeTo(sequenceIndex);
12911 static_cast<FwAssertArgType>(_deserStatus)
12917 _msg.getDeserializeSizeLeft() == 0,
12931 case INT_IF_DIRECTIVE_STOREREL: {
12933 _deserStatus = _msg.deserializeTo(directive);
12938 static_cast<FwAssertArgType>(_deserStatus)
12942 _deserStatus = _msg.deserializeTo(sequenceIndex);
12947 static_cast<FwAssertArgType>(_deserStatus)
12953 _msg.getDeserializeSizeLeft() == 0,
12967 case INT_IF_DIRECTIVE_STORERELCONSTOFFSET: {
12969 _deserStatus = _msg.deserializeTo(directive);
12974 static_cast<FwAssertArgType>(_deserStatus)
12978 _deserStatus = _msg.deserializeTo(sequenceIndex);
12983 static_cast<FwAssertArgType>(_deserStatus)
12989 _msg.getDeserializeSizeLeft() == 0,
13003 case INT_IF_DIRECTIVE_WAITABS: {
13005 _deserStatus = _msg.deserializeTo(directive);
13010 static_cast<FwAssertArgType>(_deserStatus)
13014 _deserStatus = _msg.deserializeTo(sequenceIndex);
13019 static_cast<FwAssertArgType>(_deserStatus)
13025 _msg.getDeserializeSizeLeft() == 0,
13039 case INT_IF_DIRECTIVE_WAITREL: {
13041 _deserStatus = _msg.deserializeTo(directive);
13046 static_cast<FwAssertArgType>(_deserStatus)
13050 _deserStatus = _msg.deserializeTo(sequenceIndex);
13055 static_cast<FwAssertArgType>(_deserStatus)
13061 _msg.getDeserializeSizeLeft() == 0,
13075 case INT_IF_TLMWRITEINTERNAL: {
13079 _msg.getDeserializeSizeLeft() == 0,
13091 case INTERNAL_STATE_MACHINE_SIGNAL:
13092 this->smDispatch(_msg);
13106 void FpySequencerComponentBase ::
13117 compPtr->cmdIn_handlerBase(
13129 void FpySequencerComponentBase ::
13130 m_p_checkTimers_in(
13138 compPtr->checkTimers_handlerBase(
13144 void FpySequencerComponentBase ::
13145 m_p_cmdResponseIn_in(
13155 compPtr->cmdResponseIn_handlerBase(
13163 void FpySequencerComponentBase ::
13172 compPtr->pingIn_handlerBase(
13178 void FpySequencerComponentBase ::
13179 m_p_seqCancelIn_in(
13186 compPtr->seqCancelIn_handlerBase(portNum);
13189 void FpySequencerComponentBase ::
13199 compPtr->seqRunIn_handlerBase(
13206 void FpySequencerComponentBase ::
13215 compPtr->tlmWrite_handlerBase(
13221 #if !FW_DIRECT_PORT_CALLS 13227 void FpySequencerComponentBase ::
13235 static_cast<FwAssertArgType>(portNum)
13239 this->m_cmdRegOut_OutputPort[portNum].isConnected(),
13240 static_cast<FwAssertArgType>(portNum)
13242 this->m_cmdRegOut_OutputPort[portNum].
invoke(
13247 void FpySequencerComponentBase ::
13248 cmdResponseOut_out(
13257 static_cast<FwAssertArgType>(portNum)
13261 this->m_cmdResponseOut_OutputPort[portNum].isConnected(),
13262 static_cast<FwAssertArgType>(portNum)
13264 this->m_cmdResponseOut_OutputPort[portNum].
invoke(
13271 void FpySequencerComponentBase ::
13282 static_cast<FwAssertArgType>(portNum)
13286 this->m_logOut_OutputPort[portNum].isConnected(),
13287 static_cast<FwAssertArgType>(portNum)
13289 this->m_logOut_OutputPort[portNum].
invoke(
13297 #if FW_ENABLE_TEXT_LOGGING 13299 void FpySequencerComponentBase ::
13309 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
13310 static_cast<FwAssertArgType>(portNum)
13314 this->m_logTextOut_OutputPort[portNum].isConnected(),
13315 static_cast<FwAssertArgType>(portNum)
13317 this->m_logTextOut_OutputPort[portNum].invoke(
13336 static_cast<FwAssertArgType>(portNum)
13340 this->m_prmGet_OutputPort[portNum].isConnected(),
13341 static_cast<FwAssertArgType>(portNum)
13343 return this->m_prmGet_OutputPort[portNum].
invoke(
13349 void FpySequencerComponentBase ::
13358 static_cast<FwAssertArgType>(portNum)
13362 this->m_prmSet_OutputPort[portNum].isConnected(),
13363 static_cast<FwAssertArgType>(portNum)
13365 this->m_prmSet_OutputPort[portNum].
invoke(
13371 void FpySequencerComponentBase ::
13379 static_cast<FwAssertArgType>(portNum)
13383 this->m_timeCaller_OutputPort[portNum].isConnected(),
13384 static_cast<FwAssertArgType>(portNum)
13386 this->m_timeCaller_OutputPort[portNum].
invoke(
13391 void FpySequencerComponentBase ::
13401 static_cast<FwAssertArgType>(portNum)
13405 this->m_tlmOut_OutputPort[portNum].isConnected(),
13406 static_cast<FwAssertArgType>(portNum)
13408 this->m_tlmOut_OutputPort[portNum].
invoke(
13421 void FpySequencerComponentBase ::
13431 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(INTERNAL_STATE_MACHINE_SIGNAL));
13435 status = buffer.
serializeFrom(static_cast<FwIndexType>(0));
13439 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(smId));
13443 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(signal));
13447 void FpySequencerComponentBase ::
13456 static_cast<FwAssertArgType>(qStatus)
13464 void FpySequencerComponentBase ::
13470 FpySequencerComponentBase::deserializeSmIdAndSignal(buffer, storedSmId, storedSignal);
13473 const SmId smId =
static_cast<SmId>(storedSmId);
13477 this->Svc_FpySequencer_SequencerStateMachine_smDispatch(buffer, this->m_stateMachine_sequencer, signal);
13481 FW_ASSERT(
false, static_cast<FwAssertArgType>(smId));
13486 void FpySequencerComponentBase ::
13487 deserializeSmIdAndSignal(
13507 void FpySequencerComponentBase ::
13508 Svc_FpySequencer_SequencerStateMachine_smDispatch(
13510 Svc_FpySequencer_SequencerStateMachine& sm,
13523 sm.sendSignal_cmd_VALIDATE(value);
13534 sm.sendSignal_cmd_RUN(value);
13545 sm.sendSignal_cmd_RUN_VALIDATED(value);
13552 sm.sendSignal_cmd_CANCEL();
13563 sm.sendSignal_cmd_SET_BREAKPOINT(value);
13570 sm.sendSignal_cmd_CLEAR_BREAKPOINT();
13577 sm.sendSignal_result_failure();
13584 sm.sendSignal_result_success();
13591 sm.sendSignal_entered();
13598 sm.sendSignal_result_dispatchStatement_success();
13605 sm.sendSignal_result_dispatchStatement_failure();
13612 sm.sendSignal_result_dispatchStatement_noMoreStatements();
13619 sm.sendSignal_checkTimersIn();
13626 sm.sendSignal_result_checkShouldWake_wakeup();
13633 sm.sendSignal_result_checkShouldWake_keepSleeping();
13640 sm.sendSignal_result_timeOpFailed();
13647 sm.sendSignal_stmtResponse_beginSleep();
13654 sm.sendSignal_stmtResponse_success();
13661 sm.sendSignal_stmtResponse_failure();
13668 sm.sendSignal_stmtResponse_unexpected();
13675 sm.sendSignal_stmtResponse_keepWaiting();
13682 sm.sendSignal_result_checkStatementTimeout_statementTimeout();
13689 sm.sendSignal_result_checkStatementTimeout_noTimeout();
13696 sm.sendSignal_cmd_CONTINUE();
13703 sm.sendSignal_cmd_BREAK();
13710 sm.sendSignal_cmd_STEP();
13714 FW_ASSERT(
false, static_cast<FwAssertArgType>(signal));
13733 this->m_paramLock.
lock();
13734 this->m_STATEMENT_TIMEOUT_SECS = _localVal;
13736 this->m_paramLock.
unlock();
13753 this->m_paramLock.
lock();
13754 this->m_SEQ_BASE_DIR = _localVal;
13756 this->m_paramLock.
unlock();
13768 paramSave_STATEMENT_TIMEOUT_SECS()
13777 this->m_paramLock.
lock();
13779 _stat = _paramBuffer.
serializeFrom(m_STATEMENT_TIMEOUT_SECS);
13781 this->m_paramLock.
unlock();
13796 paramSave_SEQ_BASE_DIR()
13805 this->m_paramLock.
lock();
13809 this->m_paramLock.
unlock();
void cmdOut_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context) const
Invoke output port cmdOut.
Serialization/Deserialization operation was successful.
void pingOut_out(FwIndexType portNum, U32 key) const
Invoke output port pingOut.
virtual void seqCancelIn_handler(FwIndexType portNum)=0
Handler for input port seqCancelIn.
void sequencer_sendSignal_result_dispatchStatement_noMoreStatements()
Send signal result_dispatchStatement_noMoreStatements to state machine sequencer. ...
sets the index of the next directive to execute
void sequencer_sendSignal_result_checkShouldWake_keepSleeping()
Send signal result_checkShouldWake_keepSleeping to state machine sequencer.
called when an unexpected or incorrect statement response comes in. only raised in the RUNNING state ...
called in dispatchStatement method when a statement was unable to be sent out
virtual void DUMP_STACK_TO_FILE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command DUMP_STACK_TO_FILE.
void addCallPort(InputTimePort *callPort)
Register an input port.
Channel ID for PRM_SEQ_BASE_DIR.
virtual void directive_storeAbsConstOffset_internalInterfaceHandler(const Svc::FpySequencer_StoreAbsConstOffsetDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_storeAbsConstOffset.
The size of the serial representation.
virtual void directive_pushRand_internalInterfaceHandler(const Svc::FpySequencer_PushRandDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_pushRand.
void invoke(Fw::ComBuffer &data, U32 context) const
Invoke a port connection.
bool isConnected_getTlmChan_OutputPort(FwIndexType portNum) const
virtual void directive_call_internalInterfaceHandler(const Svc::FpySequencer_CallDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_call.
void set_seqStartOut_OutputPort(FwIndexType portNum, Svc::InputCmdSeqInPort *port)
Connect port to seqStartOut[portNum].
void log_WARNING_HI_DirectiveTimedOut(U8 opCode, U32 stmtIdx, const Fw::StringBase &filePath) const
Log event DirectiveTimedOut.
void init()
Initialization function.
static constexpr FwSizeType CAPACITY
virtual void checkTimersInternal_internalInterfaceHandler()=0
Internal interface handler for checkTimersInternal.
Channel ID for SequencesSucceeded.
void invoke(const Fw::StringBase &filename, const Svc::SeqArgs &args) const
Invoke a port connection.
virtual void directive_pushPrm_internalInterfaceHandler(const Svc::FpySequencer_PushPrmDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_pushPrm.
void log_ACTIVITY_HI_SequencePaused(U32 stmtIdx) const
Log event SequencePaused.
Fw::InputCmdResponsePort * get_cmdResponseIn_InputPort(FwIndexType portNum)
virtual void seqCancelIn_preMsgHook(FwIndexType portNum)
Pre-message hook for async input port seqCancelIn.
The size of the serial representation.
FwIdType FwOpcodeType
The type of a command opcode.
void set_cmdOut_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to cmdOut[portNum].
virtual void seqRunIn_handler(FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args)=0
Handler for input port seqRunIn.
called in dispatchStatement method when there were no more statements in the sequence ...
pushes the next RNG value to the stack
branches based off of the top byte of the stack
void tlmWrite_Debug_NextStatementOpcode(U8 arg, Fw::Time _tlmTime=Fw::Time())
virtual void parametersLoaded()
Called whenever parameters are loaded.
static constexpr FwSizeType CAPACITY
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum) const
The size of the serial representation.
#define FW_PARAM_OK(paramValid)
void log_WARNING_HI_InsufficientBufferSpace(U64 bufferSize, const Fw::StringBase &filePath) const
Log event InsufficientBufferSpace.
FwIdType getIdBase() const
static constexpr FwIndexType getNum_seqStartOut_OutputPorts()
void directive_allocate_internalInterfaceInvoke(const Svc::FpySequencer_AllocateDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_allocate.
bool isConnected_getParam_OutputPort(FwIndexType portNum) const
PlatformSizeType FwSizeType
The size of the serial representation.
The size of the serial representation.
stores a value to an absolute address in the stack (for global variables), offset from stack ...
virtual void directive_setSeed_internalInterfaceHandler(const Svc::FpySequencer_SetSeedDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_setSeed.
Status receive(U8 *destination, FwSizeType capacity, BlockingType blockType, FwSizeType &actualSize, FwQueuePriorityType &priority) override
receive a message from the queue through delegate
void directive_getField_internalInterfaceInvoke(const Svc::FpySequencer_GetFieldDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_getField.
void CONTINUE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void sequencer_sendSignal_cmd_STEP()
Send signal cmd_STEP to state machine sequencer.
virtual void cmdResponseIn_handler(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)=0
Handler for input port cmdResponseIn.
void sequencer_sendSignal_result_dispatchStatement_success()
Send signal result_dispatchStatement_success to state machine sequencer.
void log_WARNING_HI_WrongCRC(U32 expected, U32 actual) const
Log event WrongCRC.
virtual void directive_if_internalInterfaceHandler(const Svc::FpySequencer_IfDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_if.
Channel ID for Debug_StackSize.
void log_WARNING_HI_ArgSizeExceedsCapacity(FwSizeType actual, FwSizeType capacity) const
Log event ArgSizeExceedsCapacity.
Status
status returned from the queue send function
virtual void CLEAR_BREAKPOINT_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
virtual void parameterUpdated(FwPrmIdType id)
Called whenever a parameter is updated.
The size of the serial representation.
called when statement successfully executed. only raised in the RUNNING.AWAITING_CMD_RESPONSE state ...
called on VALIDATE cmd with the path of the sequence file to validate. only raised in IDLE state ...
The size of the serial representation.
called on RUN cmd with the path of the sequence file to run. only raised in IDLE state ...
void sequencer_sendSignal_cmd_SET_BREAKPOINT(const Svc::FpySequencer_BreakpointArgs &value)
Send signal cmd_SET_BREAKPOINT to state machine sequencer.
called on RUN_VALIDATED cmd. only raised in AWAITING_CMD_RUN_VALIDATED state
void directive_pushRand_internalInterfaceInvoke(const Svc::FpySequencer_PushRandDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_pushRand.
returns from a function call
The size of the serial representation.
void log_WARNING_HI_CommandFailed(FwOpcodeType opCode, U32 stmtIdx, const Fw::StringBase &filePath, const Fw::CmdResponse &response) const
Log event CommandFailed.
virtual void CLEAR_BREAKPOINT_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CLEAR_BREAKPOINT.
static constexpr FwIndexType getNum_cmdIn_InputPorts()
BYTE pingInPortSize[Svc::PingPortBuffer::CAPACITY]
void tlmWrite_Debug_ReachedEndOfFile(bool arg, Fw::Time _tlmTime=Fw::Time())
void init()
Initialization function.
void RUN_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
StringTemplate< FW_FIXED_LENGTH_STRING_SIZE > String
SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG) override
Deserialize an 8-bit unsigned integer value.
generic failure of an action
void directive_call_internalInterfaceInvoke(const Svc::FpySequencer_CallDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_call.
void set_seqDoneOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to seqDoneOut[portNum].
FwIdType FwPrmIdType
The type of a parameter identifier.
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
The size of the serial representation.
void log_WARNING_LO_DirectiveWhileNotAwaiting(const Svc::Fpy::DirectiveId &directive, I32 state) const
Log event DirectiveWhileNotAwaiting.
stores a value to a local variable at a compile-time-known offset relative to the current stack frame...
Fw::SerializeStatus serialOut_out(FwIndexType portNum, Fw::LinearBufferBase &buffer)
Invoke output port serialOut.
void addCallPort(InputPrmSetPort *callPort)
Register an input port.
void directive_pushPrm_internalInterfaceInvoke(const Svc::FpySequencer_PushPrmDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_pushPrm.
virtual void directive_pushTlmValAndTime_internalInterfaceHandler(const Svc::FpySequencer_PushTlmValAndTimeDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_pushTlmValAndTime.
virtual void CANCEL_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
const char *const sandboxDir
void directive_peek_internalInterfaceInvoke(const Svc::FpySequencer_PeekDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_peek.
Fw::ParamValid getParam_out(FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer &val) const
Invoke output port getParam.
void invoke(U32 key) const
Invoke a port connection.
raised when we should keep sleeping
void STEP_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
static constexpr FwIndexType getNum_pingIn_InputPorts()
called in SET_BREAKPOINT cmd. raised in any state
bool isConnected_prmGet_OutputPort(FwIndexType portNum) const
void addCallPort(InputTlmGetPort *callPort)
Register an input port.
pop an opcode and arg buf off the stack, send to cmd dispatcher and await response ...
virtual const CHAR * toChar() const =0
Convert to a C-style char*.
void log_WARNING_HI_SequenceFilePathTooLong(const Fw::StringBase &baseDir, const Fw::StringBase &fileName) const
Log event SequenceFilePathTooLong.
void sequencer_sendSignal_result_checkShouldWake_wakeup()
Send signal result_checkShouldWake_wakeup to state machine sequencer.
virtual void directive_loadAbs_internalInterfaceHandler(const Svc::FpySequencer_LoadAbsDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_loadAbs.
void directive_pushTlmValAndTime_internalInterfaceInvoke(const Svc::FpySequencer_PushTlmValAndTimeDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_pushTlmValAndTime.
bool isConnected_prmSet_OutputPort(FwIndexType portNum) const
virtual void RUN_ARGS_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command RUN_ARGS.
void sequencer_sendSignal_result_success()
Send signal result_success to state machine sequencer.
void log_WARNING_LO_DirectiveFromOldSequence(const Svc::Fpy::DirectiveId &directive, U64 oldSequenceIdx, U64 currentSequenceIdx) const
Log event DirectiveFromOldSequence.
virtual void RUN_VALIDATED_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Svc::BlockState &block)=0
void cmdResponseIn_handlerBase(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
Handler base-class function for input port cmdResponseIn.
SmId
State machine identifiers.
void sequencer_sendSignal_stmtResponse_success()
Send signal stmtResponse_success to state machine sequencer.
virtual void VALIDATE_ARGS_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command VALIDATE_ARGS.
The size of the serial representation.
virtual ~FpySequencerComponentBase()
Destroy FpySequencerComponentBase object.
void directive_pushVal_internalInterfaceInvoke(const Svc::FpySequencer_PushValDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_pushVal.
void tlmWrite_Debug_StackSize(Svc::Fpy::StackSizeType arg, Fw::Time _tlmTime=Fw::Time())
virtual void SET_BREAKPOINT_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U32 stmtIdx, bool breakOnce)=0
Loads and validates a sequence.
virtual void directive_discard_internalInterfaceHandler(const Svc::FpySequencer_DiscardDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_discard.
void sequencer_sendSignal_cmd_VALIDATE(const Svc::FpySequencer_SequenceExecutionArgs &value)
Send signal cmd_VALIDATE to state machine sequencer.
The size of the serial representation.
Channel ID for SequencesFailed.
void init()
Initialization function.
static constexpr FwIndexType getNum_tlmWrite_InputPorts()
Enum representing a command response.
virtual void RUN_VALIDATED_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command RUN_VALIDATED.
No time base has been established (Required)
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
virtual void DUMP_STACK_TO_FILE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName)=0
The size of the serial representation.
SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG) override
Serialize an 8-bit unsigned integer value.
void checkTimersInternal_internalInterfaceInvoke()
Internal interface base-class function for checkTimersInternal.
void tlmWrite_State(FwEnumStoreType arg, Fw::Time _tlmTime=Fw::Time())
void log_WARNING_HI_FileApiError(const Fw::StringBase &filePath, I32 errorCode) const
Log event FileApiError.
void addCallPort(InputCmdRegPort *callPort)
Register an input port.
void tlmWrite_SequencesSucceeded(U64 arg, Fw::Time _tlmTime=Fw::Time())
void log_WARNING_HI_ExtraBytesInSequence(FwSizeType remaining) const
Log event ExtraBytesInSequence.
Channel ID for Debug_NextStatementReadSuccess.
void directive_pushTime_internalInterfaceInvoke(const Svc::FpySequencer_PushTimeDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_pushTime.
virtual SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG)=0
Serialize an 8-bit unsigned integer value.
pops bytes off the top of the stack and does nothing with them
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
The size of the serial representation.
virtual void seqRunIn_preMsgHook(FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args)
Pre-message hook for async input port seqRunIn.
void log_DIAGNOSTIC_LogDiagnostic(const Fw::StringBase &filePath, const Fw::StringBase &message) const
Log event LogDiagnostic.
void log_COMMAND_LogCommand(const Fw::StringBase &filePath, const Fw::StringBase &message) const
Log event LogCommand.
The size of the serial representation.
void init()
Initialization function.
Loads, validates and runs a sequence.
virtual void pingIn_preMsgHook(FwIndexType portNum, U32 key)
Pre-message hook for async input port pingIn.
virtual void STEP_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
Os::Queue m_queue
queue object for active component
void cmdIn_handlerBase(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Handler base-class function for input port cmdIn.
void log_WARNING_HI_TooManySequenceDirectives(U16 count, U16 max) const
Log event TooManySequenceDirectives.
void sequencer_sendSignal_stmtResponse_unexpected()
Send signal stmtResponse_unexpected to state machine sequencer.
void sequencer_sendSignal_cmd_BREAK()
Send signal cmd_BREAK to state machine sequencer.
Software diagnostic events.
void sequencer_sendSignal_result_dispatchStatement_failure()
Send signal result_dispatchStatement_failure to state machine sequencer.
void log_WARNING_HI_DirectiveDeserializeError(U8 opcode, U32 stmtIdx, I32 errorCode, U64 buffLeft, U64 buffLength) const
Log event DirectiveDeserializeError.
virtual void pingIn_handler(FwIndexType portNum, U32 key)=0
Handler for input port pingIn.
virtual void parameterLoaded(FwPrmIdType id, Fw::ParamValid valid)
Called for each parameter when parameters are loaded.
Svc::InputSchedPort * get_checkTimers_InputPort(FwIndexType portNum)
void addCallPort(InputTlmPort *callPort)
Register an input port.
virtual void STEP_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command STEP.
void addCallPort(InputPrmGetPort *callPort)
Register an input port.
void RUN_VALIDATED_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void tlmWrite_PRM_STATEMENT_TIMEOUT_SECS(F32 arg, Fw::Time _tlmTime=Fw::Time())
void init()
Object initializer.
void set_pingOut_OutputPort(FwIndexType portNum, Svc::InputPingPort *port)
Connect port to pingOut[portNum].
static constexpr FwIndexType getNum_tlmOut_OutputPorts()
void log_ACTIVITY_LO_LogActivityLo(const Fw::StringBase &filePath, const Fw::StringBase &message) const
Log event LogActivityLo.
static constexpr FwIndexType getNum_pingOut_OutputPorts()
SerializeStatus
forward declaration for string
Svc_FpySequencer_SequencerStateMachine::State sequencer_getState() const
Get the state of state machine instance sequencer.
called in STEP cmd. only raised in RUNNING.PAUSED state
void set_getTlmChan_OutputPort(FwIndexType portNum, Fw::InputTlmGetPort *port)
Connect port to getTlmChan[portNum].
raised whenever the checkTimers port is called
void log_WARNING_HI_SequenceExitedWithError(const Fw::StringBase &filePath, I32 errorCode) const
Log event SequenceExitedWithError.
float F32
32-bit floating point
virtual void directive_noOp_internalInterfaceHandler(const Svc::FpySequencer_NoOpDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_noOp.
void log_WARNING_HI_WrongCmdResponseIndex(FwOpcodeType opcode, const Fw::CmdResponse &response, U16 actualCmdIdx, U16 expectedCmdIdx) const
Log event WrongCmdResponseIndex.
virtual void checkTimers_handler(FwIndexType portNum, U32 context)=0
Handler for input port checkTimers.
virtual SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG)=0
Deserialize an 8-bit unsigned integer value.
Message will block until space is available.
static constexpr FwIndexType getNum_getParam_OutputPorts()
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts()
The size of the serial representation.
executes a cmd with const args
Channel ID for PRM_STATEMENT_TIMEOUT_SECS.
virtual void RUN_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName, const Svc::BlockState &block)=0
virtual void directive_popSerializable_internalInterfaceHandler(const Svc::FpySequencer_PopSerializableDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_popSerializable.
void tlmWrite_StatementsFailed(U64 arg, Fw::Time _tlmTime=Fw::Time())
FwIdType FwEventIdType
The type of an event identifier.
loads a value from a local variable at a compile-time-known offset relative to the current stack fram...
virtual void directive_goto_internalInterfaceHandler(const Svc::FpySequencer_GotoDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_goto.
void seqCancelIn_handlerBase(FwIndexType portNum)
Handler base-class function for input port seqCancelIn.
void log_ACTIVITY_HI_LogActivityHi(const Fw::StringBase &filePath, const Fw::StringBase &message) const
Log event LogActivityHi.
void regCommands()
Register commands with the Command Dispatcher.
void invoke(FwOpcodeType opCode) const
Invoke a port connection.
static constexpr FwSizeType CAPACITY
called in dispatchStatement method when a statement was successfully dispatched
F32 paramGet_STATEMENT_TIMEOUT_SECS(Fw::ParamValid &valid)
Opcode to set parameter SEQ_BASE_DIR.
Svc::InputCmdSeqCancelPort * get_seqCancelIn_InputPort(FwIndexType portNum)
Opcode to save parameter STATEMENT_TIMEOUT_SECS.
void directive_waitAbs_internalInterfaceInvoke(const Svc::FpySequencer_WaitAbsDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_waitAbs.
Channel ID for DirectiveErrorIndex.
Fw::TlmValid invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects) ...
void log_WARNING_HI_EndOfFileError(const Svc::FpySequencer_FileReadStage &readStage, const Fw::StringBase &filePath) const
Log event EndOfFileError.
pop two byte arrays off the top of the stack, call memcmp, push 1 if they were equal, 0 otherwise
void init()
Initialization function.
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
Data was the wrong format (e.g. wrong packet type)
Less important informational events.
pops a severity and message from the stack and emits an F Prime event
Os::Queue::Status createQueue(FwSizeType depth, FwSizeType msgSize)
void tlmWrite_DirectiveErrorId(const Svc::Fpy::DirectiveId &arg, Fw::Time _tlmTime=Fw::Time())
static constexpr FwIndexType getNum_cmdResponseIn_InputPorts()
void directive_pushTlmVal_internalInterfaceInvoke(const Svc::FpySequencer_PushTlmValDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_pushTlmVal.
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
void directive_waitRel_internalInterfaceInvoke(const Svc::FpySequencer_WaitRelDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_waitRel.
void tlmWrite_Debug_NextCmdOpcode(FwOpcodeType arg, Fw::Time _tlmTime=Fw::Time())
void tlmWrite_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port tlmWrite.
void RUN_ARGS_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Base-class handler function for command RUN_ARGS.
An activity related to commanding.
#define FW_MIN(a, b)
MIN macro (deprecated in C++, use std::min)
A less serious but recoverable event.
Fw::ParamValid invoke(FwPrmIdType id, Fw::ParamBuffer &val) const
ActiveComponentBase(const char *name)
Constructor.
void init()
Initialization function.
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) const
generic success of an action
virtual void directive_getField_internalInterfaceHandler(const Svc::FpySequencer_GetFieldDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_getField.
void tlmWrite_PRM_SEQ_BASE_DIR(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
void invoke(Fw::Time &time) const
Invoke a port connection.
Channel ID for BreakOnlyOnceOnBreakpoint.
void pingIn_handlerBase(FwIndexType portNum, U32 key)
Handler base-class function for input port pingIn.
stores a value to an absolute address in the stack (for global variables), const offset ...
virtual void directive_constCmd_internalInterfaceHandler(const Svc::FpySequencer_ConstCmdDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_constCmd.
Channel ID for StatementsFailed.
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
Serializable::SizeType getDeserializeSizeLeft() const override
Get remaining deserialization buffer size.
virtual void directive_storeAbs_internalInterfaceHandler(const Svc::FpySequencer_StoreAbsDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_storeAbs.
void invoke(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke a port connection.
void sequencer_sendSignal_cmd_RUN_VALIDATED(const Svc::FpySequencer_SequenceExecutionArgs &value)
Send signal cmd_RUN_VALIDATED to state machine sequencer.
virtual void BREAK_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
Svc_FpySequencer_SequencerStateMachine(FpySequencerComponentBase &component)
Constructor.
FwIdType FwChanIdType
The type of a telemetry channel identifier.
void log_WARNING_HI_FileReadError(const Svc::FpySequencer_FileReadStage &readStage, const Fw::StringBase &filePath, I32 errorCode) const
Log event FileReadError.
void set_cmdResponseOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdResponseOut[portNum].
Channel ID for Debug_NextCmdOpcode.
void addCallPort(InputPingPort *callPort)
Register an input port.
Status send(const U8 *buffer, FwSizeType size, FwQueuePriorityType priority, BlockingType blockType) override
send a message into the queue through delegate
Sequencer blocking state.
virtual void tlmWriteInternal_internalInterfaceHandler()=0
Internal interface handler for tlmWriteInternal.
void tlmWriteInternal_internalInterfaceInvoke()
Internal interface base-class function for tlmWriteInternal.
FpySequencerComponentBase(const char *compName="")
Construct FpySequencerComponentBase object.
virtual void CONTINUE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
The size of the serial representation.
void sequencer_sendSignal_checkTimersIn()
Send signal checkTimersIn to state machine sequencer.
void tlmWrite_StatementsDispatched(U64 arg, Fw::Time _tlmTime=Fw::Time())
Channel ID for Debug_NextStatementIndex.
void tlmWrite_LastDirectiveError(const Svc::Fpy::DirectiveErrorCode &arg, Fw::Time _tlmTime=Fw::Time())
void VALIDATE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
virtual void directive_loadRel_internalInterfaceHandler(const Svc::FpySequencer_LoadRelDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_loadRel.
void resetDeser() override
Reset deserialization pointer to beginning of buffer.
void VALIDATE_ARGS_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
static constexpr FwIndexType getNum_prmSet_OutputPorts()
void directive_constCmd_internalInterfaceInvoke(const Svc::FpySequencer_ConstCmdDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_constCmd.
void log_WARNING_HI_LogWarningHi(const Fw::StringBase &filePath, const Fw::StringBase &message) const
Log event LogWarningHi.
virtual void directive_allocate_internalInterfaceHandler(const Svc::FpySequencer_AllocateDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_allocate.
peeks at N bytes from the stack, starting from an offset relative to the top of the stack ...
void sequencer_sendSignal_stmtResponse_failure()
Send signal stmtResponse_failure to state machine sequencer.
The size of the serial representation.
void directive_popEvent_internalInterfaceInvoke(const Svc::FpySequencer_PopEventDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_popEvent.
virtual void directive_pushVal_internalInterfaceHandler(const Svc::FpySequencer_PushValDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_pushVal.
A string backed by an external buffer.
A serious but recoverable event.
void CANCEL_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
virtual void directive_storeRelConstOffset_internalInterfaceHandler(const Svc::FpySequencer_StoreRelConstOffsetDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_storeRelConstOffset.
Errors dispatching messages.
The size of the serial representation.
void set_cmdRegOut_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to cmdRegOut[portNum].
void tlmWrite_Debug_NextStatementIndex(U32 arg, Fw::Time _tlmTime=Fw::Time())
void sequencer_sendSignal_stmtResponse_beginSleep()
Send signal stmtResponse_beginSleep to state machine sequencer.
void directive_goto_internalInterfaceInvoke(const Svc::FpySequencer_GotoDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_goto.
void invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke a port connection.
void log_WARNING_HI_CmdResponseWhileNotAwaiting(FwOpcodeType opcode, const Fw::CmdResponse &response) const
Log event CmdResponseWhileNotAwaiting.
const char * toChar() const
Convert to a C-style char*.
void log_WARNING_HI_CommandTimedOut(FwOpcodeType opCode, U32 stmtIdx, const Fw::StringBase &filePath) const
Log event CommandTimedOut.
void sequencer_sendSignal_result_checkStatementTimeout_noTimeout()
Send signal result_checkStatementTimeout_noTimeout to state machine sequencer.
Enum representing event severity.
The size of the serial representation.
static constexpr FwIndexType getNum_seqRunIn_InputPorts()
virtual void tlmWrite_handler(FwIndexType portNum, U32 context)=0
Handler for input port tlmWrite.
Svc::InputCmdSeqInPort * get_seqRunIn_InputPort(FwIndexType portNum)
void directive_stackCmd_internalInterfaceInvoke(const Svc::FpySequencer_StackCmdDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_stackCmd.
void directive_memCmp_internalInterfaceInvoke(const Svc::FpySequencer_MemCmpDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_memCmp.
virtual void directive_stackOp_internalInterfaceHandler(const Svc::FpySequencer_StackOpDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_stackOp.
void loadParameters()
Load the parameters from a parameter source.
void log_WARNING_HI_InvalidSeqRunCall(I32 state) const
Log event InvalidSeqRunCall.
virtual void directive_stackCmd_internalInterfaceHandler(const Svc::FpySequencer_StackCmdDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_stackCmd.
static constexpr FwIndexType getNum_cmdOut_OutputPorts()
void directive_loadRel_internalInterfaceInvoke(const Svc::FpySequencer_LoadRelDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_loadRel.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
The size of the serial representation.
void init()
Initialization function.
Command successfully executed.
virtual void directive_pushTlmVal_internalInterfaceHandler(const Svc::FpySequencer_PushTlmValDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_pushTlmVal.
called in BREAK cmd. only raised in RUNNING state
virtual Serializable::SizeType getDeserializeSizeLeft() const =0
Get remaining deserialization buffer size.
void directive_stackOp_internalInterfaceInvoke(const Svc::FpySequencer_StackOpDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_stackOp.
sleeps for a relative duration from the current time
Channel ID for StatementsDispatched.
virtual void directive_return_internalInterfaceHandler(const Svc::FpySequencer_ReturnDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_return.
void seqDoneOut_out(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke output port seqDoneOut.
void directive_loadAbs_internalInterfaceInvoke(const Svc::FpySequencer_LoadAbsDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_loadAbs.
void directive_noOp_internalInterfaceInvoke(const Svc::FpySequencer_NoOpDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_noOp.
uint8_t U8
8-bit unsigned integer
bool isConnected_serialOut_OutputPort(FwIndexType portNum) const
static constexpr FwSizeType CAPACITY
virtual void directive_memCmp_internalInterfaceHandler(const Svc::FpySequencer_MemCmpDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_memCmp.
Channel ID for Debug_ReachedEndOfFile.
Loads and validates a sequence with arguments.
void log_ACTIVITY_HI_BreakpointSet(U32 breakpointIdx, bool breakOnce) const
Log event BreakpointSet.
virtual void directive_waitAbs_internalInterfaceHandler(const Svc::FpySequencer_WaitAbsDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_waitAbs.
virtual void directive_pushTime_internalInterfaceHandler(const Svc::FpySequencer_PushTimeDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_pushTime.
void sequencer_sendSignal_result_timeOpFailed()
Send signal result_timeOpFailed to state machine sequencer.
void BREAK_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void log_WARNING_HI_FileOpenError(const Fw::StringBase &filePath, I32 errorCode) const
Log event FileOpenError.
void init(FpySequencerComponentBase::SmId smId)
Initialize the state machine.
void set_prmSet_OutputPort(FwIndexType portNum, Fw::InputPrmSetPort *port)
Connect port to prmSet[portNum].
generic stack operation handler
The size of the serial representation.
Command failed to deserialize.
The size of the serial representation.
void lock()
lock the mutex and assert success
PlatformQueuePriorityType FwQueuePriorityType
The type of queue priorities used.
Command had execution error.
Important informational events.
message to exit active component task
void sequencer_sendSignal_cmd_CANCEL()
Send signal cmd_CANCEL to state machine sequencer.
void sequencer_sendSignal_result_checkStatementTimeout_statementTimeout()
Send signal result_checkStatementTimeout_statementTimeout to state machine sequencer.
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts()
virtual void directive_waitRel_internalInterfaceHandler(const Svc::FpySequencer_WaitRelDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_waitRel.
Channel ID for BreakBeforeNextLine.
void sequencer_sendSignal_stmtResponse_keepWaiting()
Send signal stmtResponse_keepWaiting to state machine sequencer.
void invoke(FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args) const
Invoke a port connection.
Channel ID for Debug_NextStatementOpcode.
bool isConnected_tlmOut_OutputPort(FwIndexType portNum) const
The size of the serial representation.
Channel ID for BreakpointIndex.
Channel ID for SequencesCancelled.
void log_WARNING_HI_InvalidCommand(I32 state) const
Log event InvalidCommand.
void tlmWrite_BreakBeforeNextLine(bool arg, Fw::Time _tlmTime=Fw::Time())
bool isConnected_logOut_OutputPort(FwIndexType portNum) const
sleeps until an absolute time
void log_ACTIVITY_HI_SequenceCancelled(const Fw::StringBase &filePath) const
Log event SequenceCancelled.
virtual void RUN_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command RUN.
void log_ACTIVITY_HI_BreakpointCleared() const
Log event BreakpointCleared.
void log_WARNING_HI_ArgTotalSizeExceedsStackLimit(Svc::Fpy::StackSizeType argSize) const
Log event ArgTotalSizeExceedsStackLimit.
static constexpr FwIndexType getNum_getTlmChan_OutputPorts()
virtual void directive_popEvent_internalInterfaceHandler(const Svc::FpySequencer_PopEventDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_popEvent.
void init()
Initialization function.
Fw::ParamString paramGet_SEQ_BASE_DIR(Fw::ParamValid &valid)
virtual void directive_peek_internalInterfaceHandler(const Svc::FpySequencer_PeekDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_peek.
A message was sent requesting an exit of the loop.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum) const
called when the statement unsuccessfully executed. only raised in the RUNNING.AWAITING_CMD_RESPONSE s...
called in CONTINUE cmd. only raised in RUNNING.PAUSED state
FpySequencer_SequencerStateMachineStateMachineBase::State getState() const
Get the state.
void tlmWrite_SequencesFailed(U64 arg, Fw::Time _tlmTime=Fw::Time())
loads a value from an absolute address in the stack (for global variables)
The size of the serial representation.
void tlmWrite_SeqPath(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
virtual void SET_BREAKPOINT_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command SET_BREAKPOINT.
PlatformIndexType FwIndexType
raised when the statement has not timed out yet
virtual void VALIDATE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command VALIDATE.
static constexpr FwIndexType getNum_checkTimers_InputPorts()
void directive_exit_internalInterfaceInvoke(const Svc::FpySequencer_ExitDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_exit.
static constexpr FwIndexType getNum_serialOut_OutputPorts()
pops a U32 from the stack and uses it to seed the RNG used by PushRandDirective
bool isConnected_pingOut_OutputPort(FwIndexType portNum) const
pops serialized data from stack and sends to serial output port
A fatal non-recoverable event.
void directive_storeRelConstOffset_internalInterfaceInvoke(const Svc::FpySequencer_StoreRelConstOffsetDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_storeRelConstOffset.
void log_WARNING_HI_MismatchedTimeContext(I32 internalTimeContext, I32 otherTimeContext) const
Log event MismatchedTimeContext.
bool isConnected_cmdOut_OutputPort(FwIndexType portNum) const
Svc::InputSchedPort * get_tlmWrite_InputPort(FwIndexType portNum)
void seqRunIn_handlerBase(FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args)
Handler base-class function for input port seqRunIn.
void log_WARNING_HI_WrongSchemaVersion(U8 expected, U8 actual) const
Log event WrongSchemaVersion.
void addCallPort(InputLogPort *callPort)
Register an input port.
Writes the contents of the stack to a file. This command is only valid in the RUNNING.PAUSED state.
void addCallPort(InputCmdSeqInPort *callPort)
Register an input port.
Channel ID for DirectiveErrorId.
The size of the serial representation.
The size of the serial representation.
The size of the serial representation.
void sequencer_sendSignal_cmd_CLEAR_BREAKPOINT()
Send signal cmd_CLEAR_BREAKPOINT to state machine sequencer.
void directive_storeAbs_internalInterfaceInvoke(const Svc::FpySequencer_StoreAbsDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_storeAbs.
void log_WARNING_LO_LogWarningLo(const Fw::StringBase &filePath, const Fw::StringBase &message) const
Log event LogWarningLo.
void log_WARNING_HI_UnknownSequencerDirective(U8 opcode, U32 stmtIdx, const Fw::StringBase &filePath) const
Log event UnknownSequencerDirective.
virtual void VALIDATE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName)=0
void log_WARNING_HI_CmdResponseWhileAwaitingDirective(FwOpcodeType opcode, const Fw::CmdResponse &response, U8 expectedDirectiveOpcode) const
Log event CmdResponseWhileAwaitingDirective.
void init()
Initialization function.
The size of the serial representation.
void log_WARNING_HI_InvalidSeqCancelCall(I32 state) const
Log event InvalidSeqCancelCall.
The size of the serial representation.
void incNumMsgDropped()
increment the number of messages dropped
pushes a const byte array onto stack
stores a value to a local variable at a runtime-determined offset relative to the current stack frame...
void unlock()
alias for unLock to meet BasicLockable requirements
called in CLEAR_BREAKPOINT cmd. raised in any state
The size of the serial representation.
virtual void BREAK_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command BREAK.
void tlmWrite_DirectiveErrorIndex(U64 arg, Fw::Time _tlmTime=Fw::Time())
Command failed validation.
RateGroupDivider component implementation.
Opcode to set parameter STATEMENT_TIMEOUT_SECS.
virtual void cmdResponseIn_preMsgHook(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
Pre-message hook for async input port cmdResponseIn.
message sent/received okay
raised when we are done sleeping
Enum representing parameter validity.
void log_FATAL_LogFatal(const Fw::StringBase &filePath, const Fw::StringBase &message) const
Log event LogFatal.
Opcode to save parameter SEQ_BASE_DIR.
virtual void VALIDATE_ARGS_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName, const Svc::SeqArgs &buffer)=0
void log_WARNING_HI_TooManySequenceArgs(U8 count, U8 max) const
Log event TooManySequenceArgs.
void sequencer_sendSignal_cmd_CONTINUE()
Send signal cmd_CONTINUE to state machine sequencer.
void DUMP_STACK_TO_FILE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void log_WARNING_HI_MismatchedTimeBase(I32 internalTimeBase, I32 otherTimeBase) const
Log event MismatchedTimeBase.
pushes a prm buf to the stack
The size of the serial representation.
void invoke(FwPrmIdType id, Fw::ParamBuffer &val) const
Invoke a port connection.
void sequencer_sendSignal_result_failure()
Send signal result_failure to state machine sequencer.
The size of the serial representation.
void directive_storeAbsConstOffset_internalInterfaceInvoke(const Svc::FpySequencer_StoreAbsConstOffsetDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_storeAbsConstOffset.
void log_WARNING_HI_FileOutsideSandbox(const Fw::StringBase &filePath, const Fw::StringBase &sandboxDir) const
Log event FileOutsideSandbox.
void log_WARNING_LO_CmdResponseWhileNotRunningSequence(I32 state, FwOpcodeType opcode, const Fw::CmdResponse &response) const
Log event CmdResponseWhileNotRunningSequence.
bool isConnected_seqStartOut_OutputPort(FwIndexType portNum) const
void directive_return_internalInterfaceInvoke(const Svc::FpySequencer_ReturnDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_return.
virtual void RUN_ARGS_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName, const Svc::BlockState &block, const Svc::SeqArgs &buffer)=0
Handler for command RUN_ARGS.
virtual void CONTINUE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CONTINUE.
void log_WARNING_HI_ArgSizeMismatch(Svc::Fpy::StackSizeType expected, FwSizeType actual, const Fw::StringBase &filePath) const
Log event ArgSizeMismatch.
called on CANCEL cmd. raised in all states except IDLE
void addCallPort(InputComPort *callPort)
Register an input port.
void seqStartOut_out(FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args) const
Invoke output port seqStartOut.
void sequencer_sendSignal_entered()
Send signal entered to state machine sequencer.
The size of the serial representation.
The size of the serial representation.
Must be called after VALIDATE. Runs the sequence that was validated.
raised when the statement times out, according to the timeout parameter
void log_WARNING_HI_WrongCmdResponseOpcode(FwOpcodeType opcode, const Fw::CmdResponse &response, FwOpcodeType expectedOpcode) const
Log event WrongCmdResponseOpcode.
FpySequencerComponentBase::SmId getId() const
Get the state machine id.
pushes the current Fw.Time struct to the stack
void directive_popSerializable_internalInterfaceInvoke(const Svc::FpySequencer_PopSerializableDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_popSerializable.
void log_ACTIVITY_HI_SequenceDone(const Fw::StringBase &filePath) const
Log event SequenceDone.
LinearBufferTemplate< FW_SM_SIGNAL_BUFFER_MAX_SIZE > SmSignalBuffer
static constexpr FwIndexType getNum_seqDoneOut_OutputPorts()
virtual void directive_exit_internalInterfaceHandler(const Svc::FpySequencer_ExitDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_exit.
Channel ID for BreakpointInUse.
Message will return with status when space is unavailable.
Channel ID for LastDirectiveError.
Implementation of malloc based allocator.
void SET_BREAKPOINT_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Auto-generated base for FpySequencer component.
static constexpr FwIndexType getNum_logOut_OutputPorts()
void sequencer_sendSignal_cmd_RUN(const Svc::FpySequencer_SequenceExecutionArgs &value)
Send signal cmd_RUN to state machine sequencer.
pushes some empty bytes to the stack
void log_WARNING_HI_FileWriteError(FwSizeType writeSize, const Fw::StringBase &filePath, I32 errorCode) const
Log event FileWriteError.
static constexpr SizeType BUFFER_SIZE(SizeType maxLength)
Get the size of a null-terminated string buffer.
void init()
Initialization function.
void log_WARNING_HI_FileReadDeserializeError(const Svc::FpySequencer_FileReadStage &readStage, const Fw::StringBase &filePath, I32 errorCode, U64 buffLeft, U64 buffLength) const
Log event FileReadDeserializeError.
void log_WARNING_LO_CmdResponseFromOldSequence(FwOpcodeType opcode, const Fw::CmdResponse &response, U16 oldSequenceIdx, U16 currentSequenceIdx) const
Log event CmdResponseFromOldSequence.
void directive_if_internalInterfaceInvoke(const Svc::FpySequencer_IfDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_if.
void checkTimers_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port checkTimers.
void init()
Initialization function.
static constexpr FwIndexType getNum_prmGet_OutputPorts()
static constexpr FwIndexType getNum_seqCancelIn_InputPorts()
virtual void CANCEL_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CANCEL.
void tlmWrite_BreakOnlyOnceOnBreakpoint(bool arg, Fw::Time _tlmTime=Fw::Time())
virtual void directive_storeRel_internalInterfaceHandler(const Svc::FpySequencer_StoreRelDirective &directive, U64 sequenceIndex)=0
Internal interface handler for directive_storeRel.
virtual SerializeStatus moveDeserToOffset(FwSizeType offset)=0
Move deserialization pointer to specified offset.
The size of the serial representation.
called when the statement is telling the sequencer to await a later stmt response ...
FpySequencer_SequencerStateMachineStateMachineBase::Signal Signal
Fw::TlmValid getTlmChan_out(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke output port getTlmChan.
void tlmWrite_SequencesCancelled(U64 arg, Fw::Time _tlmTime=Fw::Time())
virtual void tlmWriteInternal_overflowHook()=0
Overflow hook for async input port tlmWriteInternal.
void tlmWrite_BreakpointInUse(bool arg, Fw::Time _tlmTime=Fw::Time())
a statement is telling the sequencer to go to sleep
pushes a tlm buf to the stack
bool isConnected_seqDoneOut_OutputPort(FwIndexType portNum) const
void set_prmGet_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to prmGet[portNum].
void set_getParam_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to getParam[portNum].
void CLEAR_BREAKPOINT_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
PlatformAssertArgType FwAssertArgType
The type of arguments to assert functions.
void directive_setSeed_internalInterfaceInvoke(const Svc::FpySequencer_SetSeedDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_setSeed.
The size of the serial representation.
U32 StackSizeType
the type which everything referencing a size or offset on the stack is represented in ...
void addCallPort(InputCmdResponsePort *callPort)
Register an input port.
void tlmWrite(FwChanIdType id, Fw::TlmBuffer &_tlmBuff, Fw::Time _tlmTime=Fw::Time()) const
void directive_discard_internalInterfaceInvoke(const Svc::FpySequencer_DiscardDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_discard.
void tlmWrite_BreakpointIndex(U32 arg, Fw::Time _tlmTime=Fw::Time())
SerializeStatus serializeTo(SerialBufferBase &buffer, Endianness mode=Endianness::BIG) const override
Serialize the contents of this object to a buffer.
BYTE cmdPortSize[Fw::CmdPortBuffer::CAPACITY]
void directive_storeRel_internalInterfaceInvoke(const Svc::FpySequencer_StoreRelDirective &directive, U64 sequenceIndex)
Internal interface base-class function for directive_storeRel.
void tlmWrite_Debug_NextStatementReadSuccess(bool arg, Fw::Time _tlmTime=Fw::Time())