9 #if FW_ENABLE_TEXT_LOGGING 19 namespace SmSignalBuffer {
22 union SignalTypeUnion {
30 sizeof(SignalTypeUnion);
37 CMDRESPONSEIN_CMDRESPONSE,
51 CMD_DUMP_STACK_TO_FILE,
52 INT_IF_DIRECTIVE_ALLOCATE,
53 INT_IF_DIRECTIVE_CALL,
54 INT_IF_DIRECTIVE_CONSTCMD,
55 INT_IF_DIRECTIVE_DISCARD,
56 INT_IF_DIRECTIVE_EXIT,
57 INT_IF_DIRECTIVE_GETFIELD,
58 INT_IF_DIRECTIVE_GETFLAG,
59 INT_IF_DIRECTIVE_GOTO,
61 INT_IF_DIRECTIVE_LOADABS,
62 INT_IF_DIRECTIVE_LOADREL,
63 INT_IF_DIRECTIVE_MEMCMP,
64 INT_IF_DIRECTIVE_NOOP,
65 INT_IF_DIRECTIVE_PEEK,
66 INT_IF_DIRECTIVE_PUSHPRM,
67 INT_IF_DIRECTIVE_PUSHTIME,
68 INT_IF_DIRECTIVE_PUSHTLMVAL,
69 INT_IF_DIRECTIVE_PUSHTLMVALANDTIME,
70 INT_IF_DIRECTIVE_PUSHVAL,
71 INT_IF_DIRECTIVE_RETURN,
72 INT_IF_DIRECTIVE_SETFLAG,
73 INT_IF_DIRECTIVE_STACKCMD,
74 INT_IF_DIRECTIVE_STACKOP,
75 INT_IF_DIRECTIVE_STOREABS,
76 INT_IF_DIRECTIVE_STOREABSCONSTOFFSET,
77 INT_IF_DIRECTIVE_STOREREL,
78 INT_IF_DIRECTIVE_STORERELCONSTOFFSET,
79 INT_IF_DIRECTIVE_WAITABS,
80 INT_IF_DIRECTIVE_WAITREL,
81 INTERNAL_STATE_MACHINE_SIGNAL,
94 BYTE directive_allocateIntIfSize[
98 BYTE directive_callIntIfSize[
102 BYTE directive_constCmdIntIfSize[
106 BYTE directive_discardIntIfSize[
110 BYTE directive_exitIntIfSize[
114 BYTE directive_getFieldIntIfSize[
118 BYTE directive_getFlagIntIfSize[
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_pushPrmIntIfSize[
154 BYTE directive_pushTimeIntIfSize[
158 BYTE directive_pushTlmValIntIfSize[
162 BYTE directive_pushTlmValAndTimeIntIfSize[
166 BYTE directive_pushValIntIfSize[
170 BYTE directive_returnIntIfSize[
174 BYTE directive_setFlagIntIfSize[
178 BYTE directive_stackCmdIntIfSize[
182 BYTE directive_stackOpIntIfSize[
186 BYTE directive_storeAbsIntIfSize[
190 BYTE directive_storeAbsConstOffsetIntIfSize[
194 BYTE directive_storeRelIntIfSize[
198 BYTE directive_storeRelConstOffsetIntIfSize[
202 BYTE directive_waitAbsIntIfSize[
206 BYTE directive_waitRelIntIfSize[
212 BYTE internalSmBufferSize[SmSignalBuffer::SERIALIZED_SIZE];
217 class ComponentIpcSerializableBuffer :
227 MAX_DATA_SIZE =
sizeof(BuffUnion),
229 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
233 return sizeof(m_buff);
240 const U8* getBuffAddr()
const {
246 U8 m_buff[SERIALIZATION_SIZE];
257 m_component(component)
265 this->initBase(static_cast<FwEnumStoreType>(smId));
274 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
275 action_signalEntered(
Signal signal)
277 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_signalEntered(this->getId(), signal);
280 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
281 action_setSequenceFilePath(
286 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setSequenceFilePath(this->getId(), signal, value);
289 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
290 action_setSequenceBlockState(
295 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setSequenceBlockState(this->getId(), signal, value);
298 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
299 action_validate(
Signal signal)
301 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_validate(this->getId(), signal);
304 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
305 action_report_seqSucceeded(
Signal signal)
307 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqSucceeded(this->getId(), signal);
310 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
311 action_report_seqCancelled(
Signal signal)
313 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqCancelled(this->getId(), signal);
316 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
317 action_report_seqFailed(
Signal signal)
319 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqFailed(this->getId(), signal);
322 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
323 action_report_seqStarted(
Signal signal)
325 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqStarted(this->getId(), signal);
328 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
329 action_setGoalState_RUNNING(
Signal signal)
331 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_RUNNING(this->getId(), signal);
334 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
335 action_setGoalState_VALID(
Signal signal)
337 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_VALID(this->getId(), signal);
340 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
341 action_setGoalState_IDLE(
Signal signal)
343 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_IDLE(this->getId(), signal);
346 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
347 action_sendCmdResponse_OK(
Signal signal)
349 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_sendCmdResponse_OK(this->getId(), signal);
352 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
353 action_sendCmdResponse_EXECUTION_ERROR(
Signal signal)
355 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_sendCmdResponse_EXECUTION_ERROR(this->getId(), signal);
358 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
359 action_clearSequenceFile(
Signal signal)
361 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearSequenceFile(this->getId(), signal);
364 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
365 action_clearBreakpoint(
Signal signal)
367 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearBreakpoint(this->getId(), signal);
370 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
371 action_checkShouldWake(
Signal signal)
373 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_checkShouldWake(this->getId(), signal);
376 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
377 action_dispatchStatement(
Signal signal)
379 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_dispatchStatement(this->getId(), signal);
382 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
383 action_resetRuntime(
Signal signal)
385 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_resetRuntime(this->getId(), signal);
388 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
389 action_checkStatementTimeout(
Signal signal)
391 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_checkStatementTimeout(this->getId(), signal);
394 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
395 action_incrementSequenceCounter(
Signal signal)
397 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_incrementSequenceCounter(this->getId(), signal);
400 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
401 action_report_seqBroken(
Signal signal)
403 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqBroken(this->getId(), signal);
406 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
407 action_setBreakpoint(
412 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setBreakpoint(this->getId(), signal, value);
415 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
416 action_setBreakBeforeNextLine(
Signal signal)
418 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setBreakBeforeNextLine(this->getId(), signal);
421 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
422 action_clearBreakBeforeNextLine(
Signal signal)
424 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearBreakBeforeNextLine(this->getId(), signal);
427 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
428 guard_goalStateIs_RUNNING(
Signal signal)
const 430 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_goalStateIs_RUNNING(this->getId(), signal);
433 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
434 guard_shouldBreak(
Signal signal)
const 436 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_shouldBreak(this->getId(), signal);
439 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
440 guard_breakOnce(
Signal signal)
const 442 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_breakOnce(this->getId(), signal);
467 this->m_cmdIn_InputPort[port].
init();
472 this->m_cmdIn_InputPort[port].
setPortNum(port);
474 #if FW_OBJECT_NAMES == 1 478 this->m_objName.toChar(),
481 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
491 this->m_checkTimers_InputPort[port].
init();
496 this->m_checkTimers_InputPort[port].
setPortNum(port);
498 #if FW_OBJECT_NAMES == 1 502 this->m_objName.toChar(),
505 this->m_checkTimers_InputPort[port].setObjName(portName.
toChar());
515 this->m_cmdResponseIn_InputPort[port].
init();
520 this->m_cmdResponseIn_InputPort[port].
setPortNum(port);
522 #if FW_OBJECT_NAMES == 1 526 this->m_objName.toChar(),
529 this->m_cmdResponseIn_InputPort[port].setObjName(portName.
toChar());
539 this->m_pingIn_InputPort[port].
init();
544 this->m_pingIn_InputPort[port].
setPortNum(port);
546 #if FW_OBJECT_NAMES == 1 550 this->m_objName.toChar(),
553 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
563 this->m_seqRunIn_InputPort[port].
init();
568 this->m_seqRunIn_InputPort[port].
setPortNum(port);
570 #if FW_OBJECT_NAMES == 1 574 this->m_objName.toChar(),
577 this->m_seqRunIn_InputPort[port].setObjName(portName.
toChar());
587 this->m_tlmWrite_InputPort[port].
init();
592 this->m_tlmWrite_InputPort[port].
setPortNum(port);
594 #if FW_OBJECT_NAMES == 1 598 this->m_objName.toChar(),
601 this->m_tlmWrite_InputPort[port].setObjName(portName.
toChar());
611 this->m_cmdRegOut_OutputPort[port].
init();
613 #if FW_OBJECT_NAMES == 1 617 this->m_objName.toChar(),
620 this->m_cmdRegOut_OutputPort[port].setObjName(portName.
toChar());
630 this->m_cmdResponseOut_OutputPort[port].
init();
632 #if FW_OBJECT_NAMES == 1 636 this->m_objName.toChar(),
639 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
649 this->m_logOut_OutputPort[port].
init();
651 #if FW_OBJECT_NAMES == 1 655 this->m_objName.toChar(),
658 this->m_logOut_OutputPort[port].setObjName(portName.
toChar());
662 #if FW_ENABLE_TEXT_LOGGING == 1 666 port < static_cast<FwIndexType>(this->getNum_logTextOut_OutputPorts());
669 this->m_logTextOut_OutputPort[port].
init();
671 #if FW_OBJECT_NAMES == 1 675 this->m_objName.toChar(),
678 this->m_logTextOut_OutputPort[port].setObjName(portName.
toChar());
689 this->m_prmGet_OutputPort[port].
init();
691 #if FW_OBJECT_NAMES == 1 695 this->m_objName.toChar(),
698 this->m_prmGet_OutputPort[port].setObjName(portName.
toChar());
708 this->m_prmSet_OutputPort[port].
init();
710 #if FW_OBJECT_NAMES == 1 714 this->m_objName.toChar(),
717 this->m_prmSet_OutputPort[port].setObjName(portName.
toChar());
727 this->m_timeCaller_OutputPort[port].
init();
729 #if FW_OBJECT_NAMES == 1 733 this->m_objName.toChar(),
736 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
746 this->m_tlmOut_OutputPort[port].
init();
748 #if FW_OBJECT_NAMES == 1 752 this->m_objName.toChar(),
755 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
765 this->m_cmdOut_OutputPort[port].
init();
767 #if FW_OBJECT_NAMES == 1 771 this->m_objName.toChar(),
774 this->m_cmdOut_OutputPort[port].setObjName(portName.
toChar());
784 this->m_getParam_OutputPort[port].
init();
786 #if FW_OBJECT_NAMES == 1 790 this->m_objName.toChar(),
793 this->m_getParam_OutputPort[port].setObjName(portName.
toChar());
803 this->m_getTlmChan_OutputPort[port].
init();
805 #if FW_OBJECT_NAMES == 1 809 this->m_objName.toChar(),
812 this->m_getTlmChan_OutputPort[port].setObjName(portName.
toChar());
822 this->m_pingOut_OutputPort[port].
init();
824 #if FW_OBJECT_NAMES == 1 828 this->m_objName.toChar(),
831 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
841 this->m_seqDoneOut_OutputPort[port].
init();
843 #if FW_OBJECT_NAMES == 1 847 this->m_objName.toChar(),
850 this->m_seqDoneOut_OutputPort[port].setObjName(portName.
toChar());
860 this->m_seqStartOut_OutputPort[port].
init();
862 #if FW_OBJECT_NAMES == 1 866 this->m_objName.toChar(),
869 this->m_seqStartOut_OutputPort[port].setObjName(portName.
toChar());
876 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
880 static_cast<FwAssertArgType>(qStat)
893 static_cast<FwAssertArgType>(portNum)
896 return &this->m_cmdIn_InputPort[portNum];
908 static_cast<FwAssertArgType>(portNum)
911 return &this->m_checkTimers_InputPort[portNum];
919 static_cast<FwAssertArgType>(portNum)
922 return &this->m_cmdResponseIn_InputPort[portNum];
930 static_cast<FwAssertArgType>(portNum)
933 return &this->m_pingIn_InputPort[portNum];
941 static_cast<FwAssertArgType>(portNum)
944 return &this->m_seqRunIn_InputPort[portNum];
952 static_cast<FwAssertArgType>(portNum)
955 return &this->m_tlmWrite_InputPort[portNum];
970 static_cast<FwAssertArgType>(portNum)
973 this->m_cmdRegOut_OutputPort[portNum].
addCallPort(port);
984 static_cast<FwAssertArgType>(portNum)
987 this->m_cmdResponseOut_OutputPort[portNum].
addCallPort(port);
998 static_cast<FwAssertArgType>(portNum)
1001 this->m_logOut_OutputPort[portNum].
addCallPort(port);
1004 #if FW_ENABLE_TEXT_LOGGING == 1 1006 void FpySequencerComponentBase ::
1007 set_logTextOut_OutputPort(
1013 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1014 static_cast<FwAssertArgType>(portNum)
1017 this->m_logTextOut_OutputPort[portNum].addCallPort(port);
1030 static_cast<FwAssertArgType>(portNum)
1033 this->m_prmGet_OutputPort[portNum].
addCallPort(port);
1044 static_cast<FwAssertArgType>(portNum)
1047 this->m_prmSet_OutputPort[portNum].
addCallPort(port);
1058 static_cast<FwAssertArgType>(portNum)
1061 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
1072 static_cast<FwAssertArgType>(portNum)
1075 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
1090 static_cast<FwAssertArgType>(portNum)
1093 this->m_cmdOut_OutputPort[portNum].
addCallPort(port);
1104 static_cast<FwAssertArgType>(portNum)
1107 this->m_getParam_OutputPort[portNum].
addCallPort(port);
1118 static_cast<FwAssertArgType>(portNum)
1121 this->m_getTlmChan_OutputPort[portNum].
addCallPort(port);
1132 static_cast<FwAssertArgType>(portNum)
1135 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
1146 static_cast<FwAssertArgType>(portNum)
1149 this->m_seqDoneOut_OutputPort[portNum].
addCallPort(port);
1160 static_cast<FwAssertArgType>(portNum)
1163 this->m_seqStartOut_OutputPort[portNum].
addCallPort(port);
1166 #if FW_PORT_SERIALIZATION 1175 Fw::InputSerializePort* port
1180 static_cast<FwAssertArgType>(portNum)
1183 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
1189 Fw::InputSerializePort* port
1194 static_cast<FwAssertArgType>(portNum)
1197 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
1203 Fw::InputSerializePort* port
1208 static_cast<FwAssertArgType>(portNum)
1211 this->m_logOut_OutputPort[portNum].registerSerialPort(port);
1214 #if FW_ENABLE_TEXT_LOGGING == 1 1216 void FpySequencerComponentBase ::
1217 set_logTextOut_OutputPort(
1219 Fw::InputSerializePort* port
1223 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1224 static_cast<FwAssertArgType>(portNum)
1227 this->m_logTextOut_OutputPort[portNum].registerSerialPort(port);
1235 Fw::InputSerializePort* port
1240 static_cast<FwAssertArgType>(portNum)
1243 this->m_prmSet_OutputPort[portNum].registerSerialPort(port);
1249 Fw::InputSerializePort* port
1254 static_cast<FwAssertArgType>(portNum)
1257 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
1263 Fw::InputSerializePort* port
1268 static_cast<FwAssertArgType>(portNum)
1271 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
1276 #if FW_PORT_SERIALIZATION 1285 Fw::InputSerializePort* port
1290 static_cast<FwAssertArgType>(portNum)
1293 this->m_cmdOut_OutputPort[portNum].registerSerialPort(port);
1299 Fw::InputSerializePort* port
1304 static_cast<FwAssertArgType>(portNum)
1307 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
1313 Fw::InputSerializePort* port
1318 static_cast<FwAssertArgType>(portNum)
1321 this->m_seqDoneOut_OutputPort[portNum].registerSerialPort(port);
1327 Fw::InputSerializePort* port
1332 static_cast<FwAssertArgType>(portNum)
1335 this->m_seqStartOut_OutputPort[portNum].registerSerialPort(port);
1347 FW_ASSERT(this->m_cmdRegOut_OutputPort[0].isConnected());
1349 this->m_cmdRegOut_OutputPort[0].
invoke(
1353 this->m_cmdRegOut_OutputPort[0].
invoke(
1357 this->m_cmdRegOut_OutputPort[0].
invoke(
1361 this->m_cmdRegOut_OutputPort[0].
invoke(
1365 this->m_cmdRegOut_OutputPort[0].
invoke(
1369 this->m_cmdRegOut_OutputPort[0].
invoke(
1373 this->m_cmdRegOut_OutputPort[0].
invoke(
1377 this->m_cmdRegOut_OutputPort[0].
invoke(
1381 this->m_cmdRegOut_OutputPort[0].
invoke(
1385 this->m_cmdRegOut_OutputPort[0].
invoke(
1389 this->m_cmdRegOut_OutputPort[0].
invoke(
1393 this->m_cmdRegOut_OutputPort[0].
invoke(
1397 this->m_cmdRegOut_OutputPort[0].
invoke(
1401 this->m_cmdRegOut_OutputPort[0].
invoke(
1405 this->m_cmdRegOut_OutputPort[0].
invoke(
1420 FW_ASSERT(this->m_prmGet_OutputPort[0].isConnected());
1427 this->m_param_STATEMENT_TIMEOUT_SECS_valid =
1428 this->m_prmGet_OutputPort[0].
invoke(
1434 this->m_paramLock.
lock();
1438 _stat = _buff.
deserializeTo(this->m_STATEMENT_TIMEOUT_SECS);
1442 this->m_STATEMENT_TIMEOUT_SECS = 0.0f;
1448 this->m_STATEMENT_TIMEOUT_SECS = 0.0f;
1451 this->m_paramLock.
unLock();
1456 this->m_param_FLAG_DEFAULT_EXIT_ON_CMD_FAIL_valid =
1457 this->m_prmGet_OutputPort[0].
invoke(
1463 this->m_paramLock.
lock();
1467 _stat = _buff.
deserializeTo(this->m_FLAG_DEFAULT_EXIT_ON_CMD_FAIL);
1471 this->m_FLAG_DEFAULT_EXIT_ON_CMD_FAIL =
false;
1477 this->m_FLAG_DEFAULT_EXIT_ON_CMD_FAIL =
false;
1480 this->m_paramLock.
unLock();
1493 m_stateMachine_sequencer(*this)
1514 static_cast<FwAssertArgType>(portNum)
1517 return this->m_cmdRegOut_OutputPort[portNum].
isConnected();
1525 static_cast<FwAssertArgType>(portNum)
1528 return this->m_cmdResponseOut_OutputPort[portNum].
isConnected();
1536 static_cast<FwAssertArgType>(portNum)
1539 return this->m_logOut_OutputPort[portNum].
isConnected();
1542 #if FW_ENABLE_TEXT_LOGGING == 1 1544 bool FpySequencerComponentBase ::
1545 isConnected_logTextOut_OutputPort(
FwIndexType portNum)
1548 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1549 static_cast<FwAssertArgType>(portNum)
1552 return this->m_logTextOut_OutputPort[portNum].isConnected();
1562 static_cast<FwAssertArgType>(portNum)
1565 return this->m_prmGet_OutputPort[portNum].
isConnected();
1573 static_cast<FwAssertArgType>(portNum)
1576 return this->m_prmSet_OutputPort[portNum].
isConnected();
1584 static_cast<FwAssertArgType>(portNum)
1587 return this->m_timeCaller_OutputPort[portNum].
isConnected();
1595 static_cast<FwAssertArgType>(portNum)
1598 return this->m_tlmOut_OutputPort[portNum].
isConnected();
1610 static_cast<FwAssertArgType>(portNum)
1613 return this->m_cmdOut_OutputPort[portNum].
isConnected();
1621 static_cast<FwAssertArgType>(portNum)
1624 return this->m_getParam_OutputPort[portNum].
isConnected();
1632 static_cast<FwAssertArgType>(portNum)
1635 return this->m_getTlmChan_OutputPort[portNum].
isConnected();
1643 static_cast<FwAssertArgType>(portNum)
1646 return this->m_pingOut_OutputPort[portNum].
isConnected();
1654 static_cast<FwAssertArgType>(portNum)
1657 return this->m_seqDoneOut_OutputPort[portNum].
isConnected();
1665 static_cast<FwAssertArgType>(portNum)
1668 return this->m_seqStartOut_OutputPort[portNum].
isConnected();
1686 static_cast<FwAssertArgType>(portNum)
1694 ComponentIpcSerializableBuffer msg;
1698 _status = msg.serializeFrom(
1699 static_cast<FwEnumStoreType>(CHECKTIMERS_SCHED)
1703 static_cast<FwAssertArgType>(_status)
1707 _status = msg.serializeFrom(portNum);
1710 static_cast<FwAssertArgType>(_status)
1714 _status = msg.serializeFrom(context);
1717 static_cast<FwAssertArgType>(_status)
1726 static_cast<FwAssertArgType>(qStatus)
1741 static_cast<FwAssertArgType>(portNum)
1751 ComponentIpcSerializableBuffer msg;
1755 _status = msg.serializeFrom(
1756 static_cast<FwEnumStoreType>(CMDRESPONSEIN_CMDRESPONSE)
1760 static_cast<FwAssertArgType>(_status)
1764 _status = msg.serializeFrom(portNum);
1767 static_cast<FwAssertArgType>(_status)
1771 _status = msg.serializeFrom(opCode);
1774 static_cast<FwAssertArgType>(_status)
1778 _status = msg.serializeFrom(cmdSeq);
1781 static_cast<FwAssertArgType>(_status)
1785 _status = msg.serializeFrom(response);
1788 static_cast<FwAssertArgType>(_status)
1797 static_cast<FwAssertArgType>(qStatus)
1810 static_cast<FwAssertArgType>(portNum)
1818 ComponentIpcSerializableBuffer msg;
1822 _status = msg.serializeFrom(
1823 static_cast<FwEnumStoreType>(PINGIN_PING)
1827 static_cast<FwAssertArgType>(_status)
1831 _status = msg.serializeFrom(portNum);
1834 static_cast<FwAssertArgType>(_status)
1838 _status = msg.serializeFrom(key);
1841 static_cast<FwAssertArgType>(_status)
1850 static_cast<FwAssertArgType>(qStatus)
1863 static_cast<FwAssertArgType>(portNum)
1871 ComponentIpcSerializableBuffer msg;
1875 _status = msg.serializeFrom(
1876 static_cast<FwEnumStoreType>(SEQRUNIN_CMDSEQIN)
1880 static_cast<FwAssertArgType>(_status)
1884 _status = msg.serializeFrom(portNum);
1887 static_cast<FwAssertArgType>(_status)
1894 static_cast<FwAssertArgType>(_status)
1903 static_cast<FwAssertArgType>(qStatus)
1916 static_cast<FwAssertArgType>(portNum)
1924 ComponentIpcSerializableBuffer msg;
1928 _status = msg.serializeFrom(
1929 static_cast<FwEnumStoreType>(TLMWRITE_SCHED)
1933 static_cast<FwAssertArgType>(_status)
1937 _status = msg.serializeFrom(portNum);
1940 static_cast<FwAssertArgType>(_status)
1944 _status = msg.serializeFrom(context);
1947 static_cast<FwAssertArgType>(_status)
1956 static_cast<FwAssertArgType>(qStatus)
2028 static_cast<FwAssertArgType>(portNum)
2032 this->m_cmdOut_OutputPort[portNum].isConnected(),
2033 static_cast<FwAssertArgType>(portNum)
2035 this->m_cmdOut_OutputPort[portNum].
invoke(
2050 static_cast<FwAssertArgType>(portNum)
2054 this->m_getParam_OutputPort[portNum].isConnected(),
2055 static_cast<FwAssertArgType>(portNum)
2057 return this->m_getParam_OutputPort[portNum].
invoke(
2073 static_cast<FwAssertArgType>(portNum)
2077 this->m_getTlmChan_OutputPort[portNum].isConnected(),
2078 static_cast<FwAssertArgType>(portNum)
2080 return this->m_getTlmChan_OutputPort[portNum].
invoke(
2095 static_cast<FwAssertArgType>(portNum)
2099 this->m_pingOut_OutputPort[portNum].isConnected(),
2100 static_cast<FwAssertArgType>(portNum)
2102 this->m_pingOut_OutputPort[portNum].
invoke(
2117 static_cast<FwAssertArgType>(portNum)
2121 this->m_seqDoneOut_OutputPort[portNum].isConnected(),
2122 static_cast<FwAssertArgType>(portNum)
2124 this->m_seqDoneOut_OutputPort[portNum].
invoke(
2139 static_cast<FwAssertArgType>(portNum)
2143 this->m_seqStartOut_OutputPort[portNum].isConnected(),
2144 static_cast<FwAssertArgType>(portNum)
2146 this->m_seqStartOut_OutputPort[portNum].
invoke(
2158 ComponentIpcSerializableBuffer msg;
2162 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_ALLOCATE));
2165 static_cast<FwAssertArgType>(_status)
2169 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2172 static_cast<FwAssertArgType>(_status)
2175 _status = msg.serializeFrom(directive);
2178 static_cast<FwAssertArgType>(_status)
2187 static_cast<FwAssertArgType>(qStatus)
2194 ComponentIpcSerializableBuffer msg;
2198 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_CALL));
2201 static_cast<FwAssertArgType>(_status)
2205 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2208 static_cast<FwAssertArgType>(_status)
2211 _status = msg.serializeFrom(directive);
2214 static_cast<FwAssertArgType>(_status)
2223 static_cast<FwAssertArgType>(qStatus)
2230 ComponentIpcSerializableBuffer msg;
2234 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_CONSTCMD));
2237 static_cast<FwAssertArgType>(_status)
2241 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2244 static_cast<FwAssertArgType>(_status)
2247 _status = msg.serializeFrom(directive);
2250 static_cast<FwAssertArgType>(_status)
2259 static_cast<FwAssertArgType>(qStatus)
2266 ComponentIpcSerializableBuffer msg;
2270 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_DISCARD));
2273 static_cast<FwAssertArgType>(_status)
2277 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2280 static_cast<FwAssertArgType>(_status)
2283 _status = msg.serializeFrom(directive);
2286 static_cast<FwAssertArgType>(_status)
2295 static_cast<FwAssertArgType>(qStatus)
2302 ComponentIpcSerializableBuffer msg;
2306 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_EXIT));
2309 static_cast<FwAssertArgType>(_status)
2313 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2316 static_cast<FwAssertArgType>(_status)
2319 _status = msg.serializeFrom(directive);
2322 static_cast<FwAssertArgType>(_status)
2331 static_cast<FwAssertArgType>(qStatus)
2338 ComponentIpcSerializableBuffer msg;
2342 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_GETFIELD));
2345 static_cast<FwAssertArgType>(_status)
2349 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2352 static_cast<FwAssertArgType>(_status)
2355 _status = msg.serializeFrom(directive);
2358 static_cast<FwAssertArgType>(_status)
2367 static_cast<FwAssertArgType>(qStatus)
2374 ComponentIpcSerializableBuffer msg;
2378 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_GETFLAG));
2381 static_cast<FwAssertArgType>(_status)
2385 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2388 static_cast<FwAssertArgType>(_status)
2391 _status = msg.serializeFrom(directive);
2394 static_cast<FwAssertArgType>(_status)
2403 static_cast<FwAssertArgType>(qStatus)
2410 ComponentIpcSerializableBuffer msg;
2414 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_GOTO));
2417 static_cast<FwAssertArgType>(_status)
2421 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2424 static_cast<FwAssertArgType>(_status)
2427 _status = msg.serializeFrom(directive);
2430 static_cast<FwAssertArgType>(_status)
2439 static_cast<FwAssertArgType>(qStatus)
2446 ComponentIpcSerializableBuffer msg;
2450 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_IF));
2453 static_cast<FwAssertArgType>(_status)
2457 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2460 static_cast<FwAssertArgType>(_status)
2463 _status = msg.serializeFrom(directive);
2466 static_cast<FwAssertArgType>(_status)
2475 static_cast<FwAssertArgType>(qStatus)
2482 ComponentIpcSerializableBuffer msg;
2486 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_LOADABS));
2489 static_cast<FwAssertArgType>(_status)
2493 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2496 static_cast<FwAssertArgType>(_status)
2499 _status = msg.serializeFrom(directive);
2502 static_cast<FwAssertArgType>(_status)
2511 static_cast<FwAssertArgType>(qStatus)
2518 ComponentIpcSerializableBuffer msg;
2522 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_LOADREL));
2525 static_cast<FwAssertArgType>(_status)
2529 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2532 static_cast<FwAssertArgType>(_status)
2535 _status = msg.serializeFrom(directive);
2538 static_cast<FwAssertArgType>(_status)
2547 static_cast<FwAssertArgType>(qStatus)
2554 ComponentIpcSerializableBuffer msg;
2558 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_MEMCMP));
2561 static_cast<FwAssertArgType>(_status)
2565 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2568 static_cast<FwAssertArgType>(_status)
2571 _status = msg.serializeFrom(directive);
2574 static_cast<FwAssertArgType>(_status)
2583 static_cast<FwAssertArgType>(qStatus)
2590 ComponentIpcSerializableBuffer msg;
2594 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_NOOP));
2597 static_cast<FwAssertArgType>(_status)
2601 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2604 static_cast<FwAssertArgType>(_status)
2607 _status = msg.serializeFrom(directive);
2610 static_cast<FwAssertArgType>(_status)
2619 static_cast<FwAssertArgType>(qStatus)
2626 ComponentIpcSerializableBuffer msg;
2630 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PEEK));
2633 static_cast<FwAssertArgType>(_status)
2637 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2640 static_cast<FwAssertArgType>(_status)
2643 _status = msg.serializeFrom(directive);
2646 static_cast<FwAssertArgType>(_status)
2655 static_cast<FwAssertArgType>(qStatus)
2662 ComponentIpcSerializableBuffer msg;
2666 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHPRM));
2669 static_cast<FwAssertArgType>(_status)
2673 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2676 static_cast<FwAssertArgType>(_status)
2679 _status = msg.serializeFrom(directive);
2682 static_cast<FwAssertArgType>(_status)
2691 static_cast<FwAssertArgType>(qStatus)
2698 ComponentIpcSerializableBuffer msg;
2702 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHTIME));
2705 static_cast<FwAssertArgType>(_status)
2709 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2712 static_cast<FwAssertArgType>(_status)
2715 _status = msg.serializeFrom(directive);
2718 static_cast<FwAssertArgType>(_status)
2727 static_cast<FwAssertArgType>(qStatus)
2734 ComponentIpcSerializableBuffer msg;
2738 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHTLMVAL));
2741 static_cast<FwAssertArgType>(_status)
2745 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2748 static_cast<FwAssertArgType>(_status)
2751 _status = msg.serializeFrom(directive);
2754 static_cast<FwAssertArgType>(_status)
2763 static_cast<FwAssertArgType>(qStatus)
2770 ComponentIpcSerializableBuffer msg;
2774 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHTLMVALANDTIME));
2777 static_cast<FwAssertArgType>(_status)
2781 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2784 static_cast<FwAssertArgType>(_status)
2787 _status = msg.serializeFrom(directive);
2790 static_cast<FwAssertArgType>(_status)
2799 static_cast<FwAssertArgType>(qStatus)
2806 ComponentIpcSerializableBuffer msg;
2810 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHVAL));
2813 static_cast<FwAssertArgType>(_status)
2817 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2820 static_cast<FwAssertArgType>(_status)
2823 _status = msg.serializeFrom(directive);
2826 static_cast<FwAssertArgType>(_status)
2835 static_cast<FwAssertArgType>(qStatus)
2842 ComponentIpcSerializableBuffer msg;
2846 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_RETURN));
2849 static_cast<FwAssertArgType>(_status)
2853 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2856 static_cast<FwAssertArgType>(_status)
2859 _status = msg.serializeFrom(directive);
2862 static_cast<FwAssertArgType>(_status)
2871 static_cast<FwAssertArgType>(qStatus)
2878 ComponentIpcSerializableBuffer msg;
2882 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_SETFLAG));
2885 static_cast<FwAssertArgType>(_status)
2889 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2892 static_cast<FwAssertArgType>(_status)
2895 _status = msg.serializeFrom(directive);
2898 static_cast<FwAssertArgType>(_status)
2907 static_cast<FwAssertArgType>(qStatus)
2914 ComponentIpcSerializableBuffer msg;
2918 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STACKCMD));
2921 static_cast<FwAssertArgType>(_status)
2925 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2928 static_cast<FwAssertArgType>(_status)
2931 _status = msg.serializeFrom(directive);
2934 static_cast<FwAssertArgType>(_status)
2943 static_cast<FwAssertArgType>(qStatus)
2950 ComponentIpcSerializableBuffer msg;
2954 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STACKOP));
2957 static_cast<FwAssertArgType>(_status)
2961 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2964 static_cast<FwAssertArgType>(_status)
2967 _status = msg.serializeFrom(directive);
2970 static_cast<FwAssertArgType>(_status)
2979 static_cast<FwAssertArgType>(qStatus)
2986 ComponentIpcSerializableBuffer msg;
2990 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STOREABS));
2993 static_cast<FwAssertArgType>(_status)
2997 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3000 static_cast<FwAssertArgType>(_status)
3003 _status = msg.serializeFrom(directive);
3006 static_cast<FwAssertArgType>(_status)
3015 static_cast<FwAssertArgType>(qStatus)
3022 ComponentIpcSerializableBuffer msg;
3026 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STOREABSCONSTOFFSET));
3029 static_cast<FwAssertArgType>(_status)
3033 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3036 static_cast<FwAssertArgType>(_status)
3039 _status = msg.serializeFrom(directive);
3042 static_cast<FwAssertArgType>(_status)
3051 static_cast<FwAssertArgType>(qStatus)
3058 ComponentIpcSerializableBuffer msg;
3062 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STOREREL));
3065 static_cast<FwAssertArgType>(_status)
3069 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3072 static_cast<FwAssertArgType>(_status)
3075 _status = msg.serializeFrom(directive);
3078 static_cast<FwAssertArgType>(_status)
3087 static_cast<FwAssertArgType>(qStatus)
3094 ComponentIpcSerializableBuffer msg;
3098 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STORERELCONSTOFFSET));
3101 static_cast<FwAssertArgType>(_status)
3105 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3108 static_cast<FwAssertArgType>(_status)
3111 _status = msg.serializeFrom(directive);
3114 static_cast<FwAssertArgType>(_status)
3123 static_cast<FwAssertArgType>(qStatus)
3130 ComponentIpcSerializableBuffer msg;
3134 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_WAITABS));
3137 static_cast<FwAssertArgType>(_status)
3141 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3144 static_cast<FwAssertArgType>(_status)
3147 _status = msg.serializeFrom(directive);
3150 static_cast<FwAssertArgType>(_status)
3159 static_cast<FwAssertArgType>(qStatus)
3166 ComponentIpcSerializableBuffer msg;
3170 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_WAITREL));
3173 static_cast<FwAssertArgType>(_status)
3177 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3180 static_cast<FwAssertArgType>(_status)
3183 _status = msg.serializeFrom(directive);
3186 static_cast<FwAssertArgType>(_status)
3195 static_cast<FwAssertArgType>(qStatus)
3206 return this->m_stateMachine_sequencer.
getState();
3216 ComponentIpcSerializableBuffer buffer;
3223 this->sequencer_sendSignalFinish(buffer);
3229 ComponentIpcSerializableBuffer buffer;
3236 this->sequencer_sendSignalFinish(buffer);
3242 ComponentIpcSerializableBuffer buffer;
3249 this->sequencer_sendSignalFinish(buffer);
3255 ComponentIpcSerializableBuffer buffer;
3259 this->sequencer_sendSignalFinish(buffer);
3265 ComponentIpcSerializableBuffer buffer;
3272 this->sequencer_sendSignalFinish(buffer);
3278 ComponentIpcSerializableBuffer buffer;
3282 this->sequencer_sendSignalFinish(buffer);
3288 ComponentIpcSerializableBuffer buffer;
3292 this->sequencer_sendSignalFinish(buffer);
3298 ComponentIpcSerializableBuffer buffer;
3302 this->sequencer_sendSignalFinish(buffer);
3308 ComponentIpcSerializableBuffer buffer;
3312 this->sequencer_sendSignalFinish(buffer);
3318 ComponentIpcSerializableBuffer buffer;
3322 this->sequencer_sendSignalFinish(buffer);
3328 ComponentIpcSerializableBuffer buffer;
3332 this->sequencer_sendSignalFinish(buffer);
3338 ComponentIpcSerializableBuffer buffer;
3342 this->sequencer_sendSignalFinish(buffer);
3348 ComponentIpcSerializableBuffer buffer;
3352 this->sequencer_sendSignalFinish(buffer);
3358 ComponentIpcSerializableBuffer buffer;
3362 this->sequencer_sendSignalFinish(buffer);
3368 ComponentIpcSerializableBuffer buffer;
3372 this->sequencer_sendSignalFinish(buffer);
3378 ComponentIpcSerializableBuffer buffer;
3382 this->sequencer_sendSignalFinish(buffer);
3388 ComponentIpcSerializableBuffer buffer;
3392 this->sequencer_sendSignalFinish(buffer);
3398 ComponentIpcSerializableBuffer buffer;
3402 this->sequencer_sendSignalFinish(buffer);
3408 ComponentIpcSerializableBuffer buffer;
3412 this->sequencer_sendSignalFinish(buffer);
3418 ComponentIpcSerializableBuffer buffer;
3422 this->sequencer_sendSignalFinish(buffer);
3428 ComponentIpcSerializableBuffer buffer;
3432 this->sequencer_sendSignalFinish(buffer);
3438 ComponentIpcSerializableBuffer buffer;
3442 this->sequencer_sendSignalFinish(buffer);
3448 ComponentIpcSerializableBuffer buffer;
3452 this->sequencer_sendSignalFinish(buffer);
3458 ComponentIpcSerializableBuffer buffer;
3462 this->sequencer_sendSignalFinish(buffer);
3468 ComponentIpcSerializableBuffer buffer;
3472 this->sequencer_sendSignalFinish(buffer);
3478 ComponentIpcSerializableBuffer buffer;
3482 this->sequencer_sendSignalFinish(buffer);
3496 FW_ASSERT(this->m_cmdResponseOut_OutputPort[0].isConnected());
3497 this->m_cmdResponseOut_OutputPort[0].
invoke(opCode, cmdSeq, response);
3518 ComponentIpcSerializableBuffer msg;
3522 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_RUN));
3525 static_cast<FwAssertArgType>(_status)
3531 _status = msg.serializeFrom(port);
3534 static_cast<FwAssertArgType>(_status)
3537 _status = msg.serializeFrom(opCode);
3540 static_cast<FwAssertArgType>(_status)
3543 _status = msg.serializeFrom(cmdSeq);
3546 static_cast<FwAssertArgType>(_status)
3549 _status = msg.serializeFrom(args);
3552 static_cast<FwAssertArgType>(_status)
3561 static_cast<FwAssertArgType>(qStatus)
3577 ComponentIpcSerializableBuffer msg;
3581 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_VALIDATE));
3584 static_cast<FwAssertArgType>(_status)
3590 _status = msg.serializeFrom(port);
3593 static_cast<FwAssertArgType>(_status)
3596 _status = msg.serializeFrom(opCode);
3599 static_cast<FwAssertArgType>(_status)
3602 _status = msg.serializeFrom(cmdSeq);
3605 static_cast<FwAssertArgType>(_status)
3608 _status = msg.serializeFrom(args);
3611 static_cast<FwAssertArgType>(_status)
3620 static_cast<FwAssertArgType>(qStatus)
3636 ComponentIpcSerializableBuffer msg;
3640 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_RUN_VALIDATED));
3643 static_cast<FwAssertArgType>(_status)
3649 _status = msg.serializeFrom(port);
3652 static_cast<FwAssertArgType>(_status)
3655 _status = msg.serializeFrom(opCode);
3658 static_cast<FwAssertArgType>(_status)
3661 _status = msg.serializeFrom(cmdSeq);
3664 static_cast<FwAssertArgType>(_status)
3667 _status = msg.serializeFrom(args);
3670 static_cast<FwAssertArgType>(_status)
3679 static_cast<FwAssertArgType>(qStatus)
3695 ComponentIpcSerializableBuffer msg;
3699 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CANCEL));
3702 static_cast<FwAssertArgType>(_status)
3708 _status = msg.serializeFrom(port);
3711 static_cast<FwAssertArgType>(_status)
3714 _status = msg.serializeFrom(opCode);
3717 static_cast<FwAssertArgType>(_status)
3720 _status = msg.serializeFrom(cmdSeq);
3723 static_cast<FwAssertArgType>(_status)
3726 _status = msg.serializeFrom(args);
3729 static_cast<FwAssertArgType>(_status)
3738 static_cast<FwAssertArgType>(qStatus)
3754 ComponentIpcSerializableBuffer msg;
3758 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SET_BREAKPOINT));
3761 static_cast<FwAssertArgType>(_status)
3767 _status = msg.serializeFrom(port);
3770 static_cast<FwAssertArgType>(_status)
3773 _status = msg.serializeFrom(opCode);
3776 static_cast<FwAssertArgType>(_status)
3779 _status = msg.serializeFrom(cmdSeq);
3782 static_cast<FwAssertArgType>(_status)
3785 _status = msg.serializeFrom(args);
3788 static_cast<FwAssertArgType>(_status)
3797 static_cast<FwAssertArgType>(qStatus)
3813 ComponentIpcSerializableBuffer msg;
3817 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_BREAK));
3820 static_cast<FwAssertArgType>(_status)
3826 _status = msg.serializeFrom(port);
3829 static_cast<FwAssertArgType>(_status)
3832 _status = msg.serializeFrom(opCode);
3835 static_cast<FwAssertArgType>(_status)
3838 _status = msg.serializeFrom(cmdSeq);
3841 static_cast<FwAssertArgType>(_status)
3844 _status = msg.serializeFrom(args);
3847 static_cast<FwAssertArgType>(_status)
3856 static_cast<FwAssertArgType>(qStatus)
3872 ComponentIpcSerializableBuffer msg;
3876 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CONTINUE));
3879 static_cast<FwAssertArgType>(_status)
3885 _status = msg.serializeFrom(port);
3888 static_cast<FwAssertArgType>(_status)
3891 _status = msg.serializeFrom(opCode);
3894 static_cast<FwAssertArgType>(_status)
3897 _status = msg.serializeFrom(cmdSeq);
3900 static_cast<FwAssertArgType>(_status)
3903 _status = msg.serializeFrom(args);
3906 static_cast<FwAssertArgType>(_status)
3915 static_cast<FwAssertArgType>(qStatus)
3931 ComponentIpcSerializableBuffer msg;
3935 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CLEAR_BREAKPOINT));
3938 static_cast<FwAssertArgType>(_status)
3944 _status = msg.serializeFrom(port);
3947 static_cast<FwAssertArgType>(_status)
3950 _status = msg.serializeFrom(opCode);
3953 static_cast<FwAssertArgType>(_status)
3956 _status = msg.serializeFrom(cmdSeq);
3959 static_cast<FwAssertArgType>(_status)
3962 _status = msg.serializeFrom(args);
3965 static_cast<FwAssertArgType>(_status)
3974 static_cast<FwAssertArgType>(qStatus)
3990 ComponentIpcSerializableBuffer msg;
3994 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_STEP));
3997 static_cast<FwAssertArgType>(_status)
4003 _status = msg.serializeFrom(port);
4006 static_cast<FwAssertArgType>(_status)
4009 _status = msg.serializeFrom(opCode);
4012 static_cast<FwAssertArgType>(_status)
4015 _status = msg.serializeFrom(cmdSeq);
4018 static_cast<FwAssertArgType>(_status)
4021 _status = msg.serializeFrom(args);
4024 static_cast<FwAssertArgType>(_status)
4033 static_cast<FwAssertArgType>(qStatus)
4049 ComponentIpcSerializableBuffer msg;
4053 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SET_FLAG));
4056 static_cast<FwAssertArgType>(_status)
4062 _status = msg.serializeFrom(port);
4065 static_cast<FwAssertArgType>(_status)
4068 _status = msg.serializeFrom(opCode);
4071 static_cast<FwAssertArgType>(_status)
4074 _status = msg.serializeFrom(cmdSeq);
4077 static_cast<FwAssertArgType>(_status)
4080 _status = msg.serializeFrom(args);
4083 static_cast<FwAssertArgType>(_status)
4092 static_cast<FwAssertArgType>(qStatus)
4108 ComponentIpcSerializableBuffer msg;
4112 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_DUMP_STACK_TO_FILE));
4115 static_cast<FwAssertArgType>(_status)
4121 _status = msg.serializeFrom(port);
4124 static_cast<FwAssertArgType>(_status)
4127 _status = msg.serializeFrom(opCode);
4130 static_cast<FwAssertArgType>(_status)
4133 _status = msg.serializeFrom(cmdSeq);
4136 static_cast<FwAssertArgType>(_status)
4139 _status = msg.serializeFrom(args);
4142 static_cast<FwAssertArgType>(_status)
4151 static_cast<FwAssertArgType>(qStatus)
4293 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4294 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4302 if (this->m_logOut_OutputPort[0].isConnected()) {
4306 #if FW_AMPCS_COMPATIBLE 4311 static_cast<FwAssertArgType>(_status)
4315 #if FW_AMPCS_COMPATIBLE 4318 static_cast<U8>(
sizeof(I32))
4322 static_cast<FwAssertArgType>(_status)
4328 static_cast<FwAssertArgType>(_status)
4331 this->m_logOut_OutputPort[0].
invoke(
4340 #if FW_ENABLE_TEXT_LOGGING 4341 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4342 #if FW_OBJECT_NAMES == 1 4343 const char* _formatString =
4344 "(%s) %s: Cannot execute command in state %" PRIi32
"";
4346 const char* _formatString =
4347 "%s: Cannot execute command in state %" PRIi32
"";
4354 this->m_objName.toChar(),
4360 this->m_logTextOut_OutputPort[0].invoke(
4375 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4376 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4384 if (this->m_logOut_OutputPort[0].isConnected()) {
4388 #if FW_AMPCS_COMPATIBLE 4393 static_cast<FwAssertArgType>(_status)
4397 #if FW_AMPCS_COMPATIBLE 4400 static_cast<U8>(
sizeof(I32))
4404 static_cast<FwAssertArgType>(_status)
4410 static_cast<FwAssertArgType>(_status)
4413 this->m_logOut_OutputPort[0].
invoke(
4422 #if FW_ENABLE_TEXT_LOGGING 4423 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4424 #if FW_OBJECT_NAMES == 1 4425 const char* _formatString =
4426 "(%s) %s: Cannot run sequence from a port in state %" PRIi32
"";
4428 const char* _formatString =
4429 "%s: Cannot run sequence from a port in state %" PRIi32
"";
4436 this->m_objName.toChar(),
4438 "InvalidSeqRunCall ",
4442 this->m_logTextOut_OutputPort[0].invoke(
4460 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4461 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4469 if (this->m_logOut_OutputPort[0].isConnected()) {
4473 #if FW_AMPCS_COMPATIBLE 4478 static_cast<FwAssertArgType>(_status)
4485 static_cast<FwAssertArgType>(_status)
4488 #if FW_AMPCS_COMPATIBLE 4491 static_cast<U8>(
sizeof(I32))
4495 static_cast<FwAssertArgType>(_status)
4501 static_cast<FwAssertArgType>(_status)
4504 this->m_logOut_OutputPort[0].
invoke(
4513 #if FW_ENABLE_TEXT_LOGGING 4514 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4515 #if FW_OBJECT_NAMES == 1 4516 const char* _formatString =
4517 "(%s) %s: File open error encountered while opening %s: %" PRIi32
"";
4519 const char* _formatString =
4520 "%s: File open error encountered while opening %s: %" PRIi32
"";
4527 this->m_objName.toChar(),
4534 this->m_logTextOut_OutputPort[0].invoke(
4553 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4554 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4562 if (this->m_logOut_OutputPort[0].isConnected()) {
4566 #if FW_AMPCS_COMPATIBLE 4571 static_cast<FwAssertArgType>(_status)
4575 #if FW_AMPCS_COMPATIBLE 4582 static_cast<FwAssertArgType>(_status)
4588 static_cast<FwAssertArgType>(_status)
4594 static_cast<FwAssertArgType>(_status)
4597 #if FW_AMPCS_COMPATIBLE 4600 static_cast<U8>(
sizeof(I32))
4604 static_cast<FwAssertArgType>(_status)
4610 static_cast<FwAssertArgType>(_status)
4613 this->m_logOut_OutputPort[0].
invoke(
4622 #if FW_ENABLE_TEXT_LOGGING 4623 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4624 #if FW_OBJECT_NAMES == 1 4625 const char* _formatString =
4626 "(%s) %s: File write error encountered while writing %" PRIu64
" bytes to %s: %" PRIi32
"";
4628 const char* _formatString =
4629 "%s: File write error encountered while writing %" PRIu64
" bytes to %s: %" PRIi32
"";
4636 this->m_objName.toChar(),
4644 this->m_logTextOut_OutputPort[0].invoke(
4663 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4664 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4672 if (this->m_logOut_OutputPort[0].isConnected()) {
4676 #if FW_AMPCS_COMPATIBLE 4681 static_cast<FwAssertArgType>(_status)
4685 #if FW_AMPCS_COMPATIBLE 4692 static_cast<FwAssertArgType>(_status)
4698 static_cast<FwAssertArgType>(_status)
4704 static_cast<FwAssertArgType>(_status)
4707 #if FW_AMPCS_COMPATIBLE 4710 static_cast<U8>(
sizeof(I32))
4714 static_cast<FwAssertArgType>(_status)
4720 static_cast<FwAssertArgType>(_status)
4723 this->m_logOut_OutputPort[0].
invoke(
4732 #if FW_ENABLE_TEXT_LOGGING 4733 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4734 #if FW_OBJECT_NAMES == 1 4735 const char* _formatString =
4736 "(%s) %s: File read error encountered while reading %s of file %s: %" PRIi32
"";
4738 const char* _formatString =
4739 "%s: File read error encountered while reading %s of file %s: %" PRIi32
"";
4743 readStage.toString(readStageStr);
4749 this->m_objName.toChar(),
4757 this->m_logTextOut_OutputPort[0].invoke(
4775 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4776 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4784 if (this->m_logOut_OutputPort[0].isConnected()) {
4788 #if FW_AMPCS_COMPATIBLE 4793 static_cast<FwAssertArgType>(_status)
4797 #if FW_AMPCS_COMPATIBLE 4804 static_cast<FwAssertArgType>(_status)
4810 static_cast<FwAssertArgType>(_status)
4816 static_cast<FwAssertArgType>(_status)
4819 this->m_logOut_OutputPort[0].
invoke(
4828 #if FW_ENABLE_TEXT_LOGGING 4829 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4830 #if FW_OBJECT_NAMES == 1 4831 const char* _formatString =
4832 "(%s) %s: End of file encountered unexpectedly while reading %s of file %s";
4834 const char* _formatString =
4835 "%s: End of file encountered unexpectedly while reading %s of file %s";
4839 readStage.toString(readStageStr);
4845 this->m_objName.toChar(),
4852 this->m_logTextOut_OutputPort[0].invoke(
4873 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4874 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4882 if (this->m_logOut_OutputPort[0].isConnected()) {
4886 #if FW_AMPCS_COMPATIBLE 4891 static_cast<FwAssertArgType>(_status)
4895 #if FW_AMPCS_COMPATIBLE 4902 static_cast<FwAssertArgType>(_status)
4908 static_cast<FwAssertArgType>(_status)
4914 static_cast<FwAssertArgType>(_status)
4917 #if FW_AMPCS_COMPATIBLE 4920 static_cast<U8>(
sizeof(I32))
4924 static_cast<FwAssertArgType>(_status)
4930 static_cast<FwAssertArgType>(_status)
4933 #if FW_AMPCS_COMPATIBLE 4936 static_cast<U8>(
sizeof(
U64))
4940 static_cast<FwAssertArgType>(_status)
4946 static_cast<FwAssertArgType>(_status)
4949 #if FW_AMPCS_COMPATIBLE 4952 static_cast<U8>(
sizeof(
U64))
4956 static_cast<FwAssertArgType>(_status)
4962 static_cast<FwAssertArgType>(_status)
4965 this->m_logOut_OutputPort[0].
invoke(
4974 #if FW_ENABLE_TEXT_LOGGING 4975 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4976 #if FW_OBJECT_NAMES == 1 4977 const char* _formatString =
4978 "(%s) %s: Deserialize error encountered while reading %s of file %s: %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
4980 const char* _formatString =
4981 "%s: Deserialize error encountered while reading %s of file %s: %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
4985 readStage.toString(readStageStr);
4991 this->m_objName.toChar(),
4993 "FileReadDeserializeError ",
5001 this->m_logTextOut_OutputPort[0].invoke(
5019 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5020 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5028 if (this->m_logOut_OutputPort[0].isConnected()) {
5032 #if FW_AMPCS_COMPATIBLE 5037 static_cast<FwAssertArgType>(_status)
5041 #if FW_AMPCS_COMPATIBLE 5044 static_cast<U8>(
sizeof(
U8))
5048 static_cast<FwAssertArgType>(_status)
5054 static_cast<FwAssertArgType>(_status)
5057 #if FW_AMPCS_COMPATIBLE 5060 static_cast<U8>(
sizeof(
U8))
5064 static_cast<FwAssertArgType>(_status)
5070 static_cast<FwAssertArgType>(_status)
5073 this->m_logOut_OutputPort[0].
invoke(
5082 #if FW_ENABLE_TEXT_LOGGING 5083 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5084 #if FW_OBJECT_NAMES == 1 5085 const char* _formatString =
5086 "(%s) %s: Expected schema version %" PRIu8
", found %" PRIu8
"";
5088 const char* _formatString =
5089 "%s: Expected schema version %" PRIu8
", found %" PRIu8
"";
5096 this->m_objName.toChar(),
5098 "WrongSchemaVersion ",
5103 this->m_logTextOut_OutputPort[0].invoke(
5121 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5122 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5130 if (this->m_logOut_OutputPort[0].isConnected()) {
5134 #if FW_AMPCS_COMPATIBLE 5139 static_cast<FwAssertArgType>(_status)
5143 #if FW_AMPCS_COMPATIBLE 5146 static_cast<U8>(
sizeof(U32))
5150 static_cast<FwAssertArgType>(_status)
5156 static_cast<FwAssertArgType>(_status)
5159 #if FW_AMPCS_COMPATIBLE 5162 static_cast<U8>(
sizeof(U32))
5166 static_cast<FwAssertArgType>(_status)
5172 static_cast<FwAssertArgType>(_status)
5175 this->m_logOut_OutputPort[0].
invoke(
5184 #if FW_ENABLE_TEXT_LOGGING 5185 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5186 #if FW_OBJECT_NAMES == 1 5187 const char* _formatString =
5188 "(%s) %s: Expected CRC %" PRIu32
", actual was %" PRIu32
"";
5190 const char* _formatString =
5191 "%s: Expected CRC %" PRIu32
", actual was %" PRIu32
"";
5198 this->m_objName.toChar(),
5205 this->m_logTextOut_OutputPort[0].invoke(
5220 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5221 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5229 if (this->m_logOut_OutputPort[0].isConnected()) {
5233 #if FW_AMPCS_COMPATIBLE 5238 static_cast<FwAssertArgType>(_status)
5242 #if FW_AMPCS_COMPATIBLE 5249 static_cast<FwAssertArgType>(_status)
5255 static_cast<FwAssertArgType>(_status)
5258 this->m_logOut_OutputPort[0].
invoke(
5267 #if FW_ENABLE_TEXT_LOGGING 5268 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5269 #if FW_OBJECT_NAMES == 1 5270 const char* _formatString =
5271 "(%s) %s: File had %" PRIu64
" extra bytes at the end";
5273 const char* _formatString =
5274 "%s: File had %" PRIu64
" extra bytes at the end";
5281 this->m_objName.toChar(),
5283 "ExtraBytesInSequence ",
5287 this->m_logTextOut_OutputPort[0].invoke(
5305 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5306 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5314 if (this->m_logOut_OutputPort[0].isConnected()) {
5318 #if FW_AMPCS_COMPATIBLE 5323 static_cast<FwAssertArgType>(_status)
5327 #if FW_AMPCS_COMPATIBLE 5330 static_cast<U8>(
sizeof(
U64))
5334 static_cast<FwAssertArgType>(_status)
5340 static_cast<FwAssertArgType>(_status)
5346 static_cast<FwAssertArgType>(_status)
5349 this->m_logOut_OutputPort[0].
invoke(
5358 #if FW_ENABLE_TEXT_LOGGING 5359 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5360 #if FW_OBJECT_NAMES == 1 5361 const char* _formatString =
5362 "(%s) %s: Buffer capacity of %" PRIu64
" was not big enough for sequence %s";
5364 const char* _formatString =
5365 "%s: Buffer capacity of %" PRIu64
" was not big enough for sequence %s";
5372 this->m_objName.toChar(),
5374 "InsufficientBufferSpace ",
5379 this->m_logTextOut_OutputPort[0].invoke(
5399 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5400 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5408 if (this->m_logOut_OutputPort[0].isConnected()) {
5412 #if FW_AMPCS_COMPATIBLE 5417 static_cast<FwAssertArgType>(_status)
5421 #if FW_AMPCS_COMPATIBLE 5428 static_cast<FwAssertArgType>(_status)
5434 static_cast<FwAssertArgType>(_status)
5437 #if FW_AMPCS_COMPATIBLE 5440 static_cast<U8>(
sizeof(U32))
5444 static_cast<FwAssertArgType>(_status)
5450 static_cast<FwAssertArgType>(_status)
5456 static_cast<FwAssertArgType>(_status)
5459 #if FW_AMPCS_COMPATIBLE 5466 static_cast<FwAssertArgType>(_status)
5472 static_cast<FwAssertArgType>(_status)
5475 this->m_logOut_OutputPort[0].
invoke(
5484 #if FW_ENABLE_TEXT_LOGGING 5485 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5486 #if FW_OBJECT_NAMES == 1 5487 const char* _formatString =
5488 "(%s) %s: Failed to execute command opcode %" PRIu32
" index %" PRIu32
" in sequence file %s: response was %s";
5490 const char* _formatString =
5491 "%s: Failed to execute command opcode %" PRIu32
" index %" PRIu32
" in sequence file %s: response was %s";
5495 response.toString(responseStr);
5501 this->m_objName.toChar(),
5510 this->m_logTextOut_OutputPort[0].invoke(
5525 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5526 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5534 if (this->m_logOut_OutputPort[0].isConnected()) {
5538 #if FW_AMPCS_COMPATIBLE 5543 static_cast<FwAssertArgType>(_status)
5550 static_cast<FwAssertArgType>(_status)
5553 this->m_logOut_OutputPort[0].
invoke(
5562 #if FW_ENABLE_TEXT_LOGGING 5563 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5564 #if FW_OBJECT_NAMES == 1 5565 const char* _formatString =
5566 "(%s) %s: Completed sequence file %s";
5568 const char* _formatString =
5569 "%s: Completed sequence file %s";
5576 this->m_objName.toChar(),
5582 this->m_logTextOut_OutputPort[0].invoke(
5597 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5598 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5606 if (this->m_logOut_OutputPort[0].isConnected()) {
5610 #if FW_AMPCS_COMPATIBLE 5615 static_cast<FwAssertArgType>(_status)
5622 static_cast<FwAssertArgType>(_status)
5625 this->m_logOut_OutputPort[0].
invoke(
5634 #if FW_ENABLE_TEXT_LOGGING 5635 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5636 #if FW_OBJECT_NAMES == 1 5637 const char* _formatString =
5638 "(%s) %s: Cancelled sequence file %s";
5640 const char* _formatString =
5641 "%s: Cancelled sequence file %s";
5648 this->m_objName.toChar(),
5650 "SequenceCancelled ",
5654 this->m_logTextOut_OutputPort[0].invoke(
5672 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5673 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5681 if (this->m_logOut_OutputPort[0].isConnected()) {
5685 #if FW_AMPCS_COMPATIBLE 5690 static_cast<FwAssertArgType>(_status)
5697 static_cast<FwAssertArgType>(_status)
5700 #if FW_AMPCS_COMPATIBLE 5703 static_cast<U8>(
sizeof(
U8))
5707 static_cast<FwAssertArgType>(_status)
5713 static_cast<FwAssertArgType>(_status)
5716 this->m_logOut_OutputPort[0].
invoke(
5725 #if FW_ENABLE_TEXT_LOGGING 5726 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5727 #if FW_OBJECT_NAMES == 1 5728 const char* _formatString =
5729 "(%s) %s: Sequence %s exited with error code %" PRIu8
"";
5731 const char* _formatString =
5732 "%s: Sequence %s exited with error code %" PRIu8
"";
5739 this->m_objName.toChar(),
5741 "SequenceExitedWithError ",
5746 this->m_logTextOut_OutputPort[0].invoke(
5765 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5766 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5774 if (this->m_logOut_OutputPort[0].isConnected()) {
5778 #if FW_AMPCS_COMPATIBLE 5783 static_cast<FwAssertArgType>(_status)
5787 #if FW_AMPCS_COMPATIBLE 5790 static_cast<U8>(
sizeof(
U8))
5794 static_cast<FwAssertArgType>(_status)
5800 static_cast<FwAssertArgType>(_status)
5803 #if FW_AMPCS_COMPATIBLE 5806 static_cast<U8>(
sizeof(U32))
5810 static_cast<FwAssertArgType>(_status)
5816 static_cast<FwAssertArgType>(_status)
5822 static_cast<FwAssertArgType>(_status)
5825 this->m_logOut_OutputPort[0].
invoke(
5834 #if FW_ENABLE_TEXT_LOGGING 5835 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5836 #if FW_OBJECT_NAMES == 1 5837 const char* _formatString =
5838 "(%s) %s: Unknown sequencer directive id %" PRIu8
" at index %" PRIu32
" in file %s";
5840 const char* _formatString =
5841 "%s: Unknown sequencer directive id %" PRIu8
" at index %" PRIu32
" in file %s";
5848 this->m_objName.toChar(),
5850 "UnknownSequencerDirective ",
5856 this->m_logTextOut_OutputPort[0].invoke(
5875 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5876 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5884 if (this->m_logOut_OutputPort[0].isConnected()) {
5888 #if FW_AMPCS_COMPATIBLE 5893 static_cast<FwAssertArgType>(_status)
5897 #if FW_AMPCS_COMPATIBLE 5900 static_cast<U8>(
sizeof(I32))
5904 static_cast<FwAssertArgType>(_status)
5910 static_cast<FwAssertArgType>(_status)
5913 #if FW_AMPCS_COMPATIBLE 5920 static_cast<FwAssertArgType>(_status)
5926 static_cast<FwAssertArgType>(_status)
5929 #if FW_AMPCS_COMPATIBLE 5936 static_cast<FwAssertArgType>(_status)
5942 static_cast<FwAssertArgType>(_status)
5945 this->m_logOut_OutputPort[0].
invoke(
5954 #if FW_ENABLE_TEXT_LOGGING 5955 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5956 #if FW_OBJECT_NAMES == 1 5957 const char* _formatString =
5958 "(%s) %s: Received a command response while not running a sequence (was in state %" PRIi32
" opcode was %" PRIu32
" response code %s)";
5960 const char* _formatString =
5961 "%s: Received a command response while not running a sequence (was in state %" PRIi32
" opcode was %" PRIu32
" response code %s)";
5965 response.toString(responseStr);
5971 this->m_objName.toChar(),
5973 "CmdResponseWhileNotRunningSequence ",
5979 this->m_logTextOut_OutputPort[0].invoke(
5994 U16 currentSequenceIdx
5999 if (this->m_timeCaller_OutputPort[0].isConnected()) {
6000 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
6008 if (this->m_logOut_OutputPort[0].isConnected()) {
6012 #if FW_AMPCS_COMPATIBLE 6017 static_cast<FwAssertArgType>(_status)
6021 #if FW_AMPCS_COMPATIBLE 6028 static_cast<FwAssertArgType>(_status)
6034 static_cast<FwAssertArgType>(_status)
6037 #if FW_AMPCS_COMPATIBLE 6044 static_cast<FwAssertArgType>(_status)
6050 static_cast<FwAssertArgType>(_status)
6053 #if FW_AMPCS_COMPATIBLE 6056 static_cast<U8>(
sizeof(U16))
6060 static_cast<FwAssertArgType>(_status)
6066 static_cast<FwAssertArgType>(_status)
6069 #if FW_AMPCS_COMPATIBLE 6072 static_cast<U8>(
sizeof(U16))
6076 static_cast<FwAssertArgType>(_status)
6082 static_cast<FwAssertArgType>(_status)
6085 this->m_logOut_OutputPort[0].
invoke(
6094 #if FW_ENABLE_TEXT_LOGGING 6095 if (this->m_logTextOut_OutputPort[0].isConnected()) {
6096 #if FW_OBJECT_NAMES == 1 6097 const char* _formatString =
6098 "(%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
")";
6100 const char* _formatString =
6101 "%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
")";
6105 response.toString(responseStr);
6111 this->m_objName.toChar(),
6113 "CmdResponseFromOldSequence ",
6120 this->m_logTextOut_OutputPort[0].invoke(
6138 if (this->m_timeCaller_OutputPort[0].isConnected()) {
6139 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
6147 if (this->m_logOut_OutputPort[0].isConnected()) {
6151 #if FW_AMPCS_COMPATIBLE 6156 static_cast<FwAssertArgType>(_status)
6160 #if FW_AMPCS_COMPATIBLE 6167 static_cast<FwAssertArgType>(_status)
6173 static_cast<FwAssertArgType>(_status)
6176 #if FW_AMPCS_COMPATIBLE 6183 static_cast<FwAssertArgType>(_status)
6189 static_cast<FwAssertArgType>(_status)
6192 this->m_logOut_OutputPort[0].
invoke(
6201 #if FW_ENABLE_TEXT_LOGGING 6202 if (this->m_logTextOut_OutputPort[0].isConnected()) {
6203 #if FW_OBJECT_NAMES == 1 6204 const char* _formatString =
6205 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was not awaiting a response";
6207 const char* _formatString =
6208 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was not awaiting a response";
6212 response.toString(responseStr);
6218 this->m_objName.toChar(),
6220 "CmdResponseWhileNotAwaiting ",
6225 this->m_logTextOut_OutputPort[0].invoke(
6239 U8 expectedDirectiveOpcode
6244 if (this->m_timeCaller_OutputPort[0].isConnected()) {
6245 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
6253 if (this->m_logOut_OutputPort[0].isConnected()) {
6257 #if FW_AMPCS_COMPATIBLE 6262 static_cast<FwAssertArgType>(_status)
6266 #if FW_AMPCS_COMPATIBLE 6273 static_cast<FwAssertArgType>(_status)
6279 static_cast<FwAssertArgType>(_status)
6282 #if FW_AMPCS_COMPATIBLE 6289 static_cast<FwAssertArgType>(_status)
6295 static_cast<FwAssertArgType>(_status)
6298 #if FW_AMPCS_COMPATIBLE 6301 static_cast<U8>(
sizeof(
U8))
6305 static_cast<FwAssertArgType>(_status)
6311 static_cast<FwAssertArgType>(_status)
6314 this->m_logOut_OutputPort[0].
invoke(
6323 #if FW_ENABLE_TEXT_LOGGING 6324 if (this->m_logTextOut_OutputPort[0].isConnected()) {
6325 #if FW_OBJECT_NAMES == 1 6326 const char* _formatString =
6327 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was awaiting directive opcode %" PRIu8
"";
6329 const char* _formatString =
6330 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was awaiting directive opcode %" PRIu8
"";
6334 response.toString(responseStr);
6340 this->m_objName.toChar(),
6342 "CmdResponseWhileAwaitingDirective ",
6345 expectedDirectiveOpcode
6348 this->m_logTextOut_OutputPort[0].invoke(
6367 if (this->m_timeCaller_OutputPort[0].isConnected()) {
6368 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
6376 if (this->m_logOut_OutputPort[0].isConnected()) {
6380 #if FW_AMPCS_COMPATIBLE 6385 static_cast<FwAssertArgType>(_status)
6389 #if FW_AMPCS_COMPATIBLE 6396 static_cast<FwAssertArgType>(_status)
6402 static_cast<FwAssertArgType>(_status)
6405 #if FW_AMPCS_COMPATIBLE 6412 static_cast<FwAssertArgType>(_status)
6418 static_cast<FwAssertArgType>(_status)
6421 #if FW_AMPCS_COMPATIBLE 6428 static_cast<FwAssertArgType>(_status)
6434 static_cast<FwAssertArgType>(_status)
6437 this->m_logOut_OutputPort[0].
invoke(
6446 #if FW_ENABLE_TEXT_LOGGING 6447 if (this->m_logTextOut_OutputPort[0].isConnected()) {
6448 #if FW_OBJECT_NAMES == 1 6449 const char* _formatString =
6450 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was expecting a response from command opcode %" PRIu32
"";
6452 const char* _formatString =
6453 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was expecting a response from command opcode %" PRIu32
"";
6457 response.toString(responseStr);
6463 this->m_objName.toChar(),
6465 "WrongCmdResponseOpcode ",
6471 this->m_logTextOut_OutputPort[0].invoke(
6491 if (this->m_timeCaller_OutputPort[0].isConnected()) {
6492 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
6500 if (this->m_logOut_OutputPort[0].isConnected()) {
6504 #if FW_AMPCS_COMPATIBLE 6509 static_cast<FwAssertArgType>(_status)
6513 #if FW_AMPCS_COMPATIBLE 6520 static_cast<FwAssertArgType>(_status)
6526 static_cast<FwAssertArgType>(_status)
6529 #if FW_AMPCS_COMPATIBLE 6536 static_cast<FwAssertArgType>(_status)
6542 static_cast<FwAssertArgType>(_status)
6545 #if FW_AMPCS_COMPATIBLE 6548 static_cast<U8>(
sizeof(U16))
6552 static_cast<FwAssertArgType>(_status)
6558 static_cast<FwAssertArgType>(_status)
6561 #if FW_AMPCS_COMPATIBLE 6564 static_cast<U8>(
sizeof(U16))
6568 static_cast<FwAssertArgType>(_status)
6574 static_cast<FwAssertArgType>(_status)
6577 this->m_logOut_OutputPort[0].
invoke(
6586 #if FW_ENABLE_TEXT_LOGGING 6587 if (this->m_logTextOut_OutputPort[0].isConnected()) {
6588 #if FW_OBJECT_NAMES == 1 6589 const char* _formatString =
6590 "(%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
")";
6592 const char* _formatString =
6593 "%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
")";
6597 response.toString(responseStr);
6603 this->m_objName.toChar(),
6605 "WrongCmdResponseIndex ",
6612 this->m_logTextOut_OutputPort[0].invoke(
6633 if (this->m_timeCaller_OutputPort[0].isConnected()) {
6634 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
6642 if (this->m_logOut_OutputPort[0].isConnected()) {
6646 #if FW_AMPCS_COMPATIBLE 6651 static_cast<FwAssertArgType>(_status)
6655 #if FW_AMPCS_COMPATIBLE 6658 static_cast<U8>(
sizeof(
U8))
6662 static_cast<FwAssertArgType>(_status)
6668 static_cast<FwAssertArgType>(_status)
6671 #if FW_AMPCS_COMPATIBLE 6674 static_cast<U8>(
sizeof(U32))
6678 static_cast<FwAssertArgType>(_status)
6684 static_cast<FwAssertArgType>(_status)
6687 #if FW_AMPCS_COMPATIBLE 6690 static_cast<U8>(
sizeof(I32))
6694 static_cast<FwAssertArgType>(_status)
6700 static_cast<FwAssertArgType>(_status)
6703 #if FW_AMPCS_COMPATIBLE 6706 static_cast<U8>(
sizeof(
U64))
6710 static_cast<FwAssertArgType>(_status)
6716 static_cast<FwAssertArgType>(_status)
6719 #if FW_AMPCS_COMPATIBLE 6722 static_cast<U8>(
sizeof(
U64))
6726 static_cast<FwAssertArgType>(_status)
6732 static_cast<FwAssertArgType>(_status)
6735 this->m_logOut_OutputPort[0].
invoke(
6744 #if FW_ENABLE_TEXT_LOGGING 6745 if (this->m_logTextOut_OutputPort[0].isConnected()) {
6746 #if FW_OBJECT_NAMES == 1 6747 const char* _formatString =
6748 "(%s) %s: Deserialize error encountered while reading directive opcode %" PRIu8
" at index %" PRIu32
": %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
6750 const char* _formatString =
6751 "%s: Deserialize error encountered while reading directive opcode %" PRIu8
" at index %" PRIu32
": %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
6758 this->m_objName.toChar(),
6760 "DirectiveDeserializeError ",
6768 this->m_logTextOut_OutputPort[0].invoke(
6780 I32 internalTimeBase,
6786 if (this->m_timeCaller_OutputPort[0].isConnected()) {
6787 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
6795 if (this->m_logOut_OutputPort[0].isConnected()) {
6799 #if FW_AMPCS_COMPATIBLE 6804 static_cast<FwAssertArgType>(_status)
6808 #if FW_AMPCS_COMPATIBLE 6811 static_cast<U8>(
sizeof(I32))
6815 static_cast<FwAssertArgType>(_status)
6821 static_cast<FwAssertArgType>(_status)
6824 #if FW_AMPCS_COMPATIBLE 6827 static_cast<U8>(
sizeof(I32))
6831 static_cast<FwAssertArgType>(_status)
6837 static_cast<FwAssertArgType>(_status)
6840 this->m_logOut_OutputPort[0].
invoke(
6849 #if FW_ENABLE_TEXT_LOGGING 6850 if (this->m_logTextOut_OutputPort[0].isConnected()) {
6851 #if FW_OBJECT_NAMES == 1 6852 const char* _formatString =
6853 "(%s) %s: getTime() time base was %" PRIi32
", but tried to operate on it with time base %" PRIi32
"";
6855 const char* _formatString =
6856 "%s: getTime() time base was %" PRIi32
", but tried to operate on it with time base %" PRIi32
"";
6863 this->m_objName.toChar(),
6865 "MismatchedTimeBase ",
6870 this->m_logTextOut_OutputPort[0].invoke(
6882 I32 internalTimeContext,
6883 I32 otherTimeContext
6888 if (this->m_timeCaller_OutputPort[0].isConnected()) {
6889 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
6897 if (this->m_logOut_OutputPort[0].isConnected()) {
6901 #if FW_AMPCS_COMPATIBLE 6906 static_cast<FwAssertArgType>(_status)
6910 #if FW_AMPCS_COMPATIBLE 6913 static_cast<U8>(
sizeof(I32))
6917 static_cast<FwAssertArgType>(_status)
6923 static_cast<FwAssertArgType>(_status)
6926 #if FW_AMPCS_COMPATIBLE 6929 static_cast<U8>(
sizeof(I32))
6933 static_cast<FwAssertArgType>(_status)
6939 static_cast<FwAssertArgType>(_status)
6942 this->m_logOut_OutputPort[0].
invoke(
6951 #if FW_ENABLE_TEXT_LOGGING 6952 if (this->m_logTextOut_OutputPort[0].isConnected()) {
6953 #if FW_OBJECT_NAMES == 1 6954 const char* _formatString =
6955 "(%s) %s: getTime() time context was %" PRIi32
", but tried to operate on it with time context %" PRIi32
"";
6957 const char* _formatString =
6958 "%s: getTime() time context was %" PRIi32
", but tried to operate on it with time context %" PRIi32
"";
6965 this->m_objName.toChar(),
6967 "MismatchedTimeContext ",
6968 internalTimeContext,
6972 this->m_logTextOut_OutputPort[0].invoke(
6991 if (this->m_timeCaller_OutputPort[0].isConnected()) {
6992 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
7000 if (this->m_logOut_OutputPort[0].isConnected()) {
7004 #if FW_AMPCS_COMPATIBLE 7009 static_cast<FwAssertArgType>(_status)
7013 #if FW_AMPCS_COMPATIBLE 7020 static_cast<FwAssertArgType>(_status)
7026 static_cast<FwAssertArgType>(_status)
7029 #if FW_AMPCS_COMPATIBLE 7032 static_cast<U8>(
sizeof(U32))
7036 static_cast<FwAssertArgType>(_status)
7042 static_cast<FwAssertArgType>(_status)
7048 static_cast<FwAssertArgType>(_status)
7051 this->m_logOut_OutputPort[0].
invoke(
7060 #if FW_ENABLE_TEXT_LOGGING 7061 if (this->m_logTextOut_OutputPort[0].isConnected()) {
7062 #if FW_OBJECT_NAMES == 1 7063 const char* _formatString =
7064 "(%s) %s: A command opcode %" PRIu32
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
7066 const char* _formatString =
7067 "%s: A command opcode %" PRIu32
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
7074 this->m_objName.toChar(),
7082 this->m_logTextOut_OutputPort[0].invoke(
7101 if (this->m_timeCaller_OutputPort[0].isConnected()) {
7102 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
7110 if (this->m_logOut_OutputPort[0].isConnected()) {
7114 #if FW_AMPCS_COMPATIBLE 7119 static_cast<FwAssertArgType>(_status)
7123 #if FW_AMPCS_COMPATIBLE 7126 static_cast<U8>(
sizeof(
U8))
7130 static_cast<FwAssertArgType>(_status)
7136 static_cast<FwAssertArgType>(_status)
7139 #if FW_AMPCS_COMPATIBLE 7142 static_cast<U8>(
sizeof(U32))
7146 static_cast<FwAssertArgType>(_status)
7152 static_cast<FwAssertArgType>(_status)
7158 static_cast<FwAssertArgType>(_status)
7161 this->m_logOut_OutputPort[0].
invoke(
7170 #if FW_ENABLE_TEXT_LOGGING 7171 if (this->m_logTextOut_OutputPort[0].isConnected()) {
7172 #if FW_OBJECT_NAMES == 1 7173 const char* _formatString =
7174 "(%s) %s: A directive opcode %" PRIu8
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
7176 const char* _formatString =
7177 "%s: A directive opcode %" PRIu8
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
7184 this->m_objName.toChar(),
7186 "DirectiveTimedOut ",
7192 this->m_logTextOut_OutputPort[0].invoke(
7210 if (this->m_timeCaller_OutputPort[0].isConnected()) {
7211 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
7219 if (this->m_logOut_OutputPort[0].isConnected()) {
7223 #if FW_AMPCS_COMPATIBLE 7228 static_cast<FwAssertArgType>(_status)
7232 #if FW_AMPCS_COMPATIBLE 7235 static_cast<U8>(
sizeof(
U8))
7239 static_cast<FwAssertArgType>(_status)
7245 static_cast<FwAssertArgType>(_status)
7248 #if FW_AMPCS_COMPATIBLE 7251 static_cast<U8>(
sizeof(
U8))
7255 static_cast<FwAssertArgType>(_status)
7261 static_cast<FwAssertArgType>(_status)
7264 this->m_logOut_OutputPort[0].
invoke(
7273 #if FW_ENABLE_TEXT_LOGGING 7274 if (this->m_logTextOut_OutputPort[0].isConnected()) {
7275 #if FW_OBJECT_NAMES == 1 7276 const char* _formatString =
7277 "(%s) %s: A sequence specified it had %" PRIu8
" args but the max was %" PRIu8
"";
7279 const char* _formatString =
7280 "%s: A sequence specified it had %" PRIu8
" args but the max was %" PRIu8
"";
7287 this->m_objName.toChar(),
7289 "TooManySequenceArgs ",
7294 this->m_logTextOut_OutputPort[0].invoke(
7312 if (this->m_timeCaller_OutputPort[0].isConnected()) {
7313 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
7321 if (this->m_logOut_OutputPort[0].isConnected()) {
7325 #if FW_AMPCS_COMPATIBLE 7330 static_cast<FwAssertArgType>(_status)
7334 #if FW_AMPCS_COMPATIBLE 7337 static_cast<U8>(
sizeof(U16))
7341 static_cast<FwAssertArgType>(_status)
7347 static_cast<FwAssertArgType>(_status)
7350 #if FW_AMPCS_COMPATIBLE 7353 static_cast<U8>(
sizeof(U16))
7357 static_cast<FwAssertArgType>(_status)
7363 static_cast<FwAssertArgType>(_status)
7366 this->m_logOut_OutputPort[0].
invoke(
7375 #if FW_ENABLE_TEXT_LOGGING 7376 if (this->m_logTextOut_OutputPort[0].isConnected()) {
7377 #if FW_OBJECT_NAMES == 1 7378 const char* _formatString =
7379 "(%s) %s: A sequence specified it had %" PRIu16
" directives but the max was %" PRIu16
"";
7381 const char* _formatString =
7382 "%s: A sequence specified it had %" PRIu16
" directives but the max was %" PRIu16
"";
7389 this->m_objName.toChar(),
7391 "TooManySequenceDirectives ",
7396 this->m_logTextOut_OutputPort[0].invoke(
7411 if (this->m_timeCaller_OutputPort[0].isConnected()) {
7412 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
7420 if (this->m_logOut_OutputPort[0].isConnected()) {
7424 #if FW_AMPCS_COMPATIBLE 7429 static_cast<FwAssertArgType>(_status)
7433 #if FW_AMPCS_COMPATIBLE 7436 static_cast<U8>(
sizeof(U32))
7440 static_cast<FwAssertArgType>(_status)
7446 static_cast<FwAssertArgType>(_status)
7449 this->m_logOut_OutputPort[0].
invoke(
7458 #if FW_ENABLE_TEXT_LOGGING 7459 if (this->m_logTextOut_OutputPort[0].isConnected()) {
7460 #if FW_OBJECT_NAMES == 1 7461 const char* _formatString =
7462 "(%s) %s: Sequence paused before dispatching directive index %" PRIu32
"";
7464 const char* _formatString =
7465 "%s: Sequence paused before dispatching directive index %" PRIu32
"";
7472 this->m_objName.toChar(),
7478 this->m_logTextOut_OutputPort[0].invoke(
7496 if (this->m_timeCaller_OutputPort[0].isConnected()) {
7497 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
7505 if (this->m_logOut_OutputPort[0].isConnected()) {
7509 #if FW_AMPCS_COMPATIBLE 7514 static_cast<FwAssertArgType>(_status)
7518 #if FW_AMPCS_COMPATIBLE 7521 static_cast<U8>(
sizeof(U32))
7525 static_cast<FwAssertArgType>(_status)
7531 static_cast<FwAssertArgType>(_status)
7534 #if FW_AMPCS_COMPATIBLE 7537 static_cast<U8>(
sizeof(
U8))
7541 static_cast<FwAssertArgType>(_status)
7547 static_cast<FwAssertArgType>(_status)
7550 this->m_logOut_OutputPort[0].
invoke(
7559 #if FW_ENABLE_TEXT_LOGGING 7560 if (this->m_logTextOut_OutputPort[0].isConnected()) {
7561 #if FW_OBJECT_NAMES == 1 7562 const char* _formatString =
7563 "(%s) %s: Breakpoint set before directive index %" PRIu32
". Will break once: %d";
7565 const char* _formatString =
7566 "%s: Breakpoint set before directive index %" PRIu32
". Will break once: %d";
7573 this->m_objName.toChar(),
7580 this->m_logTextOut_OutputPort[0].invoke(
7595 if (this->m_timeCaller_OutputPort[0].isConnected()) {
7596 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
7604 if (this->m_logOut_OutputPort[0].isConnected()) {
7607 #if FW_AMPCS_COMPATIBLE 7613 static_cast<FwAssertArgType>(_status)
7617 this->m_logOut_OutputPort[0].
invoke(
7626 #if FW_ENABLE_TEXT_LOGGING 7627 if (this->m_logTextOut_OutputPort[0].isConnected()) {
7628 #if FW_OBJECT_NAMES == 1 7629 const char* _formatString =
7630 "(%s) %s: Breakpoint cleared";
7632 const char* _formatString =
7633 "%s: Breakpoint cleared";
7640 this->m_objName.toChar(),
7642 "BreakpointCleared " 7645 this->m_logTextOut_OutputPort[0].invoke(
7666 if (not this->m_first_update_State) {
7668 if (arg == this->m_last_State) {
7672 this->m_last_State = arg;
7676 this->m_first_update_State =
false;
7677 this->m_last_State = arg;
7680 if (this->m_tlmOut_OutputPort[0].isConnected()) {
7682 this->m_timeCaller_OutputPort[0].isConnected() &&
7685 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
7692 static_cast<FwAssertArgType>(_stat)
7699 this->m_tlmOut_OutputPort[0].
invoke(
7714 if (not this->m_first_update_SequencesSucceeded) {
7716 if (arg == this->m_last_SequencesSucceeded) {
7720 this->m_last_SequencesSucceeded = arg;
7724 this->m_first_update_SequencesSucceeded =
false;
7725 this->m_last_SequencesSucceeded = arg;
7728 if (this->m_tlmOut_OutputPort[0].isConnected()) {
7730 this->m_timeCaller_OutputPort[0].isConnected() &&
7733 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
7740 static_cast<FwAssertArgType>(_stat)
7747 this->m_tlmOut_OutputPort[0].
invoke(
7762 if (not this->m_first_update_SequencesFailed) {
7764 if (arg == this->m_last_SequencesFailed) {
7768 this->m_last_SequencesFailed = arg;
7772 this->m_first_update_SequencesFailed =
false;
7773 this->m_last_SequencesFailed = arg;
7776 if (this->m_tlmOut_OutputPort[0].isConnected()) {
7778 this->m_timeCaller_OutputPort[0].isConnected() &&
7781 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
7788 static_cast<FwAssertArgType>(_stat)
7795 this->m_tlmOut_OutputPort[0].
invoke(
7810 if (not this->m_first_update_SequencesCancelled) {
7812 if (arg == this->m_last_SequencesCancelled) {
7816 this->m_last_SequencesCancelled = arg;
7820 this->m_first_update_SequencesCancelled =
false;
7821 this->m_last_SequencesCancelled = arg;
7824 if (this->m_tlmOut_OutputPort[0].isConnected()) {
7826 this->m_timeCaller_OutputPort[0].isConnected() &&
7829 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
7836 static_cast<FwAssertArgType>(_stat)
7843 this->m_tlmOut_OutputPort[0].
invoke(
7858 if (not this->m_first_update_StatementsDispatched) {
7860 if (arg == this->m_last_StatementsDispatched) {
7864 this->m_last_StatementsDispatched = arg;
7868 this->m_first_update_StatementsDispatched =
false;
7869 this->m_last_StatementsDispatched = arg;
7872 if (this->m_tlmOut_OutputPort[0].isConnected()) {
7874 this->m_timeCaller_OutputPort[0].isConnected() &&
7877 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
7884 static_cast<FwAssertArgType>(_stat)
7891 this->m_tlmOut_OutputPort[0].
invoke(
7906 if (not this->m_first_update_StatementsFailed) {
7908 if (arg == this->m_last_StatementsFailed) {
7912 this->m_last_StatementsFailed = arg;
7916 this->m_first_update_StatementsFailed =
false;
7917 this->m_last_StatementsFailed = arg;
7920 if (this->m_tlmOut_OutputPort[0].isConnected()) {
7922 this->m_timeCaller_OutputPort[0].isConnected() &&
7925 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
7932 static_cast<FwAssertArgType>(_stat)
7939 this->m_tlmOut_OutputPort[0].
invoke(
7954 if (not this->m_first_update_LastDirectiveError) {
7956 if (arg == this->m_last_LastDirectiveError) {
7960 this->m_last_LastDirectiveError = arg;
7964 this->m_first_update_LastDirectiveError =
false;
7965 this->m_last_LastDirectiveError = arg;
7968 if (this->m_tlmOut_OutputPort[0].isConnected()) {
7970 this->m_timeCaller_OutputPort[0].isConnected() &&
7973 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
7980 static_cast<FwAssertArgType>(_stat)
7987 this->m_tlmOut_OutputPort[0].
invoke(
8002 if (not this->m_first_update_DirectiveErrorIndex) {
8004 if (arg == this->m_last_DirectiveErrorIndex) {
8008 this->m_last_DirectiveErrorIndex = arg;
8012 this->m_first_update_DirectiveErrorIndex =
false;
8013 this->m_last_DirectiveErrorIndex = arg;
8016 if (this->m_tlmOut_OutputPort[0].isConnected()) {
8018 this->m_timeCaller_OutputPort[0].isConnected() &&
8021 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
8028 static_cast<FwAssertArgType>(_stat)
8035 this->m_tlmOut_OutputPort[0].
invoke(
8050 if (not this->m_first_update_DirectiveErrorId) {
8052 if (arg == this->m_last_DirectiveErrorId) {
8056 this->m_last_DirectiveErrorId = arg;
8060 this->m_first_update_DirectiveErrorId =
false;
8061 this->m_last_DirectiveErrorId = arg;
8064 if (this->m_tlmOut_OutputPort[0].isConnected()) {
8066 this->m_timeCaller_OutputPort[0].isConnected() &&
8069 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
8076 static_cast<FwAssertArgType>(_stat)
8083 this->m_tlmOut_OutputPort[0].
invoke(
8098 if (not this->m_first_update_SeqPath) {
8100 if (arg == this->m_last_SeqPath) {
8104 this->m_last_SeqPath = arg;
8108 this->m_first_update_SeqPath =
false;
8109 this->m_last_SeqPath = arg;
8112 if (this->m_tlmOut_OutputPort[0].isConnected()) {
8114 this->m_timeCaller_OutputPort[0].isConnected() &&
8117 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
8124 static_cast<FwAssertArgType>(_stat)
8131 this->m_tlmOut_OutputPort[0].
invoke(
8146 if (not this->m_first_update_Debug_ReachedEndOfFile) {
8148 if (arg == this->m_last_Debug_ReachedEndOfFile) {
8152 this->m_last_Debug_ReachedEndOfFile = arg;
8156 this->m_first_update_Debug_ReachedEndOfFile =
false;
8157 this->m_last_Debug_ReachedEndOfFile = arg;
8160 if (this->m_tlmOut_OutputPort[0].isConnected()) {
8162 this->m_timeCaller_OutputPort[0].isConnected() &&
8165 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
8172 static_cast<FwAssertArgType>(_stat)
8179 this->m_tlmOut_OutputPort[0].
invoke(
8194 if (not this->m_first_update_Debug_NextStatementReadSuccess) {
8196 if (arg == this->m_last_Debug_NextStatementReadSuccess) {
8200 this->m_last_Debug_NextStatementReadSuccess = arg;
8204 this->m_first_update_Debug_NextStatementReadSuccess =
false;
8205 this->m_last_Debug_NextStatementReadSuccess = arg;
8208 if (this->m_tlmOut_OutputPort[0].isConnected()) {
8210 this->m_timeCaller_OutputPort[0].isConnected() &&
8213 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
8220 static_cast<FwAssertArgType>(_stat)
8227 this->m_tlmOut_OutputPort[0].
invoke(
8242 if (not this->m_first_update_Debug_NextStatementOpcode) {
8244 if (arg == this->m_last_Debug_NextStatementOpcode) {
8248 this->m_last_Debug_NextStatementOpcode = arg;
8252 this->m_first_update_Debug_NextStatementOpcode =
false;
8253 this->m_last_Debug_NextStatementOpcode = arg;
8256 if (this->m_tlmOut_OutputPort[0].isConnected()) {
8258 this->m_timeCaller_OutputPort[0].isConnected() &&
8261 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
8268 static_cast<FwAssertArgType>(_stat)
8275 this->m_tlmOut_OutputPort[0].
invoke(
8290 if (not this->m_first_update_Debug_NextCmdOpcode) {
8292 if (arg == this->m_last_Debug_NextCmdOpcode) {
8296 this->m_last_Debug_NextCmdOpcode = arg;
8300 this->m_first_update_Debug_NextCmdOpcode =
false;
8301 this->m_last_Debug_NextCmdOpcode = arg;
8304 if (this->m_tlmOut_OutputPort[0].isConnected()) {
8306 this->m_timeCaller_OutputPort[0].isConnected() &&
8309 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
8316 static_cast<FwAssertArgType>(_stat)
8323 this->m_tlmOut_OutputPort[0].
invoke(
8338 if (not this->m_first_update_Debug_StackSize) {
8340 if (arg == this->m_last_Debug_StackSize) {
8344 this->m_last_Debug_StackSize = arg;
8348 this->m_first_update_Debug_StackSize =
false;
8349 this->m_last_Debug_StackSize = arg;
8352 if (this->m_tlmOut_OutputPort[0].isConnected()) {
8354 this->m_timeCaller_OutputPort[0].isConnected() &&
8357 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
8364 static_cast<FwAssertArgType>(_stat)
8371 this->m_tlmOut_OutputPort[0].
invoke(
8386 if (not this->m_first_update_BreakpointInUse) {
8388 if (arg == this->m_last_BreakpointInUse) {
8392 this->m_last_BreakpointInUse = arg;
8396 this->m_first_update_BreakpointInUse =
false;
8397 this->m_last_BreakpointInUse = arg;
8400 if (this->m_tlmOut_OutputPort[0].isConnected()) {
8402 this->m_timeCaller_OutputPort[0].isConnected() &&
8405 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
8412 static_cast<FwAssertArgType>(_stat)
8419 this->m_tlmOut_OutputPort[0].
invoke(
8434 if (not this->m_first_update_BreakpointIndex) {
8436 if (arg == this->m_last_BreakpointIndex) {
8440 this->m_last_BreakpointIndex = arg;
8444 this->m_first_update_BreakpointIndex =
false;
8445 this->m_last_BreakpointIndex = arg;
8448 if (this->m_tlmOut_OutputPort[0].isConnected()) {
8450 this->m_timeCaller_OutputPort[0].isConnected() &&
8453 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
8460 static_cast<FwAssertArgType>(_stat)
8467 this->m_tlmOut_OutputPort[0].
invoke(
8482 if (not this->m_first_update_BreakOnlyOnceOnBreakpoint) {
8484 if (arg == this->m_last_BreakOnlyOnceOnBreakpoint) {
8488 this->m_last_BreakOnlyOnceOnBreakpoint = arg;
8492 this->m_first_update_BreakOnlyOnceOnBreakpoint =
false;
8493 this->m_last_BreakOnlyOnceOnBreakpoint = arg;
8496 if (this->m_tlmOut_OutputPort[0].isConnected()) {
8498 this->m_timeCaller_OutputPort[0].isConnected() &&
8501 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
8508 static_cast<FwAssertArgType>(_stat)
8515 this->m_tlmOut_OutputPort[0].
invoke(
8530 if (not this->m_first_update_BreakBeforeNextLine) {
8532 if (arg == this->m_last_BreakBeforeNextLine) {
8536 this->m_last_BreakBeforeNextLine = arg;
8540 this->m_first_update_BreakBeforeNextLine =
false;
8541 this->m_last_BreakBeforeNextLine = arg;
8544 if (this->m_tlmOut_OutputPort[0].isConnected()) {
8546 this->m_timeCaller_OutputPort[0].isConnected() &&
8549 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
8556 static_cast<FwAssertArgType>(_stat)
8563 this->m_tlmOut_OutputPort[0].
invoke(
8578 if (not this->m_first_update_PRM_STATEMENT_TIMEOUT_SECS) {
8580 if (arg == this->m_last_PRM_STATEMENT_TIMEOUT_SECS) {
8584 this->m_last_PRM_STATEMENT_TIMEOUT_SECS = arg;
8588 this->m_first_update_PRM_STATEMENT_TIMEOUT_SECS =
false;
8589 this->m_last_PRM_STATEMENT_TIMEOUT_SECS = arg;
8592 if (this->m_tlmOut_OutputPort[0].isConnected()) {
8594 this->m_timeCaller_OutputPort[0].isConnected() &&
8597 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
8604 static_cast<FwAssertArgType>(_stat)
8611 this->m_tlmOut_OutputPort[0].
invoke(
8626 if (not this->m_first_update_PRM_FLAG_DEFAULT_EXIT_ON_CMD_FAIL) {
8628 if (arg == this->m_last_PRM_FLAG_DEFAULT_EXIT_ON_CMD_FAIL) {
8632 this->m_last_PRM_FLAG_DEFAULT_EXIT_ON_CMD_FAIL = arg;
8636 this->m_first_update_PRM_FLAG_DEFAULT_EXIT_ON_CMD_FAIL =
false;
8637 this->m_last_PRM_FLAG_DEFAULT_EXIT_ON_CMD_FAIL = arg;
8640 if (this->m_tlmOut_OutputPort[0].isConnected()) {
8642 this->m_timeCaller_OutputPort[0].isConnected() &&
8645 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
8652 static_cast<FwAssertArgType>(_stat)
8659 this->m_tlmOut_OutputPort[0].
invoke(
8691 this->m_paramLock.
lock();
8692 valid = this->m_param_STATEMENT_TIMEOUT_SECS_valid;
8693 _local = this->m_STATEMENT_TIMEOUT_SECS;
8694 this->m_paramLock.
unLock();
8702 this->m_paramLock.
lock();
8703 valid = this->m_param_FLAG_DEFAULT_EXIT_ON_CMD_FAIL_valid;
8704 _local = this->m_FLAG_DEFAULT_EXIT_ON_CMD_FAIL;
8705 this->m_paramLock.
unLock();
8716 if (this->m_timeCaller_OutputPort[0].isConnected()) {
8718 this->m_timeCaller_OutputPort[0].
invoke(_time);
8733 ComponentIpcSerializableBuffer _msg;
8743 static_cast<FwAssertArgType>(_msgStatus)
8753 static_cast<FwAssertArgType>(_deserStatus)
8756 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
8758 if (_msgType == FPYSEQUENCER_COMPONENT_EXIT) {
8763 _deserStatus = _msg.deserializeTo(portNum);
8766 static_cast<FwAssertArgType>(_deserStatus)
8771 case CHECKTIMERS_SCHED: {
8774 _deserStatus = _msg.deserializeTo(context);
8777 static_cast<FwAssertArgType>(_deserStatus)
8789 case CMDRESPONSEIN_CMDRESPONSE: {
8792 _deserStatus = _msg.deserializeTo(opCode);
8795 static_cast<FwAssertArgType>(_deserStatus)
8800 _deserStatus = _msg.deserializeTo(cmdSeq);
8803 static_cast<FwAssertArgType>(_deserStatus)
8808 _deserStatus = _msg.deserializeTo(response);
8811 static_cast<FwAssertArgType>(_deserStatus)
8828 _deserStatus = _msg.deserializeTo(key);
8831 static_cast<FwAssertArgType>(_deserStatus)
8843 case SEQRUNIN_CMDSEQIN: {
8846 Fw::ExternalString filename(__fprime_ac_filename_buffer,
sizeof __fprime_ac_filename_buffer);
8847 _deserStatus = _msg.deserializeTo(filename);
8850 static_cast<FwAssertArgType>(_deserStatus)
8862 case TLMWRITE_SCHED: {
8865 _deserStatus = _msg.deserializeTo(context);
8868 static_cast<FwAssertArgType>(_deserStatus)
8883 _deserStatus = _msg.deserializeTo(_opCode);
8886 static_cast<FwAssertArgType>(_deserStatus)
8891 _deserStatus = _msg.deserializeTo(_cmdSeq);
8894 static_cast<FwAssertArgType>(_deserStatus)
8899 _deserStatus = _msg.deserializeTo(args);
8902 static_cast<FwAssertArgType>(_deserStatus)
8912 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
8927 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
8940 #if FW_CMD_CHECK_RESIDUAL 8942 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
8961 case CMD_VALIDATE: {
8964 _deserStatus = _msg.deserializeTo(_opCode);
8967 static_cast<FwAssertArgType>(_deserStatus)
8972 _deserStatus = _msg.deserializeTo(_cmdSeq);
8975 static_cast<FwAssertArgType>(_deserStatus)
8980 _deserStatus = _msg.deserializeTo(args);
8983 static_cast<FwAssertArgType>(_deserStatus)
8993 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
9006 #if FW_CMD_CHECK_RESIDUAL 9008 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
9026 case CMD_RUN_VALIDATED: {
9029 _deserStatus = _msg.deserializeTo(_opCode);
9032 static_cast<FwAssertArgType>(_deserStatus)
9037 _deserStatus = _msg.deserializeTo(_cmdSeq);
9040 static_cast<FwAssertArgType>(_deserStatus)
9045 _deserStatus = _msg.deserializeTo(args);
9048 static_cast<FwAssertArgType>(_deserStatus)
9058 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
9071 #if FW_CMD_CHECK_RESIDUAL 9073 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
9094 _deserStatus = _msg.deserializeTo(_opCode);
9097 static_cast<FwAssertArgType>(_deserStatus)
9102 _deserStatus = _msg.deserializeTo(_cmdSeq);
9105 static_cast<FwAssertArgType>(_deserStatus)
9110 _deserStatus = _msg.deserializeTo(args);
9113 static_cast<FwAssertArgType>(_deserStatus)
9121 #if FW_CMD_CHECK_RESIDUAL 9123 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
9138 case CMD_SET_BREAKPOINT: {
9141 _deserStatus = _msg.deserializeTo(_opCode);
9144 static_cast<FwAssertArgType>(_deserStatus)
9149 _deserStatus = _msg.deserializeTo(_cmdSeq);
9152 static_cast<FwAssertArgType>(_deserStatus)
9157 _deserStatus = _msg.deserializeTo(args);
9160 static_cast<FwAssertArgType>(_deserStatus)
9170 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
9185 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
9198 #if FW_CMD_CHECK_RESIDUAL 9200 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
9222 _deserStatus = _msg.deserializeTo(_opCode);
9225 static_cast<FwAssertArgType>(_deserStatus)
9230 _deserStatus = _msg.deserializeTo(_cmdSeq);
9233 static_cast<FwAssertArgType>(_deserStatus)
9238 _deserStatus = _msg.deserializeTo(args);
9241 static_cast<FwAssertArgType>(_deserStatus)
9249 #if FW_CMD_CHECK_RESIDUAL 9251 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
9266 case CMD_CONTINUE: {
9269 _deserStatus = _msg.deserializeTo(_opCode);
9272 static_cast<FwAssertArgType>(_deserStatus)
9277 _deserStatus = _msg.deserializeTo(_cmdSeq);
9280 static_cast<FwAssertArgType>(_deserStatus)
9285 _deserStatus = _msg.deserializeTo(args);
9288 static_cast<FwAssertArgType>(_deserStatus)
9296 #if FW_CMD_CHECK_RESIDUAL 9298 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
9313 case CMD_CLEAR_BREAKPOINT: {
9316 _deserStatus = _msg.deserializeTo(_opCode);
9319 static_cast<FwAssertArgType>(_deserStatus)
9324 _deserStatus = _msg.deserializeTo(_cmdSeq);
9327 static_cast<FwAssertArgType>(_deserStatus)
9332 _deserStatus = _msg.deserializeTo(args);
9335 static_cast<FwAssertArgType>(_deserStatus)
9343 #if FW_CMD_CHECK_RESIDUAL 9345 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
9363 _deserStatus = _msg.deserializeTo(_opCode);
9366 static_cast<FwAssertArgType>(_deserStatus)
9371 _deserStatus = _msg.deserializeTo(_cmdSeq);
9374 static_cast<FwAssertArgType>(_deserStatus)
9379 _deserStatus = _msg.deserializeTo(args);
9382 static_cast<FwAssertArgType>(_deserStatus)
9390 #if FW_CMD_CHECK_RESIDUAL 9392 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
9407 case CMD_SET_FLAG: {
9410 _deserStatus = _msg.deserializeTo(_opCode);
9413 static_cast<FwAssertArgType>(_deserStatus)
9418 _deserStatus = _msg.deserializeTo(_cmdSeq);
9421 static_cast<FwAssertArgType>(_deserStatus)
9426 _deserStatus = _msg.deserializeTo(args);
9429 static_cast<FwAssertArgType>(_deserStatus)
9439 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
9454 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
9467 #if FW_CMD_CHECK_RESIDUAL 9469 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
9488 case CMD_DUMP_STACK_TO_FILE: {
9491 _deserStatus = _msg.deserializeTo(_opCode);
9494 static_cast<FwAssertArgType>(_deserStatus)
9499 _deserStatus = _msg.deserializeTo(_cmdSeq);
9502 static_cast<FwAssertArgType>(_deserStatus)
9507 _deserStatus = _msg.deserializeTo(args);
9510 static_cast<FwAssertArgType>(_deserStatus)
9520 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
9533 #if FW_CMD_CHECK_RESIDUAL 9535 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
9553 case INT_IF_DIRECTIVE_ALLOCATE: {
9555 _deserStatus = _msg.deserializeTo(directive);
9560 static_cast<FwAssertArgType>(_deserStatus)
9566 _msg.getDeserializeSizeLeft() == 0,
9579 case INT_IF_DIRECTIVE_CALL: {
9581 _deserStatus = _msg.deserializeTo(directive);
9586 static_cast<FwAssertArgType>(_deserStatus)
9592 _msg.getDeserializeSizeLeft() == 0,
9605 case INT_IF_DIRECTIVE_CONSTCMD: {
9607 _deserStatus = _msg.deserializeTo(directive);
9612 static_cast<FwAssertArgType>(_deserStatus)
9618 _msg.getDeserializeSizeLeft() == 0,
9631 case INT_IF_DIRECTIVE_DISCARD: {
9633 _deserStatus = _msg.deserializeTo(directive);
9638 static_cast<FwAssertArgType>(_deserStatus)
9644 _msg.getDeserializeSizeLeft() == 0,
9657 case INT_IF_DIRECTIVE_EXIT: {
9659 _deserStatus = _msg.deserializeTo(directive);
9664 static_cast<FwAssertArgType>(_deserStatus)
9670 _msg.getDeserializeSizeLeft() == 0,
9683 case INT_IF_DIRECTIVE_GETFIELD: {
9685 _deserStatus = _msg.deserializeTo(directive);
9690 static_cast<FwAssertArgType>(_deserStatus)
9696 _msg.getDeserializeSizeLeft() == 0,
9709 case INT_IF_DIRECTIVE_GETFLAG: {
9711 _deserStatus = _msg.deserializeTo(directive);
9716 static_cast<FwAssertArgType>(_deserStatus)
9722 _msg.getDeserializeSizeLeft() == 0,
9735 case INT_IF_DIRECTIVE_GOTO: {
9737 _deserStatus = _msg.deserializeTo(directive);
9742 static_cast<FwAssertArgType>(_deserStatus)
9748 _msg.getDeserializeSizeLeft() == 0,
9761 case INT_IF_DIRECTIVE_IF: {
9763 _deserStatus = _msg.deserializeTo(directive);
9768 static_cast<FwAssertArgType>(_deserStatus)
9774 _msg.getDeserializeSizeLeft() == 0,
9787 case INT_IF_DIRECTIVE_LOADABS: {
9789 _deserStatus = _msg.deserializeTo(directive);
9794 static_cast<FwAssertArgType>(_deserStatus)
9800 _msg.getDeserializeSizeLeft() == 0,
9813 case INT_IF_DIRECTIVE_LOADREL: {
9815 _deserStatus = _msg.deserializeTo(directive);
9820 static_cast<FwAssertArgType>(_deserStatus)
9826 _msg.getDeserializeSizeLeft() == 0,
9839 case INT_IF_DIRECTIVE_MEMCMP: {
9841 _deserStatus = _msg.deserializeTo(directive);
9846 static_cast<FwAssertArgType>(_deserStatus)
9852 _msg.getDeserializeSizeLeft() == 0,
9865 case INT_IF_DIRECTIVE_NOOP: {
9867 _deserStatus = _msg.deserializeTo(directive);
9872 static_cast<FwAssertArgType>(_deserStatus)
9878 _msg.getDeserializeSizeLeft() == 0,
9891 case INT_IF_DIRECTIVE_PEEK: {
9893 _deserStatus = _msg.deserializeTo(directive);
9898 static_cast<FwAssertArgType>(_deserStatus)
9904 _msg.getDeserializeSizeLeft() == 0,
9917 case INT_IF_DIRECTIVE_PUSHPRM: {
9919 _deserStatus = _msg.deserializeTo(directive);
9924 static_cast<FwAssertArgType>(_deserStatus)
9930 _msg.getDeserializeSizeLeft() == 0,
9943 case INT_IF_DIRECTIVE_PUSHTIME: {
9945 _deserStatus = _msg.deserializeTo(directive);
9950 static_cast<FwAssertArgType>(_deserStatus)
9956 _msg.getDeserializeSizeLeft() == 0,
9969 case INT_IF_DIRECTIVE_PUSHTLMVAL: {
9971 _deserStatus = _msg.deserializeTo(directive);
9976 static_cast<FwAssertArgType>(_deserStatus)
9982 _msg.getDeserializeSizeLeft() == 0,
9995 case INT_IF_DIRECTIVE_PUSHTLMVALANDTIME: {
9997 _deserStatus = _msg.deserializeTo(directive);
10002 static_cast<FwAssertArgType>(_deserStatus)
10008 _msg.getDeserializeSizeLeft() == 0,
10021 case INT_IF_DIRECTIVE_PUSHVAL: {
10023 _deserStatus = _msg.deserializeTo(directive);
10028 static_cast<FwAssertArgType>(_deserStatus)
10034 _msg.getDeserializeSizeLeft() == 0,
10047 case INT_IF_DIRECTIVE_RETURN: {
10049 _deserStatus = _msg.deserializeTo(directive);
10054 static_cast<FwAssertArgType>(_deserStatus)
10060 _msg.getDeserializeSizeLeft() == 0,
10073 case INT_IF_DIRECTIVE_SETFLAG: {
10075 _deserStatus = _msg.deserializeTo(directive);
10080 static_cast<FwAssertArgType>(_deserStatus)
10086 _msg.getDeserializeSizeLeft() == 0,
10099 case INT_IF_DIRECTIVE_STACKCMD: {
10101 _deserStatus = _msg.deserializeTo(directive);
10106 static_cast<FwAssertArgType>(_deserStatus)
10112 _msg.getDeserializeSizeLeft() == 0,
10125 case INT_IF_DIRECTIVE_STACKOP: {
10127 _deserStatus = _msg.deserializeTo(directive);
10132 static_cast<FwAssertArgType>(_deserStatus)
10138 _msg.getDeserializeSizeLeft() == 0,
10151 case INT_IF_DIRECTIVE_STOREABS: {
10153 _deserStatus = _msg.deserializeTo(directive);
10158 static_cast<FwAssertArgType>(_deserStatus)
10164 _msg.getDeserializeSizeLeft() == 0,
10177 case INT_IF_DIRECTIVE_STOREABSCONSTOFFSET: {
10179 _deserStatus = _msg.deserializeTo(directive);
10184 static_cast<FwAssertArgType>(_deserStatus)
10190 _msg.getDeserializeSizeLeft() == 0,
10203 case INT_IF_DIRECTIVE_STOREREL: {
10205 _deserStatus = _msg.deserializeTo(directive);
10210 static_cast<FwAssertArgType>(_deserStatus)
10216 _msg.getDeserializeSizeLeft() == 0,
10229 case INT_IF_DIRECTIVE_STORERELCONSTOFFSET: {
10231 _deserStatus = _msg.deserializeTo(directive);
10236 static_cast<FwAssertArgType>(_deserStatus)
10242 _msg.getDeserializeSizeLeft() == 0,
10255 case INT_IF_DIRECTIVE_WAITABS: {
10257 _deserStatus = _msg.deserializeTo(directive);
10262 static_cast<FwAssertArgType>(_deserStatus)
10268 _msg.getDeserializeSizeLeft() == 0,
10281 case INT_IF_DIRECTIVE_WAITREL: {
10283 _deserStatus = _msg.deserializeTo(directive);
10288 static_cast<FwAssertArgType>(_deserStatus)
10294 _msg.getDeserializeSizeLeft() == 0,
10308 case INTERNAL_STATE_MACHINE_SIGNAL:
10309 this->smDispatch(_msg);
10323 void FpySequencerComponentBase ::
10335 const U32 idBase = callComp->
getIdBase();
10336 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
10339 switch (opCode - idBase) {
10341 compPtr->RUN_cmdHandlerBase(
10350 compPtr->VALIDATE_cmdHandlerBase(
10359 compPtr->RUN_VALIDATED_cmdHandlerBase(
10368 compPtr->CANCEL_cmdHandlerBase(
10377 compPtr->SET_BREAKPOINT_cmdHandlerBase(
10386 compPtr->BREAK_cmdHandlerBase(
10395 compPtr->CONTINUE_cmdHandlerBase(
10404 compPtr->CLEAR_BREAKPOINT_cmdHandlerBase(
10413 compPtr->STEP_cmdHandlerBase(
10422 compPtr->SET_FLAG_cmdHandlerBase(
10431 compPtr->DUMP_STACK_TO_FILE_cmdHandlerBase(
10440 Fw::CmdResponse _cstat = compPtr->paramSet_STATEMENT_TIMEOUT_SECS(args);
10441 compPtr->cmdResponse_out(
10450 Fw::CmdResponse _cstat = compPtr->paramSave_STATEMENT_TIMEOUT_SECS();
10451 compPtr->cmdResponse_out(
10460 Fw::CmdResponse _cstat = compPtr->paramSet_FLAG_DEFAULT_EXIT_ON_CMD_FAIL(args);
10461 compPtr->cmdResponse_out(
10470 Fw::CmdResponse _cstat = compPtr->paramSave_FLAG_DEFAULT_EXIT_ON_CMD_FAIL();
10471 compPtr->cmdResponse_out(
10485 void FpySequencerComponentBase ::
10486 m_p_checkTimers_in(
10494 compPtr->checkTimers_handlerBase(
10500 void FpySequencerComponentBase ::
10501 m_p_cmdResponseIn_in(
10511 compPtr->cmdResponseIn_handlerBase(
10519 void FpySequencerComponentBase ::
10528 compPtr->pingIn_handlerBase(
10534 void FpySequencerComponentBase ::
10543 compPtr->seqRunIn_handlerBase(
10549 void FpySequencerComponentBase ::
10558 compPtr->tlmWrite_handlerBase(
10568 void FpySequencerComponentBase ::
10578 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(INTERNAL_STATE_MACHINE_SIGNAL));
10582 status = buffer.
serializeFrom(static_cast<FwIndexType>(0));
10586 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(smId));
10590 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(signal));
10594 void FpySequencerComponentBase ::
10603 static_cast<FwAssertArgType>(qStatus)
10611 void FpySequencerComponentBase ::
10617 FpySequencerComponentBase::deserializeSmIdAndSignal(buffer, storedSmId, storedSignal);
10620 const SmId smId =
static_cast<SmId>(storedSmId);
10624 this->Svc_FpySequencer_SequencerStateMachine_smDispatch(buffer, this->m_stateMachine_sequencer, signal);
10628 FW_ASSERT(0, static_cast<FwAssertArgType>(smId));
10633 void FpySequencerComponentBase ::
10634 deserializeSmIdAndSignal(
10654 void FpySequencerComponentBase ::
10655 Svc_FpySequencer_SequencerStateMachine_smDispatch(
10657 Svc_FpySequencer_SequencerStateMachine& sm,
10670 sm.sendSignal_cmd_VALIDATE(value);
10681 sm.sendSignal_cmd_RUN(value);
10692 sm.sendSignal_cmd_RUN_VALIDATED(value);
10699 sm.sendSignal_cmd_CANCEL();
10710 sm.sendSignal_cmd_SET_BREAKPOINT(value);
10717 sm.sendSignal_cmd_CLEAR_BREAKPOINT();
10724 sm.sendSignal_result_failure();
10731 sm.sendSignal_result_success();
10738 sm.sendSignal_entered();
10745 sm.sendSignal_result_dispatchStatement_success();
10752 sm.sendSignal_result_dispatchStatement_failure();
10759 sm.sendSignal_result_dispatchStatement_noMoreStatements();
10766 sm.sendSignal_checkTimersIn();
10773 sm.sendSignal_result_checkShouldWake_wakeup();
10780 sm.sendSignal_result_checkShouldWake_keepSleeping();
10787 sm.sendSignal_result_timeOpFailed();
10794 sm.sendSignal_stmtResponse_beginSleep();
10801 sm.sendSignal_stmtResponse_success();
10808 sm.sendSignal_stmtResponse_failure();
10815 sm.sendSignal_stmtResponse_unexpected();
10822 sm.sendSignal_stmtResponse_keepWaiting();
10829 sm.sendSignal_result_checkStatementTimeout_statementTimeout();
10836 sm.sendSignal_result_checkStatementTimeout_noTimeout();
10843 sm.sendSignal_cmd_CONTINUE();
10850 sm.sendSignal_cmd_BREAK();
10857 sm.sendSignal_cmd_STEP();
10861 FW_ASSERT(0, static_cast<FwAssertArgType>(signal));
10880 this->m_paramLock.
lock();
10881 this->m_STATEMENT_TIMEOUT_SECS = _localVal;
10883 this->m_paramLock.
unLock();
10900 this->m_paramLock.
lock();
10901 this->m_FLAG_DEFAULT_EXIT_ON_CMD_FAIL = _localVal;
10903 this->m_paramLock.
unLock();
10915 paramSave_STATEMENT_TIMEOUT_SECS()
10920 if (this->m_prmSet_OutputPort[0].isConnected()) {
10921 this->m_paramLock.
lock();
10925 this->m_paramLock.
unLock();
10933 this->m_prmSet_OutputPort[0].
invoke(
10945 paramSave_FLAG_DEFAULT_EXIT_ON_CMD_FAIL()
10950 if (this->m_prmSet_OutputPort[0].isConnected()) {
10951 this->m_paramLock.
lock();
10953 _stat = _saveBuff.
serializeFrom(m_FLAG_DEFAULT_EXIT_ON_CMD_FAIL);
10955 this->m_paramLock.
unLock();
10963 this->m_prmSet_OutputPort[0].
invoke(
Loads, validates and runs a sequence.
bool isConnected_tlmOut_OutputPort(FwIndexType portNum)
void tlmWrite_PRM_FLAG_DEFAULT_EXIT_ON_CMD_FAIL(bool arg, Fw::Time _tlmTime=Fw::Time())
Serialization/Deserialization operation was successful.
void sequencer_sendSignal_result_dispatchStatement_noMoreStatements()
Send signal result_dispatchStatement_noMoreStatements to state machine sequencer. ...
sets the index of the next directive to execute
void sequencer_sendSignal_result_checkShouldWake_keepSleeping()
Send signal result_checkShouldWake_keepSleeping to state machine sequencer.
called when an unexpected or incorrect statement response comes in. only raised in the RUNNING state ...
virtual void directive_waitRel_internalInterfaceHandler(const Svc::FpySequencer_WaitRelDirective &directive)=0
Internal interface handler for directive_waitRel.
called in dispatchStatement method when a statement was unable to be sent out
virtual void DUMP_STACK_TO_FILE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command DUMP_STACK_TO_FILE.
void addCallPort(InputTimePort *callPort)
Register an input port.
void invoke(Fw::ComBuffer &data, U32 context) const
Invoke a port interface.
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.
virtual void directive_peek_internalInterfaceHandler(const Svc::FpySequencer_PeekDirective &directive)=0
Internal interface handler for directive_peek.
Channel ID for Debug_NextStatementReadSuccess.
void log_ACTIVITY_HI_SequencePaused(U32 stmtIdx) const
Log event SequencePaused.
virtual void directive_exit_internalInterfaceHandler(const Svc::FpySequencer_ExitDirective &directive)=0
Internal interface handler for directive_exit.
Fw::InputCmdResponsePort * get_cmdResponseIn_InputPort(FwIndexType portNum)
FwIdType FwOpcodeType
The type of a command opcode.
void set_cmdOut_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to cmdOut[portNum].
SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG) override
Serialize an 8-bit unsigned integer value.
called in dispatchStatement method when there were no more statements in the sequence ...
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.
Must be called after VALIDATE. Runs the sequence that was validated.
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()
PlatformSizeType FwSizeType
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 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 ...
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
Channel ID for SequencesFailed.
returns from a function call
virtual void tlmWrite_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port tlmWrite.
const char * toChar() const
Convert to a C-style char*.
virtual void CLEAR_BREAKPOINT_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CLEAR_BREAKPOINT.
static constexpr FwIndexType getNum_cmdIn_InputPorts()
Fw::TlmValid getTlmChan_out(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)
Invoke output port getTlmChan.
void tlmWrite_Debug_ReachedEndOfFile(bool arg, Fw::Time _tlmTime=Fw::Time())
The size of the serial representation.
void init()
Initialization function.
void log_WARNING_HI_SequenceExitedWithError(const Fw::StringBase &filePath, U8 errorCode) const
Log event SequenceExitedWithError.
void RUN_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
generic failure of an action
virtual void SET_FLAG_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command SET_FLAG.
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 BreakBeforeNextLine.
void unLock()
unlock the mutex and assert success
stores a value to a local variable at a compile-time-known offset relative to the current stack frame...
void addCallPort(InputPrmSetPort *callPort)
Register an input port.
virtual void CANCEL_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
The size of the serial representation.
void invoke(U32 key) const
Invoke a port interface.
void STEP_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
raised when we should keep sleeping
static constexpr FwIndexType getNum_pingIn_InputPorts()
called in SET_BREAKPOINT cmd. raised in any state
void addCallPort(InputTlmGetPort *callPort)
Register an input port.
pop an opcode and arg buf off the stack, send to cmd dispatcher and await response ...
Opcode to set parameter FLAG_DEFAULT_EXIT_ON_CMD_FAIL.
virtual const CHAR * toChar() const =0
Convert to a C-style char*.
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.
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.
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.
The size of the serial representation.
void sequencer_sendSignal_stmtResponse_success()
Send signal stmtResponse_success to state machine sequencer.
virtual ~FpySequencerComponentBase()
Destroy FpySequencerComponentBase object.
virtual void directive_setFlag_internalInterfaceHandler(const Svc::FpySequencer_SetFlagDirective &directive)=0
Internal interface handler for directive_setFlag.
void log_WARNING_LO_CmdResponseWhileNotRunningSequence(I32 state, FwOpcodeType opcode, Fw::CmdResponse response) const
Log event CmdResponseWhileNotRunningSequence.
The size of the serial representation.
void tlmWrite_Debug_StackSize(Svc::Fpy::StackSizeType arg, Fw::Time _tlmTime=Fw::Time())
virtual void SET_BREAKPOINT_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U32 stmtIdx, bool breakOnce)=0
virtual void directive_stackOp_internalInterfaceHandler(const Svc::FpySequencer_StackOpDirective &directive)=0
Internal interface handler for directive_stackOp.
void sequencer_sendSignal_cmd_VALIDATE(const Svc::FpySequencer_SequenceExecutionArgs &value)
Send signal cmd_VALIDATE to state machine sequencer.
void directive_noOp_internalInterfaceInvoke(const Svc::FpySequencer_NoOpDirective &directive)
Internal interface base-class function for directive_noOp.
void init()
Initialization function.
static constexpr FwIndexType getNum_tlmWrite_InputPorts()
Enum representing a command response.
virtual void RUN_VALIDATED_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command RUN_VALIDATED.
void log_WARNING_HI_FileReadError(Svc::FpySequencer_FileReadStage readStage, const Fw::StringBase &filePath, I32 errorCode) const
Log event FileReadError.
The size of the serial representation.
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
void tlmWrite_State(FwEnumStoreType arg, Fw::Time _tlmTime=Fw::Time())
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.
The size of the serial representation.
virtual SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG)=0
Serialize an 8-bit unsigned integer value.
The size of the serial representation.
void directive_allocate_internalInterfaceInvoke(const Svc::FpySequencer_AllocateDirective &directive)
Internal interface base-class function for directive_allocate.
The size of the serial representation.
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()
Channel ID for SequencesCancelled.
Channel ID for PRM_STATEMENT_TIMEOUT_SECS.
virtual void directive_waitAbs_internalInterfaceHandler(const Svc::FpySequencer_WaitAbsDirective &directive)=0
Internal interface handler for directive_waitAbs.
void init()
Initialization function.
virtual void RUN_VALIDATED_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, Svc::FpySequencer_BlockState block)=0
bool isConnected_pingOut_OutputPort(FwIndexType portNum)
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
The size of the serial representation.
Os::Queue m_queue
queue object for active component
void directive_pushTlmValAndTime_internalInterfaceInvoke(const Svc::FpySequencer_PushTlmValAndTimeDirective &directive)
Internal interface base-class function for directive_pushTlmValAndTime.
void directive_stackCmd_internalInterfaceInvoke(const Svc::FpySequencer_StackCmdDirective &directive)
Internal interface base-class function for directive_stackCmd.
void log_WARNING_HI_TooManySequenceDirectives(U16 count, U16 max) const
Log event TooManySequenceDirectives.
bool isConnected_seqStartOut_OutputPort(FwIndexType portNum)
void sequencer_sendSignal_stmtResponse_unexpected()
Send signal stmtResponse_unexpected to state machine sequencer.
virtual void RUN_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName, Svc::FpySequencer_BlockState block)=0
void sequencer_sendSignal_cmd_BREAK()
Send signal cmd_BREAK to state machine sequencer.
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.
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 seqStartOut_out(FwIndexType portNum, const Fw::StringBase &filename)
Invoke output port seqStartOut.
virtual void directive_allocate_internalInterfaceHandler(const Svc::FpySequencer_AllocateDirective &directive)=0
Internal interface handler for directive_allocate.
static constexpr FwIndexType getNum_pingOut_OutputPorts()
SerializeStatus
forward declaration for string
Svc_FpySequencer_SequencerStateMachine::State sequencer_getState() const
Get the state of state machine instance sequencer.
called in STEP cmd. only raised in RUNNING.PAUSED state
void set_getTlmChan_OutputPort(FwIndexType portNum, Fw::InputTlmGetPort *port)
Connect port to getTlmChan[portNum].
raised whenever the checkTimers port is called
float F32
32-bit floating point
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.
The size of the serial representation.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_getParam_OutputPorts()
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts()
void log_WARNING_HI_WrongCmdResponseOpcode(FwOpcodeType opcode, Fw::CmdResponse response, FwOpcodeType expectedOpcode) const
Log event WrongCmdResponseOpcode.
The size of the serial representation.
executes a cmd with const args
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...
The size of the serial representation.
void regCommands()
Register commands with the Command Dispatcher.
void invoke(FwOpcodeType opCode) const
Invoke a port interface.
void directive_loadAbs_internalInterfaceInvoke(const Svc::FpySequencer_LoadAbsDirective &directive)
Internal interface base-class function for directive_loadAbs.
called in dispatchStatement method when a statement was successfully dispatched
F32 paramGet_STATEMENT_TIMEOUT_SECS(Fw::ParamValid &valid)
Writes the contents of the stack to a file. This command is only valid in the RUNNING.PAUSED state.
The size of the serial representation.
Fw::TlmValid invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke a port interface.
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects) ...
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.
void directive_memCmp_internalInterfaceInvoke(const Svc::FpySequencer_MemCmpDirective &directive)
Internal interface base-class function for directive_memCmp.
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())
The size of the serial representation.
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.
bool isConnected_prmSet_OutputPort(FwIndexType portNum)
#define FW_MIN(a, b)
MIN macro.
A less serious but recoverable event.
Fw::ParamValid invoke(FwPrmIdType id, Fw::ParamBuffer &val) const
Invoke a port interface.
virtual void SET_FLAG_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, Svc::Fpy::FlagId flag, bool value)=0
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)
generic success of an action
void invoke(Fw::Time &time) const
Invoke a port interface.
Channel ID for StatementsDispatched.
void pingIn_handlerBase(FwIndexType portNum, U32 key)
Handler base-class function for input port pingIn.
stores a value to an absolute address in the stack (for global variables), const offset ...
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
Channel ID for Debug_ReachedEndOfFile.
message to exit active component task
void SET_FLAG_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
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.
const char * toChar() const
Convert to a C-style char*.
void invoke(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke a port interface.
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_EndOfFileError(Svc::FpySequencer_FileReadStage readStage, const Fw::StringBase &filePath) const
Log event EndOfFileError.
void set_cmdResponseOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdResponseOut[portNum].
void addCallPort(InputPingPort *callPort)
Register an input port.
void log_WARNING_LO_CmdResponseFromOldSequence(FwOpcodeType opcode, Fw::CmdResponse response, U16 oldSequenceIdx, U16 currentSequenceIdx) const
Log event CmdResponseFromOldSequence.
virtual void directive_getFlag_internalInterfaceHandler(const Svc::FpySequencer_GetFlagDirective &directive)=0
Internal interface handler for directive_getFlag.
Status send(const U8 *buffer, FwSizeType size, FwQueuePriorityType priority, BlockingType blockType) override
send a message into the queue through delegate
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
The size of the serial representation.
void sequencer_sendSignal_checkTimersIn()
Send signal checkTimersIn to state machine sequencer.
void tlmWrite_StatementsDispatched(U64 arg, Fw::Time _tlmTime=Fw::Time())
Loads and validates a sequence.
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.
static constexpr FwIndexType getNum_prmSet_OutputPorts()
Channel ID for DirectiveErrorIndex.
virtual void seqRunIn_preMsgHook(FwIndexType portNum, const Fw::StringBase &filename)
Pre-message hook for async input port seqRunIn.
void directive_setFlag_internalInterfaceInvoke(const Svc::FpySequencer_SetFlagDirective &directive)
Internal interface base-class function for directive_setFlag.
bool isConnected_getParam_OutputPort(FwIndexType portNum)
peeks at N bytes from the stack, starting from an offset relative to the top of the stack ...
void sequencer_sendSignal_stmtResponse_failure()
Send signal stmtResponse_failure to state machine sequencer.
A string backed by an external buffer.
A serious but recoverable event.
void CANCEL_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void directive_waitAbs_internalInterfaceInvoke(const Svc::FpySequencer_WaitAbsDirective &directive)
Internal interface base-class function for directive_waitAbs.
Errors dispatching messages.
void directive_peek_internalInterfaceInvoke(const Svc::FpySequencer_PeekDirective &directive)
Internal interface base-class function for directive_peek.
void set_cmdRegOut_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to cmdRegOut[portNum].
void log_WARNING_HI_CommandFailed(FwOpcodeType opCode, U32 stmtIdx, const Fw::StringBase &filePath, Fw::CmdResponse response) const
Log event CommandFailed.
void sequencer_sendSignal_stmtResponse_beginSleep()
Send signal stmtResponse_beginSleep to state machine sequencer.
Channel ID for BreakOnlyOnceOnBreakpoint.
void invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke a port interface.
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.
static constexpr FwIndexType getNum_seqRunIn_InputPorts()
virtual void tlmWrite_handler(FwIndexType portNum, U32 context)=0
Handler for input port tlmWrite.
Svc::InputCmdSeqInPort * get_seqRunIn_InputPort(FwIndexType portNum)
virtual void directive_memCmp_internalInterfaceHandler(const Svc::FpySequencer_MemCmpDirective &directive)=0
Internal interface handler for directive_memCmp.
void invoke(const Fw::StringBase &filename) const
Invoke a port interface.
The size of the serial representation.
void loadParameters()
Load the parameters from a parameter source.
void log_WARNING_HI_InvalidSeqRunCall(I32 state) const
Log event InvalidSeqRunCall.
virtual void directive_if_internalInterfaceHandler(const Svc::FpySequencer_IfDirective &directive)=0
Internal interface handler for directive_if.
void directive_getField_internalInterfaceInvoke(const Svc::FpySequencer_GetFieldDirective &directive)
Internal interface base-class function for directive_getField.
static constexpr FwIndexType getNum_cmdOut_OutputPorts()
The size of the serial representation.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
void init()
Initialization function.
Command successfully executed.
called in BREAK cmd. only raised in RUNNING state
virtual Serializable::SizeType getDeserializeSizeLeft() const =0
Get remaining deserialization buffer size.
sleeps for a relative duration from the current time
bool isConnected_seqDoneOut_OutputPort(FwIndexType portNum)
The size of the serial representation.
virtual void directive_storeRelConstOffset_internalInterfaceHandler(const Svc::FpySequencer_StoreRelConstOffsetDirective &directive)=0
Internal interface handler for directive_storeRelConstOffset.
void directive_discard_internalInterfaceInvoke(const Svc::FpySequencer_DiscardDirective &directive)
Internal interface base-class function for directive_discard.
uint8_t U8
8-bit unsigned integer
virtual void directive_noOp_internalInterfaceHandler(const Svc::FpySequencer_NoOpDirective &directive)=0
Internal interface handler for directive_noOp.
Channel ID for SequencesSucceeded.
void log_ACTIVITY_HI_BreakpointSet(U32 breakpointIdx, bool breakOnce) const
Log event BreakpointSet.
void directive_pushPrm_internalInterfaceInvoke(const Svc::FpySequencer_PushPrmDirective &directive)
Internal interface base-class function for directive_pushPrm.
void sequencer_sendSignal_result_timeOpFailed()
Send signal result_timeOpFailed to state machine sequencer.
void BREAK_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void seqDoneOut_out(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
Invoke output port seqDoneOut.
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.
PlatformQueuePriorityType FwQueuePriorityType
The type of queue priorities used.
Command had execution error.
Important informational events.
virtual void seqRunIn_handler(FwIndexType portNum, const Fw::StringBase &filename)=0
Handler for input port seqRunIn.
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()
The size of the serial representation.
Channel ID for BreakpointIndex.
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 interface.
The size of the serial representation.
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum)
void log_WARNING_HI_InvalidCommand(I32 state) const
Log event InvalidCommand.
void tlmWrite_BreakBeforeNextLine(bool arg, Fw::Time _tlmTime=Fw::Time())
Channel ID for DirectiveErrorId.
virtual void directive_storeAbs_internalInterfaceHandler(const Svc::FpySequencer_StoreAbsDirective &directive)=0
Internal interface handler for directive_storeAbs.
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.
static constexpr FwIndexType getNum_getTlmChan_OutputPorts()
void init()
Initialization function.
virtual void directive_getField_internalInterfaceHandler(const Svc::FpySequencer_GetFieldDirective &directive)=0
Internal interface handler for directive_getField.
void pingOut_out(FwIndexType portNum, U32 key)
Invoke output port pingOut.
virtual void directive_loadRel_internalInterfaceHandler(const Svc::FpySequencer_LoadRelDirective &directive)=0
Internal interface handler for directive_loadRel.
bool isConnected_cmdOut_OutputPort(FwIndexType portNum)
The size of the serial representation.
A message was sent requesting an exit of the loop.
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
Opcode to save parameter STATEMENT_TIMEOUT_SECS.
FpySequencer_SequencerStateMachineStateMachineBase::State getState() const
Get the state.
void tlmWrite_SequencesFailed(U64 arg, Fw::Time _tlmTime=Fw::Time())
void log_WARNING_HI_FileReadDeserializeError(Svc::FpySequencer_FileReadStage readStage, const Fw::StringBase &filePath, I32 errorCode, U64 buffLeft, U64 buffLength) const
Log event FileReadDeserializeError.
loads a value from an absolute address in the stack (for global variables)
bool isConnected_logOut_OutputPort(FwIndexType portNum)
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
Channel ID for Debug_StackSize.
virtual void VALIDATE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command VALIDATE.
static constexpr FwIndexType getNum_checkTimers_InputPorts()
Opcode to save parameter FLAG_DEFAULT_EXIT_ON_CMD_FAIL.
The size of the serial representation.
The size of the serial representation.
bool isConnected_prmGet_OutputPort(FwIndexType portNum)
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.
Channel ID for BreakpointInUse.
Svc::InputSchedPort * get_tlmWrite_InputPort(FwIndexType portNum)
void log_WARNING_HI_WrongSchemaVersion(U8 expected, U8 actual) const
Log event WrongSchemaVersion.
void addCallPort(InputLogPort *callPort)
Register an input port.
void directive_getFlag_internalInterfaceInvoke(const Svc::FpySequencer_GetFlagDirective &directive)
Internal interface base-class function for directive_getFlag.
void cmdOut_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Invoke output port cmdOut.
void addCallPort(InputCmdSeqInPort *callPort)
Register an input port.
void sequencer_sendSignal_cmd_CLEAR_BREAKPOINT()
Send signal cmd_CLEAR_BREAKPOINT to state machine sequencer.
void log_WARNING_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 init()
Initialization function.
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.
void log_WARNING_HI_CmdResponseWhileNotAwaiting(FwOpcodeType opcode, Fw::CmdResponse response) const
Log event CmdResponseWhileNotAwaiting.
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum)
void log_WARNING_HI_CmdResponseWhileAwaitingDirective(FwOpcodeType opcode, Fw::CmdResponse response, U8 expectedDirectiveOpcode) const
Log event CmdResponseWhileAwaitingDirective.
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
SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG) override
Deserialize an 8-bit unsigned integer value.
void seqRunIn_handlerBase(FwIndexType portNum, const Fw::StringBase &filename)
Handler base-class function for input port seqRunIn.
raised when we are done sleeping
Enum representing parameter validity.
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.
The size of the serial representation.
void DUMP_STACK_TO_FILE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Channel ID for Debug_NextCmdOpcode.
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 interface.
void sequencer_sendSignal_result_failure()
Send signal result_failure to state machine sequencer.
The size of the serial representation.
virtual void CONTINUE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CONTINUE.
called on CANCEL cmd. raised in all states except IDLE
virtual void checkTimers_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port checkTimers.
void addCallPort(InputComPort *callPort)
Register an input port.
void 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.
Fw::ParamValid getParam_out(FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer &val)
Invoke output port getParam.
The size of the serial representation.
raised when the statement times out, according to the timeout parameter
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.
The size of the serial representation.
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.
Channel ID for StatementsFailed.
Implementation of malloc based allocator.
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.
Channel ID for Debug_NextStatementOpcode.
pushes some empty bytes to the stack
Channel ID for PRM_FLAG_DEFAULT_EXIT_ON_CMD_FAIL.
void log_WARNING_HI_FileWriteError(FwSizeType writeSize, const Fw::StringBase &filePath, I32 errorCode) const
Log event FileWriteError.
The size of the serial representation.
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 checkTimers_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port checkTimers.
void init()
Initialization function.
static constexpr FwIndexType getNum_prmGet_OutputPorts()
pops a bool off the stack, sets a flag with a specific index to that bool
virtual void CANCEL_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CANCEL.
void tlmWrite_BreakOnlyOnceOnBreakpoint(bool arg, Fw::Time _tlmTime=Fw::Time())
bool isConnected_getTlmChan_OutputPort(FwIndexType portNum)
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 ...
void log_WARNING_HI_WrongCmdResponseIndex(FwOpcodeType opcode, Fw::CmdResponse response, U16 actualCmdIdx, U16 expectedCmdIdx) const
Log event WrongCmdResponseIndex.
gets a flag and pushes its value as a U8 to the stack
FpySequencer_SequencerStateMachineStateMachineBase::Signal Signal
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
The size of the serial representation.
void set_prmGet_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to prmGet[portNum].
The size of the serial representation.
void set_getParam_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to getParam[portNum].
void CLEAR_BREAKPOINT_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
PlatformAssertArgType FwAssertArgType
The type of arguments to assert functions.
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
Opcode to set parameter STATEMENT_TIMEOUT_SECS.
Channel ID for LastDirectiveError.
bool paramGet_FLAG_DEFAULT_EXIT_ON_CMD_FAIL(Fw::ParamValid &valid)
The size of the serial representation.
void tlmWrite_BreakpointIndex(U32 arg, Fw::Time _tlmTime=Fw::Time())
SerializeStatus serializeTo(SerialBufferBase &buffer, Endianness mode=Endianness::BIG) const override
Serialize the contents of this object to a buffer.
void tlmWrite_Debug_NextStatementReadSuccess(bool arg, Fw::Time _tlmTime=Fw::Time())
the default value of the EXIT_ON_CMD_FAIL sequence flag