9 #if FW_ENABLE_TEXT_LOGGING 22 union SignalTypeUnion {
30 sizeof(SignalTypeUnion);
37 CMDRESPONSEIN_CMDRESPONSE,
39 SEQCANCELIN_CMDSEQCANCEL,
53 CMD_DUMP_STACK_TO_FILE,
54 INT_IF_DIRECTIVE_ALLOCATE,
55 INT_IF_DIRECTIVE_CALL,
56 INT_IF_DIRECTIVE_CONSTCMD,
57 INT_IF_DIRECTIVE_DISCARD,
58 INT_IF_DIRECTIVE_EXIT,
59 INT_IF_DIRECTIVE_GETFIELD,
60 INT_IF_DIRECTIVE_GOTO,
62 INT_IF_DIRECTIVE_LOADABS,
63 INT_IF_DIRECTIVE_LOADREL,
64 INT_IF_DIRECTIVE_MEMCMP,
65 INT_IF_DIRECTIVE_NOOP,
66 INT_IF_DIRECTIVE_PEEK,
67 INT_IF_DIRECTIVE_POPEVENT,
68 INT_IF_DIRECTIVE_PUSHPRM,
69 INT_IF_DIRECTIVE_PUSHRAND,
70 INT_IF_DIRECTIVE_PUSHTIME,
71 INT_IF_DIRECTIVE_PUSHTLMVAL,
72 INT_IF_DIRECTIVE_PUSHTLMVALANDTIME,
73 INT_IF_DIRECTIVE_PUSHVAL,
74 INT_IF_DIRECTIVE_RETURN,
75 INT_IF_DIRECTIVE_SETSEED,
76 INT_IF_DIRECTIVE_STACKCMD,
77 INT_IF_DIRECTIVE_STACKOP,
78 INT_IF_DIRECTIVE_STOREABS,
79 INT_IF_DIRECTIVE_STOREABSCONSTOFFSET,
80 INT_IF_DIRECTIVE_STOREREL,
81 INT_IF_DIRECTIVE_STORERELCONSTOFFSET,
82 INT_IF_DIRECTIVE_WAITABS,
83 INT_IF_DIRECTIVE_WAITREL,
84 INTERNAL_STATE_MACHINE_SIGNAL,
97 BYTE directive_allocateIntIfSize[
101 BYTE directive_callIntIfSize[
105 BYTE directive_constCmdIntIfSize[
109 BYTE directive_discardIntIfSize[
113 BYTE directive_exitIntIfSize[
117 BYTE directive_getFieldIntIfSize[
121 BYTE directive_gotoIntIfSize[
125 BYTE directive_ifIntIfSize[
129 BYTE directive_loadAbsIntIfSize[
133 BYTE directive_loadRelIntIfSize[
137 BYTE directive_memCmpIntIfSize[
141 BYTE directive_noOpIntIfSize[
145 BYTE directive_peekIntIfSize[
149 BYTE directive_popEventIntIfSize[
153 BYTE directive_pushPrmIntIfSize[
157 BYTE directive_pushRandIntIfSize[
161 BYTE directive_pushTimeIntIfSize[
165 BYTE directive_pushTlmValIntIfSize[
169 BYTE directive_pushTlmValAndTimeIntIfSize[
173 BYTE directive_pushValIntIfSize[
177 BYTE directive_returnIntIfSize[
181 BYTE directive_setSeedIntIfSize[
185 BYTE directive_stackCmdIntIfSize[
189 BYTE directive_stackOpIntIfSize[
193 BYTE directive_storeAbsIntIfSize[
197 BYTE directive_storeAbsConstOffsetIntIfSize[
201 BYTE directive_storeRelIntIfSize[
205 BYTE directive_storeRelConstOffsetIntIfSize[
209 BYTE directive_waitAbsIntIfSize[
213 BYTE directive_waitRelIntIfSize[
219 BYTE internalSmBufferSize[SmSignalBuffer::SERIALIZED_SIZE];
224 class ComponentIpcSerializableBuffer :
234 MAX_DATA_SIZE =
sizeof(BuffUnion),
236 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
240 return sizeof(m_buff);
247 const U8* getBuffAddr()
const {
253 U8 m_buff[SERIALIZATION_SIZE];
264 m_component(component)
272 this->initBase(static_cast<FwEnumStoreType>(smId));
281 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
282 action_signalEntered(
Signal signal)
284 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_signalEntered(this->getId(), signal);
287 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
288 action_setSequenceFilePath(
293 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setSequenceFilePath(this->getId(), signal, value);
296 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
297 action_setSequenceBlockState(
302 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setSequenceBlockState(this->getId(), signal, value);
305 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
306 action_setSequenceArguments(
311 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setSequenceArguments(this->getId(), signal, value);
314 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
315 action_validate(
Signal signal)
317 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_validate(this->getId(), signal);
320 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
321 action_report_seqSucceeded(
Signal signal)
323 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqSucceeded(this->getId(), signal);
326 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
327 action_report_seqCancelled(
Signal signal)
329 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqCancelled(this->getId(), signal);
332 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
333 action_report_seqFailed(
Signal signal)
335 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqFailed(this->getId(), signal);
338 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
339 action_report_seqStarted(
Signal signal)
341 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqStarted(this->getId(), signal);
344 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
345 action_setGoalState_RUNNING(
Signal signal)
347 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_RUNNING(this->getId(), signal);
350 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
351 action_setGoalState_VALID(
Signal signal)
353 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_VALID(this->getId(), signal);
356 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
357 action_setGoalState_IDLE(
Signal signal)
359 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_IDLE(this->getId(), signal);
362 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
363 action_sendCmdResponse_OK(
Signal signal)
365 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_sendCmdResponse_OK(this->getId(), signal);
368 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
369 action_sendCmdResponse_EXECUTION_ERROR(
Signal signal)
371 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_sendCmdResponse_EXECUTION_ERROR(this->getId(), signal);
374 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
375 action_clearSequenceFile(
Signal signal)
377 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearSequenceFile(this->getId(), signal);
380 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
381 action_clearBreakpoint(
Signal signal)
383 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearBreakpoint(this->getId(), signal);
386 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
387 action_clearSequenceArguments(
Signal signal)
389 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearSequenceArguments(this->getId(), signal);
392 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
393 action_checkShouldWake(
Signal signal)
395 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_checkShouldWake(this->getId(), signal);
398 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
399 action_dispatchStatement(
Signal signal)
401 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_dispatchStatement(this->getId(), signal);
404 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
405 action_resetRuntime(
Signal signal)
407 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_resetRuntime(this->getId(), signal);
410 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
411 action_checkStatementTimeout(
Signal signal)
413 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_checkStatementTimeout(this->getId(), signal);
416 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
417 action_incrementSequenceCounter(
Signal signal)
419 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_incrementSequenceCounter(this->getId(), signal);
422 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
423 action_pushArgsToStack(
Signal signal)
425 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_pushArgsToStack(this->getId(), signal);
428 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
429 action_report_seqBroken(
Signal signal)
431 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqBroken(this->getId(), signal);
434 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
435 action_setBreakpoint(
440 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setBreakpoint(this->getId(), signal, value);
443 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
444 action_setBreakBeforeNextLine(
Signal signal)
446 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setBreakBeforeNextLine(this->getId(), signal);
449 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
450 action_clearBreakBeforeNextLine(
Signal signal)
452 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearBreakBeforeNextLine(this->getId(), signal);
455 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
456 guard_goalStateIs_RUNNING(
Signal signal)
const 458 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_goalStateIs_RUNNING(this->getId(), signal);
461 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
462 guard_shouldBreak(
Signal signal)
const 464 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_shouldBreak(this->getId(), signal);
467 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
468 guard_breakOnce(
Signal signal)
const 470 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_breakOnce(this->getId(), signal);
489 #if !FW_DIRECT_PORT_CALLS 496 this->m_cmdIn_InputPort[port].
init();
501 this->m_cmdIn_InputPort[port].
setPortNum(port);
503 #if FW_OBJECT_NAMES == 1 507 this->m_objName.toChar(),
510 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
515 #if !FW_DIRECT_PORT_CALLS 522 this->m_checkTimers_InputPort[port].
init();
527 this->m_checkTimers_InputPort[port].
setPortNum(port);
529 #if FW_OBJECT_NAMES == 1 533 this->m_objName.toChar(),
536 this->m_checkTimers_InputPort[port].setObjName(portName.
toChar());
541 #if !FW_DIRECT_PORT_CALLS 548 this->m_cmdResponseIn_InputPort[port].
init();
553 this->m_cmdResponseIn_InputPort[port].
setPortNum(port);
555 #if FW_OBJECT_NAMES == 1 559 this->m_objName.toChar(),
562 this->m_cmdResponseIn_InputPort[port].setObjName(portName.
toChar());
567 #if !FW_DIRECT_PORT_CALLS 574 this->m_pingIn_InputPort[port].
init();
579 this->m_pingIn_InputPort[port].
setPortNum(port);
581 #if FW_OBJECT_NAMES == 1 585 this->m_objName.toChar(),
588 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
593 #if !FW_DIRECT_PORT_CALLS 600 this->m_seqCancelIn_InputPort[port].
init();
605 this->m_seqCancelIn_InputPort[port].
setPortNum(port);
607 #if FW_OBJECT_NAMES == 1 611 this->m_objName.toChar(),
614 this->m_seqCancelIn_InputPort[port].setObjName(portName.
toChar());
619 #if !FW_DIRECT_PORT_CALLS 626 this->m_seqRunIn_InputPort[port].
init();
631 this->m_seqRunIn_InputPort[port].
setPortNum(port);
633 #if FW_OBJECT_NAMES == 1 637 this->m_objName.toChar(),
640 this->m_seqRunIn_InputPort[port].setObjName(portName.
toChar());
645 #if !FW_DIRECT_PORT_CALLS 652 this->m_tlmWrite_InputPort[port].
init();
657 this->m_tlmWrite_InputPort[port].
setPortNum(port);
659 #if FW_OBJECT_NAMES == 1 663 this->m_objName.toChar(),
666 this->m_tlmWrite_InputPort[port].setObjName(portName.
toChar());
671 #if !FW_DIRECT_PORT_CALLS 678 this->m_cmdRegOut_OutputPort[port].
init();
680 #if FW_OBJECT_NAMES == 1 684 this->m_objName.toChar(),
687 this->m_cmdRegOut_OutputPort[port].setObjName(portName.
toChar());
692 #if !FW_DIRECT_PORT_CALLS 699 this->m_cmdResponseOut_OutputPort[port].
init();
701 #if FW_OBJECT_NAMES == 1 705 this->m_objName.toChar(),
708 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
713 #if !FW_DIRECT_PORT_CALLS 720 this->m_logOut_OutputPort[port].
init();
722 #if FW_OBJECT_NAMES == 1 726 this->m_objName.toChar(),
729 this->m_logOut_OutputPort[port].setObjName(portName.
toChar());
734 #if !FW_DIRECT_PORT_CALLS && FW_ENABLE_TEXT_LOGGING 738 port < static_cast<FwIndexType>(this->getNum_logTextOut_OutputPorts());
741 this->m_logTextOut_OutputPort[port].
init();
743 #if FW_OBJECT_NAMES == 1 747 this->m_objName.toChar(),
750 this->m_logTextOut_OutputPort[port].setObjName(portName.
toChar());
755 #if !FW_DIRECT_PORT_CALLS 762 this->m_prmGet_OutputPort[port].
init();
764 #if FW_OBJECT_NAMES == 1 768 this->m_objName.toChar(),
771 this->m_prmGet_OutputPort[port].setObjName(portName.
toChar());
776 #if !FW_DIRECT_PORT_CALLS 783 this->m_prmSet_OutputPort[port].
init();
785 #if FW_OBJECT_NAMES == 1 789 this->m_objName.toChar(),
792 this->m_prmSet_OutputPort[port].setObjName(portName.
toChar());
797 #if !FW_DIRECT_PORT_CALLS 804 this->m_timeCaller_OutputPort[port].
init();
806 #if FW_OBJECT_NAMES == 1 810 this->m_objName.toChar(),
813 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
818 #if !FW_DIRECT_PORT_CALLS 825 this->m_tlmOut_OutputPort[port].
init();
827 #if FW_OBJECT_NAMES == 1 831 this->m_objName.toChar(),
834 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
839 #if !FW_DIRECT_PORT_CALLS 846 this->m_cmdOut_OutputPort[port].
init();
848 #if FW_OBJECT_NAMES == 1 852 this->m_objName.toChar(),
855 this->m_cmdOut_OutputPort[port].setObjName(portName.
toChar());
860 #if !FW_DIRECT_PORT_CALLS 867 this->m_getParam_OutputPort[port].
init();
869 #if FW_OBJECT_NAMES == 1 873 this->m_objName.toChar(),
876 this->m_getParam_OutputPort[port].setObjName(portName.
toChar());
881 #if !FW_DIRECT_PORT_CALLS 888 this->m_getTlmChan_OutputPort[port].
init();
890 #if FW_OBJECT_NAMES == 1 894 this->m_objName.toChar(),
897 this->m_getTlmChan_OutputPort[port].setObjName(portName.
toChar());
902 #if !FW_DIRECT_PORT_CALLS 909 this->m_pingOut_OutputPort[port].
init();
911 #if FW_OBJECT_NAMES == 1 915 this->m_objName.toChar(),
918 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
923 #if !FW_DIRECT_PORT_CALLS 930 this->m_seqDoneOut_OutputPort[port].
init();
932 #if FW_OBJECT_NAMES == 1 936 this->m_objName.toChar(),
939 this->m_seqDoneOut_OutputPort[port].setObjName(portName.
toChar());
944 #if !FW_DIRECT_PORT_CALLS 951 this->m_seqStartOut_OutputPort[port].
init();
953 #if FW_OBJECT_NAMES == 1 957 this->m_objName.toChar(),
960 this->m_seqStartOut_OutputPort[port].setObjName(portName.
toChar());
968 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
972 static_cast<FwAssertArgType>(qStat)
976 #if !FW_DIRECT_PORT_CALLS 987 static_cast<FwAssertArgType>(portNum)
990 return &this->m_cmdIn_InputPort[portNum];
995 #if !FW_DIRECT_PORT_CALLS 1006 static_cast<FwAssertArgType>(portNum)
1009 return &this->m_checkTimers_InputPort[portNum];
1017 static_cast<FwAssertArgType>(portNum)
1020 return &this->m_cmdResponseIn_InputPort[portNum];
1028 static_cast<FwAssertArgType>(portNum)
1031 return &this->m_pingIn_InputPort[portNum];
1039 static_cast<FwAssertArgType>(portNum)
1042 return &this->m_seqCancelIn_InputPort[portNum];
1050 static_cast<FwAssertArgType>(portNum)
1053 return &this->m_seqRunIn_InputPort[portNum];
1061 static_cast<FwAssertArgType>(portNum)
1064 return &this->m_tlmWrite_InputPort[portNum];
1069 #if !FW_DIRECT_PORT_CALLS 1083 static_cast<FwAssertArgType>(portNum)
1086 this->m_cmdRegOut_OutputPort[portNum].
addCallPort(port);
1097 static_cast<FwAssertArgType>(portNum)
1100 this->m_cmdResponseOut_OutputPort[portNum].
addCallPort(port);
1111 static_cast<FwAssertArgType>(portNum)
1114 this->m_logOut_OutputPort[portNum].
addCallPort(port);
1117 #if FW_ENABLE_TEXT_LOGGING == 1 1119 void FpySequencerComponentBase ::
1120 set_logTextOut_OutputPort(
1126 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1127 static_cast<FwAssertArgType>(portNum)
1130 this->m_logTextOut_OutputPort[portNum].addCallPort(port);
1143 static_cast<FwAssertArgType>(portNum)
1146 this->m_prmGet_OutputPort[portNum].
addCallPort(port);
1157 static_cast<FwAssertArgType>(portNum)
1160 this->m_prmSet_OutputPort[portNum].
addCallPort(port);
1171 static_cast<FwAssertArgType>(portNum)
1174 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
1185 static_cast<FwAssertArgType>(portNum)
1188 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
1193 #if !FW_DIRECT_PORT_CALLS 1207 static_cast<FwAssertArgType>(portNum)
1210 this->m_cmdOut_OutputPort[portNum].
addCallPort(port);
1221 static_cast<FwAssertArgType>(portNum)
1224 this->m_getParam_OutputPort[portNum].
addCallPort(port);
1235 static_cast<FwAssertArgType>(portNum)
1238 this->m_getTlmChan_OutputPort[portNum].
addCallPort(port);
1249 static_cast<FwAssertArgType>(portNum)
1252 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
1263 static_cast<FwAssertArgType>(portNum)
1266 this->m_seqDoneOut_OutputPort[portNum].
addCallPort(port);
1277 static_cast<FwAssertArgType>(portNum)
1280 this->m_seqStartOut_OutputPort[portNum].
addCallPort(port);
1285 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 1294 Fw::InputSerializePort* port
1299 static_cast<FwAssertArgType>(portNum)
1302 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
1308 Fw::InputSerializePort* port
1313 static_cast<FwAssertArgType>(portNum)
1316 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
1322 Fw::InputSerializePort* port
1327 static_cast<FwAssertArgType>(portNum)
1330 this->m_logOut_OutputPort[portNum].registerSerialPort(port);
1333 #if FW_ENABLE_TEXT_LOGGING == 1 1335 void FpySequencerComponentBase ::
1336 set_logTextOut_OutputPort(
1338 Fw::InputSerializePort* port
1342 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1343 static_cast<FwAssertArgType>(portNum)
1346 this->m_logTextOut_OutputPort[portNum].registerSerialPort(port);
1354 Fw::InputSerializePort* port
1359 static_cast<FwAssertArgType>(portNum)
1362 this->m_prmSet_OutputPort[portNum].registerSerialPort(port);
1368 Fw::InputSerializePort* port
1373 static_cast<FwAssertArgType>(portNum)
1376 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
1382 Fw::InputSerializePort* port
1387 static_cast<FwAssertArgType>(portNum)
1390 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
1395 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 1404 Fw::InputSerializePort* port
1409 static_cast<FwAssertArgType>(portNum)
1412 this->m_cmdOut_OutputPort[portNum].registerSerialPort(port);
1418 Fw::InputSerializePort* port
1423 static_cast<FwAssertArgType>(portNum)
1426 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
1432 Fw::InputSerializePort* port
1437 static_cast<FwAssertArgType>(portNum)
1440 this->m_seqDoneOut_OutputPort[portNum].registerSerialPort(port);
1446 Fw::InputSerializePort* port
1451 static_cast<FwAssertArgType>(portNum)
1454 this->m_seqStartOut_OutputPort[portNum].registerSerialPort(port);
1468 this->cmdRegOut_out(
1473 this->cmdRegOut_out(
1478 this->cmdRegOut_out(
1483 this->cmdRegOut_out(
1488 this->cmdRegOut_out(
1493 this->cmdRegOut_out(
1498 this->cmdRegOut_out(
1503 this->cmdRegOut_out(
1508 this->cmdRegOut_out(
1513 this->cmdRegOut_out(
1518 this->cmdRegOut_out(
1523 this->cmdRegOut_out(
1528 this->cmdRegOut_out(
1533 this->cmdRegOut_out(
1538 this->cmdRegOut_out(
1543 this->cmdRegOut_out(
1566 this->m_param_STATEMENT_TIMEOUT_SECS_valid = this->prmGet_out(
1572 this->m_paramLock.
lock();
1576 _stat = _paramBuffer.
deserializeTo(this->m_STATEMENT_TIMEOUT_SECS);
1585 this->m_STATEMENT_TIMEOUT_SECS = 0.0f;
1588 this->m_paramLock.
unlock();
1593 this->m_param_SEQ_BASE_DIR_valid = this->prmGet_out(
1599 this->m_paramLock.
lock();
1615 this->m_paramLock.
unlock();
1628 m_stateMachine_sequencer(*this)
1639 #if !FW_DIRECT_PORT_CALLS 1650 static_cast<FwAssertArgType>(portNum)
1653 return this->m_cmdRegOut_OutputPort[portNum].
isConnected();
1661 static_cast<FwAssertArgType>(portNum)
1664 return this->m_cmdResponseOut_OutputPort[portNum].
isConnected();
1672 static_cast<FwAssertArgType>(portNum)
1675 return this->m_logOut_OutputPort[portNum].
isConnected();
1678 #if FW_ENABLE_TEXT_LOGGING == 1 1680 bool FpySequencerComponentBase ::
1681 isConnected_logTextOut_OutputPort(
FwIndexType portNum)
const 1684 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1685 static_cast<FwAssertArgType>(portNum)
1688 return this->m_logTextOut_OutputPort[portNum].isConnected();
1698 static_cast<FwAssertArgType>(portNum)
1701 return this->m_prmGet_OutputPort[portNum].
isConnected();
1709 static_cast<FwAssertArgType>(portNum)
1712 return this->m_prmSet_OutputPort[portNum].
isConnected();
1720 static_cast<FwAssertArgType>(portNum)
1723 return this->m_timeCaller_OutputPort[portNum].
isConnected();
1731 static_cast<FwAssertArgType>(portNum)
1734 return this->m_tlmOut_OutputPort[portNum].
isConnected();
1739 #if !FW_DIRECT_PORT_CALLS 1750 static_cast<FwAssertArgType>(portNum)
1753 return this->m_cmdOut_OutputPort[portNum].
isConnected();
1761 static_cast<FwAssertArgType>(portNum)
1764 return this->m_getParam_OutputPort[portNum].
isConnected();
1772 static_cast<FwAssertArgType>(portNum)
1775 return this->m_getTlmChan_OutputPort[portNum].
isConnected();
1783 static_cast<FwAssertArgType>(portNum)
1786 return this->m_pingOut_OutputPort[portNum].
isConnected();
1794 static_cast<FwAssertArgType>(portNum)
1797 return this->m_seqDoneOut_OutputPort[portNum].
isConnected();
1805 static_cast<FwAssertArgType>(portNum)
1808 return this->m_seqStartOut_OutputPort[portNum].
isConnected();
1829 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
1832 switch (opCode - idBase) {
2001 static_cast<FwAssertArgType>(portNum)
2009 ComponentIpcSerializableBuffer msg;
2013 _status = msg.serializeFrom(
2014 static_cast<FwEnumStoreType>(CHECKTIMERS_SCHED)
2018 static_cast<FwAssertArgType>(_status)
2022 _status = msg.serializeFrom(portNum);
2025 static_cast<FwAssertArgType>(_status)
2029 _status = msg.serializeFrom(context);
2032 static_cast<FwAssertArgType>(_status)
2041 static_cast<FwAssertArgType>(qStatus)
2056 static_cast<FwAssertArgType>(portNum)
2066 ComponentIpcSerializableBuffer msg;
2070 _status = msg.serializeFrom(
2071 static_cast<FwEnumStoreType>(CMDRESPONSEIN_CMDRESPONSE)
2075 static_cast<FwAssertArgType>(_status)
2079 _status = msg.serializeFrom(portNum);
2082 static_cast<FwAssertArgType>(_status)
2086 _status = msg.serializeFrom(opCode);
2089 static_cast<FwAssertArgType>(_status)
2093 _status = msg.serializeFrom(cmdSeq);
2096 static_cast<FwAssertArgType>(_status)
2100 _status = msg.serializeFrom(response);
2103 static_cast<FwAssertArgType>(_status)
2112 static_cast<FwAssertArgType>(qStatus)
2125 static_cast<FwAssertArgType>(portNum)
2133 ComponentIpcSerializableBuffer msg;
2137 _status = msg.serializeFrom(
2138 static_cast<FwEnumStoreType>(PINGIN_PING)
2142 static_cast<FwAssertArgType>(_status)
2146 _status = msg.serializeFrom(portNum);
2149 static_cast<FwAssertArgType>(_status)
2153 _status = msg.serializeFrom(key);
2156 static_cast<FwAssertArgType>(_status)
2165 static_cast<FwAssertArgType>(qStatus)
2175 static_cast<FwAssertArgType>(portNum)
2180 ComponentIpcSerializableBuffer msg;
2184 _status = msg.serializeFrom(
2185 static_cast<FwEnumStoreType>(SEQCANCELIN_CMDSEQCANCEL)
2189 static_cast<FwAssertArgType>(_status)
2193 _status = msg.serializeFrom(portNum);
2196 static_cast<FwAssertArgType>(_status)
2205 static_cast<FwAssertArgType>(qStatus)
2219 static_cast<FwAssertArgType>(portNum)
2228 ComponentIpcSerializableBuffer msg;
2232 _status = msg.serializeFrom(
2233 static_cast<FwEnumStoreType>(SEQRUNIN_CMDSEQIN)
2237 static_cast<FwAssertArgType>(_status)
2241 _status = msg.serializeFrom(portNum);
2244 static_cast<FwAssertArgType>(_status)
2251 static_cast<FwAssertArgType>(_status)
2255 _status = msg.serializeFrom(args);
2258 static_cast<FwAssertArgType>(_status)
2267 static_cast<FwAssertArgType>(qStatus)
2280 static_cast<FwAssertArgType>(portNum)
2288 ComponentIpcSerializableBuffer msg;
2292 _status = msg.serializeFrom(
2293 static_cast<FwEnumStoreType>(TLMWRITE_SCHED)
2297 static_cast<FwAssertArgType>(_status)
2301 _status = msg.serializeFrom(portNum);
2304 static_cast<FwAssertArgType>(_status)
2308 _status = msg.serializeFrom(context);
2311 static_cast<FwAssertArgType>(_status)
2320 static_cast<FwAssertArgType>(qStatus)
2386 #if !FW_DIRECT_PORT_CALLS 2401 static_cast<FwAssertArgType>(portNum)
2405 this->m_cmdOut_OutputPort[portNum].isConnected(),
2406 static_cast<FwAssertArgType>(portNum)
2408 this->m_cmdOut_OutputPort[portNum].
invoke(
2423 static_cast<FwAssertArgType>(portNum)
2427 this->m_getParam_OutputPort[portNum].isConnected(),
2428 static_cast<FwAssertArgType>(portNum)
2430 return this->m_getParam_OutputPort[portNum].
invoke(
2446 static_cast<FwAssertArgType>(portNum)
2450 this->m_getTlmChan_OutputPort[portNum].isConnected(),
2451 static_cast<FwAssertArgType>(portNum)
2453 return this->m_getTlmChan_OutputPort[portNum].
invoke(
2468 static_cast<FwAssertArgType>(portNum)
2472 this->m_pingOut_OutputPort[portNum].isConnected(),
2473 static_cast<FwAssertArgType>(portNum)
2475 this->m_pingOut_OutputPort[portNum].
invoke(
2490 static_cast<FwAssertArgType>(portNum)
2494 this->m_seqDoneOut_OutputPort[portNum].isConnected(),
2495 static_cast<FwAssertArgType>(portNum)
2497 this->m_seqDoneOut_OutputPort[portNum].
invoke(
2513 static_cast<FwAssertArgType>(portNum)
2517 this->m_seqStartOut_OutputPort[portNum].isConnected(),
2518 static_cast<FwAssertArgType>(portNum)
2520 this->m_seqStartOut_OutputPort[portNum].
invoke(
2535 ComponentIpcSerializableBuffer msg;
2539 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_ALLOCATE));
2542 static_cast<FwAssertArgType>(_status)
2546 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2549 static_cast<FwAssertArgType>(_status)
2552 _status = msg.serializeFrom(directive);
2555 static_cast<FwAssertArgType>(_status)
2564 static_cast<FwAssertArgType>(qStatus)
2571 ComponentIpcSerializableBuffer msg;
2575 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_CALL));
2578 static_cast<FwAssertArgType>(_status)
2582 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2585 static_cast<FwAssertArgType>(_status)
2588 _status = msg.serializeFrom(directive);
2591 static_cast<FwAssertArgType>(_status)
2600 static_cast<FwAssertArgType>(qStatus)
2607 ComponentIpcSerializableBuffer msg;
2611 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_CONSTCMD));
2614 static_cast<FwAssertArgType>(_status)
2618 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2621 static_cast<FwAssertArgType>(_status)
2624 _status = msg.serializeFrom(directive);
2627 static_cast<FwAssertArgType>(_status)
2636 static_cast<FwAssertArgType>(qStatus)
2643 ComponentIpcSerializableBuffer msg;
2647 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_DISCARD));
2650 static_cast<FwAssertArgType>(_status)
2654 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2657 static_cast<FwAssertArgType>(_status)
2660 _status = msg.serializeFrom(directive);
2663 static_cast<FwAssertArgType>(_status)
2672 static_cast<FwAssertArgType>(qStatus)
2679 ComponentIpcSerializableBuffer msg;
2683 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_EXIT));
2686 static_cast<FwAssertArgType>(_status)
2690 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2693 static_cast<FwAssertArgType>(_status)
2696 _status = msg.serializeFrom(directive);
2699 static_cast<FwAssertArgType>(_status)
2708 static_cast<FwAssertArgType>(qStatus)
2715 ComponentIpcSerializableBuffer msg;
2719 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_GETFIELD));
2722 static_cast<FwAssertArgType>(_status)
2726 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2729 static_cast<FwAssertArgType>(_status)
2732 _status = msg.serializeFrom(directive);
2735 static_cast<FwAssertArgType>(_status)
2744 static_cast<FwAssertArgType>(qStatus)
2751 ComponentIpcSerializableBuffer msg;
2755 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_GOTO));
2758 static_cast<FwAssertArgType>(_status)
2762 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2765 static_cast<FwAssertArgType>(_status)
2768 _status = msg.serializeFrom(directive);
2771 static_cast<FwAssertArgType>(_status)
2780 static_cast<FwAssertArgType>(qStatus)
2787 ComponentIpcSerializableBuffer msg;
2791 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_IF));
2794 static_cast<FwAssertArgType>(_status)
2798 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2801 static_cast<FwAssertArgType>(_status)
2804 _status = msg.serializeFrom(directive);
2807 static_cast<FwAssertArgType>(_status)
2816 static_cast<FwAssertArgType>(qStatus)
2823 ComponentIpcSerializableBuffer msg;
2827 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_LOADABS));
2830 static_cast<FwAssertArgType>(_status)
2834 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2837 static_cast<FwAssertArgType>(_status)
2840 _status = msg.serializeFrom(directive);
2843 static_cast<FwAssertArgType>(_status)
2852 static_cast<FwAssertArgType>(qStatus)
2859 ComponentIpcSerializableBuffer msg;
2863 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_LOADREL));
2866 static_cast<FwAssertArgType>(_status)
2870 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2873 static_cast<FwAssertArgType>(_status)
2876 _status = msg.serializeFrom(directive);
2879 static_cast<FwAssertArgType>(_status)
2888 static_cast<FwAssertArgType>(qStatus)
2895 ComponentIpcSerializableBuffer msg;
2899 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_MEMCMP));
2902 static_cast<FwAssertArgType>(_status)
2906 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2909 static_cast<FwAssertArgType>(_status)
2912 _status = msg.serializeFrom(directive);
2915 static_cast<FwAssertArgType>(_status)
2924 static_cast<FwAssertArgType>(qStatus)
2931 ComponentIpcSerializableBuffer msg;
2935 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_NOOP));
2938 static_cast<FwAssertArgType>(_status)
2942 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2945 static_cast<FwAssertArgType>(_status)
2948 _status = msg.serializeFrom(directive);
2951 static_cast<FwAssertArgType>(_status)
2960 static_cast<FwAssertArgType>(qStatus)
2967 ComponentIpcSerializableBuffer msg;
2971 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PEEK));
2974 static_cast<FwAssertArgType>(_status)
2978 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2981 static_cast<FwAssertArgType>(_status)
2984 _status = msg.serializeFrom(directive);
2987 static_cast<FwAssertArgType>(_status)
2996 static_cast<FwAssertArgType>(qStatus)
3003 ComponentIpcSerializableBuffer msg;
3007 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_POPEVENT));
3010 static_cast<FwAssertArgType>(_status)
3014 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3017 static_cast<FwAssertArgType>(_status)
3020 _status = msg.serializeFrom(directive);
3023 static_cast<FwAssertArgType>(_status)
3032 static_cast<FwAssertArgType>(qStatus)
3039 ComponentIpcSerializableBuffer msg;
3043 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHPRM));
3046 static_cast<FwAssertArgType>(_status)
3050 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3053 static_cast<FwAssertArgType>(_status)
3056 _status = msg.serializeFrom(directive);
3059 static_cast<FwAssertArgType>(_status)
3068 static_cast<FwAssertArgType>(qStatus)
3075 ComponentIpcSerializableBuffer msg;
3079 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHRAND));
3082 static_cast<FwAssertArgType>(_status)
3086 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3089 static_cast<FwAssertArgType>(_status)
3092 _status = msg.serializeFrom(directive);
3095 static_cast<FwAssertArgType>(_status)
3104 static_cast<FwAssertArgType>(qStatus)
3111 ComponentIpcSerializableBuffer msg;
3115 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHTIME));
3118 static_cast<FwAssertArgType>(_status)
3122 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3125 static_cast<FwAssertArgType>(_status)
3128 _status = msg.serializeFrom(directive);
3131 static_cast<FwAssertArgType>(_status)
3140 static_cast<FwAssertArgType>(qStatus)
3147 ComponentIpcSerializableBuffer msg;
3151 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHTLMVAL));
3154 static_cast<FwAssertArgType>(_status)
3158 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3161 static_cast<FwAssertArgType>(_status)
3164 _status = msg.serializeFrom(directive);
3167 static_cast<FwAssertArgType>(_status)
3176 static_cast<FwAssertArgType>(qStatus)
3183 ComponentIpcSerializableBuffer msg;
3187 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHTLMVALANDTIME));
3190 static_cast<FwAssertArgType>(_status)
3194 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3197 static_cast<FwAssertArgType>(_status)
3200 _status = msg.serializeFrom(directive);
3203 static_cast<FwAssertArgType>(_status)
3212 static_cast<FwAssertArgType>(qStatus)
3219 ComponentIpcSerializableBuffer msg;
3223 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_PUSHVAL));
3226 static_cast<FwAssertArgType>(_status)
3230 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3233 static_cast<FwAssertArgType>(_status)
3236 _status = msg.serializeFrom(directive);
3239 static_cast<FwAssertArgType>(_status)
3248 static_cast<FwAssertArgType>(qStatus)
3255 ComponentIpcSerializableBuffer msg;
3259 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_RETURN));
3262 static_cast<FwAssertArgType>(_status)
3266 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3269 static_cast<FwAssertArgType>(_status)
3272 _status = msg.serializeFrom(directive);
3275 static_cast<FwAssertArgType>(_status)
3284 static_cast<FwAssertArgType>(qStatus)
3291 ComponentIpcSerializableBuffer msg;
3295 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_SETSEED));
3298 static_cast<FwAssertArgType>(_status)
3302 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3305 static_cast<FwAssertArgType>(_status)
3308 _status = msg.serializeFrom(directive);
3311 static_cast<FwAssertArgType>(_status)
3320 static_cast<FwAssertArgType>(qStatus)
3327 ComponentIpcSerializableBuffer msg;
3331 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STACKCMD));
3334 static_cast<FwAssertArgType>(_status)
3338 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3341 static_cast<FwAssertArgType>(_status)
3344 _status = msg.serializeFrom(directive);
3347 static_cast<FwAssertArgType>(_status)
3356 static_cast<FwAssertArgType>(qStatus)
3363 ComponentIpcSerializableBuffer msg;
3367 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STACKOP));
3370 static_cast<FwAssertArgType>(_status)
3374 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3377 static_cast<FwAssertArgType>(_status)
3380 _status = msg.serializeFrom(directive);
3383 static_cast<FwAssertArgType>(_status)
3392 static_cast<FwAssertArgType>(qStatus)
3399 ComponentIpcSerializableBuffer msg;
3403 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STOREABS));
3406 static_cast<FwAssertArgType>(_status)
3410 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3413 static_cast<FwAssertArgType>(_status)
3416 _status = msg.serializeFrom(directive);
3419 static_cast<FwAssertArgType>(_status)
3428 static_cast<FwAssertArgType>(qStatus)
3435 ComponentIpcSerializableBuffer msg;
3439 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STOREABSCONSTOFFSET));
3442 static_cast<FwAssertArgType>(_status)
3446 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3449 static_cast<FwAssertArgType>(_status)
3452 _status = msg.serializeFrom(directive);
3455 static_cast<FwAssertArgType>(_status)
3464 static_cast<FwAssertArgType>(qStatus)
3471 ComponentIpcSerializableBuffer msg;
3475 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STOREREL));
3478 static_cast<FwAssertArgType>(_status)
3482 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3485 static_cast<FwAssertArgType>(_status)
3488 _status = msg.serializeFrom(directive);
3491 static_cast<FwAssertArgType>(_status)
3500 static_cast<FwAssertArgType>(qStatus)
3507 ComponentIpcSerializableBuffer msg;
3511 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_STORERELCONSTOFFSET));
3514 static_cast<FwAssertArgType>(_status)
3518 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3521 static_cast<FwAssertArgType>(_status)
3524 _status = msg.serializeFrom(directive);
3527 static_cast<FwAssertArgType>(_status)
3536 static_cast<FwAssertArgType>(qStatus)
3543 ComponentIpcSerializableBuffer msg;
3547 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_WAITABS));
3550 static_cast<FwAssertArgType>(_status)
3554 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3557 static_cast<FwAssertArgType>(_status)
3560 _status = msg.serializeFrom(directive);
3563 static_cast<FwAssertArgType>(_status)
3572 static_cast<FwAssertArgType>(qStatus)
3579 ComponentIpcSerializableBuffer msg;
3583 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_WAITREL));
3586 static_cast<FwAssertArgType>(_status)
3590 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
3593 static_cast<FwAssertArgType>(_status)
3596 _status = msg.serializeFrom(directive);
3599 static_cast<FwAssertArgType>(_status)
3608 static_cast<FwAssertArgType>(qStatus)
3619 return this->m_stateMachine_sequencer.
getState();
3629 ComponentIpcSerializableBuffer buffer;
3636 this->sequencer_sendSignalFinish(buffer);
3642 ComponentIpcSerializableBuffer buffer;
3649 this->sequencer_sendSignalFinish(buffer);
3655 ComponentIpcSerializableBuffer buffer;
3662 this->sequencer_sendSignalFinish(buffer);
3668 ComponentIpcSerializableBuffer buffer;
3672 this->sequencer_sendSignalFinish(buffer);
3678 ComponentIpcSerializableBuffer buffer;
3685 this->sequencer_sendSignalFinish(buffer);
3691 ComponentIpcSerializableBuffer buffer;
3695 this->sequencer_sendSignalFinish(buffer);
3701 ComponentIpcSerializableBuffer buffer;
3705 this->sequencer_sendSignalFinish(buffer);
3711 ComponentIpcSerializableBuffer buffer;
3715 this->sequencer_sendSignalFinish(buffer);
3721 ComponentIpcSerializableBuffer buffer;
3725 this->sequencer_sendSignalFinish(buffer);
3731 ComponentIpcSerializableBuffer buffer;
3735 this->sequencer_sendSignalFinish(buffer);
3741 ComponentIpcSerializableBuffer buffer;
3745 this->sequencer_sendSignalFinish(buffer);
3751 ComponentIpcSerializableBuffer buffer;
3755 this->sequencer_sendSignalFinish(buffer);
3761 ComponentIpcSerializableBuffer buffer;
3765 this->sequencer_sendSignalFinish(buffer);
3771 ComponentIpcSerializableBuffer buffer;
3775 this->sequencer_sendSignalFinish(buffer);
3781 ComponentIpcSerializableBuffer buffer;
3785 this->sequencer_sendSignalFinish(buffer);
3791 ComponentIpcSerializableBuffer buffer;
3795 this->sequencer_sendSignalFinish(buffer);
3801 ComponentIpcSerializableBuffer buffer;
3805 this->sequencer_sendSignalFinish(buffer);
3811 ComponentIpcSerializableBuffer buffer;
3815 this->sequencer_sendSignalFinish(buffer);
3821 ComponentIpcSerializableBuffer buffer;
3825 this->sequencer_sendSignalFinish(buffer);
3831 ComponentIpcSerializableBuffer buffer;
3835 this->sequencer_sendSignalFinish(buffer);
3841 ComponentIpcSerializableBuffer buffer;
3845 this->sequencer_sendSignalFinish(buffer);
3851 ComponentIpcSerializableBuffer buffer;
3855 this->sequencer_sendSignalFinish(buffer);
3861 ComponentIpcSerializableBuffer buffer;
3865 this->sequencer_sendSignalFinish(buffer);
3871 ComponentIpcSerializableBuffer buffer;
3875 this->sequencer_sendSignalFinish(buffer);
3881 ComponentIpcSerializableBuffer buffer;
3885 this->sequencer_sendSignalFinish(buffer);
3891 ComponentIpcSerializableBuffer buffer;
3895 this->sequencer_sendSignalFinish(buffer);
3910 this->cmdResponseOut_out(0, opCode, cmdSeq, response);
3931 ComponentIpcSerializableBuffer msg;
3935 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_RUN));
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_RUN_ARGS));
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_VALIDATE));
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_VALIDATE_ARGS));
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)
4167 ComponentIpcSerializableBuffer msg;
4171 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_RUN_VALIDATED));
4174 static_cast<FwAssertArgType>(_status)
4180 _status = msg.serializeFrom(port);
4183 static_cast<FwAssertArgType>(_status)
4186 _status = msg.serializeFrom(opCode);
4189 static_cast<FwAssertArgType>(_status)
4192 _status = msg.serializeFrom(cmdSeq);
4195 static_cast<FwAssertArgType>(_status)
4198 _status = msg.serializeFrom(args);
4201 static_cast<FwAssertArgType>(_status)
4210 static_cast<FwAssertArgType>(qStatus)
4226 ComponentIpcSerializableBuffer msg;
4230 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CANCEL));
4233 static_cast<FwAssertArgType>(_status)
4239 _status = msg.serializeFrom(port);
4242 static_cast<FwAssertArgType>(_status)
4245 _status = msg.serializeFrom(opCode);
4248 static_cast<FwAssertArgType>(_status)
4251 _status = msg.serializeFrom(cmdSeq);
4254 static_cast<FwAssertArgType>(_status)
4257 _status = msg.serializeFrom(args);
4260 static_cast<FwAssertArgType>(_status)
4269 static_cast<FwAssertArgType>(qStatus)
4285 ComponentIpcSerializableBuffer msg;
4289 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SET_BREAKPOINT));
4292 static_cast<FwAssertArgType>(_status)
4298 _status = msg.serializeFrom(port);
4301 static_cast<FwAssertArgType>(_status)
4304 _status = msg.serializeFrom(opCode);
4307 static_cast<FwAssertArgType>(_status)
4310 _status = msg.serializeFrom(cmdSeq);
4313 static_cast<FwAssertArgType>(_status)
4316 _status = msg.serializeFrom(args);
4319 static_cast<FwAssertArgType>(_status)
4328 static_cast<FwAssertArgType>(qStatus)
4344 ComponentIpcSerializableBuffer msg;
4348 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_BREAK));
4351 static_cast<FwAssertArgType>(_status)
4357 _status = msg.serializeFrom(port);
4360 static_cast<FwAssertArgType>(_status)
4363 _status = msg.serializeFrom(opCode);
4366 static_cast<FwAssertArgType>(_status)
4369 _status = msg.serializeFrom(cmdSeq);
4372 static_cast<FwAssertArgType>(_status)
4375 _status = msg.serializeFrom(args);
4378 static_cast<FwAssertArgType>(_status)
4387 static_cast<FwAssertArgType>(qStatus)
4403 ComponentIpcSerializableBuffer msg;
4407 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CONTINUE));
4410 static_cast<FwAssertArgType>(_status)
4416 _status = msg.serializeFrom(port);
4419 static_cast<FwAssertArgType>(_status)
4422 _status = msg.serializeFrom(opCode);
4425 static_cast<FwAssertArgType>(_status)
4428 _status = msg.serializeFrom(cmdSeq);
4431 static_cast<FwAssertArgType>(_status)
4434 _status = msg.serializeFrom(args);
4437 static_cast<FwAssertArgType>(_status)
4446 static_cast<FwAssertArgType>(qStatus)
4462 ComponentIpcSerializableBuffer msg;
4466 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CLEAR_BREAKPOINT));
4469 static_cast<FwAssertArgType>(_status)
4475 _status = msg.serializeFrom(port);
4478 static_cast<FwAssertArgType>(_status)
4481 _status = msg.serializeFrom(opCode);
4484 static_cast<FwAssertArgType>(_status)
4487 _status = msg.serializeFrom(cmdSeq);
4490 static_cast<FwAssertArgType>(_status)
4493 _status = msg.serializeFrom(args);
4496 static_cast<FwAssertArgType>(_status)
4505 static_cast<FwAssertArgType>(qStatus)
4521 ComponentIpcSerializableBuffer msg;
4525 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_STEP));
4528 static_cast<FwAssertArgType>(_status)
4534 _status = msg.serializeFrom(port);
4537 static_cast<FwAssertArgType>(_status)
4540 _status = msg.serializeFrom(opCode);
4543 static_cast<FwAssertArgType>(_status)
4546 _status = msg.serializeFrom(cmdSeq);
4549 static_cast<FwAssertArgType>(_status)
4552 _status = msg.serializeFrom(args);
4555 static_cast<FwAssertArgType>(_status)
4564 static_cast<FwAssertArgType>(qStatus)
4580 ComponentIpcSerializableBuffer msg;
4584 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_DUMP_STACK_TO_FILE));
4587 static_cast<FwAssertArgType>(_status)
4593 _status = msg.serializeFrom(port);
4596 static_cast<FwAssertArgType>(_status)
4599 _status = msg.serializeFrom(opCode);
4602 static_cast<FwAssertArgType>(_status)
4605 _status = msg.serializeFrom(cmdSeq);
4608 static_cast<FwAssertArgType>(_status)
4611 _status = msg.serializeFrom(args);
4614 static_cast<FwAssertArgType>(_status)
4623 static_cast<FwAssertArgType>(qStatus)
4777 this->timeCaller_out(0, _logTime);
4787 #if FW_AMPCS_COMPATIBLE 4792 static_cast<FwAssertArgType>(_status)
4796 #if FW_AMPCS_COMPATIBLE 4799 static_cast<U8>(
sizeof(I32))
4803 static_cast<FwAssertArgType>(_status)
4809 static_cast<FwAssertArgType>(_status)
4822 #if FW_ENABLE_TEXT_LOGGING 4823 if (this->isConnected_logTextOut_OutputPort(0)) {
4824 #if FW_OBJECT_NAMES == 1 4825 const char* _formatString =
4826 "(%s) %s: Cannot execute command in state %" PRIi32
"";
4828 const char* _formatString =
4829 "%s: Cannot execute command in state %" PRIi32
"";
4836 this->m_objName.toChar(),
4842 this->logTextOut_out(
4859 this->timeCaller_out(0, _logTime);
4869 #if FW_AMPCS_COMPATIBLE 4874 static_cast<FwAssertArgType>(_status)
4878 #if FW_AMPCS_COMPATIBLE 4881 static_cast<U8>(
sizeof(I32))
4885 static_cast<FwAssertArgType>(_status)
4891 static_cast<FwAssertArgType>(_status)
4904 #if FW_ENABLE_TEXT_LOGGING 4905 if (this->isConnected_logTextOut_OutputPort(0)) {
4906 #if FW_OBJECT_NAMES == 1 4907 const char* _formatString =
4908 "(%s) %s: Cannot run sequence from a port in state %" PRIi32
"";
4910 const char* _formatString =
4911 "%s: Cannot run sequence from a port in state %" PRIi32
"";
4918 this->m_objName.toChar(),
4920 "InvalidSeqRunCall ",
4924 this->logTextOut_out(
4941 this->timeCaller_out(0, _logTime);
4951 #if FW_AMPCS_COMPATIBLE 4956 static_cast<FwAssertArgType>(_status)
4960 #if FW_AMPCS_COMPATIBLE 4963 static_cast<U8>(
sizeof(I32))
4967 static_cast<FwAssertArgType>(_status)
4973 static_cast<FwAssertArgType>(_status)
4986 #if FW_ENABLE_TEXT_LOGGING 4987 if (this->isConnected_logTextOut_OutputPort(0)) {
4988 #if FW_OBJECT_NAMES == 1 4989 const char* _formatString =
4990 "(%s) %s: Cannot cancel sequence from a port in state %" PRIi32
"";
4992 const char* _formatString =
4993 "%s: Cannot cancel sequence from a port in state %" PRIi32
"";
5000 this->m_objName.toChar(),
5002 "InvalidSeqCancelCall ",
5006 this->logTextOut_out(
5026 this->timeCaller_out(0, _logTime);
5036 #if FW_AMPCS_COMPATIBLE 5041 static_cast<FwAssertArgType>(_status)
5051 static_cast<FwAssertArgType>(_status)
5054 #if FW_AMPCS_COMPATIBLE 5057 static_cast<U8>(
sizeof(I32))
5061 static_cast<FwAssertArgType>(_status)
5067 static_cast<FwAssertArgType>(_status)
5080 #if FW_ENABLE_TEXT_LOGGING 5081 if (this->isConnected_logTextOut_OutputPort(0)) {
5082 #if FW_OBJECT_NAMES == 1 5083 const char* _formatString =
5084 "(%s) %s: File open error encountered while opening %s: %" PRIi32
"";
5086 const char* _formatString =
5087 "%s: File open error encountered while opening %s: %" PRIi32
"";
5094 this->m_objName.toChar(),
5101 this->logTextOut_out(
5122 this->timeCaller_out(0, _logTime);
5132 #if FW_AMPCS_COMPATIBLE 5137 static_cast<FwAssertArgType>(_status)
5141 #if FW_AMPCS_COMPATIBLE 5148 static_cast<FwAssertArgType>(_status)
5154 static_cast<FwAssertArgType>(_status)
5163 static_cast<FwAssertArgType>(_status)
5166 #if FW_AMPCS_COMPATIBLE 5169 static_cast<U8>(
sizeof(I32))
5173 static_cast<FwAssertArgType>(_status)
5179 static_cast<FwAssertArgType>(_status)
5192 #if FW_ENABLE_TEXT_LOGGING 5193 if (this->isConnected_logTextOut_OutputPort(0)) {
5194 #if FW_OBJECT_NAMES == 1 5195 const char* _formatString =
5196 "(%s) %s: File write error encountered while writing %" PRIu64
" bytes to %s: %" PRIi32
"";
5198 const char* _formatString =
5199 "%s: File write error encountered while writing %" PRIu64
" bytes to %s: %" PRIi32
"";
5206 this->m_objName.toChar(),
5214 this->logTextOut_out(
5235 this->timeCaller_out(0, _logTime);
5245 #if FW_AMPCS_COMPATIBLE 5250 static_cast<FwAssertArgType>(_status)
5254 #if FW_AMPCS_COMPATIBLE 5261 static_cast<FwAssertArgType>(_status)
5267 static_cast<FwAssertArgType>(_status)
5276 static_cast<FwAssertArgType>(_status)
5279 #if FW_AMPCS_COMPATIBLE 5282 static_cast<U8>(
sizeof(I32))
5286 static_cast<FwAssertArgType>(_status)
5292 static_cast<FwAssertArgType>(_status)
5305 #if FW_ENABLE_TEXT_LOGGING 5306 if (this->isConnected_logTextOut_OutputPort(0)) {
5307 #if FW_OBJECT_NAMES == 1 5308 const char* _formatString =
5309 "(%s) %s: File read error encountered while reading %s of file %s: %" PRIi32
"";
5311 const char* _formatString =
5312 "%s: File read error encountered while reading %s of file %s: %" PRIi32
"";
5316 readStage.toString(readStageStr);
5322 this->m_objName.toChar(),
5330 this->logTextOut_out(
5350 this->timeCaller_out(0, _logTime);
5360 #if FW_AMPCS_COMPATIBLE 5365 static_cast<FwAssertArgType>(_status)
5369 #if FW_AMPCS_COMPATIBLE 5376 static_cast<FwAssertArgType>(_status)
5382 static_cast<FwAssertArgType>(_status)
5391 static_cast<FwAssertArgType>(_status)
5404 #if FW_ENABLE_TEXT_LOGGING 5405 if (this->isConnected_logTextOut_OutputPort(0)) {
5406 #if FW_OBJECT_NAMES == 1 5407 const char* _formatString =
5408 "(%s) %s: End of file encountered unexpectedly while reading %s of file %s";
5410 const char* _formatString =
5411 "%s: End of file encountered unexpectedly while reading %s of file %s";
5415 readStage.toString(readStageStr);
5421 this->m_objName.toChar(),
5428 this->logTextOut_out(
5451 this->timeCaller_out(0, _logTime);
5461 #if FW_AMPCS_COMPATIBLE 5466 static_cast<FwAssertArgType>(_status)
5470 #if FW_AMPCS_COMPATIBLE 5477 static_cast<FwAssertArgType>(_status)
5483 static_cast<FwAssertArgType>(_status)
5492 static_cast<FwAssertArgType>(_status)
5495 #if FW_AMPCS_COMPATIBLE 5498 static_cast<U8>(
sizeof(I32))
5502 static_cast<FwAssertArgType>(_status)
5508 static_cast<FwAssertArgType>(_status)
5511 #if FW_AMPCS_COMPATIBLE 5514 static_cast<U8>(
sizeof(
U64))
5518 static_cast<FwAssertArgType>(_status)
5524 static_cast<FwAssertArgType>(_status)
5527 #if FW_AMPCS_COMPATIBLE 5530 static_cast<U8>(
sizeof(
U64))
5534 static_cast<FwAssertArgType>(_status)
5540 static_cast<FwAssertArgType>(_status)
5553 #if FW_ENABLE_TEXT_LOGGING 5554 if (this->isConnected_logTextOut_OutputPort(0)) {
5555 #if FW_OBJECT_NAMES == 1 5556 const char* _formatString =
5557 "(%s) %s: Deserialize error encountered while reading %s of file %s: %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
5559 const char* _formatString =
5560 "%s: Deserialize error encountered while reading %s of file %s: %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
5564 readStage.toString(readStageStr);
5570 this->m_objName.toChar(),
5572 "FileReadDeserializeError ",
5580 this->logTextOut_out(
5600 this->timeCaller_out(0, _logTime);
5610 #if FW_AMPCS_COMPATIBLE 5615 static_cast<FwAssertArgType>(_status)
5619 #if FW_AMPCS_COMPATIBLE 5622 static_cast<U8>(
sizeof(
U8))
5626 static_cast<FwAssertArgType>(_status)
5632 static_cast<FwAssertArgType>(_status)
5635 #if FW_AMPCS_COMPATIBLE 5638 static_cast<U8>(
sizeof(
U8))
5642 static_cast<FwAssertArgType>(_status)
5648 static_cast<FwAssertArgType>(_status)
5661 #if FW_ENABLE_TEXT_LOGGING 5662 if (this->isConnected_logTextOut_OutputPort(0)) {
5663 #if FW_OBJECT_NAMES == 1 5664 const char* _formatString =
5665 "(%s) %s: Expected schema version %" PRIu8
", found %" PRIu8
"";
5667 const char* _formatString =
5668 "%s: Expected schema version %" PRIu8
", found %" PRIu8
"";
5675 this->m_objName.toChar(),
5677 "WrongSchemaVersion ",
5682 this->logTextOut_out(
5702 this->timeCaller_out(0, _logTime);
5712 #if FW_AMPCS_COMPATIBLE 5717 static_cast<FwAssertArgType>(_status)
5721 #if FW_AMPCS_COMPATIBLE 5724 static_cast<U8>(
sizeof(U32))
5728 static_cast<FwAssertArgType>(_status)
5734 static_cast<FwAssertArgType>(_status)
5737 #if FW_AMPCS_COMPATIBLE 5740 static_cast<U8>(
sizeof(U32))
5744 static_cast<FwAssertArgType>(_status)
5750 static_cast<FwAssertArgType>(_status)
5763 #if FW_ENABLE_TEXT_LOGGING 5764 if (this->isConnected_logTextOut_OutputPort(0)) {
5765 #if FW_OBJECT_NAMES == 1 5766 const char* _formatString =
5767 "(%s) %s: Expected CRC %" PRIu32
", actual was %" PRIu32
"";
5769 const char* _formatString =
5770 "%s: Expected CRC %" PRIu32
", actual was %" PRIu32
"";
5777 this->m_objName.toChar(),
5784 this->logTextOut_out(
5801 this->timeCaller_out(0, _logTime);
5811 #if FW_AMPCS_COMPATIBLE 5816 static_cast<FwAssertArgType>(_status)
5820 #if FW_AMPCS_COMPATIBLE 5827 static_cast<FwAssertArgType>(_status)
5833 static_cast<FwAssertArgType>(_status)
5846 #if FW_ENABLE_TEXT_LOGGING 5847 if (this->isConnected_logTextOut_OutputPort(0)) {
5848 #if FW_OBJECT_NAMES == 1 5849 const char* _formatString =
5850 "(%s) %s: File had %" PRIu64
" extra bytes at the end";
5852 const char* _formatString =
5853 "%s: File had %" PRIu64
" extra bytes at the end";
5860 this->m_objName.toChar(),
5862 "ExtraBytesInSequence ",
5866 this->logTextOut_out(
5886 this->timeCaller_out(0, _logTime);
5896 #if FW_AMPCS_COMPATIBLE 5901 static_cast<FwAssertArgType>(_status)
5905 #if FW_AMPCS_COMPATIBLE 5908 static_cast<U8>(
sizeof(
U64))
5912 static_cast<FwAssertArgType>(_status)
5918 static_cast<FwAssertArgType>(_status)
5927 static_cast<FwAssertArgType>(_status)
5940 #if FW_ENABLE_TEXT_LOGGING 5941 if (this->isConnected_logTextOut_OutputPort(0)) {
5942 #if FW_OBJECT_NAMES == 1 5943 const char* _formatString =
5944 "(%s) %s: Buffer capacity of %" PRIu64
" was not big enough for sequence %s";
5946 const char* _formatString =
5947 "%s: Buffer capacity of %" PRIu64
" was not big enough for sequence %s";
5954 this->m_objName.toChar(),
5956 "InsufficientBufferSpace ",
5961 this->logTextOut_out(
5981 this->timeCaller_out(0, _logTime);
5991 #if FW_AMPCS_COMPATIBLE 5996 static_cast<FwAssertArgType>(_status)
6006 static_cast<FwAssertArgType>(_status)
6009 #if FW_AMPCS_COMPATIBLE 6012 static_cast<U8>(
sizeof(I32))
6016 static_cast<FwAssertArgType>(_status)
6022 static_cast<FwAssertArgType>(_status)
6035 #if FW_ENABLE_TEXT_LOGGING 6036 if (this->isConnected_logTextOut_OutputPort(0)) {
6037 #if FW_OBJECT_NAMES == 1 6038 const char* _formatString =
6039 "(%s) %s: File system API error encountered while operating on file %s: %" PRIi32
"";
6041 const char* _formatString =
6042 "%s: File system API error encountered while operating on file %s: %" PRIi32
"";
6049 this->m_objName.toChar(),
6056 this->logTextOut_out(
6076 this->timeCaller_out(0, _logTime);
6086 #if FW_AMPCS_COMPATIBLE 6091 static_cast<FwAssertArgType>(_status)
6101 static_cast<FwAssertArgType>(_status)
6110 static_cast<FwAssertArgType>(_status)
6123 #if FW_ENABLE_TEXT_LOGGING 6124 if (this->isConnected_logTextOut_OutputPort(0)) {
6125 #if FW_OBJECT_NAMES == 1 6126 const char* _formatString =
6127 "(%s) %s: Sequence file path was truncated: base directory %s and file name %s together exceed the maximum path length";
6129 const char* _formatString =
6130 "%s: Sequence file path was truncated: base directory %s and file name %s together exceed the maximum path length";
6137 this->m_objName.toChar(),
6139 "SequenceFilePathTooLong ",
6144 this->logTextOut_out(
6166 this->timeCaller_out(0, _logTime);
6176 #if FW_AMPCS_COMPATIBLE 6181 static_cast<FwAssertArgType>(_status)
6185 #if FW_AMPCS_COMPATIBLE 6192 static_cast<FwAssertArgType>(_status)
6198 static_cast<FwAssertArgType>(_status)
6201 #if FW_AMPCS_COMPATIBLE 6204 static_cast<U8>(
sizeof(U32))
6208 static_cast<FwAssertArgType>(_status)
6214 static_cast<FwAssertArgType>(_status)
6223 static_cast<FwAssertArgType>(_status)
6226 #if FW_AMPCS_COMPATIBLE 6233 static_cast<FwAssertArgType>(_status)
6239 static_cast<FwAssertArgType>(_status)
6252 #if FW_ENABLE_TEXT_LOGGING 6253 if (this->isConnected_logTextOut_OutputPort(0)) {
6254 #if FW_OBJECT_NAMES == 1 6255 const char* _formatString =
6256 "(%s) %s: Failed to execute command opcode %" PRIu32
" index %" PRIu32
" in sequence file %s: response was %s";
6258 const char* _formatString =
6259 "%s: Failed to execute command opcode %" PRIu32
" index %" PRIu32
" in sequence file %s: response was %s";
6263 response.toString(responseStr);
6269 this->m_objName.toChar(),
6278 this->logTextOut_out(
6295 this->timeCaller_out(0, _logTime);
6305 #if FW_AMPCS_COMPATIBLE 6310 static_cast<FwAssertArgType>(_status)
6320 static_cast<FwAssertArgType>(_status)
6333 #if FW_ENABLE_TEXT_LOGGING 6334 if (this->isConnected_logTextOut_OutputPort(0)) {
6335 #if FW_OBJECT_NAMES == 1 6336 const char* _formatString =
6337 "(%s) %s: Completed sequence file %s";
6339 const char* _formatString =
6340 "%s: Completed sequence file %s";
6347 this->m_objName.toChar(),
6353 this->logTextOut_out(
6370 this->timeCaller_out(0, _logTime);
6380 #if FW_AMPCS_COMPATIBLE 6385 static_cast<FwAssertArgType>(_status)
6395 static_cast<FwAssertArgType>(_status)
6408 #if FW_ENABLE_TEXT_LOGGING 6409 if (this->isConnected_logTextOut_OutputPort(0)) {
6410 #if FW_OBJECT_NAMES == 1 6411 const char* _formatString =
6412 "(%s) %s: Cancelled sequence file %s";
6414 const char* _formatString =
6415 "%s: Cancelled sequence file %s";
6422 this->m_objName.toChar(),
6424 "SequenceCancelled ",
6428 this->logTextOut_out(
6448 this->timeCaller_out(0, _logTime);
6458 #if FW_AMPCS_COMPATIBLE 6463 static_cast<FwAssertArgType>(_status)
6473 static_cast<FwAssertArgType>(_status)
6476 #if FW_AMPCS_COMPATIBLE 6479 static_cast<U8>(
sizeof(
U8))
6483 static_cast<FwAssertArgType>(_status)
6489 static_cast<FwAssertArgType>(_status)
6502 #if FW_ENABLE_TEXT_LOGGING 6503 if (this->isConnected_logTextOut_OutputPort(0)) {
6504 #if FW_OBJECT_NAMES == 1 6505 const char* _formatString =
6506 "(%s) %s: Sequence %s exited with error code %" PRIu8
"";
6508 const char* _formatString =
6509 "%s: Sequence %s exited with error code %" PRIu8
"";
6516 this->m_objName.toChar(),
6518 "SequenceExitedWithError ",
6523 this->logTextOut_out(
6544 this->timeCaller_out(0, _logTime);
6554 #if FW_AMPCS_COMPATIBLE 6559 static_cast<FwAssertArgType>(_status)
6563 #if FW_AMPCS_COMPATIBLE 6566 static_cast<U8>(
sizeof(
U8))
6570 static_cast<FwAssertArgType>(_status)
6576 static_cast<FwAssertArgType>(_status)
6579 #if FW_AMPCS_COMPATIBLE 6582 static_cast<U8>(
sizeof(U32))
6586 static_cast<FwAssertArgType>(_status)
6592 static_cast<FwAssertArgType>(_status)
6601 static_cast<FwAssertArgType>(_status)
6614 #if FW_ENABLE_TEXT_LOGGING 6615 if (this->isConnected_logTextOut_OutputPort(0)) {
6616 #if FW_OBJECT_NAMES == 1 6617 const char* _formatString =
6618 "(%s) %s: Unknown sequencer directive id %" PRIu8
" at index %" PRIu32
" in file %s";
6620 const char* _formatString =
6621 "%s: Unknown sequencer directive id %" PRIu8
" at index %" PRIu32
" in file %s";
6628 this->m_objName.toChar(),
6630 "UnknownSequencerDirective ",
6636 this->logTextOut_out(
6657 this->timeCaller_out(0, _logTime);
6667 #if FW_AMPCS_COMPATIBLE 6672 static_cast<FwAssertArgType>(_status)
6676 #if FW_AMPCS_COMPATIBLE 6679 static_cast<U8>(
sizeof(I32))
6683 static_cast<FwAssertArgType>(_status)
6689 static_cast<FwAssertArgType>(_status)
6692 #if FW_AMPCS_COMPATIBLE 6699 static_cast<FwAssertArgType>(_status)
6705 static_cast<FwAssertArgType>(_status)
6708 #if FW_AMPCS_COMPATIBLE 6715 static_cast<FwAssertArgType>(_status)
6721 static_cast<FwAssertArgType>(_status)
6734 #if FW_ENABLE_TEXT_LOGGING 6735 if (this->isConnected_logTextOut_OutputPort(0)) {
6736 #if FW_OBJECT_NAMES == 1 6737 const char* _formatString =
6738 "(%s) %s: Received a command response while not running a sequence (was in state %" PRIi32
" opcode was %" PRIu32
" response code %s)";
6740 const char* _formatString =
6741 "%s: Received a command response while not running a sequence (was in state %" PRIi32
" opcode was %" PRIu32
" response code %s)";
6745 response.toString(responseStr);
6751 this->m_objName.toChar(),
6753 "CmdResponseWhileNotRunningSequence ",
6759 this->logTextOut_out(
6775 U16 currentSequenceIdx
6781 this->timeCaller_out(0, _logTime);
6791 #if FW_AMPCS_COMPATIBLE 6796 static_cast<FwAssertArgType>(_status)
6800 #if FW_AMPCS_COMPATIBLE 6807 static_cast<FwAssertArgType>(_status)
6813 static_cast<FwAssertArgType>(_status)
6816 #if FW_AMPCS_COMPATIBLE 6823 static_cast<FwAssertArgType>(_status)
6829 static_cast<FwAssertArgType>(_status)
6832 #if FW_AMPCS_COMPATIBLE 6835 static_cast<U8>(
sizeof(U16))
6839 static_cast<FwAssertArgType>(_status)
6845 static_cast<FwAssertArgType>(_status)
6848 #if FW_AMPCS_COMPATIBLE 6851 static_cast<U8>(
sizeof(U16))
6855 static_cast<FwAssertArgType>(_status)
6861 static_cast<FwAssertArgType>(_status)
6874 #if FW_ENABLE_TEXT_LOGGING 6875 if (this->isConnected_logTextOut_OutputPort(0)) {
6876 #if FW_OBJECT_NAMES == 1 6877 const char* _formatString =
6878 "(%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
")";
6880 const char* _formatString =
6881 "%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
")";
6885 response.toString(responseStr);
6891 this->m_objName.toChar(),
6893 "CmdResponseFromOldSequence ",
6900 this->logTextOut_out(
6920 this->timeCaller_out(0, _logTime);
6930 #if FW_AMPCS_COMPATIBLE 6935 static_cast<FwAssertArgType>(_status)
6939 #if FW_AMPCS_COMPATIBLE 6946 static_cast<FwAssertArgType>(_status)
6952 static_cast<FwAssertArgType>(_status)
6955 #if FW_AMPCS_COMPATIBLE 6962 static_cast<FwAssertArgType>(_status)
6968 static_cast<FwAssertArgType>(_status)
6981 #if FW_ENABLE_TEXT_LOGGING 6982 if (this->isConnected_logTextOut_OutputPort(0)) {
6983 #if FW_OBJECT_NAMES == 1 6984 const char* _formatString =
6985 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was not awaiting a response";
6987 const char* _formatString =
6988 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was not awaiting a response";
6992 response.toString(responseStr);
6998 this->m_objName.toChar(),
7000 "CmdResponseWhileNotAwaiting ",
7005 this->logTextOut_out(
7020 U8 expectedDirectiveOpcode
7026 this->timeCaller_out(0, _logTime);
7036 #if FW_AMPCS_COMPATIBLE 7041 static_cast<FwAssertArgType>(_status)
7045 #if FW_AMPCS_COMPATIBLE 7052 static_cast<FwAssertArgType>(_status)
7058 static_cast<FwAssertArgType>(_status)
7061 #if FW_AMPCS_COMPATIBLE 7068 static_cast<FwAssertArgType>(_status)
7074 static_cast<FwAssertArgType>(_status)
7077 #if FW_AMPCS_COMPATIBLE 7080 static_cast<U8>(
sizeof(
U8))
7084 static_cast<FwAssertArgType>(_status)
7090 static_cast<FwAssertArgType>(_status)
7103 #if FW_ENABLE_TEXT_LOGGING 7104 if (this->isConnected_logTextOut_OutputPort(0)) {
7105 #if FW_OBJECT_NAMES == 1 7106 const char* _formatString =
7107 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was awaiting directive opcode %" PRIu8
"";
7109 const char* _formatString =
7110 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was awaiting directive opcode %" PRIu8
"";
7114 response.toString(responseStr);
7120 this->m_objName.toChar(),
7122 "CmdResponseWhileAwaitingDirective ",
7125 expectedDirectiveOpcode
7128 this->logTextOut_out(
7149 this->timeCaller_out(0, _logTime);
7159 #if FW_AMPCS_COMPATIBLE 7164 static_cast<FwAssertArgType>(_status)
7168 #if FW_AMPCS_COMPATIBLE 7175 static_cast<FwAssertArgType>(_status)
7181 static_cast<FwAssertArgType>(_status)
7184 #if FW_AMPCS_COMPATIBLE 7191 static_cast<FwAssertArgType>(_status)
7197 static_cast<FwAssertArgType>(_status)
7200 #if FW_AMPCS_COMPATIBLE 7207 static_cast<FwAssertArgType>(_status)
7213 static_cast<FwAssertArgType>(_status)
7226 #if FW_ENABLE_TEXT_LOGGING 7227 if (this->isConnected_logTextOut_OutputPort(0)) {
7228 #if FW_OBJECT_NAMES == 1 7229 const char* _formatString =
7230 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was expecting a response from command opcode %" PRIu32
"";
7232 const char* _formatString =
7233 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was expecting a response from command opcode %" PRIu32
"";
7237 response.toString(responseStr);
7243 this->m_objName.toChar(),
7245 "WrongCmdResponseOpcode ",
7251 this->logTextOut_out(
7273 this->timeCaller_out(0, _logTime);
7283 #if FW_AMPCS_COMPATIBLE 7288 static_cast<FwAssertArgType>(_status)
7292 #if FW_AMPCS_COMPATIBLE 7299 static_cast<FwAssertArgType>(_status)
7305 static_cast<FwAssertArgType>(_status)
7308 #if FW_AMPCS_COMPATIBLE 7315 static_cast<FwAssertArgType>(_status)
7321 static_cast<FwAssertArgType>(_status)
7324 #if FW_AMPCS_COMPATIBLE 7327 static_cast<U8>(
sizeof(U16))
7331 static_cast<FwAssertArgType>(_status)
7337 static_cast<FwAssertArgType>(_status)
7340 #if FW_AMPCS_COMPATIBLE 7343 static_cast<U8>(
sizeof(U16))
7347 static_cast<FwAssertArgType>(_status)
7353 static_cast<FwAssertArgType>(_status)
7366 #if FW_ENABLE_TEXT_LOGGING 7367 if (this->isConnected_logTextOut_OutputPort(0)) {
7368 #if FW_OBJECT_NAMES == 1 7369 const char* _formatString =
7370 "(%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
")";
7372 const char* _formatString =
7373 "%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
")";
7377 response.toString(responseStr);
7383 this->m_objName.toChar(),
7385 "WrongCmdResponseIndex ",
7392 this->logTextOut_out(
7415 this->timeCaller_out(0, _logTime);
7425 #if FW_AMPCS_COMPATIBLE 7430 static_cast<FwAssertArgType>(_status)
7434 #if FW_AMPCS_COMPATIBLE 7437 static_cast<U8>(
sizeof(
U8))
7441 static_cast<FwAssertArgType>(_status)
7447 static_cast<FwAssertArgType>(_status)
7450 #if FW_AMPCS_COMPATIBLE 7453 static_cast<U8>(
sizeof(U32))
7457 static_cast<FwAssertArgType>(_status)
7463 static_cast<FwAssertArgType>(_status)
7466 #if FW_AMPCS_COMPATIBLE 7469 static_cast<U8>(
sizeof(I32))
7473 static_cast<FwAssertArgType>(_status)
7479 static_cast<FwAssertArgType>(_status)
7482 #if FW_AMPCS_COMPATIBLE 7485 static_cast<U8>(
sizeof(
U64))
7489 static_cast<FwAssertArgType>(_status)
7495 static_cast<FwAssertArgType>(_status)
7498 #if FW_AMPCS_COMPATIBLE 7501 static_cast<U8>(
sizeof(
U64))
7505 static_cast<FwAssertArgType>(_status)
7511 static_cast<FwAssertArgType>(_status)
7524 #if FW_ENABLE_TEXT_LOGGING 7525 if (this->isConnected_logTextOut_OutputPort(0)) {
7526 #if FW_OBJECT_NAMES == 1 7527 const char* _formatString =
7528 "(%s) %s: Deserialize error encountered while reading directive opcode %" PRIu8
" at index %" PRIu32
": %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
7530 const char* _formatString =
7531 "%s: Deserialize error encountered while reading directive opcode %" PRIu8
" at index %" PRIu32
": %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
7538 this->m_objName.toChar(),
7540 "DirectiveDeserializeError ",
7548 this->logTextOut_out(
7561 I32 internalTimeBase,
7568 this->timeCaller_out(0, _logTime);
7578 #if FW_AMPCS_COMPATIBLE 7583 static_cast<FwAssertArgType>(_status)
7587 #if FW_AMPCS_COMPATIBLE 7590 static_cast<U8>(
sizeof(I32))
7594 static_cast<FwAssertArgType>(_status)
7600 static_cast<FwAssertArgType>(_status)
7603 #if FW_AMPCS_COMPATIBLE 7606 static_cast<U8>(
sizeof(I32))
7610 static_cast<FwAssertArgType>(_status)
7616 static_cast<FwAssertArgType>(_status)
7629 #if FW_ENABLE_TEXT_LOGGING 7630 if (this->isConnected_logTextOut_OutputPort(0)) {
7631 #if FW_OBJECT_NAMES == 1 7632 const char* _formatString =
7633 "(%s) %s: getTime() time base was %" PRIi32
", but tried to operate on it with time base %" PRIi32
"";
7635 const char* _formatString =
7636 "%s: getTime() time base was %" PRIi32
", but tried to operate on it with time base %" PRIi32
"";
7643 this->m_objName.toChar(),
7645 "MismatchedTimeBase ",
7650 this->logTextOut_out(
7663 I32 internalTimeContext,
7664 I32 otherTimeContext
7670 this->timeCaller_out(0, _logTime);
7680 #if FW_AMPCS_COMPATIBLE 7685 static_cast<FwAssertArgType>(_status)
7689 #if FW_AMPCS_COMPATIBLE 7692 static_cast<U8>(
sizeof(I32))
7696 static_cast<FwAssertArgType>(_status)
7702 static_cast<FwAssertArgType>(_status)
7705 #if FW_AMPCS_COMPATIBLE 7708 static_cast<U8>(
sizeof(I32))
7712 static_cast<FwAssertArgType>(_status)
7718 static_cast<FwAssertArgType>(_status)
7731 #if FW_ENABLE_TEXT_LOGGING 7732 if (this->isConnected_logTextOut_OutputPort(0)) {
7733 #if FW_OBJECT_NAMES == 1 7734 const char* _formatString =
7735 "(%s) %s: getTime() time context was %" PRIi32
", but tried to operate on it with time context %" PRIi32
"";
7737 const char* _formatString =
7738 "%s: getTime() time context was %" PRIi32
", but tried to operate on it with time context %" PRIi32
"";
7745 this->m_objName.toChar(),
7747 "MismatchedTimeContext ",
7748 internalTimeContext,
7752 this->logTextOut_out(
7773 this->timeCaller_out(0, _logTime);
7783 #if FW_AMPCS_COMPATIBLE 7788 static_cast<FwAssertArgType>(_status)
7792 #if FW_AMPCS_COMPATIBLE 7799 static_cast<FwAssertArgType>(_status)
7805 static_cast<FwAssertArgType>(_status)
7808 #if FW_AMPCS_COMPATIBLE 7811 static_cast<U8>(
sizeof(U32))
7815 static_cast<FwAssertArgType>(_status)
7821 static_cast<FwAssertArgType>(_status)
7830 static_cast<FwAssertArgType>(_status)
7843 #if FW_ENABLE_TEXT_LOGGING 7844 if (this->isConnected_logTextOut_OutputPort(0)) {
7845 #if FW_OBJECT_NAMES == 1 7846 const char* _formatString =
7847 "(%s) %s: A command opcode %" PRIu32
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
7849 const char* _formatString =
7850 "%s: A command opcode %" PRIu32
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
7857 this->m_objName.toChar(),
7865 this->logTextOut_out(
7886 this->timeCaller_out(0, _logTime);
7896 #if FW_AMPCS_COMPATIBLE 7901 static_cast<FwAssertArgType>(_status)
7905 #if FW_AMPCS_COMPATIBLE 7908 static_cast<U8>(
sizeof(
U8))
7912 static_cast<FwAssertArgType>(_status)
7918 static_cast<FwAssertArgType>(_status)
7921 #if FW_AMPCS_COMPATIBLE 7924 static_cast<U8>(
sizeof(U32))
7928 static_cast<FwAssertArgType>(_status)
7934 static_cast<FwAssertArgType>(_status)
7943 static_cast<FwAssertArgType>(_status)
7956 #if FW_ENABLE_TEXT_LOGGING 7957 if (this->isConnected_logTextOut_OutputPort(0)) {
7958 #if FW_OBJECT_NAMES == 1 7959 const char* _formatString =
7960 "(%s) %s: A directive opcode %" PRIu8
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
7962 const char* _formatString =
7963 "%s: A directive opcode %" PRIu8
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
7970 this->m_objName.toChar(),
7972 "DirectiveTimedOut ",
7978 this->logTextOut_out(
7998 this->timeCaller_out(0, _logTime);
8008 #if FW_AMPCS_COMPATIBLE 8013 static_cast<FwAssertArgType>(_status)
8017 #if FW_AMPCS_COMPATIBLE 8020 static_cast<U8>(
sizeof(
U8))
8024 static_cast<FwAssertArgType>(_status)
8030 static_cast<FwAssertArgType>(_status)
8033 #if FW_AMPCS_COMPATIBLE 8036 static_cast<U8>(
sizeof(
U8))
8040 static_cast<FwAssertArgType>(_status)
8046 static_cast<FwAssertArgType>(_status)
8059 #if FW_ENABLE_TEXT_LOGGING 8060 if (this->isConnected_logTextOut_OutputPort(0)) {
8061 #if FW_OBJECT_NAMES == 1 8062 const char* _formatString =
8063 "(%s) %s: A sequence specified it had %" PRIu8
" args but the max was %" PRIu8
"";
8065 const char* _formatString =
8066 "%s: A sequence specified it had %" PRIu8
" args but the max was %" PRIu8
"";
8073 this->m_objName.toChar(),
8075 "TooManySequenceArgs ",
8080 this->logTextOut_out(
8100 this->timeCaller_out(0, _logTime);
8110 #if FW_AMPCS_COMPATIBLE 8115 static_cast<FwAssertArgType>(_status)
8119 #if FW_AMPCS_COMPATIBLE 8122 static_cast<U8>(
sizeof(U16))
8126 static_cast<FwAssertArgType>(_status)
8132 static_cast<FwAssertArgType>(_status)
8135 #if FW_AMPCS_COMPATIBLE 8138 static_cast<U8>(
sizeof(U16))
8142 static_cast<FwAssertArgType>(_status)
8148 static_cast<FwAssertArgType>(_status)
8161 #if FW_ENABLE_TEXT_LOGGING 8162 if (this->isConnected_logTextOut_OutputPort(0)) {
8163 #if FW_OBJECT_NAMES == 1 8164 const char* _formatString =
8165 "(%s) %s: A sequence specified it had %" PRIu16
" directives but the max was %" PRIu16
"";
8167 const char* _formatString =
8168 "%s: A sequence specified it had %" PRIu16
" directives but the max was %" PRIu16
"";
8175 this->m_objName.toChar(),
8177 "TooManySequenceDirectives ",
8182 this->logTextOut_out(
8203 this->timeCaller_out(0, _logTime);
8213 #if FW_AMPCS_COMPATIBLE 8218 static_cast<FwAssertArgType>(_status)
8222 #if FW_AMPCS_COMPATIBLE 8229 static_cast<FwAssertArgType>(_status)
8235 static_cast<FwAssertArgType>(_status)
8238 #if FW_AMPCS_COMPATIBLE 8245 static_cast<FwAssertArgType>(_status)
8251 static_cast<FwAssertArgType>(_status)
8260 static_cast<FwAssertArgType>(_status)
8273 #if FW_ENABLE_TEXT_LOGGING 8274 if (this->isConnected_logTextOut_OutputPort(0)) {
8275 #if FW_OBJECT_NAMES == 1 8276 const char* _formatString =
8277 "(%s) %s: Expected %" PRIu32
" bytes of arguments, but received %" PRIu64
" in sequence file %s";
8279 const char* _formatString =
8280 "%s: Expected %" PRIu32
" bytes of arguments, but received %" PRIu64
" in sequence file %s";
8287 this->m_objName.toChar(),
8295 this->logTextOut_out(
8312 this->timeCaller_out(0, _logTime);
8322 #if FW_AMPCS_COMPATIBLE 8327 static_cast<FwAssertArgType>(_status)
8331 #if FW_AMPCS_COMPATIBLE 8338 static_cast<FwAssertArgType>(_status)
8344 static_cast<FwAssertArgType>(_status)
8357 #if FW_ENABLE_TEXT_LOGGING 8358 if (this->isConnected_logTextOut_OutputPort(0)) {
8359 #if FW_OBJECT_NAMES == 1 8360 const char* _formatString =
8361 "(%s) %s: Arguments of size %" PRIu32
" would exceed max stack size.";
8363 const char* _formatString =
8364 "%s: Arguments of size %" PRIu32
" would exceed max stack size.";
8371 this->m_objName.toChar(),
8373 "ArgTotalSizeExceedsStackLimit ",
8377 this->logTextOut_out(
8394 this->timeCaller_out(0, _logTime);
8404 #if FW_AMPCS_COMPATIBLE 8409 static_cast<FwAssertArgType>(_status)
8413 #if FW_AMPCS_COMPATIBLE 8416 static_cast<U8>(
sizeof(U32))
8420 static_cast<FwAssertArgType>(_status)
8426 static_cast<FwAssertArgType>(_status)
8439 #if FW_ENABLE_TEXT_LOGGING 8440 if (this->isConnected_logTextOut_OutputPort(0)) {
8441 #if FW_OBJECT_NAMES == 1 8442 const char* _formatString =
8443 "(%s) %s: Sequence paused before dispatching directive index %" PRIu32
"";
8445 const char* _formatString =
8446 "%s: Sequence paused before dispatching directive index %" PRIu32
"";
8453 this->m_objName.toChar(),
8459 this->logTextOut_out(
8479 this->timeCaller_out(0, _logTime);
8489 #if FW_AMPCS_COMPATIBLE 8494 static_cast<FwAssertArgType>(_status)
8498 #if FW_AMPCS_COMPATIBLE 8501 static_cast<U8>(
sizeof(U32))
8505 static_cast<FwAssertArgType>(_status)
8511 static_cast<FwAssertArgType>(_status)
8514 #if FW_AMPCS_COMPATIBLE 8517 static_cast<U8>(
sizeof(
U8))
8521 static_cast<FwAssertArgType>(_status)
8527 static_cast<FwAssertArgType>(_status)
8540 #if FW_ENABLE_TEXT_LOGGING 8541 if (this->isConnected_logTextOut_OutputPort(0)) {
8542 #if FW_OBJECT_NAMES == 1 8543 const char* _formatString =
8544 "(%s) %s: Breakpoint set before directive index %" PRIu32
". Will break once: %d";
8546 const char* _formatString =
8547 "%s: Breakpoint set before directive index %" PRIu32
". Will break once: %d";
8554 this->m_objName.toChar(),
8561 this->logTextOut_out(
8578 this->timeCaller_out(0, _logTime);
8587 #if FW_AMPCS_COMPATIBLE 8593 static_cast<FwAssertArgType>(_status)
8607 #if FW_ENABLE_TEXT_LOGGING 8608 if (this->isConnected_logTextOut_OutputPort(0)) {
8609 #if FW_OBJECT_NAMES == 1 8610 const char* _formatString =
8611 "(%s) %s: Breakpoint cleared";
8613 const char* _formatString =
8614 "%s: Breakpoint cleared";
8621 this->m_objName.toChar(),
8623 "BreakpointCleared " 8626 this->logTextOut_out(
8646 this->timeCaller_out(0, _logTime);
8656 #if FW_AMPCS_COMPATIBLE 8661 static_cast<FwAssertArgType>(_status)
8668 static_cast<FwAssertArgType>(_status)
8674 static_cast<FwAssertArgType>(_status)
8684 static_cast<FwAssertArgType>(_status)
8693 static_cast<FwAssertArgType>(_status)
8706 #if FW_ENABLE_TEXT_LOGGING 8707 if (this->isConnected_logTextOut_OutputPort(0)) {
8708 #if FW_OBJECT_NAMES == 1 8709 const char* _formatString =
8710 "(%s) %s: Sequence %s: %s";
8712 const char* _formatString =
8713 "%s: Sequence %s: %s";
8720 this->m_objName.toChar(),
8727 this->logTextOut_out(
8747 this->timeCaller_out(0, _logTime);
8757 #if FW_AMPCS_COMPATIBLE 8762 static_cast<FwAssertArgType>(_status)
8772 static_cast<FwAssertArgType>(_status)
8781 static_cast<FwAssertArgType>(_status)
8794 #if FW_ENABLE_TEXT_LOGGING 8795 if (this->isConnected_logTextOut_OutputPort(0)) {
8796 #if FW_OBJECT_NAMES == 1 8797 const char* _formatString =
8798 "(%s) %s: Sequence %s: %s";
8800 const char* _formatString =
8801 "%s: Sequence %s: %s";
8808 this->m_objName.toChar(),
8815 this->logTextOut_out(
8835 this->timeCaller_out(0, _logTime);
8845 #if FW_AMPCS_COMPATIBLE 8850 static_cast<FwAssertArgType>(_status)
8860 static_cast<FwAssertArgType>(_status)
8869 static_cast<FwAssertArgType>(_status)
8882 #if FW_ENABLE_TEXT_LOGGING 8883 if (this->isConnected_logTextOut_OutputPort(0)) {
8884 #if FW_OBJECT_NAMES == 1 8885 const char* _formatString =
8886 "(%s) %s: Sequence %s: %s";
8888 const char* _formatString =
8889 "%s: Sequence %s: %s";
8896 this->m_objName.toChar(),
8903 this->logTextOut_out(
8923 this->timeCaller_out(0, _logTime);
8933 #if FW_AMPCS_COMPATIBLE 8938 static_cast<FwAssertArgType>(_status)
8948 static_cast<FwAssertArgType>(_status)
8957 static_cast<FwAssertArgType>(_status)
8970 #if FW_ENABLE_TEXT_LOGGING 8971 if (this->isConnected_logTextOut_OutputPort(0)) {
8972 #if FW_OBJECT_NAMES == 1 8973 const char* _formatString =
8974 "(%s) %s: Sequence %s: %s";
8976 const char* _formatString =
8977 "%s: Sequence %s: %s";
8984 this->m_objName.toChar(),
8991 this->logTextOut_out(
9011 this->timeCaller_out(0, _logTime);
9021 #if FW_AMPCS_COMPATIBLE 9026 static_cast<FwAssertArgType>(_status)
9036 static_cast<FwAssertArgType>(_status)
9045 static_cast<FwAssertArgType>(_status)
9058 #if FW_ENABLE_TEXT_LOGGING 9059 if (this->isConnected_logTextOut_OutputPort(0)) {
9060 #if FW_OBJECT_NAMES == 1 9061 const char* _formatString =
9062 "(%s) %s: Sequence %s: %s";
9064 const char* _formatString =
9065 "%s: Sequence %s: %s";
9072 this->m_objName.toChar(),
9079 this->logTextOut_out(
9099 this->timeCaller_out(0, _logTime);
9109 #if FW_AMPCS_COMPATIBLE 9114 static_cast<FwAssertArgType>(_status)
9124 static_cast<FwAssertArgType>(_status)
9133 static_cast<FwAssertArgType>(_status)
9146 #if FW_ENABLE_TEXT_LOGGING 9147 if (this->isConnected_logTextOut_OutputPort(0)) {
9148 #if FW_OBJECT_NAMES == 1 9149 const char* _formatString =
9150 "(%s) %s: Sequence %s: %s";
9152 const char* _formatString =
9153 "%s: Sequence %s: %s";
9160 this->m_objName.toChar(),
9167 this->logTextOut_out(
9187 this->timeCaller_out(0, _logTime);
9197 #if FW_AMPCS_COMPATIBLE 9202 static_cast<FwAssertArgType>(_status)
9212 static_cast<FwAssertArgType>(_status)
9221 static_cast<FwAssertArgType>(_status)
9234 #if FW_ENABLE_TEXT_LOGGING 9235 if (this->isConnected_logTextOut_OutputPort(0)) {
9236 #if FW_OBJECT_NAMES == 1 9237 const char* _formatString =
9238 "(%s) %s: Sequence %s: %s";
9240 const char* _formatString =
9241 "%s: Sequence %s: %s";
9248 this->m_objName.toChar(),
9255 this->logTextOut_out(
9282 this->timeCaller_out(0, _tlmTime);
9308 if (not this->m_first_update_State) {
9310 if (arg == this->m_last_State) {
9314 this->m_last_State = arg;
9318 this->m_first_update_State =
false;
9319 this->m_last_State = arg;
9327 static_cast<FwAssertArgType>(_stat)
9345 if (not this->m_first_update_SequencesSucceeded) {
9347 if (arg == this->m_last_SequencesSucceeded) {
9351 this->m_last_SequencesSucceeded = arg;
9355 this->m_first_update_SequencesSucceeded =
false;
9356 this->m_last_SequencesSucceeded = arg;
9364 static_cast<FwAssertArgType>(_stat)
9382 if (not this->m_first_update_SequencesFailed) {
9384 if (arg == this->m_last_SequencesFailed) {
9388 this->m_last_SequencesFailed = arg;
9392 this->m_first_update_SequencesFailed =
false;
9393 this->m_last_SequencesFailed = arg;
9401 static_cast<FwAssertArgType>(_stat)
9419 if (not this->m_first_update_SequencesCancelled) {
9421 if (arg == this->m_last_SequencesCancelled) {
9425 this->m_last_SequencesCancelled = arg;
9429 this->m_first_update_SequencesCancelled =
false;
9430 this->m_last_SequencesCancelled = arg;
9438 static_cast<FwAssertArgType>(_stat)
9456 if (not this->m_first_update_StatementsDispatched) {
9458 if (arg == this->m_last_StatementsDispatched) {
9462 this->m_last_StatementsDispatched = arg;
9466 this->m_first_update_StatementsDispatched =
false;
9467 this->m_last_StatementsDispatched = arg;
9475 static_cast<FwAssertArgType>(_stat)
9493 if (not this->m_first_update_StatementsFailed) {
9495 if (arg == this->m_last_StatementsFailed) {
9499 this->m_last_StatementsFailed = arg;
9503 this->m_first_update_StatementsFailed =
false;
9504 this->m_last_StatementsFailed = arg;
9512 static_cast<FwAssertArgType>(_stat)
9530 if (not this->m_first_update_LastDirectiveError) {
9532 if (arg == this->m_last_LastDirectiveError) {
9536 this->m_last_LastDirectiveError = arg;
9540 this->m_first_update_LastDirectiveError =
false;
9541 this->m_last_LastDirectiveError = arg;
9549 static_cast<FwAssertArgType>(_stat)
9567 if (not this->m_first_update_DirectiveErrorIndex) {
9569 if (arg == this->m_last_DirectiveErrorIndex) {
9573 this->m_last_DirectiveErrorIndex = arg;
9577 this->m_first_update_DirectiveErrorIndex =
false;
9578 this->m_last_DirectiveErrorIndex = arg;
9586 static_cast<FwAssertArgType>(_stat)
9604 if (not this->m_first_update_DirectiveErrorId) {
9606 if (arg == this->m_last_DirectiveErrorId) {
9610 this->m_last_DirectiveErrorId = arg;
9614 this->m_first_update_DirectiveErrorId =
false;
9615 this->m_last_DirectiveErrorId = arg;
9623 static_cast<FwAssertArgType>(_stat)
9641 if (not this->m_first_update_SeqPath) {
9643 if (arg == this->m_last_SeqPath) {
9647 this->m_last_SeqPath = arg;
9651 this->m_first_update_SeqPath =
false;
9652 this->m_last_SeqPath = arg;
9663 static_cast<FwAssertArgType>(_stat)
9681 if (not this->m_first_update_Debug_ReachedEndOfFile) {
9683 if (arg == this->m_last_Debug_ReachedEndOfFile) {
9687 this->m_last_Debug_ReachedEndOfFile = arg;
9691 this->m_first_update_Debug_ReachedEndOfFile =
false;
9692 this->m_last_Debug_ReachedEndOfFile = arg;
9700 static_cast<FwAssertArgType>(_stat)
9718 if (not this->m_first_update_Debug_NextStatementReadSuccess) {
9720 if (arg == this->m_last_Debug_NextStatementReadSuccess) {
9724 this->m_last_Debug_NextStatementReadSuccess = arg;
9728 this->m_first_update_Debug_NextStatementReadSuccess =
false;
9729 this->m_last_Debug_NextStatementReadSuccess = arg;
9737 static_cast<FwAssertArgType>(_stat)
9755 if (not this->m_first_update_Debug_NextStatementOpcode) {
9757 if (arg == this->m_last_Debug_NextStatementOpcode) {
9761 this->m_last_Debug_NextStatementOpcode = arg;
9765 this->m_first_update_Debug_NextStatementOpcode =
false;
9766 this->m_last_Debug_NextStatementOpcode = arg;
9774 static_cast<FwAssertArgType>(_stat)
9792 if (not this->m_first_update_Debug_NextStatementIndex) {
9794 if (arg == this->m_last_Debug_NextStatementIndex) {
9798 this->m_last_Debug_NextStatementIndex = arg;
9802 this->m_first_update_Debug_NextStatementIndex =
false;
9803 this->m_last_Debug_NextStatementIndex = arg;
9811 static_cast<FwAssertArgType>(_stat)
9829 if (not this->m_first_update_Debug_NextCmdOpcode) {
9831 if (arg == this->m_last_Debug_NextCmdOpcode) {
9835 this->m_last_Debug_NextCmdOpcode = arg;
9839 this->m_first_update_Debug_NextCmdOpcode =
false;
9840 this->m_last_Debug_NextCmdOpcode = arg;
9848 static_cast<FwAssertArgType>(_stat)
9866 if (not this->m_first_update_Debug_StackSize) {
9868 if (arg == this->m_last_Debug_StackSize) {
9872 this->m_last_Debug_StackSize = arg;
9876 this->m_first_update_Debug_StackSize =
false;
9877 this->m_last_Debug_StackSize = arg;
9885 static_cast<FwAssertArgType>(_stat)
9903 if (not this->m_first_update_BreakpointInUse) {
9905 if (arg == this->m_last_BreakpointInUse) {
9909 this->m_last_BreakpointInUse = arg;
9913 this->m_first_update_BreakpointInUse =
false;
9914 this->m_last_BreakpointInUse = arg;
9922 static_cast<FwAssertArgType>(_stat)
9940 if (not this->m_first_update_BreakpointIndex) {
9942 if (arg == this->m_last_BreakpointIndex) {
9946 this->m_last_BreakpointIndex = arg;
9950 this->m_first_update_BreakpointIndex =
false;
9951 this->m_last_BreakpointIndex = arg;
9959 static_cast<FwAssertArgType>(_stat)
9977 if (not this->m_first_update_BreakOnlyOnceOnBreakpoint) {
9979 if (arg == this->m_last_BreakOnlyOnceOnBreakpoint) {
9983 this->m_last_BreakOnlyOnceOnBreakpoint = arg;
9987 this->m_first_update_BreakOnlyOnceOnBreakpoint =
false;
9988 this->m_last_BreakOnlyOnceOnBreakpoint = arg;
9996 static_cast<FwAssertArgType>(_stat)
10014 if (not this->m_first_update_BreakBeforeNextLine) {
10016 if (arg == this->m_last_BreakBeforeNextLine) {
10020 this->m_last_BreakBeforeNextLine = arg;
10024 this->m_first_update_BreakBeforeNextLine =
false;
10025 this->m_last_BreakBeforeNextLine = arg;
10033 static_cast<FwAssertArgType>(_stat)
10051 if (not this->m_first_update_PRM_STATEMENT_TIMEOUT_SECS) {
10053 if (arg == this->m_last_PRM_STATEMENT_TIMEOUT_SECS) {
10057 this->m_last_PRM_STATEMENT_TIMEOUT_SECS = arg;
10061 this->m_first_update_PRM_STATEMENT_TIMEOUT_SECS =
false;
10062 this->m_last_PRM_STATEMENT_TIMEOUT_SECS = arg;
10070 static_cast<FwAssertArgType>(_stat)
10088 if (not this->m_first_update_PRM_SEQ_BASE_DIR) {
10090 if (arg == this->m_last_PRM_SEQ_BASE_DIR) {
10094 this->m_last_PRM_SEQ_BASE_DIR = arg;
10098 this->m_first_update_PRM_SEQ_BASE_DIR =
false;
10099 this->m_last_PRM_SEQ_BASE_DIR = arg;
10110 static_cast<FwAssertArgType>(_stat)
10145 this->m_paramLock.
lock();
10146 valid = this->m_param_STATEMENT_TIMEOUT_SECS_valid;
10148 _local = this->m_STATEMENT_TIMEOUT_SECS;
10150 this->m_paramLock.
unlock();
10158 this->m_paramLock.
lock();
10159 valid = this->m_param_SEQ_BASE_DIR_valid;
10161 _local = this->m_SEQ_BASE_DIR;
10163 this->m_paramLock.
unlock();
10176 this->timeCaller_out(0, _time);
10191 ComponentIpcSerializableBuffer _msg;
10201 static_cast<FwAssertArgType>(_msgStatus)
10211 static_cast<FwAssertArgType>(_deserStatus)
10214 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
10216 if (_msgType == FPYSEQUENCER_COMPONENT_EXIT) {
10221 _deserStatus = _msg.deserializeTo(portNum);
10224 static_cast<FwAssertArgType>(_deserStatus)
10227 switch (_msgType) {
10229 case CHECKTIMERS_SCHED: {
10232 _deserStatus = _msg.deserializeTo(context);
10235 static_cast<FwAssertArgType>(_deserStatus)
10247 case CMDRESPONSEIN_CMDRESPONSE: {
10250 _deserStatus = _msg.deserializeTo(opCode);
10253 static_cast<FwAssertArgType>(_deserStatus)
10258 _deserStatus = _msg.deserializeTo(cmdSeq);
10261 static_cast<FwAssertArgType>(_deserStatus)
10266 _deserStatus = _msg.deserializeTo(response);
10269 static_cast<FwAssertArgType>(_deserStatus)
10283 case PINGIN_PING: {
10286 _deserStatus = _msg.deserializeTo(key);
10289 static_cast<FwAssertArgType>(_deserStatus)
10301 case SEQCANCELIN_CMDSEQCANCEL: {
10309 case SEQRUNIN_CMDSEQIN: {
10312 Fw::ExternalString filename(__fprime_ac_filename_buffer,
sizeof __fprime_ac_filename_buffer);
10313 _deserStatus = _msg.deserializeTo(filename);
10316 static_cast<FwAssertArgType>(_deserStatus)
10321 _deserStatus = _msg.deserializeTo(args);
10324 static_cast<FwAssertArgType>(_deserStatus)
10337 case TLMWRITE_SCHED: {
10340 _deserStatus = _msg.deserializeTo(context);
10343 static_cast<FwAssertArgType>(_deserStatus)
10358 _deserStatus = _msg.deserializeTo(_opCode);
10361 static_cast<FwAssertArgType>(_deserStatus)
10366 _deserStatus = _msg.deserializeTo(_cmdSeq);
10369 static_cast<FwAssertArgType>(_deserStatus)
10374 _deserStatus = _msg.deserializeTo(args);
10377 static_cast<FwAssertArgType>(_deserStatus)
10415 #if FW_CMD_CHECK_RESIDUAL 10436 case CMD_RUN_ARGS: {
10439 _deserStatus = _msg.deserializeTo(_opCode);
10442 static_cast<FwAssertArgType>(_deserStatus)
10447 _deserStatus = _msg.deserializeTo(_cmdSeq);
10450 static_cast<FwAssertArgType>(_deserStatus)
10455 _deserStatus = _msg.deserializeTo(args);
10458 static_cast<FwAssertArgType>(_deserStatus)
10511 #if FW_CMD_CHECK_RESIDUAL 10533 case CMD_VALIDATE: {
10536 _deserStatus = _msg.deserializeTo(_opCode);
10539 static_cast<FwAssertArgType>(_deserStatus)
10544 _deserStatus = _msg.deserializeTo(_cmdSeq);
10547 static_cast<FwAssertArgType>(_deserStatus)
10552 _deserStatus = _msg.deserializeTo(args);
10555 static_cast<FwAssertArgType>(_deserStatus)
10578 #if FW_CMD_CHECK_RESIDUAL 10598 case CMD_VALIDATE_ARGS: {
10601 _deserStatus = _msg.deserializeTo(_opCode);
10604 static_cast<FwAssertArgType>(_deserStatus)
10609 _deserStatus = _msg.deserializeTo(_cmdSeq);
10612 static_cast<FwAssertArgType>(_deserStatus)
10617 _deserStatus = _msg.deserializeTo(args);
10620 static_cast<FwAssertArgType>(_deserStatus)
10658 #if FW_CMD_CHECK_RESIDUAL 10679 case CMD_RUN_VALIDATED: {
10682 _deserStatus = _msg.deserializeTo(_opCode);
10685 static_cast<FwAssertArgType>(_deserStatus)
10690 _deserStatus = _msg.deserializeTo(_cmdSeq);
10693 static_cast<FwAssertArgType>(_deserStatus)
10698 _deserStatus = _msg.deserializeTo(args);
10701 static_cast<FwAssertArgType>(_deserStatus)
10724 #if FW_CMD_CHECK_RESIDUAL 10747 _deserStatus = _msg.deserializeTo(_opCode);
10750 static_cast<FwAssertArgType>(_deserStatus)
10755 _deserStatus = _msg.deserializeTo(_cmdSeq);
10758 static_cast<FwAssertArgType>(_deserStatus)
10763 _deserStatus = _msg.deserializeTo(args);
10766 static_cast<FwAssertArgType>(_deserStatus)
10774 #if FW_CMD_CHECK_RESIDUAL 10791 case CMD_SET_BREAKPOINT: {
10794 _deserStatus = _msg.deserializeTo(_opCode);
10797 static_cast<FwAssertArgType>(_deserStatus)
10802 _deserStatus = _msg.deserializeTo(_cmdSeq);
10805 static_cast<FwAssertArgType>(_deserStatus)
10810 _deserStatus = _msg.deserializeTo(args);
10813 static_cast<FwAssertArgType>(_deserStatus)
10851 #if FW_CMD_CHECK_RESIDUAL 10875 _deserStatus = _msg.deserializeTo(_opCode);
10878 static_cast<FwAssertArgType>(_deserStatus)
10883 _deserStatus = _msg.deserializeTo(_cmdSeq);
10886 static_cast<FwAssertArgType>(_deserStatus)
10891 _deserStatus = _msg.deserializeTo(args);
10894 static_cast<FwAssertArgType>(_deserStatus)
10902 #if FW_CMD_CHECK_RESIDUAL 10919 case CMD_CONTINUE: {
10922 _deserStatus = _msg.deserializeTo(_opCode);
10925 static_cast<FwAssertArgType>(_deserStatus)
10930 _deserStatus = _msg.deserializeTo(_cmdSeq);
10933 static_cast<FwAssertArgType>(_deserStatus)
10938 _deserStatus = _msg.deserializeTo(args);
10941 static_cast<FwAssertArgType>(_deserStatus)
10949 #if FW_CMD_CHECK_RESIDUAL 10966 case CMD_CLEAR_BREAKPOINT: {
10969 _deserStatus = _msg.deserializeTo(_opCode);
10972 static_cast<FwAssertArgType>(_deserStatus)
10977 _deserStatus = _msg.deserializeTo(_cmdSeq);
10980 static_cast<FwAssertArgType>(_deserStatus)
10985 _deserStatus = _msg.deserializeTo(args);
10988 static_cast<FwAssertArgType>(_deserStatus)
10996 #if FW_CMD_CHECK_RESIDUAL 11016 _deserStatus = _msg.deserializeTo(_opCode);
11019 static_cast<FwAssertArgType>(_deserStatus)
11024 _deserStatus = _msg.deserializeTo(_cmdSeq);
11027 static_cast<FwAssertArgType>(_deserStatus)
11032 _deserStatus = _msg.deserializeTo(args);
11035 static_cast<FwAssertArgType>(_deserStatus)
11043 #if FW_CMD_CHECK_RESIDUAL 11060 case CMD_DUMP_STACK_TO_FILE: {
11063 _deserStatus = _msg.deserializeTo(_opCode);
11066 static_cast<FwAssertArgType>(_deserStatus)
11071 _deserStatus = _msg.deserializeTo(_cmdSeq);
11074 static_cast<FwAssertArgType>(_deserStatus)
11079 _deserStatus = _msg.deserializeTo(args);
11082 static_cast<FwAssertArgType>(_deserStatus)
11105 #if FW_CMD_CHECK_RESIDUAL 11125 case INT_IF_DIRECTIVE_ALLOCATE: {
11127 _deserStatus = _msg.deserializeTo(directive);
11132 static_cast<FwAssertArgType>(_deserStatus)
11138 _msg.getDeserializeSizeLeft() == 0,
11151 case INT_IF_DIRECTIVE_CALL: {
11153 _deserStatus = _msg.deserializeTo(directive);
11158 static_cast<FwAssertArgType>(_deserStatus)
11164 _msg.getDeserializeSizeLeft() == 0,
11177 case INT_IF_DIRECTIVE_CONSTCMD: {
11179 _deserStatus = _msg.deserializeTo(directive);
11184 static_cast<FwAssertArgType>(_deserStatus)
11190 _msg.getDeserializeSizeLeft() == 0,
11203 case INT_IF_DIRECTIVE_DISCARD: {
11205 _deserStatus = _msg.deserializeTo(directive);
11210 static_cast<FwAssertArgType>(_deserStatus)
11216 _msg.getDeserializeSizeLeft() == 0,
11229 case INT_IF_DIRECTIVE_EXIT: {
11231 _deserStatus = _msg.deserializeTo(directive);
11236 static_cast<FwAssertArgType>(_deserStatus)
11242 _msg.getDeserializeSizeLeft() == 0,
11255 case INT_IF_DIRECTIVE_GETFIELD: {
11257 _deserStatus = _msg.deserializeTo(directive);
11262 static_cast<FwAssertArgType>(_deserStatus)
11268 _msg.getDeserializeSizeLeft() == 0,
11281 case INT_IF_DIRECTIVE_GOTO: {
11283 _deserStatus = _msg.deserializeTo(directive);
11288 static_cast<FwAssertArgType>(_deserStatus)
11294 _msg.getDeserializeSizeLeft() == 0,
11307 case INT_IF_DIRECTIVE_IF: {
11309 _deserStatus = _msg.deserializeTo(directive);
11314 static_cast<FwAssertArgType>(_deserStatus)
11320 _msg.getDeserializeSizeLeft() == 0,
11333 case INT_IF_DIRECTIVE_LOADABS: {
11335 _deserStatus = _msg.deserializeTo(directive);
11340 static_cast<FwAssertArgType>(_deserStatus)
11346 _msg.getDeserializeSizeLeft() == 0,
11359 case INT_IF_DIRECTIVE_LOADREL: {
11361 _deserStatus = _msg.deserializeTo(directive);
11366 static_cast<FwAssertArgType>(_deserStatus)
11372 _msg.getDeserializeSizeLeft() == 0,
11385 case INT_IF_DIRECTIVE_MEMCMP: {
11387 _deserStatus = _msg.deserializeTo(directive);
11392 static_cast<FwAssertArgType>(_deserStatus)
11398 _msg.getDeserializeSizeLeft() == 0,
11411 case INT_IF_DIRECTIVE_NOOP: {
11413 _deserStatus = _msg.deserializeTo(directive);
11418 static_cast<FwAssertArgType>(_deserStatus)
11424 _msg.getDeserializeSizeLeft() == 0,
11437 case INT_IF_DIRECTIVE_PEEK: {
11439 _deserStatus = _msg.deserializeTo(directive);
11444 static_cast<FwAssertArgType>(_deserStatus)
11450 _msg.getDeserializeSizeLeft() == 0,
11463 case INT_IF_DIRECTIVE_POPEVENT: {
11465 _deserStatus = _msg.deserializeTo(directive);
11470 static_cast<FwAssertArgType>(_deserStatus)
11476 _msg.getDeserializeSizeLeft() == 0,
11489 case INT_IF_DIRECTIVE_PUSHPRM: {
11491 _deserStatus = _msg.deserializeTo(directive);
11496 static_cast<FwAssertArgType>(_deserStatus)
11502 _msg.getDeserializeSizeLeft() == 0,
11515 case INT_IF_DIRECTIVE_PUSHRAND: {
11517 _deserStatus = _msg.deserializeTo(directive);
11522 static_cast<FwAssertArgType>(_deserStatus)
11528 _msg.getDeserializeSizeLeft() == 0,
11541 case INT_IF_DIRECTIVE_PUSHTIME: {
11543 _deserStatus = _msg.deserializeTo(directive);
11548 static_cast<FwAssertArgType>(_deserStatus)
11554 _msg.getDeserializeSizeLeft() == 0,
11567 case INT_IF_DIRECTIVE_PUSHTLMVAL: {
11569 _deserStatus = _msg.deserializeTo(directive);
11574 static_cast<FwAssertArgType>(_deserStatus)
11580 _msg.getDeserializeSizeLeft() == 0,
11593 case INT_IF_DIRECTIVE_PUSHTLMVALANDTIME: {
11595 _deserStatus = _msg.deserializeTo(directive);
11600 static_cast<FwAssertArgType>(_deserStatus)
11606 _msg.getDeserializeSizeLeft() == 0,
11619 case INT_IF_DIRECTIVE_PUSHVAL: {
11621 _deserStatus = _msg.deserializeTo(directive);
11626 static_cast<FwAssertArgType>(_deserStatus)
11632 _msg.getDeserializeSizeLeft() == 0,
11645 case INT_IF_DIRECTIVE_RETURN: {
11647 _deserStatus = _msg.deserializeTo(directive);
11652 static_cast<FwAssertArgType>(_deserStatus)
11658 _msg.getDeserializeSizeLeft() == 0,
11671 case INT_IF_DIRECTIVE_SETSEED: {
11673 _deserStatus = _msg.deserializeTo(directive);
11678 static_cast<FwAssertArgType>(_deserStatus)
11684 _msg.getDeserializeSizeLeft() == 0,
11697 case INT_IF_DIRECTIVE_STACKCMD: {
11699 _deserStatus = _msg.deserializeTo(directive);
11704 static_cast<FwAssertArgType>(_deserStatus)
11710 _msg.getDeserializeSizeLeft() == 0,
11723 case INT_IF_DIRECTIVE_STACKOP: {
11725 _deserStatus = _msg.deserializeTo(directive);
11730 static_cast<FwAssertArgType>(_deserStatus)
11736 _msg.getDeserializeSizeLeft() == 0,
11749 case INT_IF_DIRECTIVE_STOREABS: {
11751 _deserStatus = _msg.deserializeTo(directive);
11756 static_cast<FwAssertArgType>(_deserStatus)
11762 _msg.getDeserializeSizeLeft() == 0,
11775 case INT_IF_DIRECTIVE_STOREABSCONSTOFFSET: {
11777 _deserStatus = _msg.deserializeTo(directive);
11782 static_cast<FwAssertArgType>(_deserStatus)
11788 _msg.getDeserializeSizeLeft() == 0,
11801 case INT_IF_DIRECTIVE_STOREREL: {
11803 _deserStatus = _msg.deserializeTo(directive);
11808 static_cast<FwAssertArgType>(_deserStatus)
11814 _msg.getDeserializeSizeLeft() == 0,
11827 case INT_IF_DIRECTIVE_STORERELCONSTOFFSET: {
11829 _deserStatus = _msg.deserializeTo(directive);
11834 static_cast<FwAssertArgType>(_deserStatus)
11840 _msg.getDeserializeSizeLeft() == 0,
11853 case INT_IF_DIRECTIVE_WAITABS: {
11855 _deserStatus = _msg.deserializeTo(directive);
11860 static_cast<FwAssertArgType>(_deserStatus)
11866 _msg.getDeserializeSizeLeft() == 0,
11879 case INT_IF_DIRECTIVE_WAITREL: {
11881 _deserStatus = _msg.deserializeTo(directive);
11886 static_cast<FwAssertArgType>(_deserStatus)
11892 _msg.getDeserializeSizeLeft() == 0,
11906 case INTERNAL_STATE_MACHINE_SIGNAL:
11907 this->smDispatch(_msg);
11921 void FpySequencerComponentBase ::
11932 compPtr->cmdIn_handlerBase(
11944 void FpySequencerComponentBase ::
11945 m_p_checkTimers_in(
11953 compPtr->checkTimers_handlerBase(
11959 void FpySequencerComponentBase ::
11960 m_p_cmdResponseIn_in(
11970 compPtr->cmdResponseIn_handlerBase(
11978 void FpySequencerComponentBase ::
11987 compPtr->pingIn_handlerBase(
11993 void FpySequencerComponentBase ::
11994 m_p_seqCancelIn_in(
12001 compPtr->seqCancelIn_handlerBase(portNum);
12004 void FpySequencerComponentBase ::
12014 compPtr->seqRunIn_handlerBase(
12021 void FpySequencerComponentBase ::
12030 compPtr->tlmWrite_handlerBase(
12036 #if !FW_DIRECT_PORT_CALLS 12042 void FpySequencerComponentBase ::
12050 static_cast<FwAssertArgType>(portNum)
12054 this->m_cmdRegOut_OutputPort[portNum].isConnected(),
12055 static_cast<FwAssertArgType>(portNum)
12057 this->m_cmdRegOut_OutputPort[portNum].
invoke(
12062 void FpySequencerComponentBase ::
12063 cmdResponseOut_out(
12072 static_cast<FwAssertArgType>(portNum)
12076 this->m_cmdResponseOut_OutputPort[portNum].isConnected(),
12077 static_cast<FwAssertArgType>(portNum)
12079 this->m_cmdResponseOut_OutputPort[portNum].
invoke(
12086 void FpySequencerComponentBase ::
12097 static_cast<FwAssertArgType>(portNum)
12101 this->m_logOut_OutputPort[portNum].isConnected(),
12102 static_cast<FwAssertArgType>(portNum)
12104 this->m_logOut_OutputPort[portNum].
invoke(
12112 #if FW_ENABLE_TEXT_LOGGING 12114 void FpySequencerComponentBase ::
12124 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
12125 static_cast<FwAssertArgType>(portNum)
12129 this->m_logTextOut_OutputPort[portNum].isConnected(),
12130 static_cast<FwAssertArgType>(portNum)
12132 this->m_logTextOut_OutputPort[portNum].invoke(
12151 static_cast<FwAssertArgType>(portNum)
12155 this->m_prmGet_OutputPort[portNum].isConnected(),
12156 static_cast<FwAssertArgType>(portNum)
12158 return this->m_prmGet_OutputPort[portNum].
invoke(
12164 void FpySequencerComponentBase ::
12173 static_cast<FwAssertArgType>(portNum)
12177 this->m_prmSet_OutputPort[portNum].isConnected(),
12178 static_cast<FwAssertArgType>(portNum)
12180 this->m_prmSet_OutputPort[portNum].
invoke(
12186 void FpySequencerComponentBase ::
12194 static_cast<FwAssertArgType>(portNum)
12198 this->m_timeCaller_OutputPort[portNum].isConnected(),
12199 static_cast<FwAssertArgType>(portNum)
12201 this->m_timeCaller_OutputPort[portNum].
invoke(
12206 void FpySequencerComponentBase ::
12216 static_cast<FwAssertArgType>(portNum)
12220 this->m_tlmOut_OutputPort[portNum].isConnected(),
12221 static_cast<FwAssertArgType>(portNum)
12223 this->m_tlmOut_OutputPort[portNum].
invoke(
12236 void FpySequencerComponentBase ::
12246 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(INTERNAL_STATE_MACHINE_SIGNAL));
12250 status = buffer.
serializeFrom(static_cast<FwIndexType>(0));
12254 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(smId));
12258 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(signal));
12262 void FpySequencerComponentBase ::
12271 static_cast<FwAssertArgType>(qStatus)
12279 void FpySequencerComponentBase ::
12285 FpySequencerComponentBase::deserializeSmIdAndSignal(buffer, storedSmId, storedSignal);
12288 const SmId smId =
static_cast<SmId>(storedSmId);
12292 this->Svc_FpySequencer_SequencerStateMachine_smDispatch(buffer, this->m_stateMachine_sequencer, signal);
12296 FW_ASSERT(0, static_cast<FwAssertArgType>(smId));
12301 void FpySequencerComponentBase ::
12302 deserializeSmIdAndSignal(
12322 void FpySequencerComponentBase ::
12323 Svc_FpySequencer_SequencerStateMachine_smDispatch(
12325 Svc_FpySequencer_SequencerStateMachine& sm,
12338 sm.sendSignal_cmd_VALIDATE(value);
12349 sm.sendSignal_cmd_RUN(value);
12360 sm.sendSignal_cmd_RUN_VALIDATED(value);
12367 sm.sendSignal_cmd_CANCEL();
12378 sm.sendSignal_cmd_SET_BREAKPOINT(value);
12385 sm.sendSignal_cmd_CLEAR_BREAKPOINT();
12392 sm.sendSignal_result_failure();
12399 sm.sendSignal_result_success();
12406 sm.sendSignal_entered();
12413 sm.sendSignal_result_dispatchStatement_success();
12420 sm.sendSignal_result_dispatchStatement_failure();
12427 sm.sendSignal_result_dispatchStatement_noMoreStatements();
12434 sm.sendSignal_checkTimersIn();
12441 sm.sendSignal_result_checkShouldWake_wakeup();
12448 sm.sendSignal_result_checkShouldWake_keepSleeping();
12455 sm.sendSignal_result_timeOpFailed();
12462 sm.sendSignal_stmtResponse_beginSleep();
12469 sm.sendSignal_stmtResponse_success();
12476 sm.sendSignal_stmtResponse_failure();
12483 sm.sendSignal_stmtResponse_unexpected();
12490 sm.sendSignal_stmtResponse_keepWaiting();
12497 sm.sendSignal_result_checkStatementTimeout_statementTimeout();
12504 sm.sendSignal_result_checkStatementTimeout_noTimeout();
12511 sm.sendSignal_cmd_CONTINUE();
12518 sm.sendSignal_cmd_BREAK();
12525 sm.sendSignal_cmd_STEP();
12529 FW_ASSERT(0, static_cast<FwAssertArgType>(signal));
12548 this->m_paramLock.
lock();
12549 this->m_STATEMENT_TIMEOUT_SECS = _localVal;
12551 this->m_paramLock.
unlock();
12568 this->m_paramLock.
lock();
12569 this->m_SEQ_BASE_DIR = _localVal;
12571 this->m_paramLock.
unlock();
12583 paramSave_STATEMENT_TIMEOUT_SECS()
12592 this->m_paramLock.
lock();
12594 _stat = _paramBuffer.
serializeFrom(m_STATEMENT_TIMEOUT_SECS);
12596 this->m_paramLock.
unlock();
12611 paramSave_SEQ_BASE_DIR()
12620 this->m_paramLock.
lock();
12624 this->m_paramLock.
unlock();
void cmdOut_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context) const
Invoke output port cmdOut.
Serialization/Deserialization operation was successful.
The size of the serial representation.
void pingOut_out(FwIndexType portNum, U32 key) const
Invoke output port pingOut.
virtual void seqCancelIn_handler(FwIndexType portNum)=0
Handler for input port seqCancelIn.
void sequencer_sendSignal_result_dispatchStatement_noMoreStatements()
Send signal result_dispatchStatement_noMoreStatements to state machine sequencer. ...
sets the index of the next directive to execute
void sequencer_sendSignal_result_checkShouldWake_keepSleeping()
Send signal result_checkShouldWake_keepSleeping to state machine sequencer.
called when an unexpected or incorrect statement response comes in. only raised in the RUNNING state ...
virtual void directive_waitRel_internalInterfaceHandler(const Svc::FpySequencer_WaitRelDirective &directive)=0
Internal interface handler for directive_waitRel.
The size of the serial representation.
called in dispatchStatement method when a statement was unable to be sent out
virtual void DUMP_STACK_TO_FILE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command DUMP_STACK_TO_FILE.
void addCallPort(InputTimePort *callPort)
Register an input port.
void invoke(Fw::ComBuffer &data, U32 context) const
Invoke a port connection.
bool isConnected_getTlmChan_OutputPort(FwIndexType portNum) const
void set_seqStartOut_OutputPort(FwIndexType portNum, Svc::InputCmdSeqInPort *port)
Connect port to seqStartOut[portNum].
void log_WARNING_HI_DirectiveTimedOut(U8 opCode, U32 stmtIdx, const Fw::StringBase &filePath) const
Log event DirectiveTimedOut.
virtual void directive_pushPrm_internalInterfaceHandler(const Svc::FpySequencer_PushPrmDirective &directive)=0
Internal interface handler for directive_pushPrm.
void init()
Initialization function.
static constexpr FwSizeType CAPACITY
virtual void directive_peek_internalInterfaceHandler(const Svc::FpySequencer_PeekDirective &directive)=0
Internal interface handler for directive_peek.
void invoke(const Fw::StringBase &filename, const Svc::SeqArgs &args) const
Invoke a port connection.
void log_ACTIVITY_HI_SequencePaused(U32 stmtIdx) const
Log event SequencePaused.
virtual void directive_exit_internalInterfaceHandler(const Svc::FpySequencer_ExitDirective &directive)=0
Internal interface handler for directive_exit.
Fw::InputCmdResponsePort * get_cmdResponseIn_InputPort(FwIndexType portNum)
The size of the serial representation.
virtual void seqCancelIn_preMsgHook(FwIndexType portNum)
Pre-message hook for async input port seqCancelIn.
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.
virtual void seqRunIn_handler(FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args)=0
Handler for input port seqRunIn.
called in dispatchStatement method when there were no more statements in the sequence ...
pushes the next RNG value to the stack
branches based off of the top byte of the stack
void directive_pushVal_internalInterfaceInvoke(const Svc::FpySequencer_PushValDirective &directive)
Internal interface base-class function for directive_pushVal.
void tlmWrite_Debug_NextStatementOpcode(U8 arg, Fw::Time _tlmTime=Fw::Time())
virtual void parametersLoaded()
Called whenever parameters are loaded.
static constexpr FwSizeType CAPACITY
The size of the serial representation.
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum) const
virtual void directive_pushTime_internalInterfaceHandler(const Svc::FpySequencer_PushTimeDirective &directive)=0
Internal interface handler for directive_pushTime.
void log_WARNING_HI_InsufficientBufferSpace(U64 bufferSize, const Fw::StringBase &filePath) const
Log event InsufficientBufferSpace.
FwIdType getIdBase() const
static constexpr FwIndexType getNum_seqStartOut_OutputPorts()
bool isConnected_getParam_OutputPort(FwIndexType portNum) const
PlatformSizeType FwSizeType
Channel ID for LastDirectiveError.
Channel ID for Debug_NextStatementReadSuccess.
The size of the serial representation.
void directive_popEvent_internalInterfaceInvoke(const Svc::FpySequencer_PopEventDirective &directive)
Internal interface base-class function for directive_popEvent.
stores a value to an absolute address in the stack (for global variables), offset from stack ...
Status receive(U8 *destination, FwSizeType capacity, BlockingType blockType, FwSizeType &actualSize, FwQueuePriorityType &priority) override
receive a message from the queue through delegate
The size of the serial representation.
void CONTINUE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void sequencer_sendSignal_cmd_STEP()
Send signal cmd_STEP to state machine sequencer.
virtual void cmdResponseIn_handler(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)=0
Handler for input port cmdResponseIn.
void sequencer_sendSignal_result_dispatchStatement_success()
Send signal result_dispatchStatement_success to state machine sequencer.
void directive_stackOp_internalInterfaceInvoke(const Svc::FpySequencer_StackOpDirective &directive)
Internal interface base-class function for directive_stackOp.
void log_WARNING_HI_WrongCRC(U32 expected, U32 actual) const
Log event WrongCRC.
The size of the serial representation.
void directive_pushTlmVal_internalInterfaceInvoke(const Svc::FpySequencer_PushTlmValDirective &directive)
Internal interface base-class function for directive_pushTlmVal.
Status
status returned from the queue send function
virtual void CLEAR_BREAKPOINT_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
virtual void parameterUpdated(FwPrmIdType id)
Called whenever a parameter is updated.
called when statement successfully executed. only raised in the RUNNING.AWAITING_CMD_RESPONSE state ...
called on VALIDATE cmd with the path of the sequence file to validate. only raised in IDLE state ...
The size of the serial representation.
virtual void directive_stackCmd_internalInterfaceHandler(const Svc::FpySequencer_StackCmdDirective &directive)=0
Internal interface handler for directive_stackCmd.
called on RUN cmd with the path of the sequence file to run. only raised in IDLE state ...
The size of the serial representation.
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
The size of the serial representation.
returns from a function call
virtual void tlmWrite_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port tlmWrite.
virtual void CLEAR_BREAKPOINT_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CLEAR_BREAKPOINT.
The size of the serial representation.
static constexpr FwIndexType getNum_cmdIn_InputPorts()
void tlmWrite_Debug_ReachedEndOfFile(bool arg, Fw::Time _tlmTime=Fw::Time())
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)
StringTemplate< FW_FIXED_LENGTH_STRING_SIZE > String
generic failure of an action
void set_seqDoneOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to seqDoneOut[portNum].
FwIdType FwPrmIdType
The type of a parameter identifier.
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
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 VALIDATE_ARGS_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName, Svc::SeqArgs buffer)=0
Channel ID for Debug_NextStatementOpcode.
virtual void CANCEL_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
Fw::ParamValid getParam_out(FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer &val) const
Invoke output port getParam.
void invoke(U32 key) const
Invoke a port connection.
raised when we should keep sleeping
void STEP_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
static constexpr FwIndexType getNum_pingIn_InputPorts()
called in SET_BREAKPOINT cmd. raised in any state
The size of the serial representation.
The size of the serial representation.
bool isConnected_prmGet_OutputPort(FwIndexType portNum) const
void addCallPort(InputTlmGetPort *callPort)
Register an input port.
pop an opcode and arg buf off the stack, send to cmd dispatcher and await response ...
virtual const CHAR * toChar() const =0
Convert to a C-style char*.
void log_WARNING_HI_SequenceFilePathTooLong(const Fw::StringBase &baseDir, const Fw::StringBase &fileName) const
Log event SequenceFilePathTooLong.
void sequencer_sendSignal_result_checkShouldWake_wakeup()
Send signal result_checkShouldWake_wakeup to state machine sequencer.
virtual void directive_goto_internalInterfaceHandler(const Svc::FpySequencer_GotoDirective &directive)=0
Internal interface handler for directive_goto.
void directive_if_internalInterfaceInvoke(const Svc::FpySequencer_IfDirective &directive)
Internal interface base-class function for directive_if.
bool isConnected_prmSet_OutputPort(FwIndexType portNum) const
virtual void RUN_ARGS_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command RUN_ARGS.
virtual void directive_storeRel_internalInterfaceHandler(const Svc::FpySequencer_StoreRelDirective &directive)=0
Internal interface handler for directive_storeRel.
The size of the serial representation.
void sequencer_sendSignal_result_success()
Send signal result_success to state machine sequencer.
Channel ID for SequencesFailed.
The size of the serial representation.
void cmdResponseIn_handlerBase(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
Handler base-class function for input port cmdResponseIn.
SmId
State machine identifiers.
void sequencer_sendSignal_stmtResponse_success()
Send signal stmtResponse_success to state machine sequencer.
virtual void VALIDATE_ARGS_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command VALIDATE_ARGS.
virtual ~FpySequencerComponentBase()
Destroy FpySequencerComponentBase object.
void log_WARNING_LO_CmdResponseWhileNotRunningSequence(I32 state, FwOpcodeType opcode, Fw::CmdResponse response) const
Log event CmdResponseWhileNotRunningSequence.
Channel ID for SequencesCancelled.
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.
Loads and validates a sequence with arguments.
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.
Channel ID for BreakBeforeNextLine.
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.
Channel ID for Debug_NextStatementIndex.
No time base has been established (Required)
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
virtual void DUMP_STACK_TO_FILE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName)=0
The size of the serial representation.
void tlmWrite_State(FwEnumStoreType arg, Fw::Time _tlmTime=Fw::Time())
void log_WARNING_HI_FileApiError(const Fw::StringBase &filePath, I32 errorCode) const
Log event FileApiError.
void addCallPort(InputCmdRegPort *callPort)
Register an input port.
Channel ID for BreakpointInUse.
void tlmWrite_SequencesSucceeded(U64 arg, Fw::Time _tlmTime=Fw::Time())
void log_WARNING_HI_ExtraBytesInSequence(FwSizeType remaining) const
Log event ExtraBytesInSequence.
virtual SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG)=0
Serialize an 8-bit unsigned integer value.
void directive_allocate_internalInterfaceInvoke(const Svc::FpySequencer_AllocateDirective &directive)
Internal interface base-class function for directive_allocate.
pops bytes off the top of the stack and does nothing with them
void directive_storeRelConstOffset_internalInterfaceInvoke(const Svc::FpySequencer_StoreRelConstOffsetDirective &directive)
Internal interface base-class function for directive_storeRelConstOffset.
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
virtual void seqRunIn_preMsgHook(FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args)
Pre-message hook for async input port seqRunIn.
void log_DIAGNOSTIC_LogDiagnostic(const Fw::StringBase &filePath, const Fw::StringBase &message) const
Log event LogDiagnostic.
void log_COMMAND_LogCommand(const Fw::StringBase &filePath, const Fw::StringBase &message) const
Log event LogCommand.
virtual void directive_waitAbs_internalInterfaceHandler(const Svc::FpySequencer_WaitAbsDirective &directive)=0
Internal interface handler for directive_waitAbs.
void init()
Initialization function.
virtual void RUN_VALIDATED_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, Svc::BlockState block)=0
virtual void pingIn_preMsgHook(FwIndexType portNum, U32 key)
Pre-message hook for async input port pingIn.
virtual void STEP_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
Os::Queue m_queue
queue object for active component
void directive_pushTlmValAndTime_internalInterfaceInvoke(const Svc::FpySequencer_PushTlmValAndTimeDirective &directive)
Internal interface base-class function for directive_pushTlmValAndTime.
void directive_stackCmd_internalInterfaceInvoke(const Svc::FpySequencer_StackCmdDirective &directive)
Internal interface base-class function for directive_stackCmd.
void cmdIn_handlerBase(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Handler base-class function for input port cmdIn.
void log_WARNING_HI_TooManySequenceDirectives(U16 count, U16 max) const
Log event TooManySequenceDirectives.
void sequencer_sendSignal_stmtResponse_unexpected()
Send signal stmtResponse_unexpected to state machine sequencer.
void sequencer_sendSignal_cmd_BREAK()
Send signal cmd_BREAK to state machine sequencer.
The size of the serial representation.
Software diagnostic events.
void sequencer_sendSignal_result_dispatchStatement_failure()
Send signal result_dispatchStatement_failure to state machine sequencer.
void log_WARNING_HI_DirectiveDeserializeError(U8 opcode, U32 stmtIdx, I32 errorCode, U64 buffLeft, U64 buffLength) const
Log event DirectiveDeserializeError.
virtual void pingIn_handler(FwIndexType portNum, U32 key)=0
Handler for input port pingIn.
The size of the serial representation.
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)
Channel ID for PRM_SEQ_BASE_DIR.
void tlmWrite_PRM_STATEMENT_TIMEOUT_SECS(F32 arg, Fw::Time _tlmTime=Fw::Time())
Loads, validates and runs a sequence.
void init()
Object initializer.
void set_pingOut_OutputPort(FwIndexType portNum, Svc::InputPingPort *port)
Connect port to pingOut[portNum].
static constexpr FwIndexType getNum_tlmOut_OutputPorts()
void log_ACTIVITY_LO_LogActivityLo(const Fw::StringBase &filePath, const Fw::StringBase &message) const
Log event LogActivityLo.
virtual void directive_allocate_internalInterfaceHandler(const Svc::FpySequencer_AllocateDirective &directive)=0
Internal interface handler for directive_allocate.
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
Channel ID for DirectiveErrorIndex.
virtual void checkTimers_handler(FwIndexType portNum, U32 context)=0
Handler for input port checkTimers.
virtual SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG)=0
Deserialize an 8-bit unsigned integer value.
Message will block until space is available.
void unlock()
alias for unLock to meet BasicLockable requirements
static constexpr FwIndexType getNum_getParam_OutputPorts()
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts()
void log_WARNING_HI_WrongCmdResponseOpcode(FwOpcodeType opcode, Fw::CmdResponse response, FwOpcodeType expectedOpcode) const
Log event WrongCmdResponseOpcode.
executes a cmd with const args
Channel ID for Debug_NextCmdOpcode.
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...
message to exit active component task
Channel ID for Debug_StackSize.
void seqCancelIn_handlerBase(FwIndexType portNum)
Handler base-class function for input port seqCancelIn.
void log_ACTIVITY_HI_LogActivityHi(const Fw::StringBase &filePath, const Fw::StringBase &message) const
Log event LogActivityHi.
void regCommands()
Register commands with the Command Dispatcher.
void invoke(FwOpcodeType opCode) const
Invoke a port connection.
void directive_loadAbs_internalInterfaceInvoke(const Svc::FpySequencer_LoadAbsDirective &directive)
Internal interface base-class function for directive_loadAbs.
static constexpr FwSizeType CAPACITY
called in dispatchStatement method when a statement was successfully dispatched
F32 paramGet_STATEMENT_TIMEOUT_SECS(Fw::ParamValid &valid)
Svc::InputCmdSeqCancelPort * get_seqCancelIn_InputPort(FwIndexType portNum)
The size of the serial representation.
Fw::TlmValid invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects) ...
pop two byte arrays off the top of the stack, call memcmp, push 1 if they were equal, 0 otherwise
void init()
Initialization function.
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
Data was the wrong format (e.g. wrong packet type)
The size of the serial representation.
void directive_memCmp_internalInterfaceInvoke(const Svc::FpySequencer_MemCmpDirective &directive)
Internal interface base-class function for directive_memCmp.
Less important informational events.
pops a severity and message from the stack and emits an F Prime event
Os::Queue::Status createQueue(FwSizeType depth, FwSizeType msgSize)
void directive_pushTime_internalInterfaceInvoke(const Svc::FpySequencer_PushTimeDirective &directive)
Internal interface base-class function for directive_pushTime.
void tlmWrite_DirectiveErrorId(const Svc::Fpy::DirectiveId &arg, Fw::Time _tlmTime=Fw::Time())
static constexpr FwIndexType getNum_cmdResponseIn_InputPorts()
Channel ID for BreakOnlyOnceOnBreakpoint.
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
Channel ID for BreakpointIndex.
void tlmWrite_Debug_NextCmdOpcode(FwOpcodeType arg, Fw::Time _tlmTime=Fw::Time())
void tlmWrite_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port tlmWrite.
void RUN_ARGS_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Base-class handler function for command RUN_ARGS.
An activity related to commanding.
#define FW_MIN(a, b)
MIN macro (deprecated in C++, use std::min)
A less serious but recoverable event.
Fw::ParamValid invoke(FwPrmIdType id, Fw::ParamBuffer &val) const
virtual void directive_setSeed_internalInterfaceHandler(const Svc::FpySequencer_SetSeedDirective &directive)=0
Internal interface handler for directive_setSeed.
ActiveComponentBase(const char *name)
Constructor.
virtual void directive_constCmd_internalInterfaceHandler(const Svc::FpySequencer_ConstCmdDirective &directive)=0
Internal interface handler for directive_constCmd.
void init()
Initialization function.
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) const
generic success of an action
void tlmWrite_PRM_SEQ_BASE_DIR(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
void invoke(Fw::Time &time) const
Invoke a port connection.
void pingIn_handlerBase(FwIndexType portNum, U32 key)
Handler base-class function for input port pingIn.
stores a value to an absolute address in the stack (for global variables), const offset ...
Channel ID for StatementsFailed.
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
Serializable::SizeType getDeserializeSizeLeft() const override
Get remaining deserialization buffer size.
virtual void directive_pushVal_internalInterfaceHandler(const Svc::FpySequencer_PushValDirective &directive)=0
Internal interface handler for directive_pushVal.
void invoke(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke a port connection.
void sequencer_sendSignal_cmd_RUN_VALIDATED(const Svc::FpySequencer_SequenceExecutionArgs &value)
Send signal cmd_RUN_VALIDATED to state machine sequencer.
virtual void BREAK_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
The size of the serial representation.
Svc_FpySequencer_SequencerStateMachine(FpySequencerComponentBase &component)
Constructor.
Channel ID for PRM_STATEMENT_TIMEOUT_SECS.
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.
Status send(const U8 *buffer, FwSizeType size, FwQueuePriorityType priority, BlockingType blockType) override
send a message into the queue through delegate
The size of the serial representation.
Sequencer blocking state.
FpySequencerComponentBase(const char *compName="")
Construct FpySequencerComponentBase object.
Writes the contents of the stack to a file. This command is only valid in the RUNNING.PAUSED state.
virtual void directive_call_internalInterfaceHandler(const Svc::FpySequencer_CallDirective &directive)=0
Internal interface handler for directive_call.
The size of the serial representation.
virtual void CONTINUE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
void sequencer_sendSignal_checkTimersIn()
Send signal checkTimersIn to state machine sequencer.
void tlmWrite_StatementsDispatched(U64 arg, Fw::Time _tlmTime=Fw::Time())
void tlmWrite_LastDirectiveError(const Svc::Fpy::DirectiveErrorCode &arg, Fw::Time _tlmTime=Fw::Time())
void VALIDATE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
virtual void directive_discard_internalInterfaceHandler(const Svc::FpySequencer_DiscardDirective &directive)=0
Internal interface handler for directive_discard.
void resetDeser() override
Reset deserialization pointer to beginning of buffer.
void VALIDATE_ARGS_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
static constexpr FwIndexType getNum_prmSet_OutputPorts()
Opcode to save parameter SEQ_BASE_DIR.
The size of the serial representation.
void log_WARNING_HI_LogWarningHi(const Fw::StringBase &filePath, const Fw::StringBase &message) const
Log event LogWarningHi.
Channel ID for StatementsDispatched.
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.
Opcode to set parameter SEQ_BASE_DIR.
void set_cmdRegOut_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to cmdRegOut[portNum].
The size of the serial representation.
void tlmWrite_Debug_NextStatementIndex(U32 arg, Fw::Time _tlmTime=Fw::Time())
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.
void invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke a port connection.
const char * toChar() const
Convert to a C-style char*.
void log_WARNING_HI_CommandTimedOut(FwOpcodeType opCode, U32 stmtIdx, const Fw::StringBase &filePath) const
Log event CommandTimedOut.
void sequencer_sendSignal_result_checkStatementTimeout_noTimeout()
Send signal result_checkStatementTimeout_noTimeout to state machine sequencer.
Enum representing event severity.
static constexpr FwIndexType getNum_seqRunIn_InputPorts()
virtual void tlmWrite_handler(FwIndexType portNum, U32 context)=0
Handler for input port tlmWrite.
Svc::InputCmdSeqInPort * get_seqRunIn_InputPort(FwIndexType portNum)
virtual void directive_memCmp_internalInterfaceHandler(const Svc::FpySequencer_MemCmpDirective &directive)=0
Internal interface handler for directive_memCmp.
void loadParameters()
Load the parameters from a parameter source.
void log_WARNING_HI_InvalidSeqRunCall(I32 state) const
Log event InvalidSeqRunCall.
virtual void directive_if_internalInterfaceHandler(const Svc::FpySequencer_IfDirective &directive)=0
Internal interface handler for directive_if.
void directive_getField_internalInterfaceInvoke(const Svc::FpySequencer_GetFieldDirective &directive)
Internal interface base-class function for directive_getField.
static constexpr FwIndexType getNum_cmdOut_OutputPorts()
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
void init()
Initialization function.
Command successfully executed.
The size of the serial representation.
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
virtual void RUN_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName, Svc::BlockState block)=0
void seqDoneOut_out(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke output port seqDoneOut.
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.
static constexpr FwSizeType CAPACITY
void log_ACTIVITY_HI_BreakpointSet(U32 breakpointIdx, bool breakOnce) const
Log event BreakpointSet.
void directive_pushPrm_internalInterfaceInvoke(const Svc::FpySequencer_PushPrmDirective &directive)
Internal interface base-class function for directive_pushPrm.
void sequencer_sendSignal_result_timeOpFailed()
Send signal result_timeOpFailed to state machine sequencer.
Opcode to set parameter STATEMENT_TIMEOUT_SECS.
void BREAK_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void log_WARNING_HI_FileOpenError(const Fw::StringBase &filePath, I32 errorCode) const
Log event FileOpenError.
void init(FpySequencerComponentBase::SmId smId)
Initialize the state machine.
void set_prmSet_OutputPort(FwIndexType portNum, Fw::InputPrmSetPort *port)
Connect port to prmSet[portNum].
generic stack operation handler
Command failed to deserialize.
PlatformQueuePriorityType FwQueuePriorityType
The type of queue priorities used.
Command had execution error.
Important informational events.
The size of the serial representation.
void sequencer_sendSignal_cmd_CANCEL()
Send signal cmd_CANCEL to state machine sequencer.
The size of the serial representation.
void sequencer_sendSignal_result_checkStatementTimeout_statementTimeout()
Send signal result_checkStatementTimeout_statementTimeout to state machine sequencer.
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts()
virtual void RUN_ARGS_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName, Svc::BlockState block, Svc::SeqArgs buffer)=0
Handler for command RUN_ARGS.
void sequencer_sendSignal_stmtResponse_keepWaiting()
Send signal stmtResponse_keepWaiting to state machine sequencer.
void invoke(FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args) const
Invoke a port connection.
bool isConnected_tlmOut_OutputPort(FwIndexType portNum) const
void log_WARNING_HI_InvalidCommand(I32 state) const
Log event InvalidCommand.
void tlmWrite_BreakBeforeNextLine(bool arg, Fw::Time _tlmTime=Fw::Time())
virtual void directive_storeAbs_internalInterfaceHandler(const Svc::FpySequencer_StoreAbsDirective &directive)=0
Internal interface handler for directive_storeAbs.
bool isConnected_logOut_OutputPort(FwIndexType portNum) const
sleeps until an absolute time
void log_ACTIVITY_HI_SequenceCancelled(const Fw::StringBase &filePath) const
Log event SequenceCancelled.
virtual void RUN_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command RUN.
void log_ACTIVITY_HI_BreakpointCleared() const
Log event BreakpointCleared.
void log_WARNING_HI_ArgTotalSizeExceedsStackLimit(Svc::Fpy::StackSizeType argSize) const
Log event ArgTotalSizeExceedsStackLimit.
static constexpr FwIndexType getNum_getTlmChan_OutputPorts()
void init()
Initialization function.
void directive_pushRand_internalInterfaceInvoke(const Svc::FpySequencer_PushRandDirective &directive)
Internal interface base-class function for directive_pushRand.
virtual void directive_getField_internalInterfaceHandler(const Svc::FpySequencer_GetFieldDirective &directive)=0
Internal interface handler for directive_getField.
virtual void directive_loadRel_internalInterfaceHandler(const Svc::FpySequencer_LoadRelDirective &directive)=0
Internal interface handler for directive_loadRel.
The size of the serial representation.
Fw::ParamString paramGet_SEQ_BASE_DIR(Fw::ParamValid &valid)
A message was sent requesting an exit of the loop.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum) const
called when the statement unsuccessfully executed. only raised in the RUNNING.AWAITING_CMD_RESPONSE s...
called in CONTINUE cmd. only raised in RUNNING.PAUSED state
FpySequencer_SequencerStateMachineStateMachineBase::State getState() const
Get the state.
void tlmWrite_SequencesFailed(U64 arg, Fw::Time _tlmTime=Fw::Time())
void log_WARNING_HI_FileReadDeserializeError(Svc::FpySequencer_FileReadStage readStage, const Fw::StringBase &filePath, I32 errorCode, U64 buffLeft, U64 buffLength) const
Log event FileReadDeserializeError.
void directive_setSeed_internalInterfaceInvoke(const Svc::FpySequencer_SetSeedDirective &directive)
Internal interface base-class function for directive_setSeed.
loads a value from an absolute address in the stack (for global variables)
virtual void directive_pushRand_internalInterfaceHandler(const Svc::FpySequencer_PushRandDirective &directive)=0
Internal interface handler for directive_pushRand.
Opcode to save parameter STATEMENT_TIMEOUT_SECS.
void tlmWrite_SeqPath(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
virtual void SET_BREAKPOINT_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command SET_BREAKPOINT.
PlatformIndexType FwIndexType
void directive_constCmd_internalInterfaceInvoke(const Svc::FpySequencer_ConstCmdDirective &directive)
Internal interface base-class function for directive_constCmd.
raised when the statement has not timed out yet
virtual void VALIDATE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command VALIDATE.
static constexpr FwIndexType getNum_checkTimers_InputPorts()
pops a U32 from the stack and uses it to seed the RNG used by PushRandDirective
bool isConnected_pingOut_OutputPort(FwIndexType portNum) const
A fatal non-recoverable event.
void log_WARNING_HI_MismatchedTimeContext(I32 internalTimeContext, I32 otherTimeContext) const
Log event MismatchedTimeContext.
void directive_return_internalInterfaceInvoke(const Svc::FpySequencer_ReturnDirective &directive)
Internal interface base-class function for directive_return.
bool isConnected_cmdOut_OutputPort(FwIndexType portNum) const
Svc::InputSchedPort * get_tlmWrite_InputPort(FwIndexType portNum)
void seqRunIn_handlerBase(FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args)
Handler base-class function for input port seqRunIn.
void log_WARNING_HI_WrongSchemaVersion(U8 expected, U8 actual) const
Log event WrongSchemaVersion.
void addCallPort(InputLogPort *callPort)
Register an input port.
void addCallPort(InputCmdSeqInPort *callPort)
Register an input port.
void sequencer_sendSignal_cmd_CLEAR_BREAKPOINT()
Send signal cmd_CLEAR_BREAKPOINT to state machine sequencer.
void log_WARNING_LO_LogWarningLo(const Fw::StringBase &filePath, const Fw::StringBase &message) const
Log event LogWarningLo.
Loads and validates a sequence.
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.
void log_WARNING_HI_InvalidSeqCancelCall(I32 state) const
Log event InvalidSeqCancelCall.
The size of the serial representation.
pushes a const byte array onto stack
stores a value to a local variable at a runtime-determined offset relative to the current stack frame...
virtual void directive_return_internalInterfaceHandler(const Svc::FpySequencer_ReturnDirective &directive)=0
Internal interface handler for directive_return.
called in CLEAR_BREAKPOINT cmd. raised in any state
virtual void BREAK_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command BREAK.
void tlmWrite_DirectiveErrorIndex(U64 arg, Fw::Time _tlmTime=Fw::Time())
Command failed validation.
RateGroupDivider component implementation.
void log_WARNING_HI_CmdResponseWhileNotAwaiting(FwOpcodeType opcode, Fw::CmdResponse response) const
Log event CmdResponseWhileNotAwaiting.
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.
raised when we are done sleeping
Enum representing parameter validity.
virtual void directive_popEvent_internalInterfaceHandler(const Svc::FpySequencer_PopEventDirective &directive)=0
Internal interface handler for directive_popEvent.
void log_FATAL_LogFatal(const Fw::StringBase &filePath, const Fw::StringBase &message) const
Log event LogFatal.
Must be called after VALIDATE. Runs the sequence that was validated.
void log_WARNING_HI_TooManySequenceArgs(U8 count, U8 max) const
Log event TooManySequenceArgs.
void sequencer_sendSignal_cmd_CONTINUE()
Send signal cmd_CONTINUE to state machine sequencer.
void directive_storeAbs_internalInterfaceInvoke(const Svc::FpySequencer_StoreAbsDirective &directive)
Internal interface base-class function for directive_storeAbs.
void DUMP_STACK_TO_FILE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void log_WARNING_HI_MismatchedTimeBase(I32 internalTimeBase, I32 otherTimeBase) const
Log event MismatchedTimeBase.
pushes a prm buf to the stack
void invoke(FwPrmIdType id, Fw::ParamBuffer &val) const
Invoke a port connection.
void sequencer_sendSignal_result_failure()
Send signal result_failure to state machine sequencer.
bool isConnected_seqStartOut_OutputPort(FwIndexType portNum) const
virtual void CONTINUE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CONTINUE.
void log_WARNING_HI_ArgSizeMismatch(Svc::Fpy::StackSizeType expected, FwSizeType actual, const Fw::StringBase &filePath) const
Log event ArgSizeMismatch.
called on CANCEL cmd. raised in all states except IDLE
virtual void checkTimers_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port checkTimers.
void addCallPort(InputComPort *callPort)
Register an input port.
void seqStartOut_out(FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args) const
Invoke output port seqStartOut.
void sequencer_sendSignal_entered()
Send signal entered to state machine sequencer.
void directive_call_internalInterfaceInvoke(const Svc::FpySequencer_CallDirective &directive)
Internal interface base-class function for directive_call.
void directive_exit_internalInterfaceInvoke(const Svc::FpySequencer_ExitDirective &directive)
Internal interface base-class function for directive_exit.
raised when the statement times out, according to the timeout parameter
void directive_storeAbsConstOffset_internalInterfaceInvoke(const Svc::FpySequencer_StoreAbsConstOffsetDirective &directive)
Internal interface base-class function for directive_storeAbsConstOffset.
FpySequencerComponentBase::SmId getId() const
Get the state machine id.
pushes the current Fw.Time struct to the stack
void log_ACTIVITY_HI_SequenceDone(const Fw::StringBase &filePath) const
Log event SequenceDone.
LinearBufferTemplate< FW_SM_SIGNAL_BUFFER_MAX_SIZE > SmSignalBuffer
void directive_goto_internalInterfaceInvoke(const Svc::FpySequencer_GotoDirective &directive)
Internal interface base-class function for directive_goto.
static constexpr FwIndexType getNum_seqDoneOut_OutputPorts()
Channel ID for SequencesSucceeded.
void directive_waitRel_internalInterfaceInvoke(const Svc::FpySequencer_WaitRelDirective &directive)
Internal interface base-class function for directive_waitRel.
virtual void directive_pushTlmValAndTime_internalInterfaceHandler(const Svc::FpySequencer_PushTlmValAndTimeDirective &directive)=0
Internal interface handler for directive_pushTlmValAndTime.
void directive_storeRel_internalInterfaceInvoke(const Svc::FpySequencer_StoreRelDirective &directive)
Internal interface base-class function for directive_storeRel.
Message will return with status when space is unavailable.
virtual void directive_pushTlmVal_internalInterfaceHandler(const Svc::FpySequencer_PushTlmValDirective &directive)=0
Internal interface handler for directive_pushTlmVal.
Implementation of malloc based allocator.
void SET_BREAKPOINT_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void directive_loadRel_internalInterfaceInvoke(const Svc::FpySequencer_LoadRelDirective &directive)
Internal interface base-class function for directive_loadRel.
Auto-generated base for FpySequencer component.
static constexpr FwIndexType getNum_logOut_OutputPorts()
void sequencer_sendSignal_cmd_RUN(const Svc::FpySequencer_SequenceExecutionArgs &value)
Send signal cmd_RUN to state machine sequencer.
pushes some empty bytes to the stack
void log_WARNING_HI_FileWriteError(FwSizeType writeSize, const Fw::StringBase &filePath, I32 errorCode) const
Log event FileWriteError.
virtual void directive_storeAbsConstOffset_internalInterfaceHandler(const Svc::FpySequencer_StoreAbsConstOffsetDirective &directive)=0
Internal interface handler for directive_storeAbsConstOffset.
static constexpr SizeType BUFFER_SIZE(SizeType maxLength)
Get the size of a null-terminated string buffer.
void init()
Initialization function.
void checkTimers_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port checkTimers.
void init()
Initialization function.
Channel ID for Debug_ReachedEndOfFile.
static constexpr FwIndexType getNum_prmGet_OutputPorts()
The size of the serial representation.
static constexpr FwIndexType getNum_seqCancelIn_InputPorts()
virtual void CANCEL_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CANCEL.
Channel ID for DirectiveErrorId.
void tlmWrite_BreakOnlyOnceOnBreakpoint(bool arg, Fw::Time _tlmTime=Fw::Time())
virtual SerializeStatus moveDeserToOffset(FwSizeType offset)=0
Move deserialization pointer to specified offset.
called when the statement is telling the sequencer to await a later stmt response ...
void log_WARNING_HI_WrongCmdResponseIndex(FwOpcodeType opcode, Fw::CmdResponse response, U16 actualCmdIdx, U16 expectedCmdIdx) const
Log event WrongCmdResponseIndex.
FpySequencer_SequencerStateMachineStateMachineBase::Signal Signal
Fw::TlmValid getTlmChan_out(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke output port getTlmChan.
void tlmWrite_SequencesCancelled(U64 arg, Fw::Time _tlmTime=Fw::Time())
virtual void directive_loadAbs_internalInterfaceHandler(const Svc::FpySequencer_LoadAbsDirective &directive)=0
Internal interface handler for directive_loadAbs.
void tlmWrite_BreakpointInUse(bool arg, Fw::Time _tlmTime=Fw::Time())
a statement is telling the sequencer to go to sleep
pushes a tlm buf to the stack
static constexpr FwSizeType CAPACITY
bool isConnected_seqDoneOut_OutputPort(FwIndexType portNum) const
void set_prmGet_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to prmGet[portNum].
void set_getParam_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to getParam[portNum].
void CLEAR_BREAKPOINT_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
PlatformAssertArgType FwAssertArgType
The type of arguments to assert functions.
U32 StackSizeType
the type which everything referencing a size or offset on the stack is represented in ...
void addCallPort(InputCmdResponsePort *callPort)
Register an input port.
The size of the serial representation.
void lock()
lock the mutex and assert success
void tlmWrite(FwChanIdType id, Fw::TlmBuffer &_tlmBuff, Fw::Time _tlmTime=Fw::Time()) const
void tlmWrite_BreakpointIndex(U32 arg, Fw::Time _tlmTime=Fw::Time())
The size of the serial representation.
SerializeStatus serializeTo(SerialBufferBase &buffer, Endianness mode=Endianness::BIG) const override
Serialize the contents of this object to a buffer.
void tlmWrite_Debug_NextStatementReadSuccess(bool arg, Fw::Time _tlmTime=Fw::Time())