10 #if FW_ENABLE_TEXT_LOGGING 23 union SignalTypeUnion {
31 sizeof(SignalTypeUnion);
38 CMDRESPONSEIN_CMDRESPONSE,
40 SEQCANCELIN_CMDSEQCANCEL,
54 CMD_DUMP_STACK_TO_FILE,
55 INT_IF_DIRECTIVE_ALLOCATE,
56 INT_IF_DIRECTIVE_CALL,
57 INT_IF_DIRECTIVE_CONSTCMD,
58 INT_IF_DIRECTIVE_DISCARD,
59 INT_IF_DIRECTIVE_EXIT,
60 INT_IF_DIRECTIVE_GETFIELD,
61 INT_IF_DIRECTIVE_GOTO,
63 INT_IF_DIRECTIVE_LOADABS,
64 INT_IF_DIRECTIVE_LOADREL,
65 INT_IF_DIRECTIVE_MEMCMP,
66 INT_IF_DIRECTIVE_NOOP,
67 INT_IF_DIRECTIVE_PEEK,
68 INT_IF_DIRECTIVE_POPEVENT,
69 INT_IF_DIRECTIVE_POPSERIALIZABLE,
70 INT_IF_DIRECTIVE_PUSHPRM,
71 INT_IF_DIRECTIVE_PUSHRAND,
72 INT_IF_DIRECTIVE_PUSHTIME,
73 INT_IF_DIRECTIVE_PUSHTLMVAL,
74 INT_IF_DIRECTIVE_PUSHTLMVALANDTIME,
75 INT_IF_DIRECTIVE_PUSHVAL,
76 INT_IF_DIRECTIVE_RETURN,
77 INT_IF_DIRECTIVE_SETSEED,
78 INT_IF_DIRECTIVE_STACKCMD,
79 INT_IF_DIRECTIVE_STACKOP,
80 INT_IF_DIRECTIVE_STOREABS,
81 INT_IF_DIRECTIVE_STOREABSCONSTOFFSET,
82 INT_IF_DIRECTIVE_STOREREL,
83 INT_IF_DIRECTIVE_STORERELCONSTOFFSET,
84 INT_IF_DIRECTIVE_WAITABS,
85 INT_IF_DIRECTIVE_WAITREL,
86 INTERNAL_STATE_MACHINE_SIGNAL,
99 BYTE directive_allocateIntIfSize[
103 BYTE directive_callIntIfSize[
107 BYTE directive_constCmdIntIfSize[
111 BYTE directive_discardIntIfSize[
115 BYTE directive_exitIntIfSize[
119 BYTE directive_getFieldIntIfSize[
123 BYTE directive_gotoIntIfSize[
127 BYTE directive_ifIntIfSize[
131 BYTE directive_loadAbsIntIfSize[
135 BYTE directive_loadRelIntIfSize[
139 BYTE directive_memCmpIntIfSize[
143 BYTE directive_noOpIntIfSize[
147 BYTE directive_peekIntIfSize[
151 BYTE directive_popEventIntIfSize[
155 BYTE directive_popSerializableIntIfSize[
159 BYTE directive_pushPrmIntIfSize[
163 BYTE directive_pushRandIntIfSize[
167 BYTE directive_pushTimeIntIfSize[
171 BYTE directive_pushTlmValIntIfSize[
175 BYTE directive_pushTlmValAndTimeIntIfSize[
179 BYTE directive_pushValIntIfSize[
183 BYTE directive_returnIntIfSize[
187 BYTE directive_setSeedIntIfSize[
191 BYTE directive_stackCmdIntIfSize[
195 BYTE directive_stackOpIntIfSize[
199 BYTE directive_storeAbsIntIfSize[
203 BYTE directive_storeAbsConstOffsetIntIfSize[
207 BYTE directive_storeRelIntIfSize[
211 BYTE directive_storeRelConstOffsetIntIfSize[
215 BYTE directive_waitAbsIntIfSize[
219 BYTE directive_waitRelIntIfSize[
225 BYTE internalSmBufferSize[SmSignalBuffer::SERIALIZED_SIZE];
230 class ComponentIpcSerializableBuffer :
240 MAX_DATA_SIZE =
sizeof(BuffUnion),
242 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
245 ComponentIpcSerializableBuffer() :
Fw::LinearBufferBase(m_buff, sizeof(m_buff)) {
251 U8 m_buff[SERIALIZATION_SIZE];
262 m_component(component)
270 this->initBase(static_cast<FwEnumStoreType>(smId));
279 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
280 action_signalEntered(
Signal signal)
282 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_signalEntered(this->getId(), signal);
285 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
286 action_setSequenceFilePath(
291 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setSequenceFilePath(this->getId(), signal, value);
294 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
295 action_setSequenceBlockState(
300 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setSequenceBlockState(this->getId(), signal, value);
303 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
304 action_setSequenceArguments(
309 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setSequenceArguments(this->getId(), signal, value);
312 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
313 action_validate(
Signal signal)
315 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_validate(this->getId(), signal);
318 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
319 action_report_seqSucceeded(
Signal signal)
321 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqSucceeded(this->getId(), signal);
324 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
325 action_report_seqCancelled(
Signal signal)
327 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqCancelled(this->getId(), signal);
330 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
331 action_report_seqFailed(
Signal signal)
333 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqFailed(this->getId(), signal);
336 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
337 action_report_seqStarted(
Signal signal)
339 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqStarted(this->getId(), signal);
342 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
343 action_setGoalState_RUNNING(
Signal signal)
345 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_RUNNING(this->getId(), signal);
348 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
349 action_setGoalState_VALID(
Signal signal)
351 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_VALID(this->getId(), signal);
354 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
355 action_setGoalState_IDLE(
Signal signal)
357 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_IDLE(this->getId(), signal);
360 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
361 action_sendCmdResponse_OK(
Signal signal)
363 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_sendCmdResponse_OK(this->getId(), signal);
366 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
367 action_sendCmdResponse_EXECUTION_ERROR(
Signal signal)
369 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_sendCmdResponse_EXECUTION_ERROR(this->getId(), signal);
372 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
373 action_clearSequenceFile(
Signal signal)
375 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearSequenceFile(this->getId(), signal);
378 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
379 action_clearBreakpoint(
Signal signal)
381 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearBreakpoint(this->getId(), signal);
384 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
385 action_clearSequenceArguments(
Signal signal)
387 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearSequenceArguments(this->getId(), signal);
390 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
391 action_checkShouldWake(
Signal signal)
393 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_checkShouldWake(this->getId(), signal);
396 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
397 action_dispatchStatement(
Signal signal)
399 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_dispatchStatement(this->getId(), signal);
402 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
403 action_resetRuntime(
Signal signal)
405 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_resetRuntime(this->getId(), signal);
408 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
409 action_checkStatementTimeout(
Signal signal)
411 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_checkStatementTimeout(this->getId(), signal);
414 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
415 action_incrementSequenceCounter(
Signal signal)
417 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_incrementSequenceCounter(this->getId(), signal);
420 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
421 action_pushArgsToStack(
Signal signal)
423 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_pushArgsToStack(this->getId(), signal);
426 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
427 action_report_seqBroken(
Signal signal)
429 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqBroken(this->getId(), signal);
432 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
433 action_setBreakpoint(
438 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setBreakpoint(this->getId(), signal, value);
441 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
442 action_setBreakBeforeNextLine(
Signal signal)
444 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setBreakBeforeNextLine(this->getId(), signal);
447 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
448 action_clearBreakBeforeNextLine(
Signal signal)
450 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearBreakBeforeNextLine(this->getId(), signal);
453 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
454 guard_goalStateIs_RUNNING(
Signal signal)
const 456 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_goalStateIs_RUNNING(this->getId(), signal);
459 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
460 guard_shouldBreak(
Signal signal)
const 462 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_shouldBreak(this->getId(), signal);
465 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
466 guard_breakOnce(
Signal signal)
const 468 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_breakOnce(this->getId(), signal);
487 #if !FW_DIRECT_PORT_CALLS 494 this->m_cmdIn_InputPort[port].
init();
499 this->m_cmdIn_InputPort[port].
setPortNum(port);
501 #if FW_OBJECT_NAMES == 1 505 this->m_objName.toChar(),
508 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
513 #if !FW_DIRECT_PORT_CALLS 520 this->m_checkTimers_InputPort[port].
init();
525 this->m_checkTimers_InputPort[port].
setPortNum(port);
527 #if FW_OBJECT_NAMES == 1 531 this->m_objName.toChar(),
534 this->m_checkTimers_InputPort[port].setObjName(portName.
toChar());
539 #if !FW_DIRECT_PORT_CALLS 546 this->m_cmdResponseIn_InputPort[port].
init();
551 this->m_cmdResponseIn_InputPort[port].
setPortNum(port);
553 #if FW_OBJECT_NAMES == 1 557 this->m_objName.toChar(),
560 this->m_cmdResponseIn_InputPort[port].setObjName(portName.
toChar());
565 #if !FW_DIRECT_PORT_CALLS 572 this->m_pingIn_InputPort[port].
init();
577 this->m_pingIn_InputPort[port].
setPortNum(port);
579 #if FW_OBJECT_NAMES == 1 583 this->m_objName.toChar(),
586 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
591 #if !FW_DIRECT_PORT_CALLS 598 this->m_seqCancelIn_InputPort[port].
init();
603 this->m_seqCancelIn_InputPort[port].
setPortNum(port);
605 #if FW_OBJECT_NAMES == 1 609 this->m_objName.toChar(),
612 this->m_seqCancelIn_InputPort[port].setObjName(portName.
toChar());
617 #if !FW_DIRECT_PORT_CALLS 624 this->m_seqRunIn_InputPort[port].
init();
629 this->m_seqRunIn_InputPort[port].
setPortNum(port);
631 #if FW_OBJECT_NAMES == 1 635 this->m_objName.toChar(),
638 this->m_seqRunIn_InputPort[port].setObjName(portName.
toChar());
643 #if !FW_DIRECT_PORT_CALLS 650 this->m_tlmWrite_InputPort[port].
init();
655 this->m_tlmWrite_InputPort[port].
setPortNum(port);
657 #if FW_OBJECT_NAMES == 1 661 this->m_objName.toChar(),
664 this->m_tlmWrite_InputPort[port].setObjName(portName.
toChar());
669 #if !FW_DIRECT_PORT_CALLS 676 this->m_cmdRegOut_OutputPort[port].
init();
678 #if FW_OBJECT_NAMES == 1 682 this->m_objName.toChar(),
685 this->m_cmdRegOut_OutputPort[port].setObjName(portName.
toChar());
690 #if !FW_DIRECT_PORT_CALLS 697 this->m_cmdResponseOut_OutputPort[port].
init();
699 #if FW_OBJECT_NAMES == 1 703 this->m_objName.toChar(),
706 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
711 #if !FW_DIRECT_PORT_CALLS 718 this->m_logOut_OutputPort[port].
init();
720 #if FW_OBJECT_NAMES == 1 724 this->m_objName.toChar(),
727 this->m_logOut_OutputPort[port].setObjName(portName.
toChar());
732 #if !FW_DIRECT_PORT_CALLS && FW_ENABLE_TEXT_LOGGING 736 port < static_cast<FwIndexType>(this->getNum_logTextOut_OutputPorts());
739 this->m_logTextOut_OutputPort[port].
init();
741 #if FW_OBJECT_NAMES == 1 745 this->m_objName.toChar(),
748 this->m_logTextOut_OutputPort[port].setObjName(portName.
toChar());
753 #if !FW_DIRECT_PORT_CALLS 760 this->m_prmGet_OutputPort[port].
init();
762 #if FW_OBJECT_NAMES == 1 766 this->m_objName.toChar(),
769 this->m_prmGet_OutputPort[port].setObjName(portName.
toChar());
774 #if !FW_DIRECT_PORT_CALLS 781 this->m_prmSet_OutputPort[port].
init();
783 #if FW_OBJECT_NAMES == 1 787 this->m_objName.toChar(),
790 this->m_prmSet_OutputPort[port].setObjName(portName.
toChar());
795 #if !FW_DIRECT_PORT_CALLS 802 this->m_timeCaller_OutputPort[port].
init();
804 #if FW_OBJECT_NAMES == 1 808 this->m_objName.toChar(),
811 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
816 #if !FW_DIRECT_PORT_CALLS 823 this->m_tlmOut_OutputPort[port].
init();
825 #if FW_OBJECT_NAMES == 1 829 this->m_objName.toChar(),
832 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
837 #if !FW_DIRECT_PORT_CALLS 844 this->m_cmdOut_OutputPort[port].
init();
846 #if FW_OBJECT_NAMES == 1 850 this->m_objName.toChar(),
853 this->m_cmdOut_OutputPort[port].setObjName(portName.
toChar());
858 #if !FW_DIRECT_PORT_CALLS 865 this->m_getParam_OutputPort[port].
init();
867 #if FW_OBJECT_NAMES == 1 871 this->m_objName.toChar(),
874 this->m_getParam_OutputPort[port].setObjName(portName.
toChar());
879 #if !FW_DIRECT_PORT_CALLS 886 this->m_getTlmChan_OutputPort[port].
init();
888 #if FW_OBJECT_NAMES == 1 892 this->m_objName.toChar(),
895 this->m_getTlmChan_OutputPort[port].setObjName(portName.
toChar());
900 #if !FW_DIRECT_PORT_CALLS 907 this->m_pingOut_OutputPort[port].
init();
909 #if FW_OBJECT_NAMES == 1 913 this->m_objName.toChar(),
916 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
921 #if !FW_DIRECT_PORT_CALLS 928 this->m_seqDoneOut_OutputPort[port].
init();
930 #if FW_OBJECT_NAMES == 1 934 this->m_objName.toChar(),
937 this->m_seqDoneOut_OutputPort[port].setObjName(portName.
toChar());
942 #if !FW_DIRECT_PORT_CALLS 949 this->m_seqStartOut_OutputPort[port].
init();
951 #if FW_OBJECT_NAMES == 1 955 this->m_objName.toChar(),
958 this->m_seqStartOut_OutputPort[port].setObjName(portName.
toChar());
963 #if !FW_DIRECT_PORT_CALLS 970 this->m_serialOut_OutputPort[port].init();
972 #if FW_OBJECT_NAMES == 1 976 this->m_objName.toChar(),
979 this->m_serialOut_OutputPort[port].setObjName(portName.
toChar());
987 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
991 static_cast<FwAssertArgType>(qStat)
995 #if !FW_DIRECT_PORT_CALLS 1006 static_cast<FwAssertArgType>(portNum)
1009 return &this->m_cmdIn_InputPort[portNum];
1014 #if !FW_DIRECT_PORT_CALLS 1025 static_cast<FwAssertArgType>(portNum)
1028 return &this->m_checkTimers_InputPort[portNum];
1036 static_cast<FwAssertArgType>(portNum)
1039 return &this->m_cmdResponseIn_InputPort[portNum];
1047 static_cast<FwAssertArgType>(portNum)
1050 return &this->m_pingIn_InputPort[portNum];
1058 static_cast<FwAssertArgType>(portNum)
1061 return &this->m_seqCancelIn_InputPort[portNum];
1069 static_cast<FwAssertArgType>(portNum)
1072 return &this->m_seqRunIn_InputPort[portNum];
1080 static_cast<FwAssertArgType>(portNum)
1083 return &this->m_tlmWrite_InputPort[portNum];
1088 #if !FW_DIRECT_PORT_CALLS 1102 static_cast<FwAssertArgType>(portNum)
1105 this->m_cmdRegOut_OutputPort[portNum].
addCallPort(port);
1116 static_cast<FwAssertArgType>(portNum)
1119 this->m_cmdResponseOut_OutputPort[portNum].
addCallPort(port);
1130 static_cast<FwAssertArgType>(portNum)
1133 this->m_logOut_OutputPort[portNum].
addCallPort(port);
1136 #if FW_ENABLE_TEXT_LOGGING == 1 1138 void FpySequencerComponentBase ::
1139 set_logTextOut_OutputPort(
1145 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1146 static_cast<FwAssertArgType>(portNum)
1149 this->m_logTextOut_OutputPort[portNum].addCallPort(port);
1162 static_cast<FwAssertArgType>(portNum)
1165 this->m_prmGet_OutputPort[portNum].
addCallPort(port);
1176 static_cast<FwAssertArgType>(portNum)
1179 this->m_prmSet_OutputPort[portNum].
addCallPort(port);
1190 static_cast<FwAssertArgType>(portNum)
1193 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
1204 static_cast<FwAssertArgType>(portNum)
1207 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
1212 #if !FW_DIRECT_PORT_CALLS 1226 static_cast<FwAssertArgType>(portNum)
1229 this->m_cmdOut_OutputPort[portNum].
addCallPort(port);
1240 static_cast<FwAssertArgType>(portNum)
1243 this->m_getParam_OutputPort[portNum].
addCallPort(port);
1254 static_cast<FwAssertArgType>(portNum)
1257 this->m_getTlmChan_OutputPort[portNum].
addCallPort(port);
1268 static_cast<FwAssertArgType>(portNum)
1271 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
1282 static_cast<FwAssertArgType>(portNum)
1285 this->m_seqDoneOut_OutputPort[portNum].
addCallPort(port);
1296 static_cast<FwAssertArgType>(portNum)
1299 this->m_seqStartOut_OutputPort[portNum].
addCallPort(port);
1304 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 1313 Fw::InputSerializePort* port
1318 static_cast<FwAssertArgType>(portNum)
1321 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
1327 Fw::InputSerializePort* port
1332 static_cast<FwAssertArgType>(portNum)
1335 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
1341 Fw::InputSerializePort* port
1346 static_cast<FwAssertArgType>(portNum)
1349 this->m_logOut_OutputPort[portNum].registerSerialPort(port);
1352 #if FW_ENABLE_TEXT_LOGGING == 1 1354 void FpySequencerComponentBase ::
1355 set_logTextOut_OutputPort(
1357 Fw::InputSerializePort* port
1361 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1362 static_cast<FwAssertArgType>(portNum)
1365 this->m_logTextOut_OutputPort[portNum].registerSerialPort(port);
1373 Fw::InputSerializePort* port
1378 static_cast<FwAssertArgType>(portNum)
1381 this->m_prmSet_OutputPort[portNum].registerSerialPort(port);
1387 Fw::InputSerializePort* port
1392 static_cast<FwAssertArgType>(portNum)
1395 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
1401 Fw::InputSerializePort* port
1406 static_cast<FwAssertArgType>(portNum)
1409 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
1414 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 1423 Fw::InputSerializePort* port
1428 static_cast<FwAssertArgType>(portNum)
1431 this->m_cmdOut_OutputPort[portNum].registerSerialPort(port);
1437 Fw::InputSerializePort* port
1442 static_cast<FwAssertArgType>(portNum)
1445 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
1451 Fw::InputSerializePort* port
1456 static_cast<FwAssertArgType>(portNum)
1459 this->m_seqDoneOut_OutputPort[portNum].registerSerialPort(port);
1465 Fw::InputSerializePort* port
1470 static_cast<FwAssertArgType>(portNum)
1473 this->m_seqStartOut_OutputPort[portNum].registerSerialPort(port);
1478 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 1484 void FpySequencerComponentBase ::
1485 set_serialOut_OutputPort(
1492 static_cast<FwAssertArgType>(portNum)
1495 this->m_serialOut_OutputPort[portNum].registerSerialPort(port);
1509 this->cmdRegOut_out(
1514 this->cmdRegOut_out(
1519 this->cmdRegOut_out(
1524 this->cmdRegOut_out(
1529 this->cmdRegOut_out(
1534 this->cmdRegOut_out(
1539 this->cmdRegOut_out(
1544 this->cmdRegOut_out(
1549 this->cmdRegOut_out(
1554 this->cmdRegOut_out(
1559 this->cmdRegOut_out(
1564 this->cmdRegOut_out(
1569 this->cmdRegOut_out(
1574 this->cmdRegOut_out(
1579 this->cmdRegOut_out(
1584 this->cmdRegOut_out(
1607 this->m_param_STATEMENT_TIMEOUT_SECS_valid = this->prmGet_out(
1613 this->m_paramLock.
lock();
1617 _stat = _paramBuffer.
deserializeTo(this->m_STATEMENT_TIMEOUT_SECS);
1626 this->m_STATEMENT_TIMEOUT_SECS = 0.0f;
1629 this->m_paramLock.
unlock();
1630 this->
parameterLoaded(PARAMID_STATEMENT_TIMEOUT_SECS, this->m_param_STATEMENT_TIMEOUT_SECS_valid);
1635 this->m_param_SEQ_BASE_DIR_valid = this->prmGet_out(
1641 this->m_paramLock.
lock();
1657 this->m_paramLock.
unlock();
1658 this->
parameterLoaded(PARAMID_SEQ_BASE_DIR, this->m_param_SEQ_BASE_DIR_valid);
1671 m_stateMachine_sequencer(*this)
1682 #if !FW_DIRECT_PORT_CALLS 1693 static_cast<FwAssertArgType>(portNum)
1696 return this->m_cmdRegOut_OutputPort[portNum].
isConnected();
1704 static_cast<FwAssertArgType>(portNum)
1707 return this->m_cmdResponseOut_OutputPort[portNum].
isConnected();
1715 static_cast<FwAssertArgType>(portNum)
1718 return this->m_logOut_OutputPort[portNum].
isConnected();
1721 #if FW_ENABLE_TEXT_LOGGING == 1 1723 bool FpySequencerComponentBase ::
1724 isConnected_logTextOut_OutputPort(
FwIndexType portNum)
const 1727 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1728 static_cast<FwAssertArgType>(portNum)
1731 return this->m_logTextOut_OutputPort[portNum].isConnected();
1741 static_cast<FwAssertArgType>(portNum)
1744 return this->m_prmGet_OutputPort[portNum].
isConnected();
1752 static_cast<FwAssertArgType>(portNum)
1755 return this->m_prmSet_OutputPort[portNum].
isConnected();
1763 static_cast<FwAssertArgType>(portNum)
1766 return this->m_timeCaller_OutputPort[portNum].
isConnected();
1774 static_cast<FwAssertArgType>(portNum)
1777 return this->m_tlmOut_OutputPort[portNum].
isConnected();
1782 #if !FW_DIRECT_PORT_CALLS 1793 static_cast<FwAssertArgType>(portNum)
1796 return this->m_cmdOut_OutputPort[portNum].
isConnected();
1804 static_cast<FwAssertArgType>(portNum)
1807 return this->m_getParam_OutputPort[portNum].
isConnected();
1815 static_cast<FwAssertArgType>(portNum)
1818 return this->m_getTlmChan_OutputPort[portNum].
isConnected();
1826 static_cast<FwAssertArgType>(portNum)
1829 return this->m_pingOut_OutputPort[portNum].
isConnected();
1837 static_cast<FwAssertArgType>(portNum)
1840 return this->m_seqDoneOut_OutputPort[portNum].
isConnected();
1848 static_cast<FwAssertArgType>(portNum)
1851 return this->m_seqStartOut_OutputPort[portNum].
isConnected();
1856 #if !FW_DIRECT_PORT_CALLS 1867 static_cast<FwAssertArgType>(portNum)
1870 return this->m_serialOut_OutputPort[portNum].isConnected();
1891 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
1894 switch (opCode - idBase) {
2063 static_cast<FwAssertArgType>(portNum)
2071 ComponentIpcSerializableBuffer msg;
2075 _status = msg.serializeFrom(
2076 static_cast<FwEnumStoreType>(CHECKTIMERS_SCHED)
2080 static_cast<FwAssertArgType>(_status)
2084 _status = msg.serializeFrom(portNum);
2087 static_cast<FwAssertArgType>(_status)
2091 _status = msg.serializeFrom(context);
2094 static_cast<FwAssertArgType>(_status)
2103 static_cast<FwAssertArgType>(qStatus)
2118 static_cast<FwAssertArgType>(portNum)
2128 ComponentIpcSerializableBuffer msg;
2132 _status = msg.serializeFrom(
2133 static_cast<FwEnumStoreType>(CMDRESPONSEIN_CMDRESPONSE)
2137 static_cast<FwAssertArgType>(_status)
2141 _status = msg.serializeFrom(portNum);
2144 static_cast<FwAssertArgType>(_status)
2148 _status = msg.serializeFrom(opCode);
2151 static_cast<FwAssertArgType>(_status)
2155 _status = msg.serializeFrom(cmdSeq);
2158 static_cast<FwAssertArgType>(_status)
2162 _status = msg.serializeFrom(response);
2165 static_cast<FwAssertArgType>(_status)
2174 static_cast<FwAssertArgType>(qStatus)
2187 static_cast<FwAssertArgType>(portNum)
2195 ComponentIpcSerializableBuffer msg;
2199 _status = msg.serializeFrom(
2200 static_cast<FwEnumStoreType>(PINGIN_PING)
2204 static_cast<FwAssertArgType>(_status)
2208 _status = msg.serializeFrom(portNum);
2211 static_cast<FwAssertArgType>(_status)
2215 _status = msg.serializeFrom(key);
2218 static_cast<FwAssertArgType>(_status)
2225 if (qStatus == Os::Queue::Status::FULL) {
2232 static_cast<FwAssertArgType>(qStatus)
2242 static_cast<FwAssertArgType>(portNum)
2247 ComponentIpcSerializableBuffer msg;
2251 _status = msg.serializeFrom(
2252 static_cast<FwEnumStoreType>(SEQCANCELIN_CMDSEQCANCEL)
2256 static_cast<FwAssertArgType>(_status)
2260 _status = msg.serializeFrom(portNum);
2263 static_cast<FwAssertArgType>(_status)
2272 static_cast<FwAssertArgType>(qStatus)
2286 static_cast<FwAssertArgType>(portNum)
2295 ComponentIpcSerializableBuffer msg;
2299 _status = msg.serializeFrom(
2300 static_cast<FwEnumStoreType>(SEQRUNIN_CMDSEQIN)
2304 static_cast<FwAssertArgType>(_status)
2308 _status = msg.serializeFrom(portNum);
2311 static_cast<FwAssertArgType>(_status)
2318 static_cast<FwAssertArgType>(_status)
2322 _status = msg.serializeFrom(args);
2325 static_cast<FwAssertArgType>(_status)
2334 static_cast<FwAssertArgType>(qStatus)
2347 static_cast<FwAssertArgType>(portNum)
2355 ComponentIpcSerializableBuffer msg;
2359 _status = msg.serializeFrom(
2360 static_cast<FwEnumStoreType>(TLMWRITE_SCHED)
2364 static_cast<FwAssertArgType>(_status)
2368 _status = msg.serializeFrom(portNum);
2371 static_cast<FwAssertArgType>(_status)
2375 _status = msg.serializeFrom(context);
2378 static_cast<FwAssertArgType>(_status)
2387 static_cast<FwAssertArgType>(qStatus)
2453 #if !FW_DIRECT_PORT_CALLS 2468 static_cast<FwAssertArgType>(portNum)
2472 this->m_cmdOut_OutputPort[portNum].isConnected(),
2473 static_cast<FwAssertArgType>(portNum)
2475 this->m_cmdOut_OutputPort[portNum].
invoke(
2490 static_cast<FwAssertArgType>(portNum)
2494 this->m_getParam_OutputPort[portNum].isConnected(),
2495 static_cast<FwAssertArgType>(portNum)
2497 return this->m_getParam_OutputPort[portNum].
invoke(
2513 static_cast<FwAssertArgType>(portNum)
2517 this->m_getTlmChan_OutputPort[portNum].isConnected(),
2518 static_cast<FwAssertArgType>(portNum)
2520 return this->m_getTlmChan_OutputPort[portNum].
invoke(
2535 static_cast<FwAssertArgType>(portNum)
2539 this->m_pingOut_OutputPort[portNum].isConnected(),
2540 static_cast<FwAssertArgType>(portNum)
2542 this->m_pingOut_OutputPort[portNum].
invoke(
2557 static_cast<FwAssertArgType>(portNum)
2561 this->m_seqDoneOut_OutputPort[portNum].isConnected(),
2562 static_cast<FwAssertArgType>(portNum)
2564 this->m_seqDoneOut_OutputPort[portNum].
invoke(
2580 static_cast<FwAssertArgType>(portNum)
2584 this->m_seqStartOut_OutputPort[portNum].isConnected(),
2585 static_cast<FwAssertArgType>(portNum)
2587 this->m_seqStartOut_OutputPort[portNum].
invoke(
2595 #if !FW_DIRECT_PORT_CALLS 2609 static_cast<FwAssertArgType>(portNum)
2613 this->m_serialOut_OutputPort[portNum].isConnected(),
2614 static_cast<FwAssertArgType>(portNum)
2616 return this->m_serialOut_OutputPort[portNum].invokeSerial(
2630 ComponentIpcSerializableBuffer msg;
2634 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_ALLOCATE));
2637 static_cast<FwAssertArgType>(_status)
2641 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2644 static_cast<FwAssertArgType>(_status)
2647 _status = msg.serializeFrom(directive);
2650 static_cast<FwAssertArgType>(_status)
2659 static_cast<FwAssertArgType>(qStatus)
2666 ComponentIpcSerializableBuffer msg;
2670 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_CALL));
2673 static_cast<FwAssertArgType>(_status)
2677 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2680 static_cast<FwAssertArgType>(_status)
2683 _status = msg.serializeFrom(directive);
2686 static_cast<FwAssertArgType>(_status)
2695 static_cast<FwAssertArgType>(qStatus)
2702 ComponentIpcSerializableBuffer msg;
2706 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_CONSTCMD));
2709 static_cast<FwAssertArgType>(_status)
2713 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2716 static_cast<FwAssertArgType>(_status)
2719 _status = msg.serializeFrom(directive);
2722 static_cast<FwAssertArgType>(_status)
2731 static_cast<FwAssertArgType>(qStatus)
2738 ComponentIpcSerializableBuffer msg;
2742 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_DISCARD));
2745 static_cast<FwAssertArgType>(_status)
2749 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2752 static_cast<FwAssertArgType>(_status)
2755 _status = msg.serializeFrom(directive);
2758 static_cast<FwAssertArgType>(_status)
2767 static_cast<FwAssertArgType>(qStatus)
2774 ComponentIpcSerializableBuffer msg;
2778 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_EXIT));
2781 static_cast<FwAssertArgType>(_status)
2785 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2788 static_cast<FwAssertArgType>(_status)
2791 _status = msg.serializeFrom(directive);
2794 static_cast<FwAssertArgType>(_status)
2803 static_cast<FwAssertArgType>(qStatus)
2810 ComponentIpcSerializableBuffer msg;
2814 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_GETFIELD));
2817 static_cast<FwAssertArgType>(_status)
2821 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2824 static_cast<FwAssertArgType>(_status)
2827 _status = msg.serializeFrom(directive);
2830 static_cast<FwAssertArgType>(_status)
2839 static_cast<FwAssertArgType>(qStatus)
2846 ComponentIpcSerializableBuffer msg;
2850 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_GOTO));
2853 static_cast<FwAssertArgType>(_status)
2857 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2860 static_cast<FwAssertArgType>(_status)
2863 _status = msg.serializeFrom(directive);
2866 static_cast<FwAssertArgType>(_status)
2875 static_cast<FwAssertArgType>(qStatus)
2882 ComponentIpcSerializableBuffer msg;
2886 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_IF));
2889 static_cast<FwAssertArgType>(_status)
2893 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2896 static_cast<FwAssertArgType>(_status)
2899 _status = msg.serializeFrom(directive);
2902 static_cast<FwAssertArgType>(_status)
2911 static_cast<FwAssertArgType>(qStatus)
2918 ComponentIpcSerializableBuffer msg;
2922 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_LOADABS));
2925 static_cast<FwAssertArgType>(_status)
2929 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2932 static_cast<FwAssertArgType>(_status)
2935 _status = msg.serializeFrom(directive);
2938 static_cast<FwAssertArgType>(_status)
2947 static_cast<FwAssertArgType>(qStatus)
2954 ComponentIpcSerializableBuffer msg;
2958 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_LOADREL));
2961 static_cast<FwAssertArgType>(_status)
2965 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2968 static_cast<FwAssertArgType>(_status)
2971 _status = msg.serializeFrom(directive);
2974 static_cast<FwAssertArgType>(_status)
2983 static_cast<FwAssertArgType>(qStatus)
2990 ComponentIpcSerializableBuffer msg;
2994 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_MEMCMP));
2997 static_cast<FwAssertArgType>(_status)
3001 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3004 static_cast<FwAssertArgType>(_status)
3007 _status = msg.serializeFrom(directive);
3010 static_cast<FwAssertArgType>(_status)
3019 static_cast<FwAssertArgType>(qStatus)
3026 ComponentIpcSerializableBuffer msg;
3030 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_NOOP));
3033 static_cast<FwAssertArgType>(_status)
3037 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3040 static_cast<FwAssertArgType>(_status)
3043 _status = msg.serializeFrom(directive);
3046 static_cast<FwAssertArgType>(_status)
3055 static_cast<FwAssertArgType>(qStatus)
3062 ComponentIpcSerializableBuffer msg;
3066 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PEEK));
3069 static_cast<FwAssertArgType>(_status)
3073 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3076 static_cast<FwAssertArgType>(_status)
3079 _status = msg.serializeFrom(directive);
3082 static_cast<FwAssertArgType>(_status)
3091 static_cast<FwAssertArgType>(qStatus)
3098 ComponentIpcSerializableBuffer msg;
3102 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_POPEVENT));
3105 static_cast<FwAssertArgType>(_status)
3109 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3112 static_cast<FwAssertArgType>(_status)
3115 _status = msg.serializeFrom(directive);
3118 static_cast<FwAssertArgType>(_status)
3127 static_cast<FwAssertArgType>(qStatus)
3134 ComponentIpcSerializableBuffer msg;
3138 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_POPSERIALIZABLE));
3141 static_cast<FwAssertArgType>(_status)
3145 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3148 static_cast<FwAssertArgType>(_status)
3151 _status = msg.serializeFrom(directive);
3154 static_cast<FwAssertArgType>(_status)
3163 static_cast<FwAssertArgType>(qStatus)
3170 ComponentIpcSerializableBuffer msg;
3174 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHPRM));
3177 static_cast<FwAssertArgType>(_status)
3181 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3184 static_cast<FwAssertArgType>(_status)
3187 _status = msg.serializeFrom(directive);
3190 static_cast<FwAssertArgType>(_status)
3199 static_cast<FwAssertArgType>(qStatus)
3206 ComponentIpcSerializableBuffer msg;
3210 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHRAND));
3213 static_cast<FwAssertArgType>(_status)
3217 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3220 static_cast<FwAssertArgType>(_status)
3223 _status = msg.serializeFrom(directive);
3226 static_cast<FwAssertArgType>(_status)
3235 static_cast<FwAssertArgType>(qStatus)
3242 ComponentIpcSerializableBuffer msg;
3246 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHTIME));
3249 static_cast<FwAssertArgType>(_status)
3253 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3256 static_cast<FwAssertArgType>(_status)
3259 _status = msg.serializeFrom(directive);
3262 static_cast<FwAssertArgType>(_status)
3271 static_cast<FwAssertArgType>(qStatus)
3278 ComponentIpcSerializableBuffer msg;
3282 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHTLMVAL));
3285 static_cast<FwAssertArgType>(_status)
3289 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3292 static_cast<FwAssertArgType>(_status)
3295 _status = msg.serializeFrom(directive);
3298 static_cast<FwAssertArgType>(_status)
3307 static_cast<FwAssertArgType>(qStatus)
3314 ComponentIpcSerializableBuffer msg;
3318 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHTLMVALANDTIME));
3321 static_cast<FwAssertArgType>(_status)
3325 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3328 static_cast<FwAssertArgType>(_status)
3331 _status = msg.serializeFrom(directive);
3334 static_cast<FwAssertArgType>(_status)
3343 static_cast<FwAssertArgType>(qStatus)
3350 ComponentIpcSerializableBuffer msg;
3354 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHVAL));
3357 static_cast<FwAssertArgType>(_status)
3361 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3364 static_cast<FwAssertArgType>(_status)
3367 _status = msg.serializeFrom(directive);
3370 static_cast<FwAssertArgType>(_status)
3379 static_cast<FwAssertArgType>(qStatus)
3386 ComponentIpcSerializableBuffer msg;
3390 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_RETURN));
3393 static_cast<FwAssertArgType>(_status)
3397 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3400 static_cast<FwAssertArgType>(_status)
3403 _status = msg.serializeFrom(directive);
3406 static_cast<FwAssertArgType>(_status)
3415 static_cast<FwAssertArgType>(qStatus)
3422 ComponentIpcSerializableBuffer msg;
3426 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_SETSEED));
3429 static_cast<FwAssertArgType>(_status)
3433 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3436 static_cast<FwAssertArgType>(_status)
3439 _status = msg.serializeFrom(directive);
3442 static_cast<FwAssertArgType>(_status)
3451 static_cast<FwAssertArgType>(qStatus)
3458 ComponentIpcSerializableBuffer msg;
3462 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STACKCMD));
3465 static_cast<FwAssertArgType>(_status)
3469 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3472 static_cast<FwAssertArgType>(_status)
3475 _status = msg.serializeFrom(directive);
3478 static_cast<FwAssertArgType>(_status)
3487 static_cast<FwAssertArgType>(qStatus)
3494 ComponentIpcSerializableBuffer msg;
3498 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STACKOP));
3501 static_cast<FwAssertArgType>(_status)
3505 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3508 static_cast<FwAssertArgType>(_status)
3511 _status = msg.serializeFrom(directive);
3514 static_cast<FwAssertArgType>(_status)
3523 static_cast<FwAssertArgType>(qStatus)
3530 ComponentIpcSerializableBuffer msg;
3534 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STOREABS));
3537 static_cast<FwAssertArgType>(_status)
3541 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3544 static_cast<FwAssertArgType>(_status)
3547 _status = msg.serializeFrom(directive);
3550 static_cast<FwAssertArgType>(_status)
3559 static_cast<FwAssertArgType>(qStatus)
3566 ComponentIpcSerializableBuffer msg;
3570 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STOREABSCONSTOFFSET));
3573 static_cast<FwAssertArgType>(_status)
3577 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3580 static_cast<FwAssertArgType>(_status)
3583 _status = msg.serializeFrom(directive);
3586 static_cast<FwAssertArgType>(_status)
3595 static_cast<FwAssertArgType>(qStatus)
3602 ComponentIpcSerializableBuffer msg;
3606 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STOREREL));
3609 static_cast<FwAssertArgType>(_status)
3613 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3616 static_cast<FwAssertArgType>(_status)
3619 _status = msg.serializeFrom(directive);
3622 static_cast<FwAssertArgType>(_status)
3631 static_cast<FwAssertArgType>(qStatus)
3638 ComponentIpcSerializableBuffer msg;
3642 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STORERELCONSTOFFSET));
3645 static_cast<FwAssertArgType>(_status)
3649 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3652 static_cast<FwAssertArgType>(_status)
3655 _status = msg.serializeFrom(directive);
3658 static_cast<FwAssertArgType>(_status)
3667 static_cast<FwAssertArgType>(qStatus)
3674 ComponentIpcSerializableBuffer msg;
3678 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_WAITABS));
3681 static_cast<FwAssertArgType>(_status)
3685 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3688 static_cast<FwAssertArgType>(_status)
3691 _status = msg.serializeFrom(directive);
3694 static_cast<FwAssertArgType>(_status)
3703 static_cast<FwAssertArgType>(qStatus)
3710 ComponentIpcSerializableBuffer msg;
3714 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_WAITREL));
3717 static_cast<FwAssertArgType>(_status)
3721 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3724 static_cast<FwAssertArgType>(_status)
3727 _status = msg.serializeFrom(directive);
3730 static_cast<FwAssertArgType>(_status)
3739 static_cast<FwAssertArgType>(qStatus)
3750 return this->m_stateMachine_sequencer.
getState();
3760 ComponentIpcSerializableBuffer buffer;
3767 this->sequencer_sendSignalFinish(buffer);
3773 ComponentIpcSerializableBuffer buffer;
3780 this->sequencer_sendSignalFinish(buffer);
3786 ComponentIpcSerializableBuffer buffer;
3793 this->sequencer_sendSignalFinish(buffer);
3799 ComponentIpcSerializableBuffer buffer;
3803 this->sequencer_sendSignalFinish(buffer);
3809 ComponentIpcSerializableBuffer buffer;
3816 this->sequencer_sendSignalFinish(buffer);
3822 ComponentIpcSerializableBuffer buffer;
3826 this->sequencer_sendSignalFinish(buffer);
3832 ComponentIpcSerializableBuffer buffer;
3836 this->sequencer_sendSignalFinish(buffer);
3842 ComponentIpcSerializableBuffer buffer;
3846 this->sequencer_sendSignalFinish(buffer);
3852 ComponentIpcSerializableBuffer buffer;
3856 this->sequencer_sendSignalFinish(buffer);
3862 ComponentIpcSerializableBuffer buffer;
3866 this->sequencer_sendSignalFinish(buffer);
3872 ComponentIpcSerializableBuffer buffer;
3876 this->sequencer_sendSignalFinish(buffer);
3882 ComponentIpcSerializableBuffer buffer;
3886 this->sequencer_sendSignalFinish(buffer);
3892 ComponentIpcSerializableBuffer buffer;
3896 this->sequencer_sendSignalFinish(buffer);
3902 ComponentIpcSerializableBuffer buffer;
3906 this->sequencer_sendSignalFinish(buffer);
3912 ComponentIpcSerializableBuffer buffer;
3916 this->sequencer_sendSignalFinish(buffer);
3922 ComponentIpcSerializableBuffer buffer;
3926 this->sequencer_sendSignalFinish(buffer);
3932 ComponentIpcSerializableBuffer buffer;
3936 this->sequencer_sendSignalFinish(buffer);
3942 ComponentIpcSerializableBuffer buffer;
3946 this->sequencer_sendSignalFinish(buffer);
3952 ComponentIpcSerializableBuffer buffer;
3956 this->sequencer_sendSignalFinish(buffer);
3962 ComponentIpcSerializableBuffer buffer;
3966 this->sequencer_sendSignalFinish(buffer);
3972 ComponentIpcSerializableBuffer buffer;
3976 this->sequencer_sendSignalFinish(buffer);
3982 ComponentIpcSerializableBuffer buffer;
3986 this->sequencer_sendSignalFinish(buffer);
3992 ComponentIpcSerializableBuffer buffer;
3996 this->sequencer_sendSignalFinish(buffer);
4002 ComponentIpcSerializableBuffer buffer;
4006 this->sequencer_sendSignalFinish(buffer);
4012 ComponentIpcSerializableBuffer buffer;
4016 this->sequencer_sendSignalFinish(buffer);
4022 ComponentIpcSerializableBuffer buffer;
4026 this->sequencer_sendSignalFinish(buffer);
4041 this->cmdResponseOut_out(0, opCode, cmdSeq, response);
4062 ComponentIpcSerializableBuffer msg;
4066 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_RUN));
4069 static_cast<FwAssertArgType>(_status)
4075 _status = msg.serializeFrom(port);
4078 static_cast<FwAssertArgType>(_status)
4081 _status = msg.serializeFrom(opCode);
4084 static_cast<FwAssertArgType>(_status)
4087 _status = msg.serializeFrom(cmdSeq);
4090 static_cast<FwAssertArgType>(_status)
4093 _status = msg.serializeFrom(args);
4096 static_cast<FwAssertArgType>(_status)
4105 static_cast<FwAssertArgType>(qStatus)
4121 ComponentIpcSerializableBuffer msg;
4125 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_RUN_ARGS));
4128 static_cast<FwAssertArgType>(_status)
4134 _status = msg.serializeFrom(port);
4137 static_cast<FwAssertArgType>(_status)
4140 _status = msg.serializeFrom(opCode);
4143 static_cast<FwAssertArgType>(_status)
4146 _status = msg.serializeFrom(cmdSeq);
4149 static_cast<FwAssertArgType>(_status)
4152 _status = msg.serializeFrom(args);
4155 static_cast<FwAssertArgType>(_status)
4164 static_cast<FwAssertArgType>(qStatus)
4180 ComponentIpcSerializableBuffer msg;
4184 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_VALIDATE));
4187 static_cast<FwAssertArgType>(_status)
4193 _status = msg.serializeFrom(port);
4196 static_cast<FwAssertArgType>(_status)
4199 _status = msg.serializeFrom(opCode);
4202 static_cast<FwAssertArgType>(_status)
4205 _status = msg.serializeFrom(cmdSeq);
4208 static_cast<FwAssertArgType>(_status)
4211 _status = msg.serializeFrom(args);
4214 static_cast<FwAssertArgType>(_status)
4223 static_cast<FwAssertArgType>(qStatus)
4239 ComponentIpcSerializableBuffer msg;
4243 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_VALIDATE_ARGS));
4246 static_cast<FwAssertArgType>(_status)
4252 _status = msg.serializeFrom(port);
4255 static_cast<FwAssertArgType>(_status)
4258 _status = msg.serializeFrom(opCode);
4261 static_cast<FwAssertArgType>(_status)
4264 _status = msg.serializeFrom(cmdSeq);
4267 static_cast<FwAssertArgType>(_status)
4270 _status = msg.serializeFrom(args);
4273 static_cast<FwAssertArgType>(_status)
4282 static_cast<FwAssertArgType>(qStatus)
4298 ComponentIpcSerializableBuffer msg;
4302 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_RUN_VALIDATED));
4305 static_cast<FwAssertArgType>(_status)
4311 _status = msg.serializeFrom(port);
4314 static_cast<FwAssertArgType>(_status)
4317 _status = msg.serializeFrom(opCode);
4320 static_cast<FwAssertArgType>(_status)
4323 _status = msg.serializeFrom(cmdSeq);
4326 static_cast<FwAssertArgType>(_status)
4329 _status = msg.serializeFrom(args);
4332 static_cast<FwAssertArgType>(_status)
4341 static_cast<FwAssertArgType>(qStatus)
4357 ComponentIpcSerializableBuffer msg;
4361 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CANCEL));
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_SET_BREAKPOINT));
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_BREAK));
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_CONTINUE));
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_CLEAR_BREAKPOINT));
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_STEP));
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_DUMP_STACK_TO_FILE));
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)
4908 this->timeCaller_out(0, _logTime);
4918 #if FW_AMPCS_COMPATIBLE 4923 static_cast<FwAssertArgType>(_status)
4927 #if FW_AMPCS_COMPATIBLE 4930 static_cast<U8>(
sizeof(I32))
4934 static_cast<FwAssertArgType>(_status)
4940 static_cast<FwAssertArgType>(_status)
4953 #if FW_ENABLE_TEXT_LOGGING 4954 if (this->isConnected_logTextOut_OutputPort(0)) {
4955 #if FW_OBJECT_NAMES == 1 4956 const char* _formatString =
4957 "(%s) %s: Cannot execute command in state %" PRIi32
"";
4959 const char* _formatString =
4960 "%s: Cannot execute command in state %" PRIi32
"";
4964 (void) _logString.
format(
4967 this->m_objName.toChar(),
4973 this->logTextOut_out(
4990 this->timeCaller_out(0, _logTime);
5000 #if FW_AMPCS_COMPATIBLE 5005 static_cast<FwAssertArgType>(_status)
5009 #if FW_AMPCS_COMPATIBLE 5012 static_cast<U8>(
sizeof(I32))
5016 static_cast<FwAssertArgType>(_status)
5022 static_cast<FwAssertArgType>(_status)
5035 #if FW_ENABLE_TEXT_LOGGING 5036 if (this->isConnected_logTextOut_OutputPort(0)) {
5037 #if FW_OBJECT_NAMES == 1 5038 const char* _formatString =
5039 "(%s) %s: Cannot run sequence from a port in state %" PRIi32
"";
5041 const char* _formatString =
5042 "%s: Cannot run sequence from a port in state %" PRIi32
"";
5046 (void) _logString.
format(
5049 this->m_objName.toChar(),
5051 "InvalidSeqRunCall ",
5055 this->logTextOut_out(
5072 this->timeCaller_out(0, _logTime);
5082 #if FW_AMPCS_COMPATIBLE 5087 static_cast<FwAssertArgType>(_status)
5091 #if FW_AMPCS_COMPATIBLE 5094 static_cast<U8>(
sizeof(I32))
5098 static_cast<FwAssertArgType>(_status)
5104 static_cast<FwAssertArgType>(_status)
5117 #if FW_ENABLE_TEXT_LOGGING 5118 if (this->isConnected_logTextOut_OutputPort(0)) {
5119 #if FW_OBJECT_NAMES == 1 5120 const char* _formatString =
5121 "(%s) %s: Cannot cancel sequence from a port in state %" PRIi32
"";
5123 const char* _formatString =
5124 "%s: Cannot cancel sequence from a port in state %" PRIi32
"";
5128 (void) _logString.
format(
5131 this->m_objName.toChar(),
5133 "InvalidSeqCancelCall ",
5137 this->logTextOut_out(
5157 this->timeCaller_out(0, _logTime);
5167 #if FW_AMPCS_COMPATIBLE 5172 static_cast<FwAssertArgType>(_status)
5182 static_cast<FwAssertArgType>(_status)
5185 #if FW_AMPCS_COMPATIBLE 5188 static_cast<U8>(
sizeof(I32))
5192 static_cast<FwAssertArgType>(_status)
5198 static_cast<FwAssertArgType>(_status)
5211 #if FW_ENABLE_TEXT_LOGGING 5212 if (this->isConnected_logTextOut_OutputPort(0)) {
5213 #if FW_OBJECT_NAMES == 1 5214 const char* _formatString =
5215 "(%s) %s: File open error encountered while opening %s: %" PRIi32
"";
5217 const char* _formatString =
5218 "%s: File open error encountered while opening %s: %" PRIi32
"";
5222 (void) _logString.
format(
5225 this->m_objName.toChar(),
5232 this->logTextOut_out(
5253 this->timeCaller_out(0, _logTime);
5263 #if FW_AMPCS_COMPATIBLE 5268 static_cast<FwAssertArgType>(_status)
5272 #if FW_AMPCS_COMPATIBLE 5279 static_cast<FwAssertArgType>(_status)
5285 static_cast<FwAssertArgType>(_status)
5294 static_cast<FwAssertArgType>(_status)
5297 #if FW_AMPCS_COMPATIBLE 5300 static_cast<U8>(
sizeof(I32))
5304 static_cast<FwAssertArgType>(_status)
5310 static_cast<FwAssertArgType>(_status)
5323 #if FW_ENABLE_TEXT_LOGGING 5324 if (this->isConnected_logTextOut_OutputPort(0)) {
5325 #if FW_OBJECT_NAMES == 1 5326 const char* _formatString =
5327 "(%s) %s: File write error encountered while writing %" PRIu64
" bytes to %s: %" PRIi32
"";
5329 const char* _formatString =
5330 "%s: File write error encountered while writing %" PRIu64
" bytes to %s: %" PRIi32
"";
5334 (void) _logString.
format(
5337 this->m_objName.toChar(),
5345 this->logTextOut_out(
5366 this->timeCaller_out(0, _logTime);
5376 #if FW_AMPCS_COMPATIBLE 5381 static_cast<FwAssertArgType>(_status)
5385 #if FW_AMPCS_COMPATIBLE 5392 static_cast<FwAssertArgType>(_status)
5398 static_cast<FwAssertArgType>(_status)
5407 static_cast<FwAssertArgType>(_status)
5410 #if FW_AMPCS_COMPATIBLE 5413 static_cast<U8>(
sizeof(I32))
5417 static_cast<FwAssertArgType>(_status)
5423 static_cast<FwAssertArgType>(_status)
5436 #if FW_ENABLE_TEXT_LOGGING 5437 if (this->isConnected_logTextOut_OutputPort(0)) {
5438 #if FW_OBJECT_NAMES == 1 5439 const char* _formatString =
5440 "(%s) %s: File read error encountered while reading %s of file %s: %" PRIi32
"";
5442 const char* _formatString =
5443 "%s: File read error encountered while reading %s of file %s: %" PRIi32
"";
5447 readStage.toString(readStageStr);
5450 (void) _logString.
format(
5453 this->m_objName.toChar(),
5461 this->logTextOut_out(
5481 this->timeCaller_out(0, _logTime);
5491 #if FW_AMPCS_COMPATIBLE 5496 static_cast<FwAssertArgType>(_status)
5500 #if FW_AMPCS_COMPATIBLE 5507 static_cast<FwAssertArgType>(_status)
5513 static_cast<FwAssertArgType>(_status)
5522 static_cast<FwAssertArgType>(_status)
5535 #if FW_ENABLE_TEXT_LOGGING 5536 if (this->isConnected_logTextOut_OutputPort(0)) {
5537 #if FW_OBJECT_NAMES == 1 5538 const char* _formatString =
5539 "(%s) %s: End of file encountered unexpectedly while reading %s of file %s";
5541 const char* _formatString =
5542 "%s: End of file encountered unexpectedly while reading %s of file %s";
5546 readStage.toString(readStageStr);
5549 (void) _logString.
format(
5552 this->m_objName.toChar(),
5559 this->logTextOut_out(
5582 this->timeCaller_out(0, _logTime);
5592 #if FW_AMPCS_COMPATIBLE 5597 static_cast<FwAssertArgType>(_status)
5601 #if FW_AMPCS_COMPATIBLE 5608 static_cast<FwAssertArgType>(_status)
5614 static_cast<FwAssertArgType>(_status)
5623 static_cast<FwAssertArgType>(_status)
5626 #if FW_AMPCS_COMPATIBLE 5629 static_cast<U8>(
sizeof(I32))
5633 static_cast<FwAssertArgType>(_status)
5639 static_cast<FwAssertArgType>(_status)
5642 #if FW_AMPCS_COMPATIBLE 5645 static_cast<U8>(
sizeof(U64))
5649 static_cast<FwAssertArgType>(_status)
5655 static_cast<FwAssertArgType>(_status)
5658 #if FW_AMPCS_COMPATIBLE 5661 static_cast<U8>(
sizeof(U64))
5665 static_cast<FwAssertArgType>(_status)
5671 static_cast<FwAssertArgType>(_status)
5684 #if FW_ENABLE_TEXT_LOGGING 5685 if (this->isConnected_logTextOut_OutputPort(0)) {
5686 #if FW_OBJECT_NAMES == 1 5687 const char* _formatString =
5688 "(%s) %s: Deserialize error encountered while reading %s of file %s: %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
5690 const char* _formatString =
5691 "%s: Deserialize error encountered while reading %s of file %s: %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
5695 readStage.toString(readStageStr);
5698 (void) _logString.
format(
5701 this->m_objName.toChar(),
5703 "FileReadDeserializeError ",
5711 this->logTextOut_out(
5731 this->timeCaller_out(0, _logTime);
5741 #if FW_AMPCS_COMPATIBLE 5746 static_cast<FwAssertArgType>(_status)
5750 #if FW_AMPCS_COMPATIBLE 5753 static_cast<U8>(
sizeof(
U8))
5757 static_cast<FwAssertArgType>(_status)
5763 static_cast<FwAssertArgType>(_status)
5766 #if FW_AMPCS_COMPATIBLE 5769 static_cast<U8>(
sizeof(
U8))
5773 static_cast<FwAssertArgType>(_status)
5779 static_cast<FwAssertArgType>(_status)
5792 #if FW_ENABLE_TEXT_LOGGING 5793 if (this->isConnected_logTextOut_OutputPort(0)) {
5794 #if FW_OBJECT_NAMES == 1 5795 const char* _formatString =
5796 "(%s) %s: Expected schema version %" PRIu8
", found %" PRIu8
"";
5798 const char* _formatString =
5799 "%s: Expected schema version %" PRIu8
", found %" PRIu8
"";
5803 (void) _logString.
format(
5806 this->m_objName.toChar(),
5808 "WrongSchemaVersion ",
5813 this->logTextOut_out(
5833 this->timeCaller_out(0, _logTime);
5843 #if FW_AMPCS_COMPATIBLE 5848 static_cast<FwAssertArgType>(_status)
5852 #if FW_AMPCS_COMPATIBLE 5855 static_cast<U8>(
sizeof(U32))
5859 static_cast<FwAssertArgType>(_status)
5865 static_cast<FwAssertArgType>(_status)
5868 #if FW_AMPCS_COMPATIBLE 5871 static_cast<U8>(
sizeof(U32))
5875 static_cast<FwAssertArgType>(_status)
5881 static_cast<FwAssertArgType>(_status)
5894 #if FW_ENABLE_TEXT_LOGGING 5895 if (this->isConnected_logTextOut_OutputPort(0)) {
5896 #if FW_OBJECT_NAMES == 1 5897 const char* _formatString =
5898 "(%s) %s: Expected CRC %" PRIu32
", actual was %" PRIu32
"";
5900 const char* _formatString =
5901 "%s: Expected CRC %" PRIu32
", actual was %" PRIu32
"";
5905 (void) _logString.
format(
5908 this->m_objName.toChar(),
5915 this->logTextOut_out(
5932 this->timeCaller_out(0, _logTime);
5942 #if FW_AMPCS_COMPATIBLE 5947 static_cast<FwAssertArgType>(_status)
5951 #if FW_AMPCS_COMPATIBLE 5958 static_cast<FwAssertArgType>(_status)
5964 static_cast<FwAssertArgType>(_status)
5977 #if FW_ENABLE_TEXT_LOGGING 5978 if (this->isConnected_logTextOut_OutputPort(0)) {
5979 #if FW_OBJECT_NAMES == 1 5980 const char* _formatString =
5981 "(%s) %s: File had %" PRIu64
" extra bytes at the end";
5983 const char* _formatString =
5984 "%s: File had %" PRIu64
" extra bytes at the end";
5988 (void) _logString.
format(
5991 this->m_objName.toChar(),
5993 "ExtraBytesInSequence ",
5997 this->logTextOut_out(
6017 this->timeCaller_out(0, _logTime);
6027 #if FW_AMPCS_COMPATIBLE 6032 static_cast<FwAssertArgType>(_status)
6036 #if FW_AMPCS_COMPATIBLE 6039 static_cast<U8>(
sizeof(U64))
6043 static_cast<FwAssertArgType>(_status)
6049 static_cast<FwAssertArgType>(_status)
6058 static_cast<FwAssertArgType>(_status)
6071 #if FW_ENABLE_TEXT_LOGGING 6072 if (this->isConnected_logTextOut_OutputPort(0)) {
6073 #if FW_OBJECT_NAMES == 1 6074 const char* _formatString =
6075 "(%s) %s: Buffer capacity of %" PRIu64
" was not big enough for sequence %s";
6077 const char* _formatString =
6078 "%s: Buffer capacity of %" PRIu64
" was not big enough for sequence %s";
6082 (void) _logString.
format(
6085 this->m_objName.toChar(),
6087 "InsufficientBufferSpace ",
6092 this->logTextOut_out(
6112 this->timeCaller_out(0, _logTime);
6122 #if FW_AMPCS_COMPATIBLE 6127 static_cast<FwAssertArgType>(_status)
6137 static_cast<FwAssertArgType>(_status)
6140 #if FW_AMPCS_COMPATIBLE 6143 static_cast<U8>(
sizeof(I32))
6147 static_cast<FwAssertArgType>(_status)
6153 static_cast<FwAssertArgType>(_status)
6166 #if FW_ENABLE_TEXT_LOGGING 6167 if (this->isConnected_logTextOut_OutputPort(0)) {
6168 #if FW_OBJECT_NAMES == 1 6169 const char* _formatString =
6170 "(%s) %s: File system API error encountered while operating on file %s: %" PRIi32
"";
6172 const char* _formatString =
6173 "%s: File system API error encountered while operating on file %s: %" PRIi32
"";
6177 (void) _logString.
format(
6180 this->m_objName.toChar(),
6187 this->logTextOut_out(
6207 this->timeCaller_out(0, _logTime);
6217 #if FW_AMPCS_COMPATIBLE 6222 static_cast<FwAssertArgType>(_status)
6232 static_cast<FwAssertArgType>(_status)
6241 static_cast<FwAssertArgType>(_status)
6254 #if FW_ENABLE_TEXT_LOGGING 6255 if (this->isConnected_logTextOut_OutputPort(0)) {
6256 #if FW_OBJECT_NAMES == 1 6257 const char* _formatString =
6258 "(%s) %s: Sequence file path was truncated: base directory %s and file name %s together exceed the maximum path length";
6260 const char* _formatString =
6261 "%s: Sequence file path was truncated: base directory %s and file name %s together exceed the maximum path length";
6265 (void) _logString.
format(
6268 this->m_objName.toChar(),
6270 "SequenceFilePathTooLong ",
6275 this->logTextOut_out(
6297 this->timeCaller_out(0, _logTime);
6307 #if FW_AMPCS_COMPATIBLE 6312 static_cast<FwAssertArgType>(_status)
6316 #if FW_AMPCS_COMPATIBLE 6323 static_cast<FwAssertArgType>(_status)
6329 static_cast<FwAssertArgType>(_status)
6332 #if FW_AMPCS_COMPATIBLE 6335 static_cast<U8>(
sizeof(U32))
6339 static_cast<FwAssertArgType>(_status)
6345 static_cast<FwAssertArgType>(_status)
6354 static_cast<FwAssertArgType>(_status)
6357 #if FW_AMPCS_COMPATIBLE 6364 static_cast<FwAssertArgType>(_status)
6370 static_cast<FwAssertArgType>(_status)
6383 #if FW_ENABLE_TEXT_LOGGING 6384 if (this->isConnected_logTextOut_OutputPort(0)) {
6385 #if FW_OBJECT_NAMES == 1 6386 const char* _formatString =
6387 "(%s) %s: Failed to execute command opcode %" PRIu32
" index %" PRIu32
" in sequence file %s: response was %s";
6389 const char* _formatString =
6390 "%s: Failed to execute command opcode %" PRIu32
" index %" PRIu32
" in sequence file %s: response was %s";
6394 response.toString(responseStr);
6397 (void) _logString.
format(
6400 this->m_objName.toChar(),
6409 this->logTextOut_out(
6426 this->timeCaller_out(0, _logTime);
6436 #if FW_AMPCS_COMPATIBLE 6441 static_cast<FwAssertArgType>(_status)
6451 static_cast<FwAssertArgType>(_status)
6464 #if FW_ENABLE_TEXT_LOGGING 6465 if (this->isConnected_logTextOut_OutputPort(0)) {
6466 #if FW_OBJECT_NAMES == 1 6467 const char* _formatString =
6468 "(%s) %s: Completed sequence file %s";
6470 const char* _formatString =
6471 "%s: Completed sequence file %s";
6475 (void) _logString.
format(
6478 this->m_objName.toChar(),
6484 this->logTextOut_out(
6501 this->timeCaller_out(0, _logTime);
6511 #if FW_AMPCS_COMPATIBLE 6516 static_cast<FwAssertArgType>(_status)
6526 static_cast<FwAssertArgType>(_status)
6539 #if FW_ENABLE_TEXT_LOGGING 6540 if (this->isConnected_logTextOut_OutputPort(0)) {
6541 #if FW_OBJECT_NAMES == 1 6542 const char* _formatString =
6543 "(%s) %s: Cancelled sequence file %s";
6545 const char* _formatString =
6546 "%s: Cancelled sequence file %s";
6550 (void) _logString.
format(
6553 this->m_objName.toChar(),
6555 "SequenceCancelled ",
6559 this->logTextOut_out(
6579 this->timeCaller_out(0, _logTime);
6589 #if FW_AMPCS_COMPATIBLE 6594 static_cast<FwAssertArgType>(_status)
6604 static_cast<FwAssertArgType>(_status)
6607 #if FW_AMPCS_COMPATIBLE 6610 static_cast<U8>(
sizeof(I32))
6614 static_cast<FwAssertArgType>(_status)
6620 static_cast<FwAssertArgType>(_status)
6633 #if FW_ENABLE_TEXT_LOGGING 6634 if (this->isConnected_logTextOut_OutputPort(0)) {
6635 #if FW_OBJECT_NAMES == 1 6636 const char* _formatString =
6637 "(%s) %s: Sequence %s exited with error code %" PRIi32
"";
6639 const char* _formatString =
6640 "%s: Sequence %s exited with error code %" PRIi32
"";
6644 (void) _logString.
format(
6647 this->m_objName.toChar(),
6649 "SequenceExitedWithError ",
6654 this->logTextOut_out(
6675 this->timeCaller_out(0, _logTime);
6685 #if FW_AMPCS_COMPATIBLE 6690 static_cast<FwAssertArgType>(_status)
6694 #if FW_AMPCS_COMPATIBLE 6697 static_cast<U8>(
sizeof(
U8))
6701 static_cast<FwAssertArgType>(_status)
6707 static_cast<FwAssertArgType>(_status)
6710 #if FW_AMPCS_COMPATIBLE 6713 static_cast<U8>(
sizeof(U32))
6717 static_cast<FwAssertArgType>(_status)
6723 static_cast<FwAssertArgType>(_status)
6732 static_cast<FwAssertArgType>(_status)
6745 #if FW_ENABLE_TEXT_LOGGING 6746 if (this->isConnected_logTextOut_OutputPort(0)) {
6747 #if FW_OBJECT_NAMES == 1 6748 const char* _formatString =
6749 "(%s) %s: Unknown sequencer directive id %" PRIu8
" at index %" PRIu32
" in file %s";
6751 const char* _formatString =
6752 "%s: Unknown sequencer directive id %" PRIu8
" at index %" PRIu32
" in file %s";
6756 (void) _logString.
format(
6759 this->m_objName.toChar(),
6761 "UnknownSequencerDirective ",
6767 this->logTextOut_out(
6788 this->timeCaller_out(0, _logTime);
6798 #if FW_AMPCS_COMPATIBLE 6803 static_cast<FwAssertArgType>(_status)
6807 #if FW_AMPCS_COMPATIBLE 6810 static_cast<U8>(
sizeof(I32))
6814 static_cast<FwAssertArgType>(_status)
6820 static_cast<FwAssertArgType>(_status)
6823 #if FW_AMPCS_COMPATIBLE 6830 static_cast<FwAssertArgType>(_status)
6836 static_cast<FwAssertArgType>(_status)
6839 #if FW_AMPCS_COMPATIBLE 6846 static_cast<FwAssertArgType>(_status)
6852 static_cast<FwAssertArgType>(_status)
6865 #if FW_ENABLE_TEXT_LOGGING 6866 if (this->isConnected_logTextOut_OutputPort(0)) {
6867 #if FW_OBJECT_NAMES == 1 6868 const char* _formatString =
6869 "(%s) %s: Received a command response while not running a sequence (was in state %" PRIi32
" opcode was %" PRIu32
" response code %s)";
6871 const char* _formatString =
6872 "%s: Received a command response while not running a sequence (was in state %" PRIi32
" opcode was %" PRIu32
" response code %s)";
6876 response.toString(responseStr);
6879 (void) _logString.
format(
6882 this->m_objName.toChar(),
6884 "CmdResponseWhileNotRunningSequence ",
6890 this->logTextOut_out(
6906 U16 currentSequenceIdx
6912 this->timeCaller_out(0, _logTime);
6922 #if FW_AMPCS_COMPATIBLE 6927 static_cast<FwAssertArgType>(_status)
6931 #if FW_AMPCS_COMPATIBLE 6938 static_cast<FwAssertArgType>(_status)
6944 static_cast<FwAssertArgType>(_status)
6947 #if FW_AMPCS_COMPATIBLE 6954 static_cast<FwAssertArgType>(_status)
6960 static_cast<FwAssertArgType>(_status)
6963 #if FW_AMPCS_COMPATIBLE 6966 static_cast<U8>(
sizeof(U16))
6970 static_cast<FwAssertArgType>(_status)
6976 static_cast<FwAssertArgType>(_status)
6979 #if FW_AMPCS_COMPATIBLE 6982 static_cast<U8>(
sizeof(U16))
6986 static_cast<FwAssertArgType>(_status)
6992 static_cast<FwAssertArgType>(_status)
7005 #if FW_ENABLE_TEXT_LOGGING 7006 if (this->isConnected_logTextOut_OutputPort(0)) {
7007 #if FW_OBJECT_NAMES == 1 7008 const char* _formatString =
7009 "(%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
")";
7011 const char* _formatString =
7012 "%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
")";
7016 response.toString(responseStr);
7019 (void) _logString.
format(
7022 this->m_objName.toChar(),
7024 "CmdResponseFromOldSequence ",
7031 this->logTextOut_out(
7051 this->timeCaller_out(0, _logTime);
7061 #if FW_AMPCS_COMPATIBLE 7066 static_cast<FwAssertArgType>(_status)
7070 #if FW_AMPCS_COMPATIBLE 7077 static_cast<FwAssertArgType>(_status)
7083 static_cast<FwAssertArgType>(_status)
7086 #if FW_AMPCS_COMPATIBLE 7093 static_cast<FwAssertArgType>(_status)
7099 static_cast<FwAssertArgType>(_status)
7112 #if FW_ENABLE_TEXT_LOGGING 7113 if (this->isConnected_logTextOut_OutputPort(0)) {
7114 #if FW_OBJECT_NAMES == 1 7115 const char* _formatString =
7116 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was not awaiting a response";
7118 const char* _formatString =
7119 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was not awaiting a response";
7123 response.toString(responseStr);
7126 (void) _logString.
format(
7129 this->m_objName.toChar(),
7131 "CmdResponseWhileNotAwaiting ",
7136 this->logTextOut_out(
7151 U8 expectedDirectiveOpcode
7157 this->timeCaller_out(0, _logTime);
7167 #if FW_AMPCS_COMPATIBLE 7172 static_cast<FwAssertArgType>(_status)
7176 #if FW_AMPCS_COMPATIBLE 7183 static_cast<FwAssertArgType>(_status)
7189 static_cast<FwAssertArgType>(_status)
7192 #if FW_AMPCS_COMPATIBLE 7199 static_cast<FwAssertArgType>(_status)
7205 static_cast<FwAssertArgType>(_status)
7208 #if FW_AMPCS_COMPATIBLE 7211 static_cast<U8>(
sizeof(
U8))
7215 static_cast<FwAssertArgType>(_status)
7221 static_cast<FwAssertArgType>(_status)
7234 #if FW_ENABLE_TEXT_LOGGING 7235 if (this->isConnected_logTextOut_OutputPort(0)) {
7236 #if FW_OBJECT_NAMES == 1 7237 const char* _formatString =
7238 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was awaiting directive opcode %" PRIu8
"";
7240 const char* _formatString =
7241 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was awaiting directive opcode %" PRIu8
"";
7245 response.toString(responseStr);
7248 (void) _logString.
format(
7251 this->m_objName.toChar(),
7253 "CmdResponseWhileAwaitingDirective ",
7256 expectedDirectiveOpcode
7259 this->logTextOut_out(
7280 this->timeCaller_out(0, _logTime);
7290 #if FW_AMPCS_COMPATIBLE 7295 static_cast<FwAssertArgType>(_status)
7299 #if FW_AMPCS_COMPATIBLE 7306 static_cast<FwAssertArgType>(_status)
7312 static_cast<FwAssertArgType>(_status)
7315 #if FW_AMPCS_COMPATIBLE 7322 static_cast<FwAssertArgType>(_status)
7328 static_cast<FwAssertArgType>(_status)
7331 #if FW_AMPCS_COMPATIBLE 7338 static_cast<FwAssertArgType>(_status)
7344 static_cast<FwAssertArgType>(_status)
7357 #if FW_ENABLE_TEXT_LOGGING 7358 if (this->isConnected_logTextOut_OutputPort(0)) {
7359 #if FW_OBJECT_NAMES == 1 7360 const char* _formatString =
7361 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was expecting a response from command opcode %" PRIu32
"";
7363 const char* _formatString =
7364 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was expecting a response from command opcode %" PRIu32
"";
7368 response.toString(responseStr);
7371 (void) _logString.
format(
7374 this->m_objName.toChar(),
7376 "WrongCmdResponseOpcode ",
7382 this->logTextOut_out(
7404 this->timeCaller_out(0, _logTime);
7414 #if FW_AMPCS_COMPATIBLE 7419 static_cast<FwAssertArgType>(_status)
7423 #if FW_AMPCS_COMPATIBLE 7430 static_cast<FwAssertArgType>(_status)
7436 static_cast<FwAssertArgType>(_status)
7439 #if FW_AMPCS_COMPATIBLE 7446 static_cast<FwAssertArgType>(_status)
7452 static_cast<FwAssertArgType>(_status)
7455 #if FW_AMPCS_COMPATIBLE 7458 static_cast<U8>(
sizeof(U16))
7462 static_cast<FwAssertArgType>(_status)
7468 static_cast<FwAssertArgType>(_status)
7471 #if FW_AMPCS_COMPATIBLE 7474 static_cast<U8>(
sizeof(U16))
7478 static_cast<FwAssertArgType>(_status)
7484 static_cast<FwAssertArgType>(_status)
7497 #if FW_ENABLE_TEXT_LOGGING 7498 if (this->isConnected_logTextOut_OutputPort(0)) {
7499 #if FW_OBJECT_NAMES == 1 7500 const char* _formatString =
7501 "(%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
")";
7503 const char* _formatString =
7504 "%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
")";
7508 response.toString(responseStr);
7511 (void) _logString.
format(
7514 this->m_objName.toChar(),
7516 "WrongCmdResponseIndex ",
7523 this->logTextOut_out(
7546 this->timeCaller_out(0, _logTime);
7556 #if FW_AMPCS_COMPATIBLE 7561 static_cast<FwAssertArgType>(_status)
7565 #if FW_AMPCS_COMPATIBLE 7568 static_cast<U8>(
sizeof(
U8))
7572 static_cast<FwAssertArgType>(_status)
7578 static_cast<FwAssertArgType>(_status)
7581 #if FW_AMPCS_COMPATIBLE 7584 static_cast<U8>(
sizeof(U32))
7588 static_cast<FwAssertArgType>(_status)
7594 static_cast<FwAssertArgType>(_status)
7597 #if FW_AMPCS_COMPATIBLE 7600 static_cast<U8>(
sizeof(I32))
7604 static_cast<FwAssertArgType>(_status)
7610 static_cast<FwAssertArgType>(_status)
7613 #if FW_AMPCS_COMPATIBLE 7616 static_cast<U8>(
sizeof(U64))
7620 static_cast<FwAssertArgType>(_status)
7626 static_cast<FwAssertArgType>(_status)
7629 #if FW_AMPCS_COMPATIBLE 7632 static_cast<U8>(
sizeof(U64))
7636 static_cast<FwAssertArgType>(_status)
7642 static_cast<FwAssertArgType>(_status)
7655 #if FW_ENABLE_TEXT_LOGGING 7656 if (this->isConnected_logTextOut_OutputPort(0)) {
7657 #if FW_OBJECT_NAMES == 1 7658 const char* _formatString =
7659 "(%s) %s: Deserialize error encountered while reading directive opcode %" PRIu8
" at index %" PRIu32
": %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
7661 const char* _formatString =
7662 "%s: Deserialize error encountered while reading directive opcode %" PRIu8
" at index %" PRIu32
": %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
7666 (void) _logString.
format(
7669 this->m_objName.toChar(),
7671 "DirectiveDeserializeError ",
7679 this->logTextOut_out(
7692 I32 internalTimeBase,
7699 this->timeCaller_out(0, _logTime);
7709 #if FW_AMPCS_COMPATIBLE 7714 static_cast<FwAssertArgType>(_status)
7718 #if FW_AMPCS_COMPATIBLE 7721 static_cast<U8>(
sizeof(I32))
7725 static_cast<FwAssertArgType>(_status)
7731 static_cast<FwAssertArgType>(_status)
7734 #if FW_AMPCS_COMPATIBLE 7737 static_cast<U8>(
sizeof(I32))
7741 static_cast<FwAssertArgType>(_status)
7747 static_cast<FwAssertArgType>(_status)
7760 #if FW_ENABLE_TEXT_LOGGING 7761 if (this->isConnected_logTextOut_OutputPort(0)) {
7762 #if FW_OBJECT_NAMES == 1 7763 const char* _formatString =
7764 "(%s) %s: getTime() time base was %" PRIi32
", but tried to operate on it with time base %" PRIi32
"";
7766 const char* _formatString =
7767 "%s: getTime() time base was %" PRIi32
", but tried to operate on it with time base %" PRIi32
"";
7771 (void) _logString.
format(
7774 this->m_objName.toChar(),
7776 "MismatchedTimeBase ",
7781 this->logTextOut_out(
7794 I32 internalTimeContext,
7795 I32 otherTimeContext
7801 this->timeCaller_out(0, _logTime);
7811 #if FW_AMPCS_COMPATIBLE 7816 static_cast<FwAssertArgType>(_status)
7820 #if FW_AMPCS_COMPATIBLE 7823 static_cast<U8>(
sizeof(I32))
7827 static_cast<FwAssertArgType>(_status)
7833 static_cast<FwAssertArgType>(_status)
7836 #if FW_AMPCS_COMPATIBLE 7839 static_cast<U8>(
sizeof(I32))
7843 static_cast<FwAssertArgType>(_status)
7849 static_cast<FwAssertArgType>(_status)
7862 #if FW_ENABLE_TEXT_LOGGING 7863 if (this->isConnected_logTextOut_OutputPort(0)) {
7864 #if FW_OBJECT_NAMES == 1 7865 const char* _formatString =
7866 "(%s) %s: getTime() time context was %" PRIi32
", but tried to operate on it with time context %" PRIi32
"";
7868 const char* _formatString =
7869 "%s: getTime() time context was %" PRIi32
", but tried to operate on it with time context %" PRIi32
"";
7873 (void) _logString.
format(
7876 this->m_objName.toChar(),
7878 "MismatchedTimeContext ",
7879 internalTimeContext,
7883 this->logTextOut_out(
7904 this->timeCaller_out(0, _logTime);
7914 #if FW_AMPCS_COMPATIBLE 7919 static_cast<FwAssertArgType>(_status)
7923 #if FW_AMPCS_COMPATIBLE 7930 static_cast<FwAssertArgType>(_status)
7936 static_cast<FwAssertArgType>(_status)
7939 #if FW_AMPCS_COMPATIBLE 7942 static_cast<U8>(
sizeof(U32))
7946 static_cast<FwAssertArgType>(_status)
7952 static_cast<FwAssertArgType>(_status)
7961 static_cast<FwAssertArgType>(_status)
7974 #if FW_ENABLE_TEXT_LOGGING 7975 if (this->isConnected_logTextOut_OutputPort(0)) {
7976 #if FW_OBJECT_NAMES == 1 7977 const char* _formatString =
7978 "(%s) %s: A command opcode %" PRIu32
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
7980 const char* _formatString =
7981 "%s: A command opcode %" PRIu32
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
7985 (void) _logString.
format(
7988 this->m_objName.toChar(),
7996 this->logTextOut_out(
8017 this->timeCaller_out(0, _logTime);
8027 #if FW_AMPCS_COMPATIBLE 8032 static_cast<FwAssertArgType>(_status)
8036 #if FW_AMPCS_COMPATIBLE 8039 static_cast<U8>(
sizeof(
U8))
8043 static_cast<FwAssertArgType>(_status)
8049 static_cast<FwAssertArgType>(_status)
8052 #if FW_AMPCS_COMPATIBLE 8055 static_cast<U8>(
sizeof(U32))
8059 static_cast<FwAssertArgType>(_status)
8065 static_cast<FwAssertArgType>(_status)
8074 static_cast<FwAssertArgType>(_status)
8087 #if FW_ENABLE_TEXT_LOGGING 8088 if (this->isConnected_logTextOut_OutputPort(0)) {
8089 #if FW_OBJECT_NAMES == 1 8090 const char* _formatString =
8091 "(%s) %s: A directive opcode %" PRIu8
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
8093 const char* _formatString =
8094 "%s: A directive opcode %" PRIu8
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
8098 (void) _logString.
format(
8101 this->m_objName.toChar(),
8103 "DirectiveTimedOut ",
8109 this->logTextOut_out(
8129 this->timeCaller_out(0, _logTime);
8139 #if FW_AMPCS_COMPATIBLE 8144 static_cast<FwAssertArgType>(_status)
8148 #if FW_AMPCS_COMPATIBLE 8151 static_cast<U8>(
sizeof(
U8))
8155 static_cast<FwAssertArgType>(_status)
8161 static_cast<FwAssertArgType>(_status)
8164 #if FW_AMPCS_COMPATIBLE 8167 static_cast<U8>(
sizeof(
U8))
8171 static_cast<FwAssertArgType>(_status)
8177 static_cast<FwAssertArgType>(_status)
8190 #if FW_ENABLE_TEXT_LOGGING 8191 if (this->isConnected_logTextOut_OutputPort(0)) {
8192 #if FW_OBJECT_NAMES == 1 8193 const char* _formatString =
8194 "(%s) %s: A sequence specified it had %" PRIu8
" args but the max was %" PRIu8
"";
8196 const char* _formatString =
8197 "%s: A sequence specified it had %" PRIu8
" args but the max was %" PRIu8
"";
8201 (void) _logString.
format(
8204 this->m_objName.toChar(),
8206 "TooManySequenceArgs ",
8211 this->logTextOut_out(
8231 this->timeCaller_out(0, _logTime);
8241 #if FW_AMPCS_COMPATIBLE 8246 static_cast<FwAssertArgType>(_status)
8250 #if FW_AMPCS_COMPATIBLE 8253 static_cast<U8>(
sizeof(U16))
8257 static_cast<FwAssertArgType>(_status)
8263 static_cast<FwAssertArgType>(_status)
8266 #if FW_AMPCS_COMPATIBLE 8269 static_cast<U8>(
sizeof(U16))
8273 static_cast<FwAssertArgType>(_status)
8279 static_cast<FwAssertArgType>(_status)
8292 #if FW_ENABLE_TEXT_LOGGING 8293 if (this->isConnected_logTextOut_OutputPort(0)) {
8294 #if FW_OBJECT_NAMES == 1 8295 const char* _formatString =
8296 "(%s) %s: A sequence specified it had %" PRIu16
" directives but the max was %" PRIu16
"";
8298 const char* _formatString =
8299 "%s: A sequence specified it had %" PRIu16
" directives but the max was %" PRIu16
"";
8303 (void) _logString.
format(
8306 this->m_objName.toChar(),
8308 "TooManySequenceDirectives ",
8313 this->logTextOut_out(
8334 this->timeCaller_out(0, _logTime);
8344 #if FW_AMPCS_COMPATIBLE 8349 static_cast<FwAssertArgType>(_status)
8353 #if FW_AMPCS_COMPATIBLE 8360 static_cast<FwAssertArgType>(_status)
8366 static_cast<FwAssertArgType>(_status)
8369 #if FW_AMPCS_COMPATIBLE 8376 static_cast<FwAssertArgType>(_status)
8382 static_cast<FwAssertArgType>(_status)
8391 static_cast<FwAssertArgType>(_status)
8404 #if FW_ENABLE_TEXT_LOGGING 8405 if (this->isConnected_logTextOut_OutputPort(0)) {
8406 #if FW_OBJECT_NAMES == 1 8407 const char* _formatString =
8408 "(%s) %s: Expected %" PRIu32
" bytes of arguments, but received %" PRIu64
" in sequence file %s";
8410 const char* _formatString =
8411 "%s: Expected %" PRIu32
" bytes of arguments, but received %" PRIu64
" in sequence file %s";
8415 (void) _logString.
format(
8418 this->m_objName.toChar(),
8426 this->logTextOut_out(
8446 this->timeCaller_out(0, _logTime);
8456 #if FW_AMPCS_COMPATIBLE 8461 static_cast<FwAssertArgType>(_status)
8465 #if FW_AMPCS_COMPATIBLE 8472 static_cast<FwAssertArgType>(_status)
8478 static_cast<FwAssertArgType>(_status)
8481 #if FW_AMPCS_COMPATIBLE 8488 static_cast<FwAssertArgType>(_status)
8494 static_cast<FwAssertArgType>(_status)
8507 #if FW_ENABLE_TEXT_LOGGING 8508 if (this->isConnected_logTextOut_OutputPort(0)) {
8509 #if FW_OBJECT_NAMES == 1 8510 const char* _formatString =
8511 "(%s) %s: Argument size %" PRIu64
" exceeds the %" PRIu64
" byte argument buffer";
8513 const char* _formatString =
8514 "%s: Argument size %" PRIu64
" exceeds the %" PRIu64
" byte argument buffer";
8518 (void) _logString.
format(
8521 this->m_objName.toChar(),
8523 "ArgSizeExceedsCapacity ",
8528 this->logTextOut_out(
8545 this->timeCaller_out(0, _logTime);
8555 #if FW_AMPCS_COMPATIBLE 8560 static_cast<FwAssertArgType>(_status)
8564 #if FW_AMPCS_COMPATIBLE 8571 static_cast<FwAssertArgType>(_status)
8577 static_cast<FwAssertArgType>(_status)
8590 #if FW_ENABLE_TEXT_LOGGING 8591 if (this->isConnected_logTextOut_OutputPort(0)) {
8592 #if FW_OBJECT_NAMES == 1 8593 const char* _formatString =
8594 "(%s) %s: Arguments of size %" PRIu32
" would exceed max stack size.";
8596 const char* _formatString =
8597 "%s: Arguments of size %" PRIu32
" would exceed max stack size.";
8601 (void) _logString.
format(
8604 this->m_objName.toChar(),
8606 "ArgTotalSizeExceedsStackLimit ",
8610 this->logTextOut_out(
8627 this->timeCaller_out(0, _logTime);
8637 #if FW_AMPCS_COMPATIBLE 8642 static_cast<FwAssertArgType>(_status)
8646 #if FW_AMPCS_COMPATIBLE 8649 static_cast<U8>(
sizeof(U32))
8653 static_cast<FwAssertArgType>(_status)
8659 static_cast<FwAssertArgType>(_status)
8672 #if FW_ENABLE_TEXT_LOGGING 8673 if (this->isConnected_logTextOut_OutputPort(0)) {
8674 #if FW_OBJECT_NAMES == 1 8675 const char* _formatString =
8676 "(%s) %s: Sequence paused before dispatching directive index %" PRIu32
"";
8678 const char* _formatString =
8679 "%s: Sequence paused before dispatching directive index %" PRIu32
"";
8683 (void) _logString.
format(
8686 this->m_objName.toChar(),
8692 this->logTextOut_out(
8712 this->timeCaller_out(0, _logTime);
8722 #if FW_AMPCS_COMPATIBLE 8727 static_cast<FwAssertArgType>(_status)
8731 #if FW_AMPCS_COMPATIBLE 8734 static_cast<U8>(
sizeof(U32))
8738 static_cast<FwAssertArgType>(_status)
8744 static_cast<FwAssertArgType>(_status)
8747 #if FW_AMPCS_COMPATIBLE 8750 static_cast<U8>(
sizeof(
U8))
8754 static_cast<FwAssertArgType>(_status)
8760 static_cast<FwAssertArgType>(_status)
8773 #if FW_ENABLE_TEXT_LOGGING 8774 if (this->isConnected_logTextOut_OutputPort(0)) {
8775 #if FW_OBJECT_NAMES == 1 8776 const char* _formatString =
8777 "(%s) %s: Breakpoint set before directive index %" PRIu32
". Will break once: %d";
8779 const char* _formatString =
8780 "%s: Breakpoint set before directive index %" PRIu32
". Will break once: %d";
8784 (void) _logString.
format(
8787 this->m_objName.toChar(),
8794 this->logTextOut_out(
8811 this->timeCaller_out(0, _logTime);
8820 #if FW_AMPCS_COMPATIBLE 8826 static_cast<FwAssertArgType>(_status)
8840 #if FW_ENABLE_TEXT_LOGGING 8841 if (this->isConnected_logTextOut_OutputPort(0)) {
8842 #if FW_OBJECT_NAMES == 1 8843 const char* _formatString =
8844 "(%s) %s: Breakpoint cleared";
8846 const char* _formatString =
8847 "%s: Breakpoint cleared";
8851 (void) _logString.
format(
8854 this->m_objName.toChar(),
8856 "BreakpointCleared " 8859 this->logTextOut_out(
8879 this->timeCaller_out(0, _logTime);
8889 #if FW_AMPCS_COMPATIBLE 8894 static_cast<FwAssertArgType>(_status)
8901 static_cast<FwAssertArgType>(_status)
8907 static_cast<FwAssertArgType>(_status)
8917 static_cast<FwAssertArgType>(_status)
8926 static_cast<FwAssertArgType>(_status)
8939 #if FW_ENABLE_TEXT_LOGGING 8940 if (this->isConnected_logTextOut_OutputPort(0)) {
8941 #if FW_OBJECT_NAMES == 1 8942 const char* _formatString =
8943 "(%s) %s: Sequence %s: %s";
8945 const char* _formatString =
8946 "%s: Sequence %s: %s";
8950 (void) _logString.
format(
8953 this->m_objName.toChar(),
8960 this->logTextOut_out(
8980 this->timeCaller_out(0, _logTime);
8990 #if FW_AMPCS_COMPATIBLE 8995 static_cast<FwAssertArgType>(_status)
9005 static_cast<FwAssertArgType>(_status)
9014 static_cast<FwAssertArgType>(_status)
9027 #if FW_ENABLE_TEXT_LOGGING 9028 if (this->isConnected_logTextOut_OutputPort(0)) {
9029 #if FW_OBJECT_NAMES == 1 9030 const char* _formatString =
9031 "(%s) %s: Sequence %s: %s";
9033 const char* _formatString =
9034 "%s: Sequence %s: %s";
9038 (void) _logString.
format(
9041 this->m_objName.toChar(),
9048 this->logTextOut_out(
9068 this->timeCaller_out(0, _logTime);
9078 #if FW_AMPCS_COMPATIBLE 9083 static_cast<FwAssertArgType>(_status)
9093 static_cast<FwAssertArgType>(_status)
9102 static_cast<FwAssertArgType>(_status)
9115 #if FW_ENABLE_TEXT_LOGGING 9116 if (this->isConnected_logTextOut_OutputPort(0)) {
9117 #if FW_OBJECT_NAMES == 1 9118 const char* _formatString =
9119 "(%s) %s: Sequence %s: %s";
9121 const char* _formatString =
9122 "%s: Sequence %s: %s";
9126 (void) _logString.
format(
9129 this->m_objName.toChar(),
9136 this->logTextOut_out(
9156 this->timeCaller_out(0, _logTime);
9166 #if FW_AMPCS_COMPATIBLE 9171 static_cast<FwAssertArgType>(_status)
9181 static_cast<FwAssertArgType>(_status)
9190 static_cast<FwAssertArgType>(_status)
9203 #if FW_ENABLE_TEXT_LOGGING 9204 if (this->isConnected_logTextOut_OutputPort(0)) {
9205 #if FW_OBJECT_NAMES == 1 9206 const char* _formatString =
9207 "(%s) %s: Sequence %s: %s";
9209 const char* _formatString =
9210 "%s: Sequence %s: %s";
9214 (void) _logString.
format(
9217 this->m_objName.toChar(),
9224 this->logTextOut_out(
9244 this->timeCaller_out(0, _logTime);
9254 #if FW_AMPCS_COMPATIBLE 9259 static_cast<FwAssertArgType>(_status)
9269 static_cast<FwAssertArgType>(_status)
9278 static_cast<FwAssertArgType>(_status)
9291 #if FW_ENABLE_TEXT_LOGGING 9292 if (this->isConnected_logTextOut_OutputPort(0)) {
9293 #if FW_OBJECT_NAMES == 1 9294 const char* _formatString =
9295 "(%s) %s: Sequence %s: %s";
9297 const char* _formatString =
9298 "%s: Sequence %s: %s";
9302 (void) _logString.
format(
9305 this->m_objName.toChar(),
9312 this->logTextOut_out(
9332 this->timeCaller_out(0, _logTime);
9342 #if FW_AMPCS_COMPATIBLE 9347 static_cast<FwAssertArgType>(_status)
9357 static_cast<FwAssertArgType>(_status)
9366 static_cast<FwAssertArgType>(_status)
9379 #if FW_ENABLE_TEXT_LOGGING 9380 if (this->isConnected_logTextOut_OutputPort(0)) {
9381 #if FW_OBJECT_NAMES == 1 9382 const char* _formatString =
9383 "(%s) %s: Sequence %s: %s";
9385 const char* _formatString =
9386 "%s: Sequence %s: %s";
9390 (void) _logString.
format(
9393 this->m_objName.toChar(),
9400 this->logTextOut_out(
9420 this->timeCaller_out(0, _logTime);
9430 #if FW_AMPCS_COMPATIBLE 9435 static_cast<FwAssertArgType>(_status)
9445 static_cast<FwAssertArgType>(_status)
9454 static_cast<FwAssertArgType>(_status)
9467 #if FW_ENABLE_TEXT_LOGGING 9468 if (this->isConnected_logTextOut_OutputPort(0)) {
9469 #if FW_OBJECT_NAMES == 1 9470 const char* _formatString =
9471 "(%s) %s: Sequence %s: %s";
9473 const char* _formatString =
9474 "%s: Sequence %s: %s";
9478 (void) _logString.
format(
9481 this->m_objName.toChar(),
9488 this->logTextOut_out(
9515 this->timeCaller_out(0, _tlmTime);
9541 if (not this->m_first_update_State) {
9543 if (arg == this->m_last_State) {
9547 this->m_last_State = arg;
9551 this->m_first_update_State =
false;
9552 this->m_last_State = arg;
9560 static_cast<FwAssertArgType>(_stat)
9578 if (not this->m_first_update_SequencesSucceeded) {
9580 if (arg == this->m_last_SequencesSucceeded) {
9584 this->m_last_SequencesSucceeded = arg;
9588 this->m_first_update_SequencesSucceeded =
false;
9589 this->m_last_SequencesSucceeded = arg;
9597 static_cast<FwAssertArgType>(_stat)
9615 if (not this->m_first_update_SequencesFailed) {
9617 if (arg == this->m_last_SequencesFailed) {
9621 this->m_last_SequencesFailed = arg;
9625 this->m_first_update_SequencesFailed =
false;
9626 this->m_last_SequencesFailed = arg;
9634 static_cast<FwAssertArgType>(_stat)
9652 if (not this->m_first_update_SequencesCancelled) {
9654 if (arg == this->m_last_SequencesCancelled) {
9658 this->m_last_SequencesCancelled = arg;
9662 this->m_first_update_SequencesCancelled =
false;
9663 this->m_last_SequencesCancelled = arg;
9671 static_cast<FwAssertArgType>(_stat)
9689 if (not this->m_first_update_StatementsDispatched) {
9691 if (arg == this->m_last_StatementsDispatched) {
9695 this->m_last_StatementsDispatched = arg;
9699 this->m_first_update_StatementsDispatched =
false;
9700 this->m_last_StatementsDispatched = arg;
9708 static_cast<FwAssertArgType>(_stat)
9726 if (not this->m_first_update_StatementsFailed) {
9728 if (arg == this->m_last_StatementsFailed) {
9732 this->m_last_StatementsFailed = arg;
9736 this->m_first_update_StatementsFailed =
false;
9737 this->m_last_StatementsFailed = arg;
9745 static_cast<FwAssertArgType>(_stat)
9763 if (not this->m_first_update_LastDirectiveError) {
9765 if (arg == this->m_last_LastDirectiveError) {
9769 this->m_last_LastDirectiveError = arg;
9773 this->m_first_update_LastDirectiveError =
false;
9774 this->m_last_LastDirectiveError = arg;
9782 static_cast<FwAssertArgType>(_stat)
9800 if (not this->m_first_update_DirectiveErrorIndex) {
9802 if (arg == this->m_last_DirectiveErrorIndex) {
9806 this->m_last_DirectiveErrorIndex = arg;
9810 this->m_first_update_DirectiveErrorIndex =
false;
9811 this->m_last_DirectiveErrorIndex = arg;
9819 static_cast<FwAssertArgType>(_stat)
9837 if (not this->m_first_update_DirectiveErrorId) {
9839 if (arg == this->m_last_DirectiveErrorId) {
9843 this->m_last_DirectiveErrorId = arg;
9847 this->m_first_update_DirectiveErrorId =
false;
9848 this->m_last_DirectiveErrorId = arg;
9856 static_cast<FwAssertArgType>(_stat)
9874 if (not this->m_first_update_SeqPath) {
9876 if (arg == this->m_last_SeqPath) {
9880 this->m_last_SeqPath = arg;
9884 this->m_first_update_SeqPath =
false;
9885 this->m_last_SeqPath = arg;
9896 static_cast<FwAssertArgType>(_stat)
9914 if (not this->m_first_update_Debug_ReachedEndOfFile) {
9916 if (arg == this->m_last_Debug_ReachedEndOfFile) {
9920 this->m_last_Debug_ReachedEndOfFile = arg;
9924 this->m_first_update_Debug_ReachedEndOfFile =
false;
9925 this->m_last_Debug_ReachedEndOfFile = arg;
9933 static_cast<FwAssertArgType>(_stat)
9951 if (not this->m_first_update_Debug_NextStatementReadSuccess) {
9953 if (arg == this->m_last_Debug_NextStatementReadSuccess) {
9957 this->m_last_Debug_NextStatementReadSuccess = arg;
9961 this->m_first_update_Debug_NextStatementReadSuccess =
false;
9962 this->m_last_Debug_NextStatementReadSuccess = arg;
9970 static_cast<FwAssertArgType>(_stat)
9988 if (not this->m_first_update_Debug_NextStatementOpcode) {
9990 if (arg == this->m_last_Debug_NextStatementOpcode) {
9994 this->m_last_Debug_NextStatementOpcode = arg;
9998 this->m_first_update_Debug_NextStatementOpcode =
false;
9999 this->m_last_Debug_NextStatementOpcode = arg;
10007 static_cast<FwAssertArgType>(_stat)
10025 if (not this->m_first_update_Debug_NextStatementIndex) {
10027 if (arg == this->m_last_Debug_NextStatementIndex) {
10031 this->m_last_Debug_NextStatementIndex = arg;
10035 this->m_first_update_Debug_NextStatementIndex =
false;
10036 this->m_last_Debug_NextStatementIndex = arg;
10044 static_cast<FwAssertArgType>(_stat)
10062 if (not this->m_first_update_Debug_NextCmdOpcode) {
10064 if (arg == this->m_last_Debug_NextCmdOpcode) {
10068 this->m_last_Debug_NextCmdOpcode = arg;
10072 this->m_first_update_Debug_NextCmdOpcode =
false;
10073 this->m_last_Debug_NextCmdOpcode = arg;
10081 static_cast<FwAssertArgType>(_stat)
10099 if (not this->m_first_update_Debug_StackSize) {
10101 if (arg == this->m_last_Debug_StackSize) {
10105 this->m_last_Debug_StackSize = arg;
10109 this->m_first_update_Debug_StackSize =
false;
10110 this->m_last_Debug_StackSize = arg;
10118 static_cast<FwAssertArgType>(_stat)
10136 if (not this->m_first_update_BreakpointInUse) {
10138 if (arg == this->m_last_BreakpointInUse) {
10142 this->m_last_BreakpointInUse = arg;
10146 this->m_first_update_BreakpointInUse =
false;
10147 this->m_last_BreakpointInUse = arg;
10155 static_cast<FwAssertArgType>(_stat)
10173 if (not this->m_first_update_BreakpointIndex) {
10175 if (arg == this->m_last_BreakpointIndex) {
10179 this->m_last_BreakpointIndex = arg;
10183 this->m_first_update_BreakpointIndex =
false;
10184 this->m_last_BreakpointIndex = arg;
10192 static_cast<FwAssertArgType>(_stat)
10210 if (not this->m_first_update_BreakOnlyOnceOnBreakpoint) {
10212 if (arg == this->m_last_BreakOnlyOnceOnBreakpoint) {
10216 this->m_last_BreakOnlyOnceOnBreakpoint = arg;
10220 this->m_first_update_BreakOnlyOnceOnBreakpoint =
false;
10221 this->m_last_BreakOnlyOnceOnBreakpoint = arg;
10229 static_cast<FwAssertArgType>(_stat)
10247 if (not this->m_first_update_BreakBeforeNextLine) {
10249 if (arg == this->m_last_BreakBeforeNextLine) {
10253 this->m_last_BreakBeforeNextLine = arg;
10257 this->m_first_update_BreakBeforeNextLine =
false;
10258 this->m_last_BreakBeforeNextLine = arg;
10266 static_cast<FwAssertArgType>(_stat)
10284 if (not this->m_first_update_PRM_STATEMENT_TIMEOUT_SECS) {
10286 if (arg == this->m_last_PRM_STATEMENT_TIMEOUT_SECS) {
10290 this->m_last_PRM_STATEMENT_TIMEOUT_SECS = arg;
10294 this->m_first_update_PRM_STATEMENT_TIMEOUT_SECS =
false;
10295 this->m_last_PRM_STATEMENT_TIMEOUT_SECS = arg;
10303 static_cast<FwAssertArgType>(_stat)
10321 if (not this->m_first_update_PRM_SEQ_BASE_DIR) {
10323 if (arg == this->m_last_PRM_SEQ_BASE_DIR) {
10327 this->m_last_PRM_SEQ_BASE_DIR = arg;
10331 this->m_first_update_PRM_SEQ_BASE_DIR =
false;
10332 this->m_last_PRM_SEQ_BASE_DIR = arg;
10343 static_cast<FwAssertArgType>(_stat)
10389 this->m_paramLock.
lock();
10390 valid = this->m_param_STATEMENT_TIMEOUT_SECS_valid;
10392 _local = this->m_STATEMENT_TIMEOUT_SECS;
10394 this->m_paramLock.
unlock();
10402 this->m_paramLock.
lock();
10403 valid = this->m_param_SEQ_BASE_DIR_valid;
10405 _local = this->m_SEQ_BASE_DIR;
10407 this->m_paramLock.
unlock();
10420 this->timeCaller_out(0, _time);
10435 ComponentIpcSerializableBuffer _msg;
10445 static_cast<FwAssertArgType>(_msgStatus)
10455 static_cast<FwAssertArgType>(_deserStatus)
10458 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
10460 if (_msgType == FPYSEQUENCER_COMPONENT_EXIT) {
10465 _deserStatus = _msg.deserializeTo(portNum);
10468 static_cast<FwAssertArgType>(_deserStatus)
10471 switch (_msgType) {
10473 case CHECKTIMERS_SCHED: {
10476 _deserStatus = _msg.deserializeTo(context);
10479 static_cast<FwAssertArgType>(_deserStatus)
10491 case CMDRESPONSEIN_CMDRESPONSE: {
10494 _deserStatus = _msg.deserializeTo(opCode);
10497 static_cast<FwAssertArgType>(_deserStatus)
10502 _deserStatus = _msg.deserializeTo(cmdSeq);
10505 static_cast<FwAssertArgType>(_deserStatus)
10510 _deserStatus = _msg.deserializeTo(response);
10513 static_cast<FwAssertArgType>(_deserStatus)
10527 case PINGIN_PING: {
10530 _deserStatus = _msg.deserializeTo(key);
10533 static_cast<FwAssertArgType>(_deserStatus)
10545 case SEQCANCELIN_CMDSEQCANCEL: {
10553 case SEQRUNIN_CMDSEQIN: {
10556 Fw::ExternalString filename(__fprime_ac_filename_buffer,
sizeof __fprime_ac_filename_buffer);
10557 _deserStatus = _msg.deserializeTo(filename);
10560 static_cast<FwAssertArgType>(_deserStatus)
10565 _deserStatus = _msg.deserializeTo(args);
10568 static_cast<FwAssertArgType>(_deserStatus)
10581 case TLMWRITE_SCHED: {
10584 _deserStatus = _msg.deserializeTo(context);
10587 static_cast<FwAssertArgType>(_deserStatus)
10602 _deserStatus = _msg.deserializeTo(_opCode);
10605 static_cast<FwAssertArgType>(_deserStatus)
10610 _deserStatus = _msg.deserializeTo(_cmdSeq);
10613 static_cast<FwAssertArgType>(_deserStatus)
10618 _deserStatus = _msg.deserializeTo(args);
10621 static_cast<FwAssertArgType>(_deserStatus)
10659 #if FW_CMD_CHECK_RESIDUAL 10680 case CMD_RUN_ARGS: {
10683 _deserStatus = _msg.deserializeTo(_opCode);
10686 static_cast<FwAssertArgType>(_deserStatus)
10691 _deserStatus = _msg.deserializeTo(_cmdSeq);
10694 static_cast<FwAssertArgType>(_deserStatus)
10699 _deserStatus = _msg.deserializeTo(args);
10702 static_cast<FwAssertArgType>(_deserStatus)
10755 #if FW_CMD_CHECK_RESIDUAL 10777 case CMD_VALIDATE: {
10780 _deserStatus = _msg.deserializeTo(_opCode);
10783 static_cast<FwAssertArgType>(_deserStatus)
10788 _deserStatus = _msg.deserializeTo(_cmdSeq);
10791 static_cast<FwAssertArgType>(_deserStatus)
10796 _deserStatus = _msg.deserializeTo(args);
10799 static_cast<FwAssertArgType>(_deserStatus)
10822 #if FW_CMD_CHECK_RESIDUAL 10842 case CMD_VALIDATE_ARGS: {
10845 _deserStatus = _msg.deserializeTo(_opCode);
10848 static_cast<FwAssertArgType>(_deserStatus)
10853 _deserStatus = _msg.deserializeTo(_cmdSeq);
10856 static_cast<FwAssertArgType>(_deserStatus)
10861 _deserStatus = _msg.deserializeTo(args);
10864 static_cast<FwAssertArgType>(_deserStatus)
10902 #if FW_CMD_CHECK_RESIDUAL 10923 case CMD_RUN_VALIDATED: {
10926 _deserStatus = _msg.deserializeTo(_opCode);
10929 static_cast<FwAssertArgType>(_deserStatus)
10934 _deserStatus = _msg.deserializeTo(_cmdSeq);
10937 static_cast<FwAssertArgType>(_deserStatus)
10942 _deserStatus = _msg.deserializeTo(args);
10945 static_cast<FwAssertArgType>(_deserStatus)
10968 #if FW_CMD_CHECK_RESIDUAL 10991 _deserStatus = _msg.deserializeTo(_opCode);
10994 static_cast<FwAssertArgType>(_deserStatus)
10999 _deserStatus = _msg.deserializeTo(_cmdSeq);
11002 static_cast<FwAssertArgType>(_deserStatus)
11007 _deserStatus = _msg.deserializeTo(args);
11010 static_cast<FwAssertArgType>(_deserStatus)
11018 #if FW_CMD_CHECK_RESIDUAL 11035 case CMD_SET_BREAKPOINT: {
11038 _deserStatus = _msg.deserializeTo(_opCode);
11041 static_cast<FwAssertArgType>(_deserStatus)
11046 _deserStatus = _msg.deserializeTo(_cmdSeq);
11049 static_cast<FwAssertArgType>(_deserStatus)
11054 _deserStatus = _msg.deserializeTo(args);
11057 static_cast<FwAssertArgType>(_deserStatus)
11095 #if FW_CMD_CHECK_RESIDUAL 11119 _deserStatus = _msg.deserializeTo(_opCode);
11122 static_cast<FwAssertArgType>(_deserStatus)
11127 _deserStatus = _msg.deserializeTo(_cmdSeq);
11130 static_cast<FwAssertArgType>(_deserStatus)
11135 _deserStatus = _msg.deserializeTo(args);
11138 static_cast<FwAssertArgType>(_deserStatus)
11146 #if FW_CMD_CHECK_RESIDUAL 11163 case CMD_CONTINUE: {
11166 _deserStatus = _msg.deserializeTo(_opCode);
11169 static_cast<FwAssertArgType>(_deserStatus)
11174 _deserStatus = _msg.deserializeTo(_cmdSeq);
11177 static_cast<FwAssertArgType>(_deserStatus)
11182 _deserStatus = _msg.deserializeTo(args);
11185 static_cast<FwAssertArgType>(_deserStatus)
11193 #if FW_CMD_CHECK_RESIDUAL 11210 case CMD_CLEAR_BREAKPOINT: {
11213 _deserStatus = _msg.deserializeTo(_opCode);
11216 static_cast<FwAssertArgType>(_deserStatus)
11221 _deserStatus = _msg.deserializeTo(_cmdSeq);
11224 static_cast<FwAssertArgType>(_deserStatus)
11229 _deserStatus = _msg.deserializeTo(args);
11232 static_cast<FwAssertArgType>(_deserStatus)
11240 #if FW_CMD_CHECK_RESIDUAL 11260 _deserStatus = _msg.deserializeTo(_opCode);
11263 static_cast<FwAssertArgType>(_deserStatus)
11268 _deserStatus = _msg.deserializeTo(_cmdSeq);
11271 static_cast<FwAssertArgType>(_deserStatus)
11276 _deserStatus = _msg.deserializeTo(args);
11279 static_cast<FwAssertArgType>(_deserStatus)
11287 #if FW_CMD_CHECK_RESIDUAL 11304 case CMD_DUMP_STACK_TO_FILE: {
11307 _deserStatus = _msg.deserializeTo(_opCode);
11310 static_cast<FwAssertArgType>(_deserStatus)
11315 _deserStatus = _msg.deserializeTo(_cmdSeq);
11318 static_cast<FwAssertArgType>(_deserStatus)
11323 _deserStatus = _msg.deserializeTo(args);
11326 static_cast<FwAssertArgType>(_deserStatus)
11349 #if FW_CMD_CHECK_RESIDUAL 11369 case INT_IF_DIRECTIVE_ALLOCATE: {
11371 _deserStatus = _msg.deserializeTo(directive);
11376 static_cast<FwAssertArgType>(_deserStatus)
11382 _msg.getDeserializeSizeLeft() == 0,
11395 case INT_IF_DIRECTIVE_CALL: {
11397 _deserStatus = _msg.deserializeTo(directive);
11402 static_cast<FwAssertArgType>(_deserStatus)
11408 _msg.getDeserializeSizeLeft() == 0,
11421 case INT_IF_DIRECTIVE_CONSTCMD: {
11423 _deserStatus = _msg.deserializeTo(directive);
11428 static_cast<FwAssertArgType>(_deserStatus)
11434 _msg.getDeserializeSizeLeft() == 0,
11447 case INT_IF_DIRECTIVE_DISCARD: {
11449 _deserStatus = _msg.deserializeTo(directive);
11454 static_cast<FwAssertArgType>(_deserStatus)
11460 _msg.getDeserializeSizeLeft() == 0,
11473 case INT_IF_DIRECTIVE_EXIT: {
11475 _deserStatus = _msg.deserializeTo(directive);
11480 static_cast<FwAssertArgType>(_deserStatus)
11486 _msg.getDeserializeSizeLeft() == 0,
11499 case INT_IF_DIRECTIVE_GETFIELD: {
11501 _deserStatus = _msg.deserializeTo(directive);
11506 static_cast<FwAssertArgType>(_deserStatus)
11512 _msg.getDeserializeSizeLeft() == 0,
11525 case INT_IF_DIRECTIVE_GOTO: {
11527 _deserStatus = _msg.deserializeTo(directive);
11532 static_cast<FwAssertArgType>(_deserStatus)
11538 _msg.getDeserializeSizeLeft() == 0,
11551 case INT_IF_DIRECTIVE_IF: {
11553 _deserStatus = _msg.deserializeTo(directive);
11558 static_cast<FwAssertArgType>(_deserStatus)
11564 _msg.getDeserializeSizeLeft() == 0,
11577 case INT_IF_DIRECTIVE_LOADABS: {
11579 _deserStatus = _msg.deserializeTo(directive);
11584 static_cast<FwAssertArgType>(_deserStatus)
11590 _msg.getDeserializeSizeLeft() == 0,
11603 case INT_IF_DIRECTIVE_LOADREL: {
11605 _deserStatus = _msg.deserializeTo(directive);
11610 static_cast<FwAssertArgType>(_deserStatus)
11616 _msg.getDeserializeSizeLeft() == 0,
11629 case INT_IF_DIRECTIVE_MEMCMP: {
11631 _deserStatus = _msg.deserializeTo(directive);
11636 static_cast<FwAssertArgType>(_deserStatus)
11642 _msg.getDeserializeSizeLeft() == 0,
11655 case INT_IF_DIRECTIVE_NOOP: {
11657 _deserStatus = _msg.deserializeTo(directive);
11662 static_cast<FwAssertArgType>(_deserStatus)
11668 _msg.getDeserializeSizeLeft() == 0,
11681 case INT_IF_DIRECTIVE_PEEK: {
11683 _deserStatus = _msg.deserializeTo(directive);
11688 static_cast<FwAssertArgType>(_deserStatus)
11694 _msg.getDeserializeSizeLeft() == 0,
11707 case INT_IF_DIRECTIVE_POPEVENT: {
11709 _deserStatus = _msg.deserializeTo(directive);
11714 static_cast<FwAssertArgType>(_deserStatus)
11720 _msg.getDeserializeSizeLeft() == 0,
11733 case INT_IF_DIRECTIVE_POPSERIALIZABLE: {
11735 _deserStatus = _msg.deserializeTo(directive);
11740 static_cast<FwAssertArgType>(_deserStatus)
11746 _msg.getDeserializeSizeLeft() == 0,
11759 case INT_IF_DIRECTIVE_PUSHPRM: {
11761 _deserStatus = _msg.deserializeTo(directive);
11766 static_cast<FwAssertArgType>(_deserStatus)
11772 _msg.getDeserializeSizeLeft() == 0,
11785 case INT_IF_DIRECTIVE_PUSHRAND: {
11787 _deserStatus = _msg.deserializeTo(directive);
11792 static_cast<FwAssertArgType>(_deserStatus)
11798 _msg.getDeserializeSizeLeft() == 0,
11811 case INT_IF_DIRECTIVE_PUSHTIME: {
11813 _deserStatus = _msg.deserializeTo(directive);
11818 static_cast<FwAssertArgType>(_deserStatus)
11824 _msg.getDeserializeSizeLeft() == 0,
11837 case INT_IF_DIRECTIVE_PUSHTLMVAL: {
11839 _deserStatus = _msg.deserializeTo(directive);
11844 static_cast<FwAssertArgType>(_deserStatus)
11850 _msg.getDeserializeSizeLeft() == 0,
11863 case INT_IF_DIRECTIVE_PUSHTLMVALANDTIME: {
11865 _deserStatus = _msg.deserializeTo(directive);
11870 static_cast<FwAssertArgType>(_deserStatus)
11876 _msg.getDeserializeSizeLeft() == 0,
11889 case INT_IF_DIRECTIVE_PUSHVAL: {
11891 _deserStatus = _msg.deserializeTo(directive);
11896 static_cast<FwAssertArgType>(_deserStatus)
11902 _msg.getDeserializeSizeLeft() == 0,
11915 case INT_IF_DIRECTIVE_RETURN: {
11917 _deserStatus = _msg.deserializeTo(directive);
11922 static_cast<FwAssertArgType>(_deserStatus)
11928 _msg.getDeserializeSizeLeft() == 0,
11941 case INT_IF_DIRECTIVE_SETSEED: {
11943 _deserStatus = _msg.deserializeTo(directive);
11948 static_cast<FwAssertArgType>(_deserStatus)
11954 _msg.getDeserializeSizeLeft() == 0,
11967 case INT_IF_DIRECTIVE_STACKCMD: {
11969 _deserStatus = _msg.deserializeTo(directive);
11974 static_cast<FwAssertArgType>(_deserStatus)
11980 _msg.getDeserializeSizeLeft() == 0,
11993 case INT_IF_DIRECTIVE_STACKOP: {
11995 _deserStatus = _msg.deserializeTo(directive);
12000 static_cast<FwAssertArgType>(_deserStatus)
12006 _msg.getDeserializeSizeLeft() == 0,
12019 case INT_IF_DIRECTIVE_STOREABS: {
12021 _deserStatus = _msg.deserializeTo(directive);
12026 static_cast<FwAssertArgType>(_deserStatus)
12032 _msg.getDeserializeSizeLeft() == 0,
12045 case INT_IF_DIRECTIVE_STOREABSCONSTOFFSET: {
12047 _deserStatus = _msg.deserializeTo(directive);
12052 static_cast<FwAssertArgType>(_deserStatus)
12058 _msg.getDeserializeSizeLeft() == 0,
12071 case INT_IF_DIRECTIVE_STOREREL: {
12073 _deserStatus = _msg.deserializeTo(directive);
12078 static_cast<FwAssertArgType>(_deserStatus)
12084 _msg.getDeserializeSizeLeft() == 0,
12097 case INT_IF_DIRECTIVE_STORERELCONSTOFFSET: {
12099 _deserStatus = _msg.deserializeTo(directive);
12104 static_cast<FwAssertArgType>(_deserStatus)
12110 _msg.getDeserializeSizeLeft() == 0,
12123 case INT_IF_DIRECTIVE_WAITABS: {
12125 _deserStatus = _msg.deserializeTo(directive);
12130 static_cast<FwAssertArgType>(_deserStatus)
12136 _msg.getDeserializeSizeLeft() == 0,
12149 case INT_IF_DIRECTIVE_WAITREL: {
12151 _deserStatus = _msg.deserializeTo(directive);
12156 static_cast<FwAssertArgType>(_deserStatus)
12162 _msg.getDeserializeSizeLeft() == 0,
12176 case INTERNAL_STATE_MACHINE_SIGNAL:
12177 this->smDispatch(_msg);
12191 void FpySequencerComponentBase ::
12202 compPtr->cmdIn_handlerBase(
12214 void FpySequencerComponentBase ::
12215 m_p_checkTimers_in(
12223 compPtr->checkTimers_handlerBase(
12229 void FpySequencerComponentBase ::
12230 m_p_cmdResponseIn_in(
12240 compPtr->cmdResponseIn_handlerBase(
12248 void FpySequencerComponentBase ::
12257 compPtr->pingIn_handlerBase(
12263 void FpySequencerComponentBase ::
12264 m_p_seqCancelIn_in(
12271 compPtr->seqCancelIn_handlerBase(portNum);
12274 void FpySequencerComponentBase ::
12284 compPtr->seqRunIn_handlerBase(
12291 void FpySequencerComponentBase ::
12300 compPtr->tlmWrite_handlerBase(
12306 #if !FW_DIRECT_PORT_CALLS 12312 void FpySequencerComponentBase ::
12320 static_cast<FwAssertArgType>(portNum)
12324 this->m_cmdRegOut_OutputPort[portNum].isConnected(),
12325 static_cast<FwAssertArgType>(portNum)
12327 this->m_cmdRegOut_OutputPort[portNum].
invoke(
12332 void FpySequencerComponentBase ::
12333 cmdResponseOut_out(
12342 static_cast<FwAssertArgType>(portNum)
12346 this->m_cmdResponseOut_OutputPort[portNum].isConnected(),
12347 static_cast<FwAssertArgType>(portNum)
12349 this->m_cmdResponseOut_OutputPort[portNum].
invoke(
12356 void FpySequencerComponentBase ::
12367 static_cast<FwAssertArgType>(portNum)
12371 this->m_logOut_OutputPort[portNum].isConnected(),
12372 static_cast<FwAssertArgType>(portNum)
12374 this->m_logOut_OutputPort[portNum].
invoke(
12382 #if FW_ENABLE_TEXT_LOGGING 12384 void FpySequencerComponentBase ::
12394 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
12395 static_cast<FwAssertArgType>(portNum)
12399 this->m_logTextOut_OutputPort[portNum].isConnected(),
12400 static_cast<FwAssertArgType>(portNum)
12402 this->m_logTextOut_OutputPort[portNum].invoke(
12421 static_cast<FwAssertArgType>(portNum)
12425 this->m_prmGet_OutputPort[portNum].isConnected(),
12426 static_cast<FwAssertArgType>(portNum)
12428 return this->m_prmGet_OutputPort[portNum].
invoke(
12434 void FpySequencerComponentBase ::
12443 static_cast<FwAssertArgType>(portNum)
12447 this->m_prmSet_OutputPort[portNum].isConnected(),
12448 static_cast<FwAssertArgType>(portNum)
12450 this->m_prmSet_OutputPort[portNum].
invoke(
12456 void FpySequencerComponentBase ::
12464 static_cast<FwAssertArgType>(portNum)
12468 this->m_timeCaller_OutputPort[portNum].isConnected(),
12469 static_cast<FwAssertArgType>(portNum)
12471 this->m_timeCaller_OutputPort[portNum].
invoke(
12476 void FpySequencerComponentBase ::
12486 static_cast<FwAssertArgType>(portNum)
12490 this->m_tlmOut_OutputPort[portNum].isConnected(),
12491 static_cast<FwAssertArgType>(portNum)
12493 this->m_tlmOut_OutputPort[portNum].
invoke(
12506 void FpySequencerComponentBase ::
12516 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(INTERNAL_STATE_MACHINE_SIGNAL));
12520 status = buffer.
serializeFrom(static_cast<FwIndexType>(0));
12524 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(smId));
12528 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(signal));
12532 void FpySequencerComponentBase ::
12541 static_cast<FwAssertArgType>(qStatus)
12549 void FpySequencerComponentBase ::
12555 FpySequencerComponentBase::deserializeSmIdAndSignal(buffer, storedSmId, storedSignal);
12558 const SmId smId =
static_cast<SmId>(storedSmId);
12562 this->Svc_FpySequencer_SequencerStateMachine_smDispatch(buffer, this->m_stateMachine_sequencer, signal);
12566 FW_ASSERT(
false, static_cast<FwAssertArgType>(smId));
12571 void FpySequencerComponentBase ::
12572 deserializeSmIdAndSignal(
12592 void FpySequencerComponentBase ::
12593 Svc_FpySequencer_SequencerStateMachine_smDispatch(
12595 Svc_FpySequencer_SequencerStateMachine& sm,
12608 sm.sendSignal_cmd_VALIDATE(value);
12619 sm.sendSignal_cmd_RUN(value);
12630 sm.sendSignal_cmd_RUN_VALIDATED(value);
12637 sm.sendSignal_cmd_CANCEL();
12648 sm.sendSignal_cmd_SET_BREAKPOINT(value);
12655 sm.sendSignal_cmd_CLEAR_BREAKPOINT();
12662 sm.sendSignal_result_failure();
12669 sm.sendSignal_result_success();
12676 sm.sendSignal_entered();
12683 sm.sendSignal_result_dispatchStatement_success();
12690 sm.sendSignal_result_dispatchStatement_failure();
12697 sm.sendSignal_result_dispatchStatement_noMoreStatements();
12704 sm.sendSignal_checkTimersIn();
12711 sm.sendSignal_result_checkShouldWake_wakeup();
12718 sm.sendSignal_result_checkShouldWake_keepSleeping();
12725 sm.sendSignal_result_timeOpFailed();
12732 sm.sendSignal_stmtResponse_beginSleep();
12739 sm.sendSignal_stmtResponse_success();
12746 sm.sendSignal_stmtResponse_failure();
12753 sm.sendSignal_stmtResponse_unexpected();
12760 sm.sendSignal_stmtResponse_keepWaiting();
12767 sm.sendSignal_result_checkStatementTimeout_statementTimeout();
12774 sm.sendSignal_result_checkStatementTimeout_noTimeout();
12781 sm.sendSignal_cmd_CONTINUE();
12788 sm.sendSignal_cmd_BREAK();
12795 sm.sendSignal_cmd_STEP();
12799 FW_ASSERT(
false, static_cast<FwAssertArgType>(signal));
12818 this->m_paramLock.
lock();
12819 this->m_STATEMENT_TIMEOUT_SECS = _localVal;
12821 this->m_paramLock.
unlock();
12838 this->m_paramLock.
lock();
12839 this->m_SEQ_BASE_DIR = _localVal;
12841 this->m_paramLock.
unlock();
12853 paramSave_STATEMENT_TIMEOUT_SECS()
12862 this->m_paramLock.
lock();
12864 _stat = _paramBuffer.
serializeFrom(m_STATEMENT_TIMEOUT_SECS);
12866 this->m_paramLock.
unlock();
12881 paramSave_SEQ_BASE_DIR()
12890 this->m_paramLock.
lock();
12894 this->m_paramLock.
unlock();
void cmdOut_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context) const
Invoke output port cmdOut.
Serialization/Deserialization operation was successful.
The size of the serial representation.
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 ...
virtual void directive_waitRel_internalInterfaceHandler(const Svc::FpySequencer_WaitRelDirective &directive)=0
Internal interface handler for directive_waitRel.
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.
void invoke(Fw::ComBuffer &data, U32 context) const
Invoke a port connection.
bool isConnected_getTlmChan_OutputPort(FwIndexType portNum) const
Channel ID for BreakpointInUse.
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.
virtual void directive_pushPrm_internalInterfaceHandler(const Svc::FpySequencer_PushPrmDirective &directive)=0
Internal interface handler for directive_pushPrm.
void init()
Initialization function.
static constexpr FwSizeType CAPACITY
virtual void directive_peek_internalInterfaceHandler(const Svc::FpySequencer_PeekDirective &directive)=0
Internal interface handler for directive_peek.
void invoke(const Fw::StringBase &filename, const Svc::SeqArgs &args) const
Invoke a port connection.
void log_ACTIVITY_HI_SequencePaused(U32 stmtIdx) const
Log event SequencePaused.
virtual void directive_exit_internalInterfaceHandler(const Svc::FpySequencer_ExitDirective &directive)=0
Internal interface handler for directive_exit.
Fw::InputCmdResponsePort * get_cmdResponseIn_InputPort(FwIndexType portNum)
virtual void seqCancelIn_preMsgHook(FwIndexType portNum)
Pre-message hook for async input port seqCancelIn.
FwIdType FwOpcodeType
The type of a command opcode.
Channel ID for Debug_ReachedEndOfFile.
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 directive_pushVal_internalInterfaceInvoke(const Svc::FpySequencer_PushValDirective &directive)
Internal interface base-class function for directive_pushVal.
void tlmWrite_Debug_NextStatementOpcode(U8 arg, Fw::Time _tlmTime=Fw::Time())
Channel ID for DirectiveErrorIndex.
virtual void parametersLoaded()
Called whenever parameters are loaded.
static constexpr FwSizeType CAPACITY
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum) const
#define FW_PARAM_OK(paramValid)
virtual void directive_pushTime_internalInterfaceHandler(const Svc::FpySequencer_PushTimeDirective &directive)=0
Internal interface handler for directive_pushTime.
void log_WARNING_HI_InsufficientBufferSpace(U64 bufferSize, const Fw::StringBase &filePath) const
Log event InsufficientBufferSpace.
FwIdType getIdBase() const
static constexpr FwIndexType getNum_seqStartOut_OutputPorts()
The size of the serial representation.
bool isConnected_getParam_OutputPort(FwIndexType portNum) const
PlatformSizeType FwSizeType
void directive_popEvent_internalInterfaceInvoke(const Svc::FpySequencer_PopEventDirective &directive)
Internal interface base-class function for directive_popEvent.
stores a value to an absolute address in the stack (for global variables), offset from stack ...
Channel ID for DirectiveErrorId.
Status receive(U8 *destination, FwSizeType capacity, BlockingType blockType, FwSizeType &actualSize, FwQueuePriorityType &priority) override
receive a message from the queue through delegate
Opcode to save parameter SEQ_BASE_DIR.
The size of the serial representation.
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 directive_stackOp_internalInterfaceInvoke(const Svc::FpySequencer_StackOpDirective &directive)
Internal interface base-class function for directive_stackOp.
void log_WARNING_HI_WrongCRC(U32 expected, U32 actual) const
Log event WrongCRC.
The size of the serial representation.
void log_WARNING_HI_ArgSizeExceedsCapacity(FwSizeType actual, FwSizeType capacity) const
Log event ArgSizeExceedsCapacity.
void directive_pushTlmVal_internalInterfaceInvoke(const Svc::FpySequencer_PushTlmValDirective &directive)
Internal interface base-class function for directive_pushTlmVal.
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.
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 ...
virtual void directive_stackCmd_internalInterfaceHandler(const Svc::FpySequencer_StackCmdDirective &directive)=0
Internal interface handler for directive_stackCmd.
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
returns from a function call
virtual void tlmWrite_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port tlmWrite.
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.
Channel ID for Debug_NextCmdOpcode.
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.
virtual void directive_popSerializable_internalInterfaceHandler(const Svc::FpySequencer_PopSerializableDirective &directive)=0
Internal interface handler for directive_popSerializable.
generic failure of an action
The size of the serial representation.
void set_seqDoneOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to seqDoneOut[portNum].
The size of the serial representation.
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.
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.
The size of the serial representation.
virtual void CANCEL_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
Fw::ParamValid getParam_out(FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer &val) const
Invoke output port getParam.
The size of the serial representation.
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)
The size of the serial representation.
static constexpr FwIndexType getNum_pingIn_InputPorts()
Channel ID for Debug_NextStatementOpcode.
called in SET_BREAKPOINT cmd. raised in any state
The size of the serial representation.
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_goto_internalInterfaceHandler(const Svc::FpySequencer_GotoDirective &directive)=0
Internal interface handler for directive_goto.
void directive_if_internalInterfaceInvoke(const Svc::FpySequencer_IfDirective &directive)
Internal interface base-class function for directive_if.
bool isConnected_prmSet_OutputPort(FwIndexType portNum) const
virtual void RUN_ARGS_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command RUN_ARGS.
virtual void directive_storeRel_internalInterfaceHandler(const Svc::FpySequencer_StoreRelDirective &directive)=0
Internal interface handler for directive_storeRel.
void sequencer_sendSignal_result_success()
Send signal result_success to state machine sequencer.
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.
virtual ~FpySequencerComponentBase()
Destroy FpySequencerComponentBase object.
The size of the serial representation.
The size of the serial representation.
The size of the serial representation.
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
virtual void directive_stackOp_internalInterfaceHandler(const Svc::FpySequencer_StackOpDirective &directive)=0
Internal interface handler for directive_stackOp.
void sequencer_sendSignal_cmd_VALIDATE(const Svc::FpySequencer_SequenceExecutionArgs &value)
Send signal cmd_VALIDATE to state machine sequencer.
void directive_noOp_internalInterfaceInvoke(const Svc::FpySequencer_NoOpDirective &directive)
Internal interface base-class function for directive_noOp.
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
SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG) override
Serialize an 8-bit unsigned integer value.
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.
virtual SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG)=0
Serialize an 8-bit unsigned integer value.
void directive_allocate_internalInterfaceInvoke(const Svc::FpySequencer_AllocateDirective &directive)
Internal interface base-class function for directive_allocate.
pops bytes off the top of the stack and does nothing with them
Channel ID for Debug_NextStatementIndex.
void directive_storeRelConstOffset_internalInterfaceInvoke(const Svc::FpySequencer_StoreRelConstOffsetDirective &directive)
Internal interface base-class function for directive_storeRelConstOffset.
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
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.
virtual void directive_waitAbs_internalInterfaceHandler(const Svc::FpySequencer_WaitAbsDirective &directive)=0
Internal interface handler for directive_waitAbs.
Channel ID for LastDirectiveError.
void init()
Initialization function.
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 directive_pushTlmValAndTime_internalInterfaceInvoke(const Svc::FpySequencer_PushTlmValAndTimeDirective &directive)
Internal interface base-class function for directive_pushTlmValAndTime.
void directive_stackCmd_internalInterfaceInvoke(const Svc::FpySequencer_StackCmdDirective &directive)
Internal interface base-class function for directive_stackCmd.
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.
Loads and validates a sequence.
virtual void directive_allocate_internalInterfaceHandler(const Svc::FpySequencer_AllocateDirective &directive)=0
Internal interface handler for directive_allocate.
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
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()
executes a cmd with const args
void directive_popSerializable_internalInterfaceInvoke(const Svc::FpySequencer_PopSerializableDirective &directive)
Internal interface base-class function for directive_popSerializable.
virtual void RUN_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName, const Svc::BlockState &block)=0
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...
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.
void directive_loadAbs_internalInterfaceInvoke(const Svc::FpySequencer_LoadAbsDirective &directive)
Internal interface base-class function for directive_loadAbs.
static constexpr FwSizeType CAPACITY
called in dispatchStatement method when a statement was successfully dispatched
F32 paramGet_STATEMENT_TIMEOUT_SECS(Fw::ParamValid &valid)
Svc::InputCmdSeqCancelPort * get_seqCancelIn_InputPort(FwIndexType portNum)
The size of the serial representation.
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.
The size of the serial representation.
pop two byte arrays off the top of the stack, call memcmp, push 1 if they were equal, 0 otherwise
void init()
Initialization function.
message to exit active component task
Channel ID for BreakpointIndex.
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
Channel ID for Debug_StackSize.
Data was the wrong format (e.g. wrong packet type)
void directive_memCmp_internalInterfaceInvoke(const Svc::FpySequencer_MemCmpDirective &directive)
Internal interface base-class function for directive_memCmp.
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 directive_pushTime_internalInterfaceInvoke(const Svc::FpySequencer_PushTimeDirective &directive)
Internal interface base-class function for directive_pushTime.
void tlmWrite_DirectiveErrorId(const Svc::Fpy::DirectiveId &arg, Fw::Time _tlmTime=Fw::Time())
static constexpr FwIndexType getNum_cmdResponseIn_InputPorts()
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
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
virtual void directive_setSeed_internalInterfaceHandler(const Svc::FpySequencer_SetSeedDirective &directive)=0
Internal interface handler for directive_setSeed.
ActiveComponentBase(const char *name)
Constructor.
virtual void directive_constCmd_internalInterfaceHandler(const Svc::FpySequencer_ConstCmdDirective &directive)=0
Internal interface handler for directive_constCmd.
void init()
Initialization function.
Must be called after VALIDATE. Runs the sequence that was validated.
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
Opcode to save parameter STATEMENT_TIMEOUT_SECS.
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) const
generic success of an action
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.
The size of the serial representation.
The size of the serial representation.
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 ...
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_pushVal_internalInterfaceHandler(const Svc::FpySequencer_PushValDirective &directive)=0
Internal interface handler for directive_pushVal.
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
The size of the serial representation.
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].
The size of the serial representation.
The size of the serial representation.
void addCallPort(InputPingPort *callPort)
Register an input port.
Channel ID for SequencesCancelled.
Status send(const U8 *buffer, FwSizeType size, FwQueuePriorityType priority, BlockingType blockType) override
send a message into the queue through delegate
Sequencer blocking state.
Opcode to set parameter SEQ_BASE_DIR.
FpySequencerComponentBase(const char *compName="")
Construct FpySequencerComponentBase object.
virtual void directive_call_internalInterfaceHandler(const Svc::FpySequencer_CallDirective &directive)=0
Internal interface handler for directive_call.
virtual void CONTINUE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
void sequencer_sendSignal_checkTimersIn()
Send signal checkTimersIn to state machine sequencer.
void tlmWrite_StatementsDispatched(U64 arg, Fw::Time _tlmTime=Fw::Time())
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_discard_internalInterfaceHandler(const Svc::FpySequencer_DiscardDirective &directive)=0
Internal interface handler for directive_discard.
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 log_WARNING_HI_LogWarningHi(const Fw::StringBase &filePath, const Fw::StringBase &message) const
Log event LogWarningHi.
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.
A string backed by an external buffer.
A serious but recoverable event.
void CANCEL_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void directive_waitAbs_internalInterfaceInvoke(const Svc::FpySequencer_WaitAbsDirective &directive)
Internal interface base-class function for directive_waitAbs.
Errors dispatching messages.
void directive_peek_internalInterfaceInvoke(const Svc::FpySequencer_PeekDirective &directive)
Internal interface base-class function for directive_peek.
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 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.
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)
virtual void directive_memCmp_internalInterfaceHandler(const Svc::FpySequencer_MemCmpDirective &directive)=0
Internal interface handler for directive_memCmp.
void loadParameters()
Load the parameters from a parameter source.
void log_WARNING_HI_InvalidSeqRunCall(I32 state) const
Log event InvalidSeqRunCall.
virtual void directive_if_internalInterfaceHandler(const Svc::FpySequencer_IfDirective &directive)=0
Internal interface handler for directive_if.
void directive_getField_internalInterfaceInvoke(const Svc::FpySequencer_GetFieldDirective &directive)
Internal interface base-class function for directive_getField.
static constexpr FwIndexType getNum_cmdOut_OutputPorts()
The size of the serial representation.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
void init()
Initialization function.
Command successfully executed.
called in BREAK cmd. only raised in RUNNING state
virtual Serializable::SizeType getDeserializeSizeLeft() const =0
Get remaining deserialization buffer size.
sleeps for a relative duration from the current time
Channel ID for PRM_STATEMENT_TIMEOUT_SECS.
Channel ID for StatementsFailed.
void seqDoneOut_out(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke output port seqDoneOut.
virtual void directive_storeRelConstOffset_internalInterfaceHandler(const Svc::FpySequencer_StoreRelConstOffsetDirective &directive)=0
Internal interface handler for directive_storeRelConstOffset.
void directive_discard_internalInterfaceInvoke(const Svc::FpySequencer_DiscardDirective &directive)
Internal interface base-class function for directive_discard.
uint8_t U8
8-bit unsigned integer
bool isConnected_serialOut_OutputPort(FwIndexType portNum) const
virtual void directive_noOp_internalInterfaceHandler(const Svc::FpySequencer_NoOpDirective &directive)=0
Internal interface handler for directive_noOp.
static constexpr FwSizeType CAPACITY
void log_ACTIVITY_HI_BreakpointSet(U32 breakpointIdx, bool breakOnce) const
Log event BreakpointSet.
void directive_pushPrm_internalInterfaceInvoke(const Svc::FpySequencer_PushPrmDirective &directive)
Internal interface base-class function for directive_pushPrm.
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.
void lock()
lock the mutex and assert success
PlatformQueuePriorityType FwQueuePriorityType
The type of queue priorities used.
Command had execution error.
The size of the serial representation.
Important informational events.
void sequencer_sendSignal_cmd_CANCEL()
Send signal cmd_CANCEL to state machine sequencer.
Channel ID for Debug_NextStatementReadSuccess.
void sequencer_sendSignal_result_checkStatementTimeout_statementTimeout()
Send signal result_checkStatementTimeout_statementTimeout to state machine sequencer.
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts()
void sequencer_sendSignal_stmtResponse_keepWaiting()
Send signal stmtResponse_keepWaiting to state machine sequencer.
The size of the serial representation.
void invoke(FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args) const
Invoke a port connection.
bool isConnected_tlmOut_OutputPort(FwIndexType portNum) const
void log_WARNING_HI_InvalidCommand(I32 state) const
Log event InvalidCommand.
void tlmWrite_BreakBeforeNextLine(bool arg, Fw::Time _tlmTime=Fw::Time())
virtual void directive_storeAbs_internalInterfaceHandler(const Svc::FpySequencer_StoreAbsDirective &directive)=0
Internal interface handler for directive_storeAbs.
Channel ID for BreakBeforeNextLine.
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()
Channel ID for StatementsDispatched.
void init()
Initialization function.
Opcode to set parameter STATEMENT_TIMEOUT_SECS.
void directive_pushRand_internalInterfaceInvoke(const Svc::FpySequencer_PushRandDirective &directive)
Internal interface base-class function for directive_pushRand.
virtual void directive_getField_internalInterfaceHandler(const Svc::FpySequencer_GetFieldDirective &directive)=0
Internal interface handler for directive_getField.
virtual void directive_loadRel_internalInterfaceHandler(const Svc::FpySequencer_LoadRelDirective &directive)=0
Internal interface handler for directive_loadRel.
The size of the serial representation.
Fw::ParamString paramGet_SEQ_BASE_DIR(Fw::ParamValid &valid)
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())
void directive_setSeed_internalInterfaceInvoke(const Svc::FpySequencer_SetSeedDirective &directive)
Internal interface base-class function for directive_setSeed.
loads a value from an absolute address in the stack (for global variables)
virtual void directive_pushRand_internalInterfaceHandler(const Svc::FpySequencer_PushRandDirective &directive)=0
Internal interface handler for directive_pushRand.
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.
The size of the serial representation.
PlatformIndexType FwIndexType
void directive_constCmd_internalInterfaceInvoke(const Svc::FpySequencer_ConstCmdDirective &directive)
Internal interface base-class function for directive_constCmd.
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()
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 log_WARNING_HI_MismatchedTimeContext(I32 internalTimeContext, I32 otherTimeContext) const
Log event MismatchedTimeContext.
void directive_return_internalInterfaceInvoke(const Svc::FpySequencer_ReturnDirective &directive)
Internal interface base-class function for directive_return.
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.
void addCallPort(InputCmdSeqInPort *callPort)
Register an input port.
void sequencer_sendSignal_cmd_CLEAR_BREAKPOINT()
Send signal cmd_CLEAR_BREAKPOINT to state machine sequencer.
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.
Loads, validates and runs a sequence.
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.
void log_WARNING_HI_InvalidSeqCancelCall(I32 state) const
Log event InvalidSeqCancelCall.
void incNumMsgDropped()
increment the number of messages dropped
pushes a const byte array onto stack
The size of the serial representation.
stores a value to a local variable at a runtime-determined offset relative to the current stack frame...
virtual void directive_return_internalInterfaceHandler(const Svc::FpySequencer_ReturnDirective &directive)=0
Internal interface handler for directive_return.
void unlock()
alias for unLock to meet BasicLockable requirements
called in CLEAR_BREAKPOINT cmd. raised in any state
virtual void BREAK_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command BREAK.
The size of the serial representation.
void tlmWrite_DirectiveErrorIndex(U64 arg, Fw::Time _tlmTime=Fw::Time())
Command failed validation.
RateGroupDivider component implementation.
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.
virtual void directive_popEvent_internalInterfaceHandler(const Svc::FpySequencer_PopEventDirective &directive)=0
Internal interface handler for directive_popEvent.
void log_FATAL_LogFatal(const Fw::StringBase &filePath, const Fw::StringBase &message) const
Log event LogFatal.
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 directive_storeAbs_internalInterfaceInvoke(const Svc::FpySequencer_StoreAbsDirective &directive)
Internal interface base-class function for directive_storeAbs.
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
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.
Channel ID for BreakOnlyOnceOnBreakpoint.
void log_WARNING_LO_CmdResponseWhileNotRunningSequence(I32 state, FwOpcodeType opcode, const Fw::CmdResponse &response) const
Log event CmdResponseWhileNotRunningSequence.
bool isConnected_seqStartOut_OutputPort(FwIndexType portNum) const
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
virtual void checkTimers_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port checkTimers.
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.
void directive_call_internalInterfaceInvoke(const Svc::FpySequencer_CallDirective &directive)
Internal interface base-class function for directive_call.
void directive_exit_internalInterfaceInvoke(const Svc::FpySequencer_ExitDirective &directive)
Internal interface base-class function for directive_exit.
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.
void directive_storeAbsConstOffset_internalInterfaceInvoke(const Svc::FpySequencer_StoreAbsConstOffsetDirective &directive)
Internal interface base-class function for directive_storeAbsConstOffset.
FpySequencerComponentBase::SmId getId() const
Get the state machine id.
pushes the current Fw.Time struct to the stack
void log_ACTIVITY_HI_SequenceDone(const Fw::StringBase &filePath) const
Log event SequenceDone.
LinearBufferTemplate< FW_SM_SIGNAL_BUFFER_MAX_SIZE > SmSignalBuffer
void directive_goto_internalInterfaceInvoke(const Svc::FpySequencer_GotoDirective &directive)
Internal interface base-class function for directive_goto.
static constexpr FwIndexType getNum_seqDoneOut_OutputPorts()
void directive_waitRel_internalInterfaceInvoke(const Svc::FpySequencer_WaitRelDirective &directive)
Internal interface base-class function for directive_waitRel.
virtual void directive_pushTlmValAndTime_internalInterfaceHandler(const Svc::FpySequencer_PushTlmValAndTimeDirective &directive)=0
Internal interface handler for directive_pushTlmValAndTime.
void directive_storeRel_internalInterfaceInvoke(const Svc::FpySequencer_StoreRelDirective &directive)
Internal interface base-class function for directive_storeRel.
Message will return with status when space is unavailable.
virtual void directive_pushTlmVal_internalInterfaceHandler(const Svc::FpySequencer_PushTlmValDirective &directive)=0
Internal interface handler for directive_pushTlmVal.
Implementation of malloc based allocator.
void SET_BREAKPOINT_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
The size of the serial representation.
void directive_loadRel_internalInterfaceInvoke(const Svc::FpySequencer_LoadRelDirective &directive)
Internal interface base-class function for directive_loadRel.
Auto-generated base for FpySequencer component.
static constexpr FwIndexType getNum_logOut_OutputPorts()
Loads and validates a sequence with arguments.
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
Channel ID for SequencesFailed.
void log_WARNING_HI_FileWriteError(FwSizeType writeSize, const Fw::StringBase &filePath, I32 errorCode) const
Log event FileWriteError.
virtual void directive_storeAbsConstOffset_internalInterfaceHandler(const Svc::FpySequencer_StoreAbsConstOffsetDirective &directive)=0
Internal interface handler for directive_storeAbsConstOffset.
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 checkTimers_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port checkTimers.
void init()
Initialization function.
static constexpr FwIndexType getNum_prmGet_OutputPorts()
The size of the serial representation.
static constexpr FwIndexType getNum_seqCancelIn_InputPorts()
The size of the serial representation.
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 SerializeStatus moveDeserToOffset(FwSizeType offset)=0
Move deserialization pointer to specified offset.
Channel ID for PRM_SEQ_BASE_DIR.
Channel ID for SequencesSucceeded.
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 directive_loadAbs_internalInterfaceHandler(const Svc::FpySequencer_LoadAbsDirective &directive)=0
Internal interface handler for directive_loadAbs.
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
static constexpr FwSizeType CAPACITY
bool isConnected_seqDoneOut_OutputPort(FwIndexType portNum) const
The size of the serial representation.
void set_prmGet_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to prmGet[portNum].
The size of the serial representation.
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.
Writes the contents of the stack to a file. This command is only valid in the RUNNING.PAUSED state.
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 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.
The size of the serial representation.
BYTE cmdPortSize[Fw::CmdPortBuffer::CAPACITY]
void tlmWrite_Debug_NextStatementReadSuccess(bool arg, Fw::Time _tlmTime=Fw::Time())