9 #if FW_ENABLE_TEXT_LOGGING 22 union SignalTypeUnion {
30 sizeof(SignalTypeUnion);
37 CMDRESPONSEIN_CMDRESPONSE,
39 SEQCANCELIN_CMDSEQCANCEL,
53 CMD_DUMP_STACK_TO_FILE,
54 INT_IF_DIRECTIVE_ALLOCATE,
55 INT_IF_DIRECTIVE_CALL,
56 INT_IF_DIRECTIVE_CONSTCMD,
57 INT_IF_DIRECTIVE_DISCARD,
58 INT_IF_DIRECTIVE_EXIT,
59 INT_IF_DIRECTIVE_GETFIELD,
60 INT_IF_DIRECTIVE_GOTO,
62 INT_IF_DIRECTIVE_LOADABS,
63 INT_IF_DIRECTIVE_LOADREL,
64 INT_IF_DIRECTIVE_MEMCMP,
65 INT_IF_DIRECTIVE_NOOP,
66 INT_IF_DIRECTIVE_PEEK,
67 INT_IF_DIRECTIVE_POPEVENT,
68 INT_IF_DIRECTIVE_POPSERIALIZABLE,
69 INT_IF_DIRECTIVE_PUSHPRM,
70 INT_IF_DIRECTIVE_PUSHRAND,
71 INT_IF_DIRECTIVE_PUSHTIME,
72 INT_IF_DIRECTIVE_PUSHTLMVAL,
73 INT_IF_DIRECTIVE_PUSHTLMVALANDTIME,
74 INT_IF_DIRECTIVE_PUSHVAL,
75 INT_IF_DIRECTIVE_RETURN,
76 INT_IF_DIRECTIVE_SETSEED,
77 INT_IF_DIRECTIVE_STACKCMD,
78 INT_IF_DIRECTIVE_STACKOP,
79 INT_IF_DIRECTIVE_STOREABS,
80 INT_IF_DIRECTIVE_STOREABSCONSTOFFSET,
81 INT_IF_DIRECTIVE_STOREREL,
82 INT_IF_DIRECTIVE_STORERELCONSTOFFSET,
83 INT_IF_DIRECTIVE_WAITABS,
84 INT_IF_DIRECTIVE_WAITREL,
85 INTERNAL_STATE_MACHINE_SIGNAL,
98 BYTE directive_allocateIntIfSize[
102 BYTE directive_callIntIfSize[
106 BYTE directive_constCmdIntIfSize[
110 BYTE directive_discardIntIfSize[
114 BYTE directive_exitIntIfSize[
118 BYTE directive_getFieldIntIfSize[
122 BYTE directive_gotoIntIfSize[
126 BYTE directive_ifIntIfSize[
130 BYTE directive_loadAbsIntIfSize[
134 BYTE directive_loadRelIntIfSize[
138 BYTE directive_memCmpIntIfSize[
142 BYTE directive_noOpIntIfSize[
146 BYTE directive_peekIntIfSize[
150 BYTE directive_popEventIntIfSize[
154 BYTE directive_popSerializableIntIfSize[
158 BYTE directive_pushPrmIntIfSize[
162 BYTE directive_pushRandIntIfSize[
166 BYTE directive_pushTimeIntIfSize[
170 BYTE directive_pushTlmValIntIfSize[
174 BYTE directive_pushTlmValAndTimeIntIfSize[
178 BYTE directive_pushValIntIfSize[
182 BYTE directive_returnIntIfSize[
186 BYTE directive_setSeedIntIfSize[
190 BYTE directive_stackCmdIntIfSize[
194 BYTE directive_stackOpIntIfSize[
198 BYTE directive_storeAbsIntIfSize[
202 BYTE directive_storeAbsConstOffsetIntIfSize[
206 BYTE directive_storeRelIntIfSize[
210 BYTE directive_storeRelConstOffsetIntIfSize[
214 BYTE directive_waitAbsIntIfSize[
218 BYTE directive_waitRelIntIfSize[
224 BYTE internalSmBufferSize[SmSignalBuffer::SERIALIZED_SIZE];
229 class ComponentIpcSerializableBuffer :
239 MAX_DATA_SIZE =
sizeof(BuffUnion),
241 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
244 ComponentIpcSerializableBuffer() :
Fw::LinearBufferBase(m_buff, sizeof(m_buff)) {
250 U8 m_buff[SERIALIZATION_SIZE];
261 m_component(component)
269 this->initBase(static_cast<FwEnumStoreType>(smId));
278 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
279 action_signalEntered(
Signal signal)
281 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_signalEntered(this->getId(), signal);
284 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
285 action_setSequenceFilePath(
290 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setSequenceFilePath(this->getId(), signal, value);
293 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
294 action_setSequenceBlockState(
299 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setSequenceBlockState(this->getId(), signal, value);
302 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
303 action_setSequenceArguments(
308 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setSequenceArguments(this->getId(), signal, value);
311 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
312 action_validate(
Signal signal)
314 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_validate(this->getId(), signal);
317 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
318 action_report_seqSucceeded(
Signal signal)
320 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqSucceeded(this->getId(), signal);
323 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
324 action_report_seqCancelled(
Signal signal)
326 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqCancelled(this->getId(), signal);
329 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
330 action_report_seqFailed(
Signal signal)
332 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqFailed(this->getId(), signal);
335 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
336 action_report_seqStarted(
Signal signal)
338 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqStarted(this->getId(), signal);
341 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
342 action_setGoalState_RUNNING(
Signal signal)
344 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_RUNNING(this->getId(), signal);
347 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
348 action_setGoalState_VALID(
Signal signal)
350 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_VALID(this->getId(), signal);
353 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
354 action_setGoalState_IDLE(
Signal signal)
356 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_IDLE(this->getId(), signal);
359 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
360 action_sendCmdResponse_OK(
Signal signal)
362 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_sendCmdResponse_OK(this->getId(), signal);
365 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
366 action_sendCmdResponse_EXECUTION_ERROR(
Signal signal)
368 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_sendCmdResponse_EXECUTION_ERROR(this->getId(), signal);
371 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
372 action_clearSequenceFile(
Signal signal)
374 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearSequenceFile(this->getId(), signal);
377 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
378 action_clearBreakpoint(
Signal signal)
380 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearBreakpoint(this->getId(), signal);
383 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
384 action_clearSequenceArguments(
Signal signal)
386 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearSequenceArguments(this->getId(), signal);
389 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
390 action_checkShouldWake(
Signal signal)
392 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_checkShouldWake(this->getId(), signal);
395 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
396 action_dispatchStatement(
Signal signal)
398 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_dispatchStatement(this->getId(), signal);
401 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
402 action_resetRuntime(
Signal signal)
404 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_resetRuntime(this->getId(), signal);
407 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
408 action_checkStatementTimeout(
Signal signal)
410 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_checkStatementTimeout(this->getId(), signal);
413 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
414 action_incrementSequenceCounter(
Signal signal)
416 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_incrementSequenceCounter(this->getId(), signal);
419 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
420 action_pushArgsToStack(
Signal signal)
422 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_pushArgsToStack(this->getId(), signal);
425 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
426 action_report_seqBroken(
Signal signal)
428 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqBroken(this->getId(), signal);
431 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
432 action_setBreakpoint(
437 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setBreakpoint(this->getId(), signal, value);
440 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
441 action_setBreakBeforeNextLine(
Signal signal)
443 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setBreakBeforeNextLine(this->getId(), signal);
446 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
447 action_clearBreakBeforeNextLine(
Signal signal)
449 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearBreakBeforeNextLine(this->getId(), signal);
452 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
453 guard_goalStateIs_RUNNING(
Signal signal)
const 455 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_goalStateIs_RUNNING(this->getId(), signal);
458 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
459 guard_shouldBreak(
Signal signal)
const 461 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_shouldBreak(this->getId(), signal);
464 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
465 guard_breakOnce(
Signal signal)
const 467 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_breakOnce(this->getId(), signal);
486 #if !FW_DIRECT_PORT_CALLS 493 this->m_cmdIn_InputPort[port].
init();
498 this->m_cmdIn_InputPort[port].
setPortNum(port);
500 #if FW_OBJECT_NAMES == 1 504 this->m_objName.toChar(),
507 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
512 #if !FW_DIRECT_PORT_CALLS 519 this->m_checkTimers_InputPort[port].
init();
524 this->m_checkTimers_InputPort[port].
setPortNum(port);
526 #if FW_OBJECT_NAMES == 1 530 this->m_objName.toChar(),
533 this->m_checkTimers_InputPort[port].setObjName(portName.
toChar());
538 #if !FW_DIRECT_PORT_CALLS 545 this->m_cmdResponseIn_InputPort[port].
init();
550 this->m_cmdResponseIn_InputPort[port].
setPortNum(port);
552 #if FW_OBJECT_NAMES == 1 556 this->m_objName.toChar(),
559 this->m_cmdResponseIn_InputPort[port].setObjName(portName.
toChar());
564 #if !FW_DIRECT_PORT_CALLS 571 this->m_pingIn_InputPort[port].
init();
576 this->m_pingIn_InputPort[port].
setPortNum(port);
578 #if FW_OBJECT_NAMES == 1 582 this->m_objName.toChar(),
585 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
590 #if !FW_DIRECT_PORT_CALLS 597 this->m_seqCancelIn_InputPort[port].
init();
602 this->m_seqCancelIn_InputPort[port].
setPortNum(port);
604 #if FW_OBJECT_NAMES == 1 608 this->m_objName.toChar(),
611 this->m_seqCancelIn_InputPort[port].setObjName(portName.
toChar());
616 #if !FW_DIRECT_PORT_CALLS 623 this->m_seqRunIn_InputPort[port].
init();
628 this->m_seqRunIn_InputPort[port].
setPortNum(port);
630 #if FW_OBJECT_NAMES == 1 634 this->m_objName.toChar(),
637 this->m_seqRunIn_InputPort[port].setObjName(portName.
toChar());
642 #if !FW_DIRECT_PORT_CALLS 649 this->m_tlmWrite_InputPort[port].
init();
654 this->m_tlmWrite_InputPort[port].
setPortNum(port);
656 #if FW_OBJECT_NAMES == 1 660 this->m_objName.toChar(),
663 this->m_tlmWrite_InputPort[port].setObjName(portName.
toChar());
668 #if !FW_DIRECT_PORT_CALLS 675 this->m_cmdRegOut_OutputPort[port].
init();
677 #if FW_OBJECT_NAMES == 1 681 this->m_objName.toChar(),
684 this->m_cmdRegOut_OutputPort[port].setObjName(portName.
toChar());
689 #if !FW_DIRECT_PORT_CALLS 696 this->m_cmdResponseOut_OutputPort[port].
init();
698 #if FW_OBJECT_NAMES == 1 702 this->m_objName.toChar(),
705 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
710 #if !FW_DIRECT_PORT_CALLS 717 this->m_logOut_OutputPort[port].
init();
719 #if FW_OBJECT_NAMES == 1 723 this->m_objName.toChar(),
726 this->m_logOut_OutputPort[port].setObjName(portName.
toChar());
731 #if !FW_DIRECT_PORT_CALLS && FW_ENABLE_TEXT_LOGGING 735 port < static_cast<FwIndexType>(this->getNum_logTextOut_OutputPorts());
738 this->m_logTextOut_OutputPort[port].
init();
740 #if FW_OBJECT_NAMES == 1 744 this->m_objName.toChar(),
747 this->m_logTextOut_OutputPort[port].setObjName(portName.
toChar());
752 #if !FW_DIRECT_PORT_CALLS 759 this->m_prmGet_OutputPort[port].
init();
761 #if FW_OBJECT_NAMES == 1 765 this->m_objName.toChar(),
768 this->m_prmGet_OutputPort[port].setObjName(portName.
toChar());
773 #if !FW_DIRECT_PORT_CALLS 780 this->m_prmSet_OutputPort[port].
init();
782 #if FW_OBJECT_NAMES == 1 786 this->m_objName.toChar(),
789 this->m_prmSet_OutputPort[port].setObjName(portName.
toChar());
794 #if !FW_DIRECT_PORT_CALLS 801 this->m_timeCaller_OutputPort[port].
init();
803 #if FW_OBJECT_NAMES == 1 807 this->m_objName.toChar(),
810 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
815 #if !FW_DIRECT_PORT_CALLS 822 this->m_tlmOut_OutputPort[port].
init();
824 #if FW_OBJECT_NAMES == 1 828 this->m_objName.toChar(),
831 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
836 #if !FW_DIRECT_PORT_CALLS 843 this->m_cmdOut_OutputPort[port].
init();
845 #if FW_OBJECT_NAMES == 1 849 this->m_objName.toChar(),
852 this->m_cmdOut_OutputPort[port].setObjName(portName.
toChar());
857 #if !FW_DIRECT_PORT_CALLS 864 this->m_getParam_OutputPort[port].
init();
866 #if FW_OBJECT_NAMES == 1 870 this->m_objName.toChar(),
873 this->m_getParam_OutputPort[port].setObjName(portName.
toChar());
878 #if !FW_DIRECT_PORT_CALLS 885 this->m_getTlmChan_OutputPort[port].
init();
887 #if FW_OBJECT_NAMES == 1 891 this->m_objName.toChar(),
894 this->m_getTlmChan_OutputPort[port].setObjName(portName.
toChar());
899 #if !FW_DIRECT_PORT_CALLS 906 this->m_pingOut_OutputPort[port].
init();
908 #if FW_OBJECT_NAMES == 1 912 this->m_objName.toChar(),
915 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
920 #if !FW_DIRECT_PORT_CALLS 927 this->m_seqDoneOut_OutputPort[port].
init();
929 #if FW_OBJECT_NAMES == 1 933 this->m_objName.toChar(),
936 this->m_seqDoneOut_OutputPort[port].setObjName(portName.
toChar());
941 #if !FW_DIRECT_PORT_CALLS 948 this->m_seqStartOut_OutputPort[port].
init();
950 #if FW_OBJECT_NAMES == 1 954 this->m_objName.toChar(),
957 this->m_seqStartOut_OutputPort[port].setObjName(portName.
toChar());
962 #if !FW_DIRECT_PORT_CALLS 969 this->m_serialOut_OutputPort[port].init();
971 #if FW_OBJECT_NAMES == 1 975 this->m_objName.toChar(),
978 this->m_serialOut_OutputPort[port].setObjName(portName.
toChar());
986 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
990 static_cast<FwAssertArgType>(qStat)
994 #if !FW_DIRECT_PORT_CALLS 1005 static_cast<FwAssertArgType>(portNum)
1008 return &this->m_cmdIn_InputPort[portNum];
1013 #if !FW_DIRECT_PORT_CALLS 1024 static_cast<FwAssertArgType>(portNum)
1027 return &this->m_checkTimers_InputPort[portNum];
1035 static_cast<FwAssertArgType>(portNum)
1038 return &this->m_cmdResponseIn_InputPort[portNum];
1046 static_cast<FwAssertArgType>(portNum)
1049 return &this->m_pingIn_InputPort[portNum];
1057 static_cast<FwAssertArgType>(portNum)
1060 return &this->m_seqCancelIn_InputPort[portNum];
1068 static_cast<FwAssertArgType>(portNum)
1071 return &this->m_seqRunIn_InputPort[portNum];
1079 static_cast<FwAssertArgType>(portNum)
1082 return &this->m_tlmWrite_InputPort[portNum];
1087 #if !FW_DIRECT_PORT_CALLS 1101 static_cast<FwAssertArgType>(portNum)
1104 this->m_cmdRegOut_OutputPort[portNum].
addCallPort(port);
1115 static_cast<FwAssertArgType>(portNum)
1118 this->m_cmdResponseOut_OutputPort[portNum].
addCallPort(port);
1129 static_cast<FwAssertArgType>(portNum)
1132 this->m_logOut_OutputPort[portNum].
addCallPort(port);
1135 #if FW_ENABLE_TEXT_LOGGING == 1 1137 void FpySequencerComponentBase ::
1138 set_logTextOut_OutputPort(
1144 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1145 static_cast<FwAssertArgType>(portNum)
1148 this->m_logTextOut_OutputPort[portNum].addCallPort(port);
1161 static_cast<FwAssertArgType>(portNum)
1164 this->m_prmGet_OutputPort[portNum].
addCallPort(port);
1175 static_cast<FwAssertArgType>(portNum)
1178 this->m_prmSet_OutputPort[portNum].
addCallPort(port);
1189 static_cast<FwAssertArgType>(portNum)
1192 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
1203 static_cast<FwAssertArgType>(portNum)
1206 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
1211 #if !FW_DIRECT_PORT_CALLS 1225 static_cast<FwAssertArgType>(portNum)
1228 this->m_cmdOut_OutputPort[portNum].
addCallPort(port);
1239 static_cast<FwAssertArgType>(portNum)
1242 this->m_getParam_OutputPort[portNum].
addCallPort(port);
1253 static_cast<FwAssertArgType>(portNum)
1256 this->m_getTlmChan_OutputPort[portNum].
addCallPort(port);
1267 static_cast<FwAssertArgType>(portNum)
1270 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
1281 static_cast<FwAssertArgType>(portNum)
1284 this->m_seqDoneOut_OutputPort[portNum].
addCallPort(port);
1295 static_cast<FwAssertArgType>(portNum)
1298 this->m_seqStartOut_OutputPort[portNum].
addCallPort(port);
1303 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 1312 Fw::InputSerializePort* port
1317 static_cast<FwAssertArgType>(portNum)
1320 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
1326 Fw::InputSerializePort* port
1331 static_cast<FwAssertArgType>(portNum)
1334 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
1340 Fw::InputSerializePort* port
1345 static_cast<FwAssertArgType>(portNum)
1348 this->m_logOut_OutputPort[portNum].registerSerialPort(port);
1351 #if FW_ENABLE_TEXT_LOGGING == 1 1353 void FpySequencerComponentBase ::
1354 set_logTextOut_OutputPort(
1356 Fw::InputSerializePort* port
1360 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1361 static_cast<FwAssertArgType>(portNum)
1364 this->m_logTextOut_OutputPort[portNum].registerSerialPort(port);
1372 Fw::InputSerializePort* port
1377 static_cast<FwAssertArgType>(portNum)
1380 this->m_prmSet_OutputPort[portNum].registerSerialPort(port);
1386 Fw::InputSerializePort* port
1391 static_cast<FwAssertArgType>(portNum)
1394 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
1400 Fw::InputSerializePort* port
1405 static_cast<FwAssertArgType>(portNum)
1408 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
1413 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 1422 Fw::InputSerializePort* port
1427 static_cast<FwAssertArgType>(portNum)
1430 this->m_cmdOut_OutputPort[portNum].registerSerialPort(port);
1436 Fw::InputSerializePort* port
1441 static_cast<FwAssertArgType>(portNum)
1444 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
1450 Fw::InputSerializePort* port
1455 static_cast<FwAssertArgType>(portNum)
1458 this->m_seqDoneOut_OutputPort[portNum].registerSerialPort(port);
1464 Fw::InputSerializePort* port
1469 static_cast<FwAssertArgType>(portNum)
1472 this->m_seqStartOut_OutputPort[portNum].registerSerialPort(port);
1477 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 1483 void FpySequencerComponentBase ::
1484 set_serialOut_OutputPort(
1491 static_cast<FwAssertArgType>(portNum)
1494 this->m_serialOut_OutputPort[portNum].registerSerialPort(port);
1508 this->cmdRegOut_out(
1513 this->cmdRegOut_out(
1518 this->cmdRegOut_out(
1523 this->cmdRegOut_out(
1528 this->cmdRegOut_out(
1533 this->cmdRegOut_out(
1538 this->cmdRegOut_out(
1543 this->cmdRegOut_out(
1548 this->cmdRegOut_out(
1553 this->cmdRegOut_out(
1558 this->cmdRegOut_out(
1563 this->cmdRegOut_out(
1568 this->cmdRegOut_out(
1573 this->cmdRegOut_out(
1578 this->cmdRegOut_out(
1583 this->cmdRegOut_out(
1606 this->m_param_STATEMENT_TIMEOUT_SECS_valid = this->prmGet_out(
1612 this->m_paramLock.
lock();
1616 _stat = _paramBuffer.
deserializeTo(this->m_STATEMENT_TIMEOUT_SECS);
1625 this->m_STATEMENT_TIMEOUT_SECS = 0.0f;
1628 this->m_paramLock.
unlock();
1633 this->m_param_SEQ_BASE_DIR_valid = this->prmGet_out(
1639 this->m_paramLock.
lock();
1655 this->m_paramLock.
unlock();
1668 m_stateMachine_sequencer(*this)
1679 #if !FW_DIRECT_PORT_CALLS 1690 static_cast<FwAssertArgType>(portNum)
1693 return this->m_cmdRegOut_OutputPort[portNum].
isConnected();
1701 static_cast<FwAssertArgType>(portNum)
1704 return this->m_cmdResponseOut_OutputPort[portNum].
isConnected();
1712 static_cast<FwAssertArgType>(portNum)
1715 return this->m_logOut_OutputPort[portNum].
isConnected();
1718 #if FW_ENABLE_TEXT_LOGGING == 1 1720 bool FpySequencerComponentBase ::
1721 isConnected_logTextOut_OutputPort(
FwIndexType portNum)
const 1724 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1725 static_cast<FwAssertArgType>(portNum)
1728 return this->m_logTextOut_OutputPort[portNum].isConnected();
1738 static_cast<FwAssertArgType>(portNum)
1741 return this->m_prmGet_OutputPort[portNum].
isConnected();
1749 static_cast<FwAssertArgType>(portNum)
1752 return this->m_prmSet_OutputPort[portNum].
isConnected();
1760 static_cast<FwAssertArgType>(portNum)
1763 return this->m_timeCaller_OutputPort[portNum].
isConnected();
1771 static_cast<FwAssertArgType>(portNum)
1774 return this->m_tlmOut_OutputPort[portNum].
isConnected();
1779 #if !FW_DIRECT_PORT_CALLS 1790 static_cast<FwAssertArgType>(portNum)
1793 return this->m_cmdOut_OutputPort[portNum].
isConnected();
1801 static_cast<FwAssertArgType>(portNum)
1804 return this->m_getParam_OutputPort[portNum].
isConnected();
1812 static_cast<FwAssertArgType>(portNum)
1815 return this->m_getTlmChan_OutputPort[portNum].
isConnected();
1823 static_cast<FwAssertArgType>(portNum)
1826 return this->m_pingOut_OutputPort[portNum].
isConnected();
1834 static_cast<FwAssertArgType>(portNum)
1837 return this->m_seqDoneOut_OutputPort[portNum].
isConnected();
1845 static_cast<FwAssertArgType>(portNum)
1848 return this->m_seqStartOut_OutputPort[portNum].
isConnected();
1853 #if !FW_DIRECT_PORT_CALLS 1864 static_cast<FwAssertArgType>(portNum)
1867 return this->m_serialOut_OutputPort[portNum].isConnected();
1888 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
1891 switch (opCode - idBase) {
2060 static_cast<FwAssertArgType>(portNum)
2068 ComponentIpcSerializableBuffer msg;
2072 _status = msg.serializeFrom(
2073 static_cast<FwEnumStoreType>(CHECKTIMERS_SCHED)
2077 static_cast<FwAssertArgType>(_status)
2081 _status = msg.serializeFrom(portNum);
2084 static_cast<FwAssertArgType>(_status)
2088 _status = msg.serializeFrom(context);
2091 static_cast<FwAssertArgType>(_status)
2100 static_cast<FwAssertArgType>(qStatus)
2115 static_cast<FwAssertArgType>(portNum)
2125 ComponentIpcSerializableBuffer msg;
2129 _status = msg.serializeFrom(
2130 static_cast<FwEnumStoreType>(CMDRESPONSEIN_CMDRESPONSE)
2134 static_cast<FwAssertArgType>(_status)
2138 _status = msg.serializeFrom(portNum);
2141 static_cast<FwAssertArgType>(_status)
2145 _status = msg.serializeFrom(opCode);
2148 static_cast<FwAssertArgType>(_status)
2152 _status = msg.serializeFrom(cmdSeq);
2155 static_cast<FwAssertArgType>(_status)
2159 _status = msg.serializeFrom(response);
2162 static_cast<FwAssertArgType>(_status)
2171 static_cast<FwAssertArgType>(qStatus)
2184 static_cast<FwAssertArgType>(portNum)
2192 ComponentIpcSerializableBuffer msg;
2196 _status = msg.serializeFrom(
2197 static_cast<FwEnumStoreType>(PINGIN_PING)
2201 static_cast<FwAssertArgType>(_status)
2205 _status = msg.serializeFrom(portNum);
2208 static_cast<FwAssertArgType>(_status)
2212 _status = msg.serializeFrom(key);
2215 static_cast<FwAssertArgType>(_status)
2224 static_cast<FwAssertArgType>(qStatus)
2234 static_cast<FwAssertArgType>(portNum)
2239 ComponentIpcSerializableBuffer msg;
2243 _status = msg.serializeFrom(
2244 static_cast<FwEnumStoreType>(SEQCANCELIN_CMDSEQCANCEL)
2248 static_cast<FwAssertArgType>(_status)
2252 _status = msg.serializeFrom(portNum);
2255 static_cast<FwAssertArgType>(_status)
2264 static_cast<FwAssertArgType>(qStatus)
2278 static_cast<FwAssertArgType>(portNum)
2287 ComponentIpcSerializableBuffer msg;
2291 _status = msg.serializeFrom(
2292 static_cast<FwEnumStoreType>(SEQRUNIN_CMDSEQIN)
2296 static_cast<FwAssertArgType>(_status)
2300 _status = msg.serializeFrom(portNum);
2303 static_cast<FwAssertArgType>(_status)
2310 static_cast<FwAssertArgType>(_status)
2314 _status = msg.serializeFrom(args);
2317 static_cast<FwAssertArgType>(_status)
2326 static_cast<FwAssertArgType>(qStatus)
2339 static_cast<FwAssertArgType>(portNum)
2347 ComponentIpcSerializableBuffer msg;
2351 _status = msg.serializeFrom(
2352 static_cast<FwEnumStoreType>(TLMWRITE_SCHED)
2356 static_cast<FwAssertArgType>(_status)
2360 _status = msg.serializeFrom(portNum);
2363 static_cast<FwAssertArgType>(_status)
2367 _status = msg.serializeFrom(context);
2370 static_cast<FwAssertArgType>(_status)
2379 static_cast<FwAssertArgType>(qStatus)
2445 #if !FW_DIRECT_PORT_CALLS 2460 static_cast<FwAssertArgType>(portNum)
2464 this->m_cmdOut_OutputPort[portNum].isConnected(),
2465 static_cast<FwAssertArgType>(portNum)
2467 this->m_cmdOut_OutputPort[portNum].
invoke(
2482 static_cast<FwAssertArgType>(portNum)
2486 this->m_getParam_OutputPort[portNum].isConnected(),
2487 static_cast<FwAssertArgType>(portNum)
2489 return this->m_getParam_OutputPort[portNum].
invoke(
2505 static_cast<FwAssertArgType>(portNum)
2509 this->m_getTlmChan_OutputPort[portNum].isConnected(),
2510 static_cast<FwAssertArgType>(portNum)
2512 return this->m_getTlmChan_OutputPort[portNum].
invoke(
2527 static_cast<FwAssertArgType>(portNum)
2531 this->m_pingOut_OutputPort[portNum].isConnected(),
2532 static_cast<FwAssertArgType>(portNum)
2534 this->m_pingOut_OutputPort[portNum].
invoke(
2549 static_cast<FwAssertArgType>(portNum)
2553 this->m_seqDoneOut_OutputPort[portNum].isConnected(),
2554 static_cast<FwAssertArgType>(portNum)
2556 this->m_seqDoneOut_OutputPort[portNum].
invoke(
2572 static_cast<FwAssertArgType>(portNum)
2576 this->m_seqStartOut_OutputPort[portNum].isConnected(),
2577 static_cast<FwAssertArgType>(portNum)
2579 this->m_seqStartOut_OutputPort[portNum].
invoke(
2587 #if !FW_DIRECT_PORT_CALLS 2601 static_cast<FwAssertArgType>(portNum)
2605 this->m_serialOut_OutputPort[portNum].isConnected(),
2606 static_cast<FwAssertArgType>(portNum)
2608 return this->m_serialOut_OutputPort[portNum].invokeSerial(
2622 ComponentIpcSerializableBuffer msg;
2626 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_ALLOCATE));
2629 static_cast<FwAssertArgType>(_status)
2633 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2636 static_cast<FwAssertArgType>(_status)
2639 _status = msg.serializeFrom(directive);
2642 static_cast<FwAssertArgType>(_status)
2651 static_cast<FwAssertArgType>(qStatus)
2658 ComponentIpcSerializableBuffer msg;
2662 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_CALL));
2665 static_cast<FwAssertArgType>(_status)
2669 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2672 static_cast<FwAssertArgType>(_status)
2675 _status = msg.serializeFrom(directive);
2678 static_cast<FwAssertArgType>(_status)
2687 static_cast<FwAssertArgType>(qStatus)
2694 ComponentIpcSerializableBuffer msg;
2698 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_CONSTCMD));
2701 static_cast<FwAssertArgType>(_status)
2705 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2708 static_cast<FwAssertArgType>(_status)
2711 _status = msg.serializeFrom(directive);
2714 static_cast<FwAssertArgType>(_status)
2723 static_cast<FwAssertArgType>(qStatus)
2730 ComponentIpcSerializableBuffer msg;
2734 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_DISCARD));
2737 static_cast<FwAssertArgType>(_status)
2741 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2744 static_cast<FwAssertArgType>(_status)
2747 _status = msg.serializeFrom(directive);
2750 static_cast<FwAssertArgType>(_status)
2759 static_cast<FwAssertArgType>(qStatus)
2766 ComponentIpcSerializableBuffer msg;
2770 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_EXIT));
2773 static_cast<FwAssertArgType>(_status)
2777 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2780 static_cast<FwAssertArgType>(_status)
2783 _status = msg.serializeFrom(directive);
2786 static_cast<FwAssertArgType>(_status)
2795 static_cast<FwAssertArgType>(qStatus)
2802 ComponentIpcSerializableBuffer msg;
2806 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_GETFIELD));
2809 static_cast<FwAssertArgType>(_status)
2813 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2816 static_cast<FwAssertArgType>(_status)
2819 _status = msg.serializeFrom(directive);
2822 static_cast<FwAssertArgType>(_status)
2831 static_cast<FwAssertArgType>(qStatus)
2838 ComponentIpcSerializableBuffer msg;
2842 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_GOTO));
2845 static_cast<FwAssertArgType>(_status)
2849 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2852 static_cast<FwAssertArgType>(_status)
2855 _status = msg.serializeFrom(directive);
2858 static_cast<FwAssertArgType>(_status)
2867 static_cast<FwAssertArgType>(qStatus)
2874 ComponentIpcSerializableBuffer msg;
2878 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_IF));
2881 static_cast<FwAssertArgType>(_status)
2885 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2888 static_cast<FwAssertArgType>(_status)
2891 _status = msg.serializeFrom(directive);
2894 static_cast<FwAssertArgType>(_status)
2903 static_cast<FwAssertArgType>(qStatus)
2910 ComponentIpcSerializableBuffer msg;
2914 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_LOADABS));
2917 static_cast<FwAssertArgType>(_status)
2921 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2924 static_cast<FwAssertArgType>(_status)
2927 _status = msg.serializeFrom(directive);
2930 static_cast<FwAssertArgType>(_status)
2939 static_cast<FwAssertArgType>(qStatus)
2946 ComponentIpcSerializableBuffer msg;
2950 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_LOADREL));
2953 static_cast<FwAssertArgType>(_status)
2957 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2960 static_cast<FwAssertArgType>(_status)
2963 _status = msg.serializeFrom(directive);
2966 static_cast<FwAssertArgType>(_status)
2975 static_cast<FwAssertArgType>(qStatus)
2982 ComponentIpcSerializableBuffer msg;
2986 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_MEMCMP));
2989 static_cast<FwAssertArgType>(_status)
2993 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2996 static_cast<FwAssertArgType>(_status)
2999 _status = msg.serializeFrom(directive);
3002 static_cast<FwAssertArgType>(_status)
3011 static_cast<FwAssertArgType>(qStatus)
3018 ComponentIpcSerializableBuffer msg;
3022 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_NOOP));
3025 static_cast<FwAssertArgType>(_status)
3029 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3032 static_cast<FwAssertArgType>(_status)
3035 _status = msg.serializeFrom(directive);
3038 static_cast<FwAssertArgType>(_status)
3047 static_cast<FwAssertArgType>(qStatus)
3054 ComponentIpcSerializableBuffer msg;
3058 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PEEK));
3061 static_cast<FwAssertArgType>(_status)
3065 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3068 static_cast<FwAssertArgType>(_status)
3071 _status = msg.serializeFrom(directive);
3074 static_cast<FwAssertArgType>(_status)
3083 static_cast<FwAssertArgType>(qStatus)
3090 ComponentIpcSerializableBuffer msg;
3094 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_POPEVENT));
3097 static_cast<FwAssertArgType>(_status)
3101 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3104 static_cast<FwAssertArgType>(_status)
3107 _status = msg.serializeFrom(directive);
3110 static_cast<FwAssertArgType>(_status)
3119 static_cast<FwAssertArgType>(qStatus)
3126 ComponentIpcSerializableBuffer msg;
3130 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_POPSERIALIZABLE));
3133 static_cast<FwAssertArgType>(_status)
3137 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3140 static_cast<FwAssertArgType>(_status)
3143 _status = msg.serializeFrom(directive);
3146 static_cast<FwAssertArgType>(_status)
3155 static_cast<FwAssertArgType>(qStatus)
3162 ComponentIpcSerializableBuffer msg;
3166 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHPRM));
3169 static_cast<FwAssertArgType>(_status)
3173 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3176 static_cast<FwAssertArgType>(_status)
3179 _status = msg.serializeFrom(directive);
3182 static_cast<FwAssertArgType>(_status)
3191 static_cast<FwAssertArgType>(qStatus)
3198 ComponentIpcSerializableBuffer msg;
3202 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHRAND));
3205 static_cast<FwAssertArgType>(_status)
3209 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3212 static_cast<FwAssertArgType>(_status)
3215 _status = msg.serializeFrom(directive);
3218 static_cast<FwAssertArgType>(_status)
3227 static_cast<FwAssertArgType>(qStatus)
3234 ComponentIpcSerializableBuffer msg;
3238 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHTIME));
3241 static_cast<FwAssertArgType>(_status)
3245 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3248 static_cast<FwAssertArgType>(_status)
3251 _status = msg.serializeFrom(directive);
3254 static_cast<FwAssertArgType>(_status)
3263 static_cast<FwAssertArgType>(qStatus)
3270 ComponentIpcSerializableBuffer msg;
3274 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHTLMVAL));
3277 static_cast<FwAssertArgType>(_status)
3281 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3284 static_cast<FwAssertArgType>(_status)
3287 _status = msg.serializeFrom(directive);
3290 static_cast<FwAssertArgType>(_status)
3299 static_cast<FwAssertArgType>(qStatus)
3306 ComponentIpcSerializableBuffer msg;
3310 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHTLMVALANDTIME));
3313 static_cast<FwAssertArgType>(_status)
3317 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3320 static_cast<FwAssertArgType>(_status)
3323 _status = msg.serializeFrom(directive);
3326 static_cast<FwAssertArgType>(_status)
3335 static_cast<FwAssertArgType>(qStatus)
3342 ComponentIpcSerializableBuffer msg;
3346 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHVAL));
3349 static_cast<FwAssertArgType>(_status)
3353 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3356 static_cast<FwAssertArgType>(_status)
3359 _status = msg.serializeFrom(directive);
3362 static_cast<FwAssertArgType>(_status)
3371 static_cast<FwAssertArgType>(qStatus)
3378 ComponentIpcSerializableBuffer msg;
3382 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_RETURN));
3385 static_cast<FwAssertArgType>(_status)
3389 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3392 static_cast<FwAssertArgType>(_status)
3395 _status = msg.serializeFrom(directive);
3398 static_cast<FwAssertArgType>(_status)
3407 static_cast<FwAssertArgType>(qStatus)
3414 ComponentIpcSerializableBuffer msg;
3418 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_SETSEED));
3421 static_cast<FwAssertArgType>(_status)
3425 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3428 static_cast<FwAssertArgType>(_status)
3431 _status = msg.serializeFrom(directive);
3434 static_cast<FwAssertArgType>(_status)
3443 static_cast<FwAssertArgType>(qStatus)
3450 ComponentIpcSerializableBuffer msg;
3454 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STACKCMD));
3457 static_cast<FwAssertArgType>(_status)
3461 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3464 static_cast<FwAssertArgType>(_status)
3467 _status = msg.serializeFrom(directive);
3470 static_cast<FwAssertArgType>(_status)
3479 static_cast<FwAssertArgType>(qStatus)
3486 ComponentIpcSerializableBuffer msg;
3490 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STACKOP));
3493 static_cast<FwAssertArgType>(_status)
3497 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3500 static_cast<FwAssertArgType>(_status)
3503 _status = msg.serializeFrom(directive);
3506 static_cast<FwAssertArgType>(_status)
3515 static_cast<FwAssertArgType>(qStatus)
3522 ComponentIpcSerializableBuffer msg;
3526 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STOREABS));
3529 static_cast<FwAssertArgType>(_status)
3533 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3536 static_cast<FwAssertArgType>(_status)
3539 _status = msg.serializeFrom(directive);
3542 static_cast<FwAssertArgType>(_status)
3551 static_cast<FwAssertArgType>(qStatus)
3558 ComponentIpcSerializableBuffer msg;
3562 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STOREABSCONSTOFFSET));
3565 static_cast<FwAssertArgType>(_status)
3569 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3572 static_cast<FwAssertArgType>(_status)
3575 _status = msg.serializeFrom(directive);
3578 static_cast<FwAssertArgType>(_status)
3587 static_cast<FwAssertArgType>(qStatus)
3594 ComponentIpcSerializableBuffer msg;
3598 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STOREREL));
3601 static_cast<FwAssertArgType>(_status)
3605 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3608 static_cast<FwAssertArgType>(_status)
3611 _status = msg.serializeFrom(directive);
3614 static_cast<FwAssertArgType>(_status)
3623 static_cast<FwAssertArgType>(qStatus)
3630 ComponentIpcSerializableBuffer msg;
3634 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STORERELCONSTOFFSET));
3637 static_cast<FwAssertArgType>(_status)
3641 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3644 static_cast<FwAssertArgType>(_status)
3647 _status = msg.serializeFrom(directive);
3650 static_cast<FwAssertArgType>(_status)
3659 static_cast<FwAssertArgType>(qStatus)
3666 ComponentIpcSerializableBuffer msg;
3670 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_WAITABS));
3673 static_cast<FwAssertArgType>(_status)
3677 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3680 static_cast<FwAssertArgType>(_status)
3683 _status = msg.serializeFrom(directive);
3686 static_cast<FwAssertArgType>(_status)
3695 static_cast<FwAssertArgType>(qStatus)
3702 ComponentIpcSerializableBuffer msg;
3706 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_WAITREL));
3709 static_cast<FwAssertArgType>(_status)
3713 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3716 static_cast<FwAssertArgType>(_status)
3719 _status = msg.serializeFrom(directive);
3722 static_cast<FwAssertArgType>(_status)
3731 static_cast<FwAssertArgType>(qStatus)
3742 return this->m_stateMachine_sequencer.
getState();
3752 ComponentIpcSerializableBuffer buffer;
3759 this->sequencer_sendSignalFinish(buffer);
3765 ComponentIpcSerializableBuffer buffer;
3772 this->sequencer_sendSignalFinish(buffer);
3778 ComponentIpcSerializableBuffer buffer;
3785 this->sequencer_sendSignalFinish(buffer);
3791 ComponentIpcSerializableBuffer buffer;
3795 this->sequencer_sendSignalFinish(buffer);
3801 ComponentIpcSerializableBuffer buffer;
3808 this->sequencer_sendSignalFinish(buffer);
3814 ComponentIpcSerializableBuffer buffer;
3818 this->sequencer_sendSignalFinish(buffer);
3824 ComponentIpcSerializableBuffer buffer;
3828 this->sequencer_sendSignalFinish(buffer);
3834 ComponentIpcSerializableBuffer buffer;
3838 this->sequencer_sendSignalFinish(buffer);
3844 ComponentIpcSerializableBuffer buffer;
3848 this->sequencer_sendSignalFinish(buffer);
3854 ComponentIpcSerializableBuffer buffer;
3858 this->sequencer_sendSignalFinish(buffer);
3864 ComponentIpcSerializableBuffer buffer;
3868 this->sequencer_sendSignalFinish(buffer);
3874 ComponentIpcSerializableBuffer buffer;
3878 this->sequencer_sendSignalFinish(buffer);
3884 ComponentIpcSerializableBuffer buffer;
3888 this->sequencer_sendSignalFinish(buffer);
3894 ComponentIpcSerializableBuffer buffer;
3898 this->sequencer_sendSignalFinish(buffer);
3904 ComponentIpcSerializableBuffer buffer;
3908 this->sequencer_sendSignalFinish(buffer);
3914 ComponentIpcSerializableBuffer buffer;
3918 this->sequencer_sendSignalFinish(buffer);
3924 ComponentIpcSerializableBuffer buffer;
3928 this->sequencer_sendSignalFinish(buffer);
3934 ComponentIpcSerializableBuffer buffer;
3938 this->sequencer_sendSignalFinish(buffer);
3944 ComponentIpcSerializableBuffer buffer;
3948 this->sequencer_sendSignalFinish(buffer);
3954 ComponentIpcSerializableBuffer buffer;
3958 this->sequencer_sendSignalFinish(buffer);
3964 ComponentIpcSerializableBuffer buffer;
3968 this->sequencer_sendSignalFinish(buffer);
3974 ComponentIpcSerializableBuffer buffer;
3978 this->sequencer_sendSignalFinish(buffer);
3984 ComponentIpcSerializableBuffer buffer;
3988 this->sequencer_sendSignalFinish(buffer);
3994 ComponentIpcSerializableBuffer buffer;
3998 this->sequencer_sendSignalFinish(buffer);
4004 ComponentIpcSerializableBuffer buffer;
4008 this->sequencer_sendSignalFinish(buffer);
4014 ComponentIpcSerializableBuffer buffer;
4018 this->sequencer_sendSignalFinish(buffer);
4033 this->cmdResponseOut_out(0, opCode, cmdSeq, response);
4054 ComponentIpcSerializableBuffer msg;
4058 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_RUN));
4061 static_cast<FwAssertArgType>(_status)
4067 _status = msg.serializeFrom(port);
4070 static_cast<FwAssertArgType>(_status)
4073 _status = msg.serializeFrom(opCode);
4076 static_cast<FwAssertArgType>(_status)
4079 _status = msg.serializeFrom(cmdSeq);
4082 static_cast<FwAssertArgType>(_status)
4085 _status = msg.serializeFrom(args);
4088 static_cast<FwAssertArgType>(_status)
4097 static_cast<FwAssertArgType>(qStatus)
4113 ComponentIpcSerializableBuffer msg;
4117 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_RUN_ARGS));
4120 static_cast<FwAssertArgType>(_status)
4126 _status = msg.serializeFrom(port);
4129 static_cast<FwAssertArgType>(_status)
4132 _status = msg.serializeFrom(opCode);
4135 static_cast<FwAssertArgType>(_status)
4138 _status = msg.serializeFrom(cmdSeq);
4141 static_cast<FwAssertArgType>(_status)
4144 _status = msg.serializeFrom(args);
4147 static_cast<FwAssertArgType>(_status)
4156 static_cast<FwAssertArgType>(qStatus)
4172 ComponentIpcSerializableBuffer msg;
4176 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_VALIDATE));
4179 static_cast<FwAssertArgType>(_status)
4185 _status = msg.serializeFrom(port);
4188 static_cast<FwAssertArgType>(_status)
4191 _status = msg.serializeFrom(opCode);
4194 static_cast<FwAssertArgType>(_status)
4197 _status = msg.serializeFrom(cmdSeq);
4200 static_cast<FwAssertArgType>(_status)
4203 _status = msg.serializeFrom(args);
4206 static_cast<FwAssertArgType>(_status)
4215 static_cast<FwAssertArgType>(qStatus)
4231 ComponentIpcSerializableBuffer msg;
4235 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_VALIDATE_ARGS));
4238 static_cast<FwAssertArgType>(_status)
4244 _status = msg.serializeFrom(port);
4247 static_cast<FwAssertArgType>(_status)
4250 _status = msg.serializeFrom(opCode);
4253 static_cast<FwAssertArgType>(_status)
4256 _status = msg.serializeFrom(cmdSeq);
4259 static_cast<FwAssertArgType>(_status)
4262 _status = msg.serializeFrom(args);
4265 static_cast<FwAssertArgType>(_status)
4274 static_cast<FwAssertArgType>(qStatus)
4290 ComponentIpcSerializableBuffer msg;
4294 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_RUN_VALIDATED));
4297 static_cast<FwAssertArgType>(_status)
4303 _status = msg.serializeFrom(port);
4306 static_cast<FwAssertArgType>(_status)
4309 _status = msg.serializeFrom(opCode);
4312 static_cast<FwAssertArgType>(_status)
4315 _status = msg.serializeFrom(cmdSeq);
4318 static_cast<FwAssertArgType>(_status)
4321 _status = msg.serializeFrom(args);
4324 static_cast<FwAssertArgType>(_status)
4333 static_cast<FwAssertArgType>(qStatus)
4349 ComponentIpcSerializableBuffer msg;
4353 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CANCEL));
4356 static_cast<FwAssertArgType>(_status)
4362 _status = msg.serializeFrom(port);
4365 static_cast<FwAssertArgType>(_status)
4368 _status = msg.serializeFrom(opCode);
4371 static_cast<FwAssertArgType>(_status)
4374 _status = msg.serializeFrom(cmdSeq);
4377 static_cast<FwAssertArgType>(_status)
4380 _status = msg.serializeFrom(args);
4383 static_cast<FwAssertArgType>(_status)
4392 static_cast<FwAssertArgType>(qStatus)
4408 ComponentIpcSerializableBuffer msg;
4412 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SET_BREAKPOINT));
4415 static_cast<FwAssertArgType>(_status)
4421 _status = msg.serializeFrom(port);
4424 static_cast<FwAssertArgType>(_status)
4427 _status = msg.serializeFrom(opCode);
4430 static_cast<FwAssertArgType>(_status)
4433 _status = msg.serializeFrom(cmdSeq);
4436 static_cast<FwAssertArgType>(_status)
4439 _status = msg.serializeFrom(args);
4442 static_cast<FwAssertArgType>(_status)
4451 static_cast<FwAssertArgType>(qStatus)
4467 ComponentIpcSerializableBuffer msg;
4471 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_BREAK));
4474 static_cast<FwAssertArgType>(_status)
4480 _status = msg.serializeFrom(port);
4483 static_cast<FwAssertArgType>(_status)
4486 _status = msg.serializeFrom(opCode);
4489 static_cast<FwAssertArgType>(_status)
4492 _status = msg.serializeFrom(cmdSeq);
4495 static_cast<FwAssertArgType>(_status)
4498 _status = msg.serializeFrom(args);
4501 static_cast<FwAssertArgType>(_status)
4510 static_cast<FwAssertArgType>(qStatus)
4526 ComponentIpcSerializableBuffer msg;
4530 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CONTINUE));
4533 static_cast<FwAssertArgType>(_status)
4539 _status = msg.serializeFrom(port);
4542 static_cast<FwAssertArgType>(_status)
4545 _status = msg.serializeFrom(opCode);
4548 static_cast<FwAssertArgType>(_status)
4551 _status = msg.serializeFrom(cmdSeq);
4554 static_cast<FwAssertArgType>(_status)
4557 _status = msg.serializeFrom(args);
4560 static_cast<FwAssertArgType>(_status)
4569 static_cast<FwAssertArgType>(qStatus)
4585 ComponentIpcSerializableBuffer msg;
4589 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CLEAR_BREAKPOINT));
4592 static_cast<FwAssertArgType>(_status)
4598 _status = msg.serializeFrom(port);
4601 static_cast<FwAssertArgType>(_status)
4604 _status = msg.serializeFrom(opCode);
4607 static_cast<FwAssertArgType>(_status)
4610 _status = msg.serializeFrom(cmdSeq);
4613 static_cast<FwAssertArgType>(_status)
4616 _status = msg.serializeFrom(args);
4619 static_cast<FwAssertArgType>(_status)
4628 static_cast<FwAssertArgType>(qStatus)
4644 ComponentIpcSerializableBuffer msg;
4648 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_STEP));
4651 static_cast<FwAssertArgType>(_status)
4657 _status = msg.serializeFrom(port);
4660 static_cast<FwAssertArgType>(_status)
4663 _status = msg.serializeFrom(opCode);
4666 static_cast<FwAssertArgType>(_status)
4669 _status = msg.serializeFrom(cmdSeq);
4672 static_cast<FwAssertArgType>(_status)
4675 _status = msg.serializeFrom(args);
4678 static_cast<FwAssertArgType>(_status)
4687 static_cast<FwAssertArgType>(qStatus)
4703 ComponentIpcSerializableBuffer msg;
4707 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_DUMP_STACK_TO_FILE));
4710 static_cast<FwAssertArgType>(_status)
4716 _status = msg.serializeFrom(port);
4719 static_cast<FwAssertArgType>(_status)
4722 _status = msg.serializeFrom(opCode);
4725 static_cast<FwAssertArgType>(_status)
4728 _status = msg.serializeFrom(cmdSeq);
4731 static_cast<FwAssertArgType>(_status)
4734 _status = msg.serializeFrom(args);
4737 static_cast<FwAssertArgType>(_status)
4746 static_cast<FwAssertArgType>(qStatus)
4900 this->timeCaller_out(0, _logTime);
4910 #if FW_AMPCS_COMPATIBLE 4915 static_cast<FwAssertArgType>(_status)
4919 #if FW_AMPCS_COMPATIBLE 4922 static_cast<U8>(
sizeof(I32))
4926 static_cast<FwAssertArgType>(_status)
4932 static_cast<FwAssertArgType>(_status)
4945 #if FW_ENABLE_TEXT_LOGGING 4946 if (this->isConnected_logTextOut_OutputPort(0)) {
4947 #if FW_OBJECT_NAMES == 1 4948 const char* _formatString =
4949 "(%s) %s: Cannot execute command in state %" PRIi32
"";
4951 const char* _formatString =
4952 "%s: Cannot execute command in state %" PRIi32
"";
4956 (void) _logString.
format(
4959 this->m_objName.toChar(),
4965 this->logTextOut_out(
4982 this->timeCaller_out(0, _logTime);
4992 #if FW_AMPCS_COMPATIBLE 4997 static_cast<FwAssertArgType>(_status)
5001 #if FW_AMPCS_COMPATIBLE 5004 static_cast<U8>(
sizeof(I32))
5008 static_cast<FwAssertArgType>(_status)
5014 static_cast<FwAssertArgType>(_status)
5027 #if FW_ENABLE_TEXT_LOGGING 5028 if (this->isConnected_logTextOut_OutputPort(0)) {
5029 #if FW_OBJECT_NAMES == 1 5030 const char* _formatString =
5031 "(%s) %s: Cannot run sequence from a port in state %" PRIi32
"";
5033 const char* _formatString =
5034 "%s: Cannot run sequence from a port in state %" PRIi32
"";
5038 (void) _logString.
format(
5041 this->m_objName.toChar(),
5043 "InvalidSeqRunCall ",
5047 this->logTextOut_out(
5064 this->timeCaller_out(0, _logTime);
5074 #if FW_AMPCS_COMPATIBLE 5079 static_cast<FwAssertArgType>(_status)
5083 #if FW_AMPCS_COMPATIBLE 5086 static_cast<U8>(
sizeof(I32))
5090 static_cast<FwAssertArgType>(_status)
5096 static_cast<FwAssertArgType>(_status)
5109 #if FW_ENABLE_TEXT_LOGGING 5110 if (this->isConnected_logTextOut_OutputPort(0)) {
5111 #if FW_OBJECT_NAMES == 1 5112 const char* _formatString =
5113 "(%s) %s: Cannot cancel sequence from a port in state %" PRIi32
"";
5115 const char* _formatString =
5116 "%s: Cannot cancel sequence from a port in state %" PRIi32
"";
5120 (void) _logString.
format(
5123 this->m_objName.toChar(),
5125 "InvalidSeqCancelCall ",
5129 this->logTextOut_out(
5149 this->timeCaller_out(0, _logTime);
5159 #if FW_AMPCS_COMPATIBLE 5164 static_cast<FwAssertArgType>(_status)
5174 static_cast<FwAssertArgType>(_status)
5177 #if FW_AMPCS_COMPATIBLE 5180 static_cast<U8>(
sizeof(I32))
5184 static_cast<FwAssertArgType>(_status)
5190 static_cast<FwAssertArgType>(_status)
5203 #if FW_ENABLE_TEXT_LOGGING 5204 if (this->isConnected_logTextOut_OutputPort(0)) {
5205 #if FW_OBJECT_NAMES == 1 5206 const char* _formatString =
5207 "(%s) %s: File open error encountered while opening %s: %" PRIi32
"";
5209 const char* _formatString =
5210 "%s: File open error encountered while opening %s: %" PRIi32
"";
5214 (void) _logString.
format(
5217 this->m_objName.toChar(),
5224 this->logTextOut_out(
5245 this->timeCaller_out(0, _logTime);
5255 #if FW_AMPCS_COMPATIBLE 5260 static_cast<FwAssertArgType>(_status)
5264 #if FW_AMPCS_COMPATIBLE 5271 static_cast<FwAssertArgType>(_status)
5277 static_cast<FwAssertArgType>(_status)
5286 static_cast<FwAssertArgType>(_status)
5289 #if FW_AMPCS_COMPATIBLE 5292 static_cast<U8>(
sizeof(I32))
5296 static_cast<FwAssertArgType>(_status)
5302 static_cast<FwAssertArgType>(_status)
5315 #if FW_ENABLE_TEXT_LOGGING 5316 if (this->isConnected_logTextOut_OutputPort(0)) {
5317 #if FW_OBJECT_NAMES == 1 5318 const char* _formatString =
5319 "(%s) %s: File write error encountered while writing %" PRIu64
" bytes to %s: %" PRIi32
"";
5321 const char* _formatString =
5322 "%s: File write error encountered while writing %" PRIu64
" bytes to %s: %" PRIi32
"";
5326 (void) _logString.
format(
5329 this->m_objName.toChar(),
5337 this->logTextOut_out(
5358 this->timeCaller_out(0, _logTime);
5368 #if FW_AMPCS_COMPATIBLE 5373 static_cast<FwAssertArgType>(_status)
5377 #if FW_AMPCS_COMPATIBLE 5384 static_cast<FwAssertArgType>(_status)
5390 static_cast<FwAssertArgType>(_status)
5399 static_cast<FwAssertArgType>(_status)
5402 #if FW_AMPCS_COMPATIBLE 5405 static_cast<U8>(
sizeof(I32))
5409 static_cast<FwAssertArgType>(_status)
5415 static_cast<FwAssertArgType>(_status)
5428 #if FW_ENABLE_TEXT_LOGGING 5429 if (this->isConnected_logTextOut_OutputPort(0)) {
5430 #if FW_OBJECT_NAMES == 1 5431 const char* _formatString =
5432 "(%s) %s: File read error encountered while reading %s of file %s: %" PRIi32
"";
5434 const char* _formatString =
5435 "%s: File read error encountered while reading %s of file %s: %" PRIi32
"";
5439 readStage.toString(readStageStr);
5442 (void) _logString.
format(
5445 this->m_objName.toChar(),
5453 this->logTextOut_out(
5473 this->timeCaller_out(0, _logTime);
5483 #if FW_AMPCS_COMPATIBLE 5488 static_cast<FwAssertArgType>(_status)
5492 #if FW_AMPCS_COMPATIBLE 5499 static_cast<FwAssertArgType>(_status)
5505 static_cast<FwAssertArgType>(_status)
5514 static_cast<FwAssertArgType>(_status)
5527 #if FW_ENABLE_TEXT_LOGGING 5528 if (this->isConnected_logTextOut_OutputPort(0)) {
5529 #if FW_OBJECT_NAMES == 1 5530 const char* _formatString =
5531 "(%s) %s: End of file encountered unexpectedly while reading %s of file %s";
5533 const char* _formatString =
5534 "%s: End of file encountered unexpectedly while reading %s of file %s";
5538 readStage.toString(readStageStr);
5541 (void) _logString.
format(
5544 this->m_objName.toChar(),
5551 this->logTextOut_out(
5574 this->timeCaller_out(0, _logTime);
5584 #if FW_AMPCS_COMPATIBLE 5589 static_cast<FwAssertArgType>(_status)
5593 #if FW_AMPCS_COMPATIBLE 5600 static_cast<FwAssertArgType>(_status)
5606 static_cast<FwAssertArgType>(_status)
5615 static_cast<FwAssertArgType>(_status)
5618 #if FW_AMPCS_COMPATIBLE 5621 static_cast<U8>(
sizeof(I32))
5625 static_cast<FwAssertArgType>(_status)
5631 static_cast<FwAssertArgType>(_status)
5634 #if FW_AMPCS_COMPATIBLE 5637 static_cast<U8>(
sizeof(
U64))
5641 static_cast<FwAssertArgType>(_status)
5647 static_cast<FwAssertArgType>(_status)
5650 #if FW_AMPCS_COMPATIBLE 5653 static_cast<U8>(
sizeof(
U64))
5657 static_cast<FwAssertArgType>(_status)
5663 static_cast<FwAssertArgType>(_status)
5676 #if FW_ENABLE_TEXT_LOGGING 5677 if (this->isConnected_logTextOut_OutputPort(0)) {
5678 #if FW_OBJECT_NAMES == 1 5679 const char* _formatString =
5680 "(%s) %s: Deserialize error encountered while reading %s of file %s: %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
5682 const char* _formatString =
5683 "%s: Deserialize error encountered while reading %s of file %s: %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
5687 readStage.toString(readStageStr);
5690 (void) _logString.
format(
5693 this->m_objName.toChar(),
5695 "FileReadDeserializeError ",
5703 this->logTextOut_out(
5723 this->timeCaller_out(0, _logTime);
5733 #if FW_AMPCS_COMPATIBLE 5738 static_cast<FwAssertArgType>(_status)
5742 #if FW_AMPCS_COMPATIBLE 5745 static_cast<U8>(
sizeof(
U8))
5749 static_cast<FwAssertArgType>(_status)
5755 static_cast<FwAssertArgType>(_status)
5758 #if FW_AMPCS_COMPATIBLE 5761 static_cast<U8>(
sizeof(
U8))
5765 static_cast<FwAssertArgType>(_status)
5771 static_cast<FwAssertArgType>(_status)
5784 #if FW_ENABLE_TEXT_LOGGING 5785 if (this->isConnected_logTextOut_OutputPort(0)) {
5786 #if FW_OBJECT_NAMES == 1 5787 const char* _formatString =
5788 "(%s) %s: Expected schema version %" PRIu8
", found %" PRIu8
"";
5790 const char* _formatString =
5791 "%s: Expected schema version %" PRIu8
", found %" PRIu8
"";
5795 (void) _logString.
format(
5798 this->m_objName.toChar(),
5800 "WrongSchemaVersion ",
5805 this->logTextOut_out(
5825 this->timeCaller_out(0, _logTime);
5835 #if FW_AMPCS_COMPATIBLE 5840 static_cast<FwAssertArgType>(_status)
5844 #if FW_AMPCS_COMPATIBLE 5847 static_cast<U8>(
sizeof(U32))
5851 static_cast<FwAssertArgType>(_status)
5857 static_cast<FwAssertArgType>(_status)
5860 #if FW_AMPCS_COMPATIBLE 5863 static_cast<U8>(
sizeof(U32))
5867 static_cast<FwAssertArgType>(_status)
5873 static_cast<FwAssertArgType>(_status)
5886 #if FW_ENABLE_TEXT_LOGGING 5887 if (this->isConnected_logTextOut_OutputPort(0)) {
5888 #if FW_OBJECT_NAMES == 1 5889 const char* _formatString =
5890 "(%s) %s: Expected CRC %" PRIu32
", actual was %" PRIu32
"";
5892 const char* _formatString =
5893 "%s: Expected CRC %" PRIu32
", actual was %" PRIu32
"";
5897 (void) _logString.
format(
5900 this->m_objName.toChar(),
5907 this->logTextOut_out(
5924 this->timeCaller_out(0, _logTime);
5934 #if FW_AMPCS_COMPATIBLE 5939 static_cast<FwAssertArgType>(_status)
5943 #if FW_AMPCS_COMPATIBLE 5950 static_cast<FwAssertArgType>(_status)
5956 static_cast<FwAssertArgType>(_status)
5969 #if FW_ENABLE_TEXT_LOGGING 5970 if (this->isConnected_logTextOut_OutputPort(0)) {
5971 #if FW_OBJECT_NAMES == 1 5972 const char* _formatString =
5973 "(%s) %s: File had %" PRIu64
" extra bytes at the end";
5975 const char* _formatString =
5976 "%s: File had %" PRIu64
" extra bytes at the end";
5980 (void) _logString.
format(
5983 this->m_objName.toChar(),
5985 "ExtraBytesInSequence ",
5989 this->logTextOut_out(
6009 this->timeCaller_out(0, _logTime);
6019 #if FW_AMPCS_COMPATIBLE 6024 static_cast<FwAssertArgType>(_status)
6028 #if FW_AMPCS_COMPATIBLE 6031 static_cast<U8>(
sizeof(
U64))
6035 static_cast<FwAssertArgType>(_status)
6041 static_cast<FwAssertArgType>(_status)
6050 static_cast<FwAssertArgType>(_status)
6063 #if FW_ENABLE_TEXT_LOGGING 6064 if (this->isConnected_logTextOut_OutputPort(0)) {
6065 #if FW_OBJECT_NAMES == 1 6066 const char* _formatString =
6067 "(%s) %s: Buffer capacity of %" PRIu64
" was not big enough for sequence %s";
6069 const char* _formatString =
6070 "%s: Buffer capacity of %" PRIu64
" was not big enough for sequence %s";
6074 (void) _logString.
format(
6077 this->m_objName.toChar(),
6079 "InsufficientBufferSpace ",
6084 this->logTextOut_out(
6104 this->timeCaller_out(0, _logTime);
6114 #if FW_AMPCS_COMPATIBLE 6119 static_cast<FwAssertArgType>(_status)
6129 static_cast<FwAssertArgType>(_status)
6132 #if FW_AMPCS_COMPATIBLE 6135 static_cast<U8>(
sizeof(I32))
6139 static_cast<FwAssertArgType>(_status)
6145 static_cast<FwAssertArgType>(_status)
6158 #if FW_ENABLE_TEXT_LOGGING 6159 if (this->isConnected_logTextOut_OutputPort(0)) {
6160 #if FW_OBJECT_NAMES == 1 6161 const char* _formatString =
6162 "(%s) %s: File system API error encountered while operating on file %s: %" PRIi32
"";
6164 const char* _formatString =
6165 "%s: File system API error encountered while operating on file %s: %" PRIi32
"";
6169 (void) _logString.
format(
6172 this->m_objName.toChar(),
6179 this->logTextOut_out(
6199 this->timeCaller_out(0, _logTime);
6209 #if FW_AMPCS_COMPATIBLE 6214 static_cast<FwAssertArgType>(_status)
6224 static_cast<FwAssertArgType>(_status)
6233 static_cast<FwAssertArgType>(_status)
6246 #if FW_ENABLE_TEXT_LOGGING 6247 if (this->isConnected_logTextOut_OutputPort(0)) {
6248 #if FW_OBJECT_NAMES == 1 6249 const char* _formatString =
6250 "(%s) %s: Sequence file path was truncated: base directory %s and file name %s together exceed the maximum path length";
6252 const char* _formatString =
6253 "%s: Sequence file path was truncated: base directory %s and file name %s together exceed the maximum path length";
6257 (void) _logString.
format(
6260 this->m_objName.toChar(),
6262 "SequenceFilePathTooLong ",
6267 this->logTextOut_out(
6289 this->timeCaller_out(0, _logTime);
6299 #if FW_AMPCS_COMPATIBLE 6304 static_cast<FwAssertArgType>(_status)
6308 #if FW_AMPCS_COMPATIBLE 6315 static_cast<FwAssertArgType>(_status)
6321 static_cast<FwAssertArgType>(_status)
6324 #if FW_AMPCS_COMPATIBLE 6327 static_cast<U8>(
sizeof(U32))
6331 static_cast<FwAssertArgType>(_status)
6337 static_cast<FwAssertArgType>(_status)
6346 static_cast<FwAssertArgType>(_status)
6349 #if FW_AMPCS_COMPATIBLE 6356 static_cast<FwAssertArgType>(_status)
6362 static_cast<FwAssertArgType>(_status)
6375 #if FW_ENABLE_TEXT_LOGGING 6376 if (this->isConnected_logTextOut_OutputPort(0)) {
6377 #if FW_OBJECT_NAMES == 1 6378 const char* _formatString =
6379 "(%s) %s: Failed to execute command opcode %" PRIu32
" index %" PRIu32
" in sequence file %s: response was %s";
6381 const char* _formatString =
6382 "%s: Failed to execute command opcode %" PRIu32
" index %" PRIu32
" in sequence file %s: response was %s";
6386 response.toString(responseStr);
6389 (void) _logString.
format(
6392 this->m_objName.toChar(),
6401 this->logTextOut_out(
6418 this->timeCaller_out(0, _logTime);
6428 #if FW_AMPCS_COMPATIBLE 6433 static_cast<FwAssertArgType>(_status)
6443 static_cast<FwAssertArgType>(_status)
6456 #if FW_ENABLE_TEXT_LOGGING 6457 if (this->isConnected_logTextOut_OutputPort(0)) {
6458 #if FW_OBJECT_NAMES == 1 6459 const char* _formatString =
6460 "(%s) %s: Completed sequence file %s";
6462 const char* _formatString =
6463 "%s: Completed sequence file %s";
6467 (void) _logString.
format(
6470 this->m_objName.toChar(),
6476 this->logTextOut_out(
6493 this->timeCaller_out(0, _logTime);
6503 #if FW_AMPCS_COMPATIBLE 6508 static_cast<FwAssertArgType>(_status)
6518 static_cast<FwAssertArgType>(_status)
6531 #if FW_ENABLE_TEXT_LOGGING 6532 if (this->isConnected_logTextOut_OutputPort(0)) {
6533 #if FW_OBJECT_NAMES == 1 6534 const char* _formatString =
6535 "(%s) %s: Cancelled sequence file %s";
6537 const char* _formatString =
6538 "%s: Cancelled sequence file %s";
6542 (void) _logString.
format(
6545 this->m_objName.toChar(),
6547 "SequenceCancelled ",
6551 this->logTextOut_out(
6571 this->timeCaller_out(0, _logTime);
6581 #if FW_AMPCS_COMPATIBLE 6586 static_cast<FwAssertArgType>(_status)
6596 static_cast<FwAssertArgType>(_status)
6599 #if FW_AMPCS_COMPATIBLE 6602 static_cast<U8>(
sizeof(I32))
6606 static_cast<FwAssertArgType>(_status)
6612 static_cast<FwAssertArgType>(_status)
6625 #if FW_ENABLE_TEXT_LOGGING 6626 if (this->isConnected_logTextOut_OutputPort(0)) {
6627 #if FW_OBJECT_NAMES == 1 6628 const char* _formatString =
6629 "(%s) %s: Sequence %s exited with error code %" PRIi32
"";
6631 const char* _formatString =
6632 "%s: Sequence %s exited with error code %" PRIi32
"";
6636 (void) _logString.
format(
6639 this->m_objName.toChar(),
6641 "SequenceExitedWithError ",
6646 this->logTextOut_out(
6667 this->timeCaller_out(0, _logTime);
6677 #if FW_AMPCS_COMPATIBLE 6682 static_cast<FwAssertArgType>(_status)
6686 #if FW_AMPCS_COMPATIBLE 6689 static_cast<U8>(
sizeof(
U8))
6693 static_cast<FwAssertArgType>(_status)
6699 static_cast<FwAssertArgType>(_status)
6702 #if FW_AMPCS_COMPATIBLE 6705 static_cast<U8>(
sizeof(U32))
6709 static_cast<FwAssertArgType>(_status)
6715 static_cast<FwAssertArgType>(_status)
6724 static_cast<FwAssertArgType>(_status)
6737 #if FW_ENABLE_TEXT_LOGGING 6738 if (this->isConnected_logTextOut_OutputPort(0)) {
6739 #if FW_OBJECT_NAMES == 1 6740 const char* _formatString =
6741 "(%s) %s: Unknown sequencer directive id %" PRIu8
" at index %" PRIu32
" in file %s";
6743 const char* _formatString =
6744 "%s: Unknown sequencer directive id %" PRIu8
" at index %" PRIu32
" in file %s";
6748 (void) _logString.
format(
6751 this->m_objName.toChar(),
6753 "UnknownSequencerDirective ",
6759 this->logTextOut_out(
6780 this->timeCaller_out(0, _logTime);
6790 #if FW_AMPCS_COMPATIBLE 6795 static_cast<FwAssertArgType>(_status)
6799 #if FW_AMPCS_COMPATIBLE 6802 static_cast<U8>(
sizeof(I32))
6806 static_cast<FwAssertArgType>(_status)
6812 static_cast<FwAssertArgType>(_status)
6815 #if FW_AMPCS_COMPATIBLE 6822 static_cast<FwAssertArgType>(_status)
6828 static_cast<FwAssertArgType>(_status)
6831 #if FW_AMPCS_COMPATIBLE 6838 static_cast<FwAssertArgType>(_status)
6844 static_cast<FwAssertArgType>(_status)
6857 #if FW_ENABLE_TEXT_LOGGING 6858 if (this->isConnected_logTextOut_OutputPort(0)) {
6859 #if FW_OBJECT_NAMES == 1 6860 const char* _formatString =
6861 "(%s) %s: Received a command response while not running a sequence (was in state %" PRIi32
" opcode was %" PRIu32
" response code %s)";
6863 const char* _formatString =
6864 "%s: Received a command response while not running a sequence (was in state %" PRIi32
" opcode was %" PRIu32
" response code %s)";
6868 response.toString(responseStr);
6871 (void) _logString.
format(
6874 this->m_objName.toChar(),
6876 "CmdResponseWhileNotRunningSequence ",
6882 this->logTextOut_out(
6898 U16 currentSequenceIdx
6904 this->timeCaller_out(0, _logTime);
6914 #if FW_AMPCS_COMPATIBLE 6919 static_cast<FwAssertArgType>(_status)
6923 #if FW_AMPCS_COMPATIBLE 6930 static_cast<FwAssertArgType>(_status)
6936 static_cast<FwAssertArgType>(_status)
6939 #if FW_AMPCS_COMPATIBLE 6946 static_cast<FwAssertArgType>(_status)
6952 static_cast<FwAssertArgType>(_status)
6955 #if FW_AMPCS_COMPATIBLE 6958 static_cast<U8>(
sizeof(U16))
6962 static_cast<FwAssertArgType>(_status)
6968 static_cast<FwAssertArgType>(_status)
6971 #if FW_AMPCS_COMPATIBLE 6974 static_cast<U8>(
sizeof(U16))
6978 static_cast<FwAssertArgType>(_status)
6984 static_cast<FwAssertArgType>(_status)
6997 #if FW_ENABLE_TEXT_LOGGING 6998 if (this->isConnected_logTextOut_OutputPort(0)) {
6999 #if FW_OBJECT_NAMES == 1 7000 const char* _formatString =
7001 "(%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
")";
7003 const char* _formatString =
7004 "%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
")";
7008 response.toString(responseStr);
7011 (void) _logString.
format(
7014 this->m_objName.toChar(),
7016 "CmdResponseFromOldSequence ",
7023 this->logTextOut_out(
7043 this->timeCaller_out(0, _logTime);
7053 #if FW_AMPCS_COMPATIBLE 7058 static_cast<FwAssertArgType>(_status)
7062 #if FW_AMPCS_COMPATIBLE 7069 static_cast<FwAssertArgType>(_status)
7075 static_cast<FwAssertArgType>(_status)
7078 #if FW_AMPCS_COMPATIBLE 7085 static_cast<FwAssertArgType>(_status)
7091 static_cast<FwAssertArgType>(_status)
7104 #if FW_ENABLE_TEXT_LOGGING 7105 if (this->isConnected_logTextOut_OutputPort(0)) {
7106 #if FW_OBJECT_NAMES == 1 7107 const char* _formatString =
7108 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was not awaiting a response";
7110 const char* _formatString =
7111 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was not awaiting a response";
7115 response.toString(responseStr);
7118 (void) _logString.
format(
7121 this->m_objName.toChar(),
7123 "CmdResponseWhileNotAwaiting ",
7128 this->logTextOut_out(
7143 U8 expectedDirectiveOpcode
7149 this->timeCaller_out(0, _logTime);
7159 #if FW_AMPCS_COMPATIBLE 7164 static_cast<FwAssertArgType>(_status)
7168 #if FW_AMPCS_COMPATIBLE 7175 static_cast<FwAssertArgType>(_status)
7181 static_cast<FwAssertArgType>(_status)
7184 #if FW_AMPCS_COMPATIBLE 7191 static_cast<FwAssertArgType>(_status)
7197 static_cast<FwAssertArgType>(_status)
7200 #if FW_AMPCS_COMPATIBLE 7203 static_cast<U8>(
sizeof(
U8))
7207 static_cast<FwAssertArgType>(_status)
7213 static_cast<FwAssertArgType>(_status)
7226 #if FW_ENABLE_TEXT_LOGGING 7227 if (this->isConnected_logTextOut_OutputPort(0)) {
7228 #if FW_OBJECT_NAMES == 1 7229 const char* _formatString =
7230 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was awaiting directive opcode %" PRIu8
"";
7232 const char* _formatString =
7233 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was awaiting directive opcode %" PRIu8
"";
7237 response.toString(responseStr);
7240 (void) _logString.
format(
7243 this->m_objName.toChar(),
7245 "CmdResponseWhileAwaitingDirective ",
7248 expectedDirectiveOpcode
7251 this->logTextOut_out(
7272 this->timeCaller_out(0, _logTime);
7282 #if FW_AMPCS_COMPATIBLE 7287 static_cast<FwAssertArgType>(_status)
7291 #if FW_AMPCS_COMPATIBLE 7298 static_cast<FwAssertArgType>(_status)
7304 static_cast<FwAssertArgType>(_status)
7307 #if FW_AMPCS_COMPATIBLE 7314 static_cast<FwAssertArgType>(_status)
7320 static_cast<FwAssertArgType>(_status)
7323 #if FW_AMPCS_COMPATIBLE 7330 static_cast<FwAssertArgType>(_status)
7336 static_cast<FwAssertArgType>(_status)
7349 #if FW_ENABLE_TEXT_LOGGING 7350 if (this->isConnected_logTextOut_OutputPort(0)) {
7351 #if FW_OBJECT_NAMES == 1 7352 const char* _formatString =
7353 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was expecting a response from command opcode %" PRIu32
"";
7355 const char* _formatString =
7356 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was expecting a response from command opcode %" PRIu32
"";
7360 response.toString(responseStr);
7363 (void) _logString.
format(
7366 this->m_objName.toChar(),
7368 "WrongCmdResponseOpcode ",
7374 this->logTextOut_out(
7396 this->timeCaller_out(0, _logTime);
7406 #if FW_AMPCS_COMPATIBLE 7411 static_cast<FwAssertArgType>(_status)
7415 #if FW_AMPCS_COMPATIBLE 7422 static_cast<FwAssertArgType>(_status)
7428 static_cast<FwAssertArgType>(_status)
7431 #if FW_AMPCS_COMPATIBLE 7438 static_cast<FwAssertArgType>(_status)
7444 static_cast<FwAssertArgType>(_status)
7447 #if FW_AMPCS_COMPATIBLE 7450 static_cast<U8>(
sizeof(U16))
7454 static_cast<FwAssertArgType>(_status)
7460 static_cast<FwAssertArgType>(_status)
7463 #if FW_AMPCS_COMPATIBLE 7466 static_cast<U8>(
sizeof(U16))
7470 static_cast<FwAssertArgType>(_status)
7476 static_cast<FwAssertArgType>(_status)
7489 #if FW_ENABLE_TEXT_LOGGING 7490 if (this->isConnected_logTextOut_OutputPort(0)) {
7491 #if FW_OBJECT_NAMES == 1 7492 const char* _formatString =
7493 "(%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
")";
7495 const char* _formatString =
7496 "%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
")";
7500 response.toString(responseStr);
7503 (void) _logString.
format(
7506 this->m_objName.toChar(),
7508 "WrongCmdResponseIndex ",
7515 this->logTextOut_out(
7538 this->timeCaller_out(0, _logTime);
7548 #if FW_AMPCS_COMPATIBLE 7553 static_cast<FwAssertArgType>(_status)
7557 #if FW_AMPCS_COMPATIBLE 7560 static_cast<U8>(
sizeof(
U8))
7564 static_cast<FwAssertArgType>(_status)
7570 static_cast<FwAssertArgType>(_status)
7573 #if FW_AMPCS_COMPATIBLE 7576 static_cast<U8>(
sizeof(U32))
7580 static_cast<FwAssertArgType>(_status)
7586 static_cast<FwAssertArgType>(_status)
7589 #if FW_AMPCS_COMPATIBLE 7592 static_cast<U8>(
sizeof(I32))
7596 static_cast<FwAssertArgType>(_status)
7602 static_cast<FwAssertArgType>(_status)
7605 #if FW_AMPCS_COMPATIBLE 7608 static_cast<U8>(
sizeof(
U64))
7612 static_cast<FwAssertArgType>(_status)
7618 static_cast<FwAssertArgType>(_status)
7621 #if FW_AMPCS_COMPATIBLE 7624 static_cast<U8>(
sizeof(
U64))
7628 static_cast<FwAssertArgType>(_status)
7634 static_cast<FwAssertArgType>(_status)
7647 #if FW_ENABLE_TEXT_LOGGING 7648 if (this->isConnected_logTextOut_OutputPort(0)) {
7649 #if FW_OBJECT_NAMES == 1 7650 const char* _formatString =
7651 "(%s) %s: Deserialize error encountered while reading directive opcode %" PRIu8
" at index %" PRIu32
": %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
7653 const char* _formatString =
7654 "%s: Deserialize error encountered while reading directive opcode %" PRIu8
" at index %" PRIu32
": %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
7658 (void) _logString.
format(
7661 this->m_objName.toChar(),
7663 "DirectiveDeserializeError ",
7671 this->logTextOut_out(
7684 I32 internalTimeBase,
7691 this->timeCaller_out(0, _logTime);
7701 #if FW_AMPCS_COMPATIBLE 7706 static_cast<FwAssertArgType>(_status)
7710 #if FW_AMPCS_COMPATIBLE 7713 static_cast<U8>(
sizeof(I32))
7717 static_cast<FwAssertArgType>(_status)
7723 static_cast<FwAssertArgType>(_status)
7726 #if FW_AMPCS_COMPATIBLE 7729 static_cast<U8>(
sizeof(I32))
7733 static_cast<FwAssertArgType>(_status)
7739 static_cast<FwAssertArgType>(_status)
7752 #if FW_ENABLE_TEXT_LOGGING 7753 if (this->isConnected_logTextOut_OutputPort(0)) {
7754 #if FW_OBJECT_NAMES == 1 7755 const char* _formatString =
7756 "(%s) %s: getTime() time base was %" PRIi32
", but tried to operate on it with time base %" PRIi32
"";
7758 const char* _formatString =
7759 "%s: getTime() time base was %" PRIi32
", but tried to operate on it with time base %" PRIi32
"";
7763 (void) _logString.
format(
7766 this->m_objName.toChar(),
7768 "MismatchedTimeBase ",
7773 this->logTextOut_out(
7786 I32 internalTimeContext,
7787 I32 otherTimeContext
7793 this->timeCaller_out(0, _logTime);
7803 #if FW_AMPCS_COMPATIBLE 7808 static_cast<FwAssertArgType>(_status)
7812 #if FW_AMPCS_COMPATIBLE 7815 static_cast<U8>(
sizeof(I32))
7819 static_cast<FwAssertArgType>(_status)
7825 static_cast<FwAssertArgType>(_status)
7828 #if FW_AMPCS_COMPATIBLE 7831 static_cast<U8>(
sizeof(I32))
7835 static_cast<FwAssertArgType>(_status)
7841 static_cast<FwAssertArgType>(_status)
7854 #if FW_ENABLE_TEXT_LOGGING 7855 if (this->isConnected_logTextOut_OutputPort(0)) {
7856 #if FW_OBJECT_NAMES == 1 7857 const char* _formatString =
7858 "(%s) %s: getTime() time context was %" PRIi32
", but tried to operate on it with time context %" PRIi32
"";
7860 const char* _formatString =
7861 "%s: getTime() time context was %" PRIi32
", but tried to operate on it with time context %" PRIi32
"";
7865 (void) _logString.
format(
7868 this->m_objName.toChar(),
7870 "MismatchedTimeContext ",
7871 internalTimeContext,
7875 this->logTextOut_out(
7896 this->timeCaller_out(0, _logTime);
7906 #if FW_AMPCS_COMPATIBLE 7911 static_cast<FwAssertArgType>(_status)
7915 #if FW_AMPCS_COMPATIBLE 7922 static_cast<FwAssertArgType>(_status)
7928 static_cast<FwAssertArgType>(_status)
7931 #if FW_AMPCS_COMPATIBLE 7934 static_cast<U8>(
sizeof(U32))
7938 static_cast<FwAssertArgType>(_status)
7944 static_cast<FwAssertArgType>(_status)
7953 static_cast<FwAssertArgType>(_status)
7966 #if FW_ENABLE_TEXT_LOGGING 7967 if (this->isConnected_logTextOut_OutputPort(0)) {
7968 #if FW_OBJECT_NAMES == 1 7969 const char* _formatString =
7970 "(%s) %s: A command opcode %" PRIu32
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
7972 const char* _formatString =
7973 "%s: A command opcode %" PRIu32
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
7977 (void) _logString.
format(
7980 this->m_objName.toChar(),
7988 this->logTextOut_out(
8009 this->timeCaller_out(0, _logTime);
8019 #if FW_AMPCS_COMPATIBLE 8024 static_cast<FwAssertArgType>(_status)
8028 #if FW_AMPCS_COMPATIBLE 8031 static_cast<U8>(
sizeof(
U8))
8035 static_cast<FwAssertArgType>(_status)
8041 static_cast<FwAssertArgType>(_status)
8044 #if FW_AMPCS_COMPATIBLE 8047 static_cast<U8>(
sizeof(U32))
8051 static_cast<FwAssertArgType>(_status)
8057 static_cast<FwAssertArgType>(_status)
8066 static_cast<FwAssertArgType>(_status)
8079 #if FW_ENABLE_TEXT_LOGGING 8080 if (this->isConnected_logTextOut_OutputPort(0)) {
8081 #if FW_OBJECT_NAMES == 1 8082 const char* _formatString =
8083 "(%s) %s: A directive opcode %" PRIu8
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
8085 const char* _formatString =
8086 "%s: A directive opcode %" PRIu8
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
8090 (void) _logString.
format(
8093 this->m_objName.toChar(),
8095 "DirectiveTimedOut ",
8101 this->logTextOut_out(
8121 this->timeCaller_out(0, _logTime);
8131 #if FW_AMPCS_COMPATIBLE 8136 static_cast<FwAssertArgType>(_status)
8140 #if FW_AMPCS_COMPATIBLE 8143 static_cast<U8>(
sizeof(
U8))
8147 static_cast<FwAssertArgType>(_status)
8153 static_cast<FwAssertArgType>(_status)
8156 #if FW_AMPCS_COMPATIBLE 8159 static_cast<U8>(
sizeof(
U8))
8163 static_cast<FwAssertArgType>(_status)
8169 static_cast<FwAssertArgType>(_status)
8182 #if FW_ENABLE_TEXT_LOGGING 8183 if (this->isConnected_logTextOut_OutputPort(0)) {
8184 #if FW_OBJECT_NAMES == 1 8185 const char* _formatString =
8186 "(%s) %s: A sequence specified it had %" PRIu8
" args but the max was %" PRIu8
"";
8188 const char* _formatString =
8189 "%s: A sequence specified it had %" PRIu8
" args but the max was %" PRIu8
"";
8193 (void) _logString.
format(
8196 this->m_objName.toChar(),
8198 "TooManySequenceArgs ",
8203 this->logTextOut_out(
8223 this->timeCaller_out(0, _logTime);
8233 #if FW_AMPCS_COMPATIBLE 8238 static_cast<FwAssertArgType>(_status)
8242 #if FW_AMPCS_COMPATIBLE 8245 static_cast<U8>(
sizeof(U16))
8249 static_cast<FwAssertArgType>(_status)
8255 static_cast<FwAssertArgType>(_status)
8258 #if FW_AMPCS_COMPATIBLE 8261 static_cast<U8>(
sizeof(U16))
8265 static_cast<FwAssertArgType>(_status)
8271 static_cast<FwAssertArgType>(_status)
8284 #if FW_ENABLE_TEXT_LOGGING 8285 if (this->isConnected_logTextOut_OutputPort(0)) {
8286 #if FW_OBJECT_NAMES == 1 8287 const char* _formatString =
8288 "(%s) %s: A sequence specified it had %" PRIu16
" directives but the max was %" PRIu16
"";
8290 const char* _formatString =
8291 "%s: A sequence specified it had %" PRIu16
" directives but the max was %" PRIu16
"";
8295 (void) _logString.
format(
8298 this->m_objName.toChar(),
8300 "TooManySequenceDirectives ",
8305 this->logTextOut_out(
8326 this->timeCaller_out(0, _logTime);
8336 #if FW_AMPCS_COMPATIBLE 8341 static_cast<FwAssertArgType>(_status)
8345 #if FW_AMPCS_COMPATIBLE 8352 static_cast<FwAssertArgType>(_status)
8358 static_cast<FwAssertArgType>(_status)
8361 #if FW_AMPCS_COMPATIBLE 8368 static_cast<FwAssertArgType>(_status)
8374 static_cast<FwAssertArgType>(_status)
8383 static_cast<FwAssertArgType>(_status)
8396 #if FW_ENABLE_TEXT_LOGGING 8397 if (this->isConnected_logTextOut_OutputPort(0)) {
8398 #if FW_OBJECT_NAMES == 1 8399 const char* _formatString =
8400 "(%s) %s: Expected %" PRIu32
" bytes of arguments, but received %" PRIu64
" in sequence file %s";
8402 const char* _formatString =
8403 "%s: Expected %" PRIu32
" bytes of arguments, but received %" PRIu64
" in sequence file %s";
8407 (void) _logString.
format(
8410 this->m_objName.toChar(),
8418 this->logTextOut_out(
8438 this->timeCaller_out(0, _logTime);
8448 #if FW_AMPCS_COMPATIBLE 8453 static_cast<FwAssertArgType>(_status)
8457 #if FW_AMPCS_COMPATIBLE 8464 static_cast<FwAssertArgType>(_status)
8470 static_cast<FwAssertArgType>(_status)
8473 #if FW_AMPCS_COMPATIBLE 8480 static_cast<FwAssertArgType>(_status)
8486 static_cast<FwAssertArgType>(_status)
8499 #if FW_ENABLE_TEXT_LOGGING 8500 if (this->isConnected_logTextOut_OutputPort(0)) {
8501 #if FW_OBJECT_NAMES == 1 8502 const char* _formatString =
8503 "(%s) %s: Argument size %" PRIu64
" exceeds the %" PRIu64
" byte argument buffer";
8505 const char* _formatString =
8506 "%s: Argument size %" PRIu64
" exceeds the %" PRIu64
" byte argument buffer";
8510 (void) _logString.
format(
8513 this->m_objName.toChar(),
8515 "ArgSizeExceedsCapacity ",
8520 this->logTextOut_out(
8537 this->timeCaller_out(0, _logTime);
8547 #if FW_AMPCS_COMPATIBLE 8552 static_cast<FwAssertArgType>(_status)
8556 #if FW_AMPCS_COMPATIBLE 8563 static_cast<FwAssertArgType>(_status)
8569 static_cast<FwAssertArgType>(_status)
8582 #if FW_ENABLE_TEXT_LOGGING 8583 if (this->isConnected_logTextOut_OutputPort(0)) {
8584 #if FW_OBJECT_NAMES == 1 8585 const char* _formatString =
8586 "(%s) %s: Arguments of size %" PRIu32
" would exceed max stack size.";
8588 const char* _formatString =
8589 "%s: Arguments of size %" PRIu32
" would exceed max stack size.";
8593 (void) _logString.
format(
8596 this->m_objName.toChar(),
8598 "ArgTotalSizeExceedsStackLimit ",
8602 this->logTextOut_out(
8619 this->timeCaller_out(0, _logTime);
8629 #if FW_AMPCS_COMPATIBLE 8634 static_cast<FwAssertArgType>(_status)
8638 #if FW_AMPCS_COMPATIBLE 8641 static_cast<U8>(
sizeof(U32))
8645 static_cast<FwAssertArgType>(_status)
8651 static_cast<FwAssertArgType>(_status)
8664 #if FW_ENABLE_TEXT_LOGGING 8665 if (this->isConnected_logTextOut_OutputPort(0)) {
8666 #if FW_OBJECT_NAMES == 1 8667 const char* _formatString =
8668 "(%s) %s: Sequence paused before dispatching directive index %" PRIu32
"";
8670 const char* _formatString =
8671 "%s: Sequence paused before dispatching directive index %" PRIu32
"";
8675 (void) _logString.
format(
8678 this->m_objName.toChar(),
8684 this->logTextOut_out(
8704 this->timeCaller_out(0, _logTime);
8714 #if FW_AMPCS_COMPATIBLE 8719 static_cast<FwAssertArgType>(_status)
8723 #if FW_AMPCS_COMPATIBLE 8726 static_cast<U8>(
sizeof(U32))
8730 static_cast<FwAssertArgType>(_status)
8736 static_cast<FwAssertArgType>(_status)
8739 #if FW_AMPCS_COMPATIBLE 8742 static_cast<U8>(
sizeof(
U8))
8746 static_cast<FwAssertArgType>(_status)
8752 static_cast<FwAssertArgType>(_status)
8765 #if FW_ENABLE_TEXT_LOGGING 8766 if (this->isConnected_logTextOut_OutputPort(0)) {
8767 #if FW_OBJECT_NAMES == 1 8768 const char* _formatString =
8769 "(%s) %s: Breakpoint set before directive index %" PRIu32
". Will break once: %d";
8771 const char* _formatString =
8772 "%s: Breakpoint set before directive index %" PRIu32
". Will break once: %d";
8776 (void) _logString.
format(
8779 this->m_objName.toChar(),
8786 this->logTextOut_out(
8803 this->timeCaller_out(0, _logTime);
8812 #if FW_AMPCS_COMPATIBLE 8818 static_cast<FwAssertArgType>(_status)
8832 #if FW_ENABLE_TEXT_LOGGING 8833 if (this->isConnected_logTextOut_OutputPort(0)) {
8834 #if FW_OBJECT_NAMES == 1 8835 const char* _formatString =
8836 "(%s) %s: Breakpoint cleared";
8838 const char* _formatString =
8839 "%s: Breakpoint cleared";
8843 (void) _logString.
format(
8846 this->m_objName.toChar(),
8848 "BreakpointCleared " 8851 this->logTextOut_out(
8871 this->timeCaller_out(0, _logTime);
8881 #if FW_AMPCS_COMPATIBLE 8886 static_cast<FwAssertArgType>(_status)
8893 static_cast<FwAssertArgType>(_status)
8899 static_cast<FwAssertArgType>(_status)
8909 static_cast<FwAssertArgType>(_status)
8918 static_cast<FwAssertArgType>(_status)
8931 #if FW_ENABLE_TEXT_LOGGING 8932 if (this->isConnected_logTextOut_OutputPort(0)) {
8933 #if FW_OBJECT_NAMES == 1 8934 const char* _formatString =
8935 "(%s) %s: Sequence %s: %s";
8937 const char* _formatString =
8938 "%s: Sequence %s: %s";
8942 (void) _logString.
format(
8945 this->m_objName.toChar(),
8952 this->logTextOut_out(
8972 this->timeCaller_out(0, _logTime);
8982 #if FW_AMPCS_COMPATIBLE 8987 static_cast<FwAssertArgType>(_status)
8997 static_cast<FwAssertArgType>(_status)
9006 static_cast<FwAssertArgType>(_status)
9019 #if FW_ENABLE_TEXT_LOGGING 9020 if (this->isConnected_logTextOut_OutputPort(0)) {
9021 #if FW_OBJECT_NAMES == 1 9022 const char* _formatString =
9023 "(%s) %s: Sequence %s: %s";
9025 const char* _formatString =
9026 "%s: Sequence %s: %s";
9030 (void) _logString.
format(
9033 this->m_objName.toChar(),
9040 this->logTextOut_out(
9060 this->timeCaller_out(0, _logTime);
9070 #if FW_AMPCS_COMPATIBLE 9075 static_cast<FwAssertArgType>(_status)
9085 static_cast<FwAssertArgType>(_status)
9094 static_cast<FwAssertArgType>(_status)
9107 #if FW_ENABLE_TEXT_LOGGING 9108 if (this->isConnected_logTextOut_OutputPort(0)) {
9109 #if FW_OBJECT_NAMES == 1 9110 const char* _formatString =
9111 "(%s) %s: Sequence %s: %s";
9113 const char* _formatString =
9114 "%s: Sequence %s: %s";
9118 (void) _logString.
format(
9121 this->m_objName.toChar(),
9128 this->logTextOut_out(
9148 this->timeCaller_out(0, _logTime);
9158 #if FW_AMPCS_COMPATIBLE 9163 static_cast<FwAssertArgType>(_status)
9173 static_cast<FwAssertArgType>(_status)
9182 static_cast<FwAssertArgType>(_status)
9195 #if FW_ENABLE_TEXT_LOGGING 9196 if (this->isConnected_logTextOut_OutputPort(0)) {
9197 #if FW_OBJECT_NAMES == 1 9198 const char* _formatString =
9199 "(%s) %s: Sequence %s: %s";
9201 const char* _formatString =
9202 "%s: Sequence %s: %s";
9206 (void) _logString.
format(
9209 this->m_objName.toChar(),
9216 this->logTextOut_out(
9236 this->timeCaller_out(0, _logTime);
9246 #if FW_AMPCS_COMPATIBLE 9251 static_cast<FwAssertArgType>(_status)
9261 static_cast<FwAssertArgType>(_status)
9270 static_cast<FwAssertArgType>(_status)
9283 #if FW_ENABLE_TEXT_LOGGING 9284 if (this->isConnected_logTextOut_OutputPort(0)) {
9285 #if FW_OBJECT_NAMES == 1 9286 const char* _formatString =
9287 "(%s) %s: Sequence %s: %s";
9289 const char* _formatString =
9290 "%s: Sequence %s: %s";
9294 (void) _logString.
format(
9297 this->m_objName.toChar(),
9304 this->logTextOut_out(
9324 this->timeCaller_out(0, _logTime);
9334 #if FW_AMPCS_COMPATIBLE 9339 static_cast<FwAssertArgType>(_status)
9349 static_cast<FwAssertArgType>(_status)
9358 static_cast<FwAssertArgType>(_status)
9371 #if FW_ENABLE_TEXT_LOGGING 9372 if (this->isConnected_logTextOut_OutputPort(0)) {
9373 #if FW_OBJECT_NAMES == 1 9374 const char* _formatString =
9375 "(%s) %s: Sequence %s: %s";
9377 const char* _formatString =
9378 "%s: Sequence %s: %s";
9382 (void) _logString.
format(
9385 this->m_objName.toChar(),
9392 this->logTextOut_out(
9412 this->timeCaller_out(0, _logTime);
9422 #if FW_AMPCS_COMPATIBLE 9427 static_cast<FwAssertArgType>(_status)
9437 static_cast<FwAssertArgType>(_status)
9446 static_cast<FwAssertArgType>(_status)
9459 #if FW_ENABLE_TEXT_LOGGING 9460 if (this->isConnected_logTextOut_OutputPort(0)) {
9461 #if FW_OBJECT_NAMES == 1 9462 const char* _formatString =
9463 "(%s) %s: Sequence %s: %s";
9465 const char* _formatString =
9466 "%s: Sequence %s: %s";
9470 (void) _logString.
format(
9473 this->m_objName.toChar(),
9480 this->logTextOut_out(
9507 this->timeCaller_out(0, _tlmTime);
9533 if (not this->m_first_update_State) {
9535 if (arg == this->m_last_State) {
9539 this->m_last_State = arg;
9543 this->m_first_update_State =
false;
9544 this->m_last_State = arg;
9552 static_cast<FwAssertArgType>(_stat)
9570 if (not this->m_first_update_SequencesSucceeded) {
9572 if (arg == this->m_last_SequencesSucceeded) {
9576 this->m_last_SequencesSucceeded = arg;
9580 this->m_first_update_SequencesSucceeded =
false;
9581 this->m_last_SequencesSucceeded = arg;
9589 static_cast<FwAssertArgType>(_stat)
9607 if (not this->m_first_update_SequencesFailed) {
9609 if (arg == this->m_last_SequencesFailed) {
9613 this->m_last_SequencesFailed = arg;
9617 this->m_first_update_SequencesFailed =
false;
9618 this->m_last_SequencesFailed = arg;
9626 static_cast<FwAssertArgType>(_stat)
9644 if (not this->m_first_update_SequencesCancelled) {
9646 if (arg == this->m_last_SequencesCancelled) {
9650 this->m_last_SequencesCancelled = arg;
9654 this->m_first_update_SequencesCancelled =
false;
9655 this->m_last_SequencesCancelled = arg;
9663 static_cast<FwAssertArgType>(_stat)
9681 if (not this->m_first_update_StatementsDispatched) {
9683 if (arg == this->m_last_StatementsDispatched) {
9687 this->m_last_StatementsDispatched = arg;
9691 this->m_first_update_StatementsDispatched =
false;
9692 this->m_last_StatementsDispatched = arg;
9700 static_cast<FwAssertArgType>(_stat)
9718 if (not this->m_first_update_StatementsFailed) {
9720 if (arg == this->m_last_StatementsFailed) {
9724 this->m_last_StatementsFailed = arg;
9728 this->m_first_update_StatementsFailed =
false;
9729 this->m_last_StatementsFailed = arg;
9737 static_cast<FwAssertArgType>(_stat)
9755 if (not this->m_first_update_LastDirectiveError) {
9757 if (arg == this->m_last_LastDirectiveError) {
9761 this->m_last_LastDirectiveError = arg;
9765 this->m_first_update_LastDirectiveError =
false;
9766 this->m_last_LastDirectiveError = arg;
9774 static_cast<FwAssertArgType>(_stat)
9792 if (not this->m_first_update_DirectiveErrorIndex) {
9794 if (arg == this->m_last_DirectiveErrorIndex) {
9798 this->m_last_DirectiveErrorIndex = arg;
9802 this->m_first_update_DirectiveErrorIndex =
false;
9803 this->m_last_DirectiveErrorIndex = arg;
9811 static_cast<FwAssertArgType>(_stat)
9829 if (not this->m_first_update_DirectiveErrorId) {
9831 if (arg == this->m_last_DirectiveErrorId) {
9835 this->m_last_DirectiveErrorId = arg;
9839 this->m_first_update_DirectiveErrorId =
false;
9840 this->m_last_DirectiveErrorId = arg;
9848 static_cast<FwAssertArgType>(_stat)
9866 if (not this->m_first_update_SeqPath) {
9868 if (arg == this->m_last_SeqPath) {
9872 this->m_last_SeqPath = arg;
9876 this->m_first_update_SeqPath =
false;
9877 this->m_last_SeqPath = arg;
9888 static_cast<FwAssertArgType>(_stat)
9906 if (not this->m_first_update_Debug_ReachedEndOfFile) {
9908 if (arg == this->m_last_Debug_ReachedEndOfFile) {
9912 this->m_last_Debug_ReachedEndOfFile = arg;
9916 this->m_first_update_Debug_ReachedEndOfFile =
false;
9917 this->m_last_Debug_ReachedEndOfFile = arg;
9925 static_cast<FwAssertArgType>(_stat)
9943 if (not this->m_first_update_Debug_NextStatementReadSuccess) {
9945 if (arg == this->m_last_Debug_NextStatementReadSuccess) {
9949 this->m_last_Debug_NextStatementReadSuccess = arg;
9953 this->m_first_update_Debug_NextStatementReadSuccess =
false;
9954 this->m_last_Debug_NextStatementReadSuccess = arg;
9962 static_cast<FwAssertArgType>(_stat)
9980 if (not this->m_first_update_Debug_NextStatementOpcode) {
9982 if (arg == this->m_last_Debug_NextStatementOpcode) {
9986 this->m_last_Debug_NextStatementOpcode = arg;
9990 this->m_first_update_Debug_NextStatementOpcode =
false;
9991 this->m_last_Debug_NextStatementOpcode = arg;
9999 static_cast<FwAssertArgType>(_stat)
10017 if (not this->m_first_update_Debug_NextStatementIndex) {
10019 if (arg == this->m_last_Debug_NextStatementIndex) {
10023 this->m_last_Debug_NextStatementIndex = arg;
10027 this->m_first_update_Debug_NextStatementIndex =
false;
10028 this->m_last_Debug_NextStatementIndex = arg;
10036 static_cast<FwAssertArgType>(_stat)
10054 if (not this->m_first_update_Debug_NextCmdOpcode) {
10056 if (arg == this->m_last_Debug_NextCmdOpcode) {
10060 this->m_last_Debug_NextCmdOpcode = arg;
10064 this->m_first_update_Debug_NextCmdOpcode =
false;
10065 this->m_last_Debug_NextCmdOpcode = arg;
10073 static_cast<FwAssertArgType>(_stat)
10091 if (not this->m_first_update_Debug_StackSize) {
10093 if (arg == this->m_last_Debug_StackSize) {
10097 this->m_last_Debug_StackSize = arg;
10101 this->m_first_update_Debug_StackSize =
false;
10102 this->m_last_Debug_StackSize = arg;
10110 static_cast<FwAssertArgType>(_stat)
10128 if (not this->m_first_update_BreakpointInUse) {
10130 if (arg == this->m_last_BreakpointInUse) {
10134 this->m_last_BreakpointInUse = arg;
10138 this->m_first_update_BreakpointInUse =
false;
10139 this->m_last_BreakpointInUse = arg;
10147 static_cast<FwAssertArgType>(_stat)
10165 if (not this->m_first_update_BreakpointIndex) {
10167 if (arg == this->m_last_BreakpointIndex) {
10171 this->m_last_BreakpointIndex = arg;
10175 this->m_first_update_BreakpointIndex =
false;
10176 this->m_last_BreakpointIndex = arg;
10184 static_cast<FwAssertArgType>(_stat)
10202 if (not this->m_first_update_BreakOnlyOnceOnBreakpoint) {
10204 if (arg == this->m_last_BreakOnlyOnceOnBreakpoint) {
10208 this->m_last_BreakOnlyOnceOnBreakpoint = arg;
10212 this->m_first_update_BreakOnlyOnceOnBreakpoint =
false;
10213 this->m_last_BreakOnlyOnceOnBreakpoint = arg;
10221 static_cast<FwAssertArgType>(_stat)
10239 if (not this->m_first_update_BreakBeforeNextLine) {
10241 if (arg == this->m_last_BreakBeforeNextLine) {
10245 this->m_last_BreakBeforeNextLine = arg;
10249 this->m_first_update_BreakBeforeNextLine =
false;
10250 this->m_last_BreakBeforeNextLine = arg;
10258 static_cast<FwAssertArgType>(_stat)
10276 if (not this->m_first_update_PRM_STATEMENT_TIMEOUT_SECS) {
10278 if (arg == this->m_last_PRM_STATEMENT_TIMEOUT_SECS) {
10282 this->m_last_PRM_STATEMENT_TIMEOUT_SECS = arg;
10286 this->m_first_update_PRM_STATEMENT_TIMEOUT_SECS =
false;
10287 this->m_last_PRM_STATEMENT_TIMEOUT_SECS = arg;
10295 static_cast<FwAssertArgType>(_stat)
10313 if (not this->m_first_update_PRM_SEQ_BASE_DIR) {
10315 if (arg == this->m_last_PRM_SEQ_BASE_DIR) {
10319 this->m_last_PRM_SEQ_BASE_DIR = arg;
10323 this->m_first_update_PRM_SEQ_BASE_DIR =
false;
10324 this->m_last_PRM_SEQ_BASE_DIR = arg;
10335 static_cast<FwAssertArgType>(_stat)
10370 this->m_paramLock.
lock();
10371 valid = this->m_param_STATEMENT_TIMEOUT_SECS_valid;
10373 _local = this->m_STATEMENT_TIMEOUT_SECS;
10375 this->m_paramLock.
unlock();
10383 this->m_paramLock.
lock();
10384 valid = this->m_param_SEQ_BASE_DIR_valid;
10386 _local = this->m_SEQ_BASE_DIR;
10388 this->m_paramLock.
unlock();
10401 this->timeCaller_out(0, _time);
10416 ComponentIpcSerializableBuffer _msg;
10426 static_cast<FwAssertArgType>(_msgStatus)
10436 static_cast<FwAssertArgType>(_deserStatus)
10439 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
10441 if (_msgType == FPYSEQUENCER_COMPONENT_EXIT) {
10446 _deserStatus = _msg.deserializeTo(portNum);
10449 static_cast<FwAssertArgType>(_deserStatus)
10452 switch (_msgType) {
10454 case CHECKTIMERS_SCHED: {
10457 _deserStatus = _msg.deserializeTo(context);
10460 static_cast<FwAssertArgType>(_deserStatus)
10472 case CMDRESPONSEIN_CMDRESPONSE: {
10475 _deserStatus = _msg.deserializeTo(opCode);
10478 static_cast<FwAssertArgType>(_deserStatus)
10483 _deserStatus = _msg.deserializeTo(cmdSeq);
10486 static_cast<FwAssertArgType>(_deserStatus)
10491 _deserStatus = _msg.deserializeTo(response);
10494 static_cast<FwAssertArgType>(_deserStatus)
10508 case PINGIN_PING: {
10511 _deserStatus = _msg.deserializeTo(key);
10514 static_cast<FwAssertArgType>(_deserStatus)
10526 case SEQCANCELIN_CMDSEQCANCEL: {
10534 case SEQRUNIN_CMDSEQIN: {
10537 Fw::ExternalString filename(__fprime_ac_filename_buffer,
sizeof __fprime_ac_filename_buffer);
10538 _deserStatus = _msg.deserializeTo(filename);
10541 static_cast<FwAssertArgType>(_deserStatus)
10546 _deserStatus = _msg.deserializeTo(args);
10549 static_cast<FwAssertArgType>(_deserStatus)
10562 case TLMWRITE_SCHED: {
10565 _deserStatus = _msg.deserializeTo(context);
10568 static_cast<FwAssertArgType>(_deserStatus)
10583 _deserStatus = _msg.deserializeTo(_opCode);
10586 static_cast<FwAssertArgType>(_deserStatus)
10591 _deserStatus = _msg.deserializeTo(_cmdSeq);
10594 static_cast<FwAssertArgType>(_deserStatus)
10599 _deserStatus = _msg.deserializeTo(args);
10602 static_cast<FwAssertArgType>(_deserStatus)
10640 #if FW_CMD_CHECK_RESIDUAL 10661 case CMD_RUN_ARGS: {
10664 _deserStatus = _msg.deserializeTo(_opCode);
10667 static_cast<FwAssertArgType>(_deserStatus)
10672 _deserStatus = _msg.deserializeTo(_cmdSeq);
10675 static_cast<FwAssertArgType>(_deserStatus)
10680 _deserStatus = _msg.deserializeTo(args);
10683 static_cast<FwAssertArgType>(_deserStatus)
10736 #if FW_CMD_CHECK_RESIDUAL 10758 case CMD_VALIDATE: {
10761 _deserStatus = _msg.deserializeTo(_opCode);
10764 static_cast<FwAssertArgType>(_deserStatus)
10769 _deserStatus = _msg.deserializeTo(_cmdSeq);
10772 static_cast<FwAssertArgType>(_deserStatus)
10777 _deserStatus = _msg.deserializeTo(args);
10780 static_cast<FwAssertArgType>(_deserStatus)
10803 #if FW_CMD_CHECK_RESIDUAL 10823 case CMD_VALIDATE_ARGS: {
10826 _deserStatus = _msg.deserializeTo(_opCode);
10829 static_cast<FwAssertArgType>(_deserStatus)
10834 _deserStatus = _msg.deserializeTo(_cmdSeq);
10837 static_cast<FwAssertArgType>(_deserStatus)
10842 _deserStatus = _msg.deserializeTo(args);
10845 static_cast<FwAssertArgType>(_deserStatus)
10883 #if FW_CMD_CHECK_RESIDUAL 10904 case CMD_RUN_VALIDATED: {
10907 _deserStatus = _msg.deserializeTo(_opCode);
10910 static_cast<FwAssertArgType>(_deserStatus)
10915 _deserStatus = _msg.deserializeTo(_cmdSeq);
10918 static_cast<FwAssertArgType>(_deserStatus)
10923 _deserStatus = _msg.deserializeTo(args);
10926 static_cast<FwAssertArgType>(_deserStatus)
10949 #if FW_CMD_CHECK_RESIDUAL 10972 _deserStatus = _msg.deserializeTo(_opCode);
10975 static_cast<FwAssertArgType>(_deserStatus)
10980 _deserStatus = _msg.deserializeTo(_cmdSeq);
10983 static_cast<FwAssertArgType>(_deserStatus)
10988 _deserStatus = _msg.deserializeTo(args);
10991 static_cast<FwAssertArgType>(_deserStatus)
10999 #if FW_CMD_CHECK_RESIDUAL 11016 case CMD_SET_BREAKPOINT: {
11019 _deserStatus = _msg.deserializeTo(_opCode);
11022 static_cast<FwAssertArgType>(_deserStatus)
11027 _deserStatus = _msg.deserializeTo(_cmdSeq);
11030 static_cast<FwAssertArgType>(_deserStatus)
11035 _deserStatus = _msg.deserializeTo(args);
11038 static_cast<FwAssertArgType>(_deserStatus)
11076 #if FW_CMD_CHECK_RESIDUAL 11100 _deserStatus = _msg.deserializeTo(_opCode);
11103 static_cast<FwAssertArgType>(_deserStatus)
11108 _deserStatus = _msg.deserializeTo(_cmdSeq);
11111 static_cast<FwAssertArgType>(_deserStatus)
11116 _deserStatus = _msg.deserializeTo(args);
11119 static_cast<FwAssertArgType>(_deserStatus)
11127 #if FW_CMD_CHECK_RESIDUAL 11144 case CMD_CONTINUE: {
11147 _deserStatus = _msg.deserializeTo(_opCode);
11150 static_cast<FwAssertArgType>(_deserStatus)
11155 _deserStatus = _msg.deserializeTo(_cmdSeq);
11158 static_cast<FwAssertArgType>(_deserStatus)
11163 _deserStatus = _msg.deserializeTo(args);
11166 static_cast<FwAssertArgType>(_deserStatus)
11174 #if FW_CMD_CHECK_RESIDUAL 11191 case CMD_CLEAR_BREAKPOINT: {
11194 _deserStatus = _msg.deserializeTo(_opCode);
11197 static_cast<FwAssertArgType>(_deserStatus)
11202 _deserStatus = _msg.deserializeTo(_cmdSeq);
11205 static_cast<FwAssertArgType>(_deserStatus)
11210 _deserStatus = _msg.deserializeTo(args);
11213 static_cast<FwAssertArgType>(_deserStatus)
11221 #if FW_CMD_CHECK_RESIDUAL 11241 _deserStatus = _msg.deserializeTo(_opCode);
11244 static_cast<FwAssertArgType>(_deserStatus)
11249 _deserStatus = _msg.deserializeTo(_cmdSeq);
11252 static_cast<FwAssertArgType>(_deserStatus)
11257 _deserStatus = _msg.deserializeTo(args);
11260 static_cast<FwAssertArgType>(_deserStatus)
11268 #if FW_CMD_CHECK_RESIDUAL 11285 case CMD_DUMP_STACK_TO_FILE: {
11288 _deserStatus = _msg.deserializeTo(_opCode);
11291 static_cast<FwAssertArgType>(_deserStatus)
11296 _deserStatus = _msg.deserializeTo(_cmdSeq);
11299 static_cast<FwAssertArgType>(_deserStatus)
11304 _deserStatus = _msg.deserializeTo(args);
11307 static_cast<FwAssertArgType>(_deserStatus)
11330 #if FW_CMD_CHECK_RESIDUAL 11350 case INT_IF_DIRECTIVE_ALLOCATE: {
11352 _deserStatus = _msg.deserializeTo(directive);
11357 static_cast<FwAssertArgType>(_deserStatus)
11363 _msg.getDeserializeSizeLeft() == 0,
11376 case INT_IF_DIRECTIVE_CALL: {
11378 _deserStatus = _msg.deserializeTo(directive);
11383 static_cast<FwAssertArgType>(_deserStatus)
11389 _msg.getDeserializeSizeLeft() == 0,
11402 case INT_IF_DIRECTIVE_CONSTCMD: {
11404 _deserStatus = _msg.deserializeTo(directive);
11409 static_cast<FwAssertArgType>(_deserStatus)
11415 _msg.getDeserializeSizeLeft() == 0,
11428 case INT_IF_DIRECTIVE_DISCARD: {
11430 _deserStatus = _msg.deserializeTo(directive);
11435 static_cast<FwAssertArgType>(_deserStatus)
11441 _msg.getDeserializeSizeLeft() == 0,
11454 case INT_IF_DIRECTIVE_EXIT: {
11456 _deserStatus = _msg.deserializeTo(directive);
11461 static_cast<FwAssertArgType>(_deserStatus)
11467 _msg.getDeserializeSizeLeft() == 0,
11480 case INT_IF_DIRECTIVE_GETFIELD: {
11482 _deserStatus = _msg.deserializeTo(directive);
11487 static_cast<FwAssertArgType>(_deserStatus)
11493 _msg.getDeserializeSizeLeft() == 0,
11506 case INT_IF_DIRECTIVE_GOTO: {
11508 _deserStatus = _msg.deserializeTo(directive);
11513 static_cast<FwAssertArgType>(_deserStatus)
11519 _msg.getDeserializeSizeLeft() == 0,
11532 case INT_IF_DIRECTIVE_IF: {
11534 _deserStatus = _msg.deserializeTo(directive);
11539 static_cast<FwAssertArgType>(_deserStatus)
11545 _msg.getDeserializeSizeLeft() == 0,
11558 case INT_IF_DIRECTIVE_LOADABS: {
11560 _deserStatus = _msg.deserializeTo(directive);
11565 static_cast<FwAssertArgType>(_deserStatus)
11571 _msg.getDeserializeSizeLeft() == 0,
11584 case INT_IF_DIRECTIVE_LOADREL: {
11586 _deserStatus = _msg.deserializeTo(directive);
11591 static_cast<FwAssertArgType>(_deserStatus)
11597 _msg.getDeserializeSizeLeft() == 0,
11610 case INT_IF_DIRECTIVE_MEMCMP: {
11612 _deserStatus = _msg.deserializeTo(directive);
11617 static_cast<FwAssertArgType>(_deserStatus)
11623 _msg.getDeserializeSizeLeft() == 0,
11636 case INT_IF_DIRECTIVE_NOOP: {
11638 _deserStatus = _msg.deserializeTo(directive);
11643 static_cast<FwAssertArgType>(_deserStatus)
11649 _msg.getDeserializeSizeLeft() == 0,
11662 case INT_IF_DIRECTIVE_PEEK: {
11664 _deserStatus = _msg.deserializeTo(directive);
11669 static_cast<FwAssertArgType>(_deserStatus)
11675 _msg.getDeserializeSizeLeft() == 0,
11688 case INT_IF_DIRECTIVE_POPEVENT: {
11690 _deserStatus = _msg.deserializeTo(directive);
11695 static_cast<FwAssertArgType>(_deserStatus)
11701 _msg.getDeserializeSizeLeft() == 0,
11714 case INT_IF_DIRECTIVE_POPSERIALIZABLE: {
11716 _deserStatus = _msg.deserializeTo(directive);
11721 static_cast<FwAssertArgType>(_deserStatus)
11727 _msg.getDeserializeSizeLeft() == 0,
11740 case INT_IF_DIRECTIVE_PUSHPRM: {
11742 _deserStatus = _msg.deserializeTo(directive);
11747 static_cast<FwAssertArgType>(_deserStatus)
11753 _msg.getDeserializeSizeLeft() == 0,
11766 case INT_IF_DIRECTIVE_PUSHRAND: {
11768 _deserStatus = _msg.deserializeTo(directive);
11773 static_cast<FwAssertArgType>(_deserStatus)
11779 _msg.getDeserializeSizeLeft() == 0,
11792 case INT_IF_DIRECTIVE_PUSHTIME: {
11794 _deserStatus = _msg.deserializeTo(directive);
11799 static_cast<FwAssertArgType>(_deserStatus)
11805 _msg.getDeserializeSizeLeft() == 0,
11818 case INT_IF_DIRECTIVE_PUSHTLMVAL: {
11820 _deserStatus = _msg.deserializeTo(directive);
11825 static_cast<FwAssertArgType>(_deserStatus)
11831 _msg.getDeserializeSizeLeft() == 0,
11844 case INT_IF_DIRECTIVE_PUSHTLMVALANDTIME: {
11846 _deserStatus = _msg.deserializeTo(directive);
11851 static_cast<FwAssertArgType>(_deserStatus)
11857 _msg.getDeserializeSizeLeft() == 0,
11870 case INT_IF_DIRECTIVE_PUSHVAL: {
11872 _deserStatus = _msg.deserializeTo(directive);
11877 static_cast<FwAssertArgType>(_deserStatus)
11883 _msg.getDeserializeSizeLeft() == 0,
11896 case INT_IF_DIRECTIVE_RETURN: {
11898 _deserStatus = _msg.deserializeTo(directive);
11903 static_cast<FwAssertArgType>(_deserStatus)
11909 _msg.getDeserializeSizeLeft() == 0,
11922 case INT_IF_DIRECTIVE_SETSEED: {
11924 _deserStatus = _msg.deserializeTo(directive);
11929 static_cast<FwAssertArgType>(_deserStatus)
11935 _msg.getDeserializeSizeLeft() == 0,
11948 case INT_IF_DIRECTIVE_STACKCMD: {
11950 _deserStatus = _msg.deserializeTo(directive);
11955 static_cast<FwAssertArgType>(_deserStatus)
11961 _msg.getDeserializeSizeLeft() == 0,
11974 case INT_IF_DIRECTIVE_STACKOP: {
11976 _deserStatus = _msg.deserializeTo(directive);
11981 static_cast<FwAssertArgType>(_deserStatus)
11987 _msg.getDeserializeSizeLeft() == 0,
12000 case INT_IF_DIRECTIVE_STOREABS: {
12002 _deserStatus = _msg.deserializeTo(directive);
12007 static_cast<FwAssertArgType>(_deserStatus)
12013 _msg.getDeserializeSizeLeft() == 0,
12026 case INT_IF_DIRECTIVE_STOREABSCONSTOFFSET: {
12028 _deserStatus = _msg.deserializeTo(directive);
12033 static_cast<FwAssertArgType>(_deserStatus)
12039 _msg.getDeserializeSizeLeft() == 0,
12052 case INT_IF_DIRECTIVE_STOREREL: {
12054 _deserStatus = _msg.deserializeTo(directive);
12059 static_cast<FwAssertArgType>(_deserStatus)
12065 _msg.getDeserializeSizeLeft() == 0,
12078 case INT_IF_DIRECTIVE_STORERELCONSTOFFSET: {
12080 _deserStatus = _msg.deserializeTo(directive);
12085 static_cast<FwAssertArgType>(_deserStatus)
12091 _msg.getDeserializeSizeLeft() == 0,
12104 case INT_IF_DIRECTIVE_WAITABS: {
12106 _deserStatus = _msg.deserializeTo(directive);
12111 static_cast<FwAssertArgType>(_deserStatus)
12117 _msg.getDeserializeSizeLeft() == 0,
12130 case INT_IF_DIRECTIVE_WAITREL: {
12132 _deserStatus = _msg.deserializeTo(directive);
12137 static_cast<FwAssertArgType>(_deserStatus)
12143 _msg.getDeserializeSizeLeft() == 0,
12157 case INTERNAL_STATE_MACHINE_SIGNAL:
12158 this->smDispatch(_msg);
12172 void FpySequencerComponentBase ::
12183 compPtr->cmdIn_handlerBase(
12195 void FpySequencerComponentBase ::
12196 m_p_checkTimers_in(
12204 compPtr->checkTimers_handlerBase(
12210 void FpySequencerComponentBase ::
12211 m_p_cmdResponseIn_in(
12221 compPtr->cmdResponseIn_handlerBase(
12229 void FpySequencerComponentBase ::
12238 compPtr->pingIn_handlerBase(
12244 void FpySequencerComponentBase ::
12245 m_p_seqCancelIn_in(
12252 compPtr->seqCancelIn_handlerBase(portNum);
12255 void FpySequencerComponentBase ::
12265 compPtr->seqRunIn_handlerBase(
12272 void FpySequencerComponentBase ::
12281 compPtr->tlmWrite_handlerBase(
12287 #if !FW_DIRECT_PORT_CALLS 12293 void FpySequencerComponentBase ::
12301 static_cast<FwAssertArgType>(portNum)
12305 this->m_cmdRegOut_OutputPort[portNum].isConnected(),
12306 static_cast<FwAssertArgType>(portNum)
12308 this->m_cmdRegOut_OutputPort[portNum].
invoke(
12313 void FpySequencerComponentBase ::
12314 cmdResponseOut_out(
12323 static_cast<FwAssertArgType>(portNum)
12327 this->m_cmdResponseOut_OutputPort[portNum].isConnected(),
12328 static_cast<FwAssertArgType>(portNum)
12330 this->m_cmdResponseOut_OutputPort[portNum].
invoke(
12337 void FpySequencerComponentBase ::
12348 static_cast<FwAssertArgType>(portNum)
12352 this->m_logOut_OutputPort[portNum].isConnected(),
12353 static_cast<FwAssertArgType>(portNum)
12355 this->m_logOut_OutputPort[portNum].
invoke(
12363 #if FW_ENABLE_TEXT_LOGGING 12365 void FpySequencerComponentBase ::
12375 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
12376 static_cast<FwAssertArgType>(portNum)
12380 this->m_logTextOut_OutputPort[portNum].isConnected(),
12381 static_cast<FwAssertArgType>(portNum)
12383 this->m_logTextOut_OutputPort[portNum].invoke(
12402 static_cast<FwAssertArgType>(portNum)
12406 this->m_prmGet_OutputPort[portNum].isConnected(),
12407 static_cast<FwAssertArgType>(portNum)
12409 return this->m_prmGet_OutputPort[portNum].
invoke(
12415 void FpySequencerComponentBase ::
12424 static_cast<FwAssertArgType>(portNum)
12428 this->m_prmSet_OutputPort[portNum].isConnected(),
12429 static_cast<FwAssertArgType>(portNum)
12431 this->m_prmSet_OutputPort[portNum].
invoke(
12437 void FpySequencerComponentBase ::
12445 static_cast<FwAssertArgType>(portNum)
12449 this->m_timeCaller_OutputPort[portNum].isConnected(),
12450 static_cast<FwAssertArgType>(portNum)
12452 this->m_timeCaller_OutputPort[portNum].
invoke(
12457 void FpySequencerComponentBase ::
12467 static_cast<FwAssertArgType>(portNum)
12471 this->m_tlmOut_OutputPort[portNum].isConnected(),
12472 static_cast<FwAssertArgType>(portNum)
12474 this->m_tlmOut_OutputPort[portNum].
invoke(
12487 void FpySequencerComponentBase ::
12497 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(INTERNAL_STATE_MACHINE_SIGNAL));
12501 status = buffer.
serializeFrom(static_cast<FwIndexType>(0));
12505 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(smId));
12509 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(signal));
12513 void FpySequencerComponentBase ::
12522 static_cast<FwAssertArgType>(qStatus)
12530 void FpySequencerComponentBase ::
12536 FpySequencerComponentBase::deserializeSmIdAndSignal(buffer, storedSmId, storedSignal);
12539 const SmId smId =
static_cast<SmId>(storedSmId);
12543 this->Svc_FpySequencer_SequencerStateMachine_smDispatch(buffer, this->m_stateMachine_sequencer, signal);
12547 FW_ASSERT(
false, static_cast<FwAssertArgType>(smId));
12552 void FpySequencerComponentBase ::
12553 deserializeSmIdAndSignal(
12573 void FpySequencerComponentBase ::
12574 Svc_FpySequencer_SequencerStateMachine_smDispatch(
12576 Svc_FpySequencer_SequencerStateMachine& sm,
12589 sm.sendSignal_cmd_VALIDATE(value);
12600 sm.sendSignal_cmd_RUN(value);
12611 sm.sendSignal_cmd_RUN_VALIDATED(value);
12618 sm.sendSignal_cmd_CANCEL();
12629 sm.sendSignal_cmd_SET_BREAKPOINT(value);
12636 sm.sendSignal_cmd_CLEAR_BREAKPOINT();
12643 sm.sendSignal_result_failure();
12650 sm.sendSignal_result_success();
12657 sm.sendSignal_entered();
12664 sm.sendSignal_result_dispatchStatement_success();
12671 sm.sendSignal_result_dispatchStatement_failure();
12678 sm.sendSignal_result_dispatchStatement_noMoreStatements();
12685 sm.sendSignal_checkTimersIn();
12692 sm.sendSignal_result_checkShouldWake_wakeup();
12699 sm.sendSignal_result_checkShouldWake_keepSleeping();
12706 sm.sendSignal_result_timeOpFailed();
12713 sm.sendSignal_stmtResponse_beginSleep();
12720 sm.sendSignal_stmtResponse_success();
12727 sm.sendSignal_stmtResponse_failure();
12734 sm.sendSignal_stmtResponse_unexpected();
12741 sm.sendSignal_stmtResponse_keepWaiting();
12748 sm.sendSignal_result_checkStatementTimeout_statementTimeout();
12755 sm.sendSignal_result_checkStatementTimeout_noTimeout();
12762 sm.sendSignal_cmd_CONTINUE();
12769 sm.sendSignal_cmd_BREAK();
12776 sm.sendSignal_cmd_STEP();
12780 FW_ASSERT(
false, static_cast<FwAssertArgType>(signal));
12799 this->m_paramLock.
lock();
12800 this->m_STATEMENT_TIMEOUT_SECS = _localVal;
12802 this->m_paramLock.
unlock();
12819 this->m_paramLock.
lock();
12820 this->m_SEQ_BASE_DIR = _localVal;
12822 this->m_paramLock.
unlock();
12834 paramSave_STATEMENT_TIMEOUT_SECS()
12843 this->m_paramLock.
lock();
12845 _stat = _paramBuffer.
serializeFrom(m_STATEMENT_TIMEOUT_SECS);
12847 this->m_paramLock.
unlock();
12862 paramSave_SEQ_BASE_DIR()
12871 this->m_paramLock.
lock();
12875 this->m_paramLock.
unlock();
void cmdOut_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context) const
Invoke output port cmdOut.
Serialization/Deserialization operation was successful.
void pingOut_out(FwIndexType portNum, U32 key) const
Invoke output port pingOut.
virtual void seqCancelIn_handler(FwIndexType portNum)=0
Handler for input port seqCancelIn.
void sequencer_sendSignal_result_dispatchStatement_noMoreStatements()
Send signal result_dispatchStatement_noMoreStatements to state machine sequencer. ...
sets the index of the next directive to execute
void sequencer_sendSignal_result_checkShouldWake_keepSleeping()
Send signal result_checkShouldWake_keepSleeping to state machine sequencer.
called when an unexpected or incorrect statement response comes in. only raised in the RUNNING state ...
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.
Channel ID for DirectiveErrorId.
void addCallPort(InputTimePort *callPort)
Register an input port.
Channel ID for SequencesSucceeded.
void invoke(Fw::ComBuffer &data, U32 context) const
Invoke a port connection.
bool isConnected_getTlmChan_OutputPort(FwIndexType portNum) const
The size of the serial representation.
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.
Channel ID for StatementsDispatched.
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.
Opcode to set parameter SEQ_BASE_DIR.
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 PRM_SEQ_BASE_DIR.
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())
virtual void parametersLoaded()
Called whenever parameters are loaded.
static constexpr FwSizeType CAPACITY
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum) const
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()
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 ...
Status receive(U8 *destination, FwSizeType capacity, BlockingType blockType, FwSizeType &actualSize, FwQueuePriorityType &priority) override
receive a message from the queue through delegate
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.
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 ...
The size of the serial representation.
called on VALIDATE cmd with the path of the sequence file to validate. only raised in IDLE state ...
The size of the serial representation.
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.
Loads, validates and runs a sequence.
void log_WARNING_HI_CommandFailed(FwOpcodeType opCode, U32 stmtIdx, const Fw::StringBase &filePath, const Fw::CmdResponse &response) const
Log event CommandFailed.
message to exit active component task
virtual void CLEAR_BREAKPOINT_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CLEAR_BREAKPOINT.
static constexpr FwIndexType getNum_cmdIn_InputPorts()
BYTE pingInPortSize[Svc::PingPortBuffer::CAPACITY]
void tlmWrite_Debug_ReachedEndOfFile(bool arg, Fw::Time _tlmTime=Fw::Time())
void init()
Initialization function.
Opcode to save parameter SEQ_BASE_DIR.
void RUN_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
StringTemplate< FW_FIXED_LENGTH_STRING_SIZE > String
The size of the serial representation.
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
void set_seqDoneOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to seqDoneOut[portNum].
FwIdType FwPrmIdType
The type of a parameter identifier.
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
Channel ID for Debug_NextStatementOpcode.
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.
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.
void invoke(U32 key) const
Invoke a port connection.
raised when we should keep sleeping
void STEP_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
static constexpr FwIndexType getNum_pingIn_InputPorts()
Channel ID for LastDirectiveError.
called in SET_BREAKPOINT cmd. raised in any state
bool isConnected_prmGet_OutputPort(FwIndexType portNum) const
void addCallPort(InputTlmGetPort *callPort)
Register an input port.
pop an opcode and arg buf off the stack, send to cmd dispatcher and await response ...
virtual const CHAR * toChar() const =0
Convert to a C-style char*.
void log_WARNING_HI_SequenceFilePathTooLong(const Fw::StringBase &baseDir, const Fw::StringBase &fileName) const
Log event SequenceFilePathTooLong.
void sequencer_sendSignal_result_checkShouldWake_wakeup()
Send signal result_checkShouldWake_wakeup to state machine sequencer.
virtual void directive_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.
The size of the serial representation.
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.
Channel ID for Debug_NextStatementReadSuccess.
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.
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.
Channel ID for DirectiveErrorIndex.
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.
Channel ID for BreakBeforeNextLine.
The size of the serial representation.
virtual SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG)=0
Serialize an 8-bit unsigned integer value.
Opcode to set parameter STATEMENT_TIMEOUT_SECS.
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
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.
The size of the serial representation.
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.
The size of the serial representation.
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.
Channel ID for Debug_NextCmdOpcode.
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.
virtual void directive_allocate_internalInterfaceHandler(const Svc::FpySequencer_AllocateDirective &directive)=0
Internal interface handler for directive_allocate.
The size of the serial representation.
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
Writes the contents of the stack to a file. This command is only valid in the 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.
void unlock()
alias for unLock to meet BasicLockable requirements
static constexpr FwIndexType getNum_getParam_OutputPorts()
The size of the serial representation.
The size of the serial representation.
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)
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) ...
The size of the serial representation.
void log_WARNING_HI_EndOfFileError(const Svc::FpySequencer_FileReadStage &readStage, const Fw::StringBase &filePath) const
Log event EndOfFileError.
pop two byte arrays off the top of the stack, call memcmp, push 1 if they were equal, 0 otherwise
void init()
Initialization function.
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
Data was the wrong format (e.g. wrong packet type)
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.
Channel ID for Debug_NextStatementIndex.
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.
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
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.
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 ...
The size of the serial representation.
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
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.
The size of the serial representation.
void set_cmdResponseOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdResponseOut[portNum].
void addCallPort(InputPingPort *callPort)
Register an input port.
Status send(const U8 *buffer, FwSizeType size, FwQueuePriorityType priority, BlockingType blockType) override
send a message into the queue through delegate
Sequencer blocking state.
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)
The size of the serial representation.
The size of the serial representation.
static constexpr FwIndexType getNum_prmSet_OutputPorts()
void log_WARNING_HI_LogWarningHi(const Fw::StringBase &filePath, const Fw::StringBase &message) const
Log event LogWarningHi.
Channel ID for StatementsFailed.
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.
Must be called after VALIDATE. Runs the sequence that was validated.
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*.
The size of the serial representation.
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.
The size of the serial representation.
void loadParameters()
Load the parameters from a parameter source.
Channel ID for SequencesCancelled.
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.
The size of the serial representation.
Channel ID for SequencesFailed.
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
The size of the serial representation.
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.
Channel ID for PRM_STATEMENT_TIMEOUT_SECS.
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
The size of the serial representation.
void log_ACTIVITY_HI_BreakpointSet(U32 breakpointIdx, bool breakOnce) const
Log event BreakpointSet.
Channel ID for BreakpointInUse.
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)
The size of the serial representation.
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
Command failed to deserialize.
The size of the serial representation.
The size of the serial representation.
PlatformQueuePriorityType FwQueuePriorityType
The type of queue priorities used.
The size of the serial representation.
The size of the serial representation.
Command had execution error.
Important informational events.
The size of the serial representation.
void sequencer_sendSignal_cmd_CANCEL()
Send signal cmd_CANCEL to state machine sequencer.
void sequencer_sendSignal_result_checkStatementTimeout_statementTimeout()
Send signal result_checkStatementTimeout_statementTimeout to state machine sequencer.
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts()
void sequencer_sendSignal_stmtResponse_keepWaiting()
Send signal stmtResponse_keepWaiting to state machine sequencer.
void invoke(FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args) const
Invoke a port connection.
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.
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()
void init()
Initialization function.
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.
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())
The size of the serial representation.
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.
The size of the serial representation.
The size of the serial representation.
void tlmWrite_SeqPath(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
virtual void SET_BREAKPOINT_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command SET_BREAKPOINT.
PlatformIndexType FwIndexType
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.
Channel ID for Debug_ReachedEndOfFile.
void addCallPort(InputCmdSeqInPort *callPort)
Register an input port.
Channel ID for BreakpointIndex.
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.
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.
The size of the serial representation.
pushes a const byte array onto stack
stores a value to a local variable at a runtime-determined offset relative to the current stack frame...
virtual void directive_return_internalInterfaceHandler(const Svc::FpySequencer_ReturnDirective &directive)=0
Internal interface handler for directive_return.
called in CLEAR_BREAKPOINT cmd. raised in any state
virtual void BREAK_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command BREAK.
void tlmWrite_DirectiveErrorIndex(U64 arg, Fw::Time _tlmTime=Fw::Time())
Command failed validation.
RateGroupDivider component implementation.
The size of the serial representation.
virtual void cmdResponseIn_preMsgHook(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
Pre-message hook for async input port cmdResponseIn.
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.
Opcode to save parameter STATEMENT_TIMEOUT_SECS.
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.
Loads and validates a sequence with arguments.
void SET_BREAKPOINT_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
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()
void sequencer_sendSignal_cmd_RUN(const Svc::FpySequencer_SequenceExecutionArgs &value)
Send signal cmd_RUN to state machine sequencer.
pushes some empty bytes to the stack
void log_WARNING_HI_FileWriteError(FwSizeType writeSize, const Fw::StringBase &filePath, I32 errorCode) const
Log event FileWriteError.
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.
Loads and validates a sequence.
static constexpr FwIndexType getNum_prmGet_OutputPorts()
static constexpr FwIndexType getNum_seqCancelIn_InputPorts()
virtual void CANCEL_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CANCEL.
void tlmWrite_BreakOnlyOnceOnBreakpoint(bool arg, Fw::Time _tlmTime=Fw::Time())
virtual SerializeStatus moveDeserToOffset(FwSizeType offset)=0
Move deserialization pointer to specified offset.
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
void set_prmGet_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to prmGet[portNum].
void set_getParam_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to getParam[portNum].
void CLEAR_BREAKPOINT_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
PlatformAssertArgType FwAssertArgType
The type of arguments to assert functions.
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 lock()
lock the mutex and assert success
void tlmWrite(FwChanIdType id, Fw::TlmBuffer &_tlmBuff, Fw::Time _tlmTime=Fw::Time()) const
Channel ID for Debug_StackSize.
void tlmWrite_BreakpointIndex(U32 arg, Fw::Time _tlmTime=Fw::Time())
The size of the serial representation.
SerializeStatus serializeTo(SerialBufferBase &buffer, Endianness mode=Endianness::BIG) const override
Serialize the contents of this object to a buffer.
BYTE cmdPortSize[Fw::CmdPortBuffer::CAPACITY]
void tlmWrite_Debug_NextStatementReadSuccess(bool arg, Fw::Time _tlmTime=Fw::Time())