9 #if FW_ENABLE_TEXT_LOGGING 19 namespace SmSignalBuffer {
22 union SignalTypeUnion {
30 sizeof(SignalTypeUnion);
37 CMDRESPONSEIN_CMDRESPONSE,
45 CMD_DEBUG_SET_BREAKPOINT,
48 CMD_DEBUG_CLEAR_BREAKPOINT,
49 INT_IF_DIRECTIVE_BINARYREGOP,
51 INT_IF_DIRECTIVE_DESERSERREG,
52 INT_IF_DIRECTIVE_EXIT,
53 INT_IF_DIRECTIVE_GETPRM,
54 INT_IF_DIRECTIVE_GETTLM,
55 INT_IF_DIRECTIVE_GOTO,
57 INT_IF_DIRECTIVE_NOOP,
58 INT_IF_DIRECTIVE_SETREG,
59 INT_IF_DIRECTIVE_SETSERREG,
60 INT_IF_DIRECTIVE_UNARYREGOP,
61 INT_IF_DIRECTIVE_WAITABS,
62 INT_IF_DIRECTIVE_WAITREL,
63 INTERNAL_STATE_MACHINE_SIGNAL,
76 BYTE directive_binaryRegOpIntIfSize[
80 BYTE directive_cmdIntIfSize[
84 BYTE directive_deserSerRegIntIfSize[
88 BYTE directive_exitIntIfSize[
92 BYTE directive_getPrmIntIfSize[
96 BYTE directive_getTlmIntIfSize[
100 BYTE directive_gotoIntIfSize[
104 BYTE directive_ifIntIfSize[
108 BYTE directive_noOpIntIfSize[
112 BYTE directive_setRegIntIfSize[
116 BYTE directive_setSerRegIntIfSize[
120 BYTE directive_unaryRegOpIntIfSize[
124 BYTE directive_waitAbsIntIfSize[
128 BYTE directive_waitRelIntIfSize[
134 BYTE internalSmBufferSize[SmSignalBuffer::SERIALIZED_SIZE];
139 class ComponentIpcSerializableBuffer :
149 MAX_DATA_SIZE =
sizeof(BuffUnion),
151 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
155 return sizeof(m_buff);
162 const U8* getBuffAddr()
const {
168 U8 m_buff[SERIALIZATION_SIZE];
179 m_component(component)
187 this->initBase(static_cast<FwEnumStoreType>(smId));
196 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
197 action_signalEntered(
Signal signal)
199 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_signalEntered(this->getId(), signal);
202 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
203 action_setSequenceFilePath(
208 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setSequenceFilePath(this->getId(), signal, value);
211 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
212 action_setSequenceBlockState(
217 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setSequenceBlockState(this->getId(), signal, value);
220 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
221 action_validate(
Signal signal)
223 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_validate(this->getId(), signal);
226 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
227 action_report_seqSucceeded(
Signal signal)
229 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqSucceeded(this->getId(), signal);
232 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
233 action_report_seqCancelled(
Signal signal)
235 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqCancelled(this->getId(), signal);
238 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
239 action_report_seqFailed(
Signal signal)
241 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqFailed(this->getId(), signal);
244 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
245 action_report_seqStarted(
Signal signal)
247 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqStarted(this->getId(), signal);
250 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
251 action_setGoalState_RUNNING(
Signal signal)
253 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_RUNNING(this->getId(), signal);
256 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
257 action_setGoalState_VALID(
Signal signal)
259 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_VALID(this->getId(), signal);
262 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
263 action_setGoalState_IDLE(
Signal signal)
265 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_IDLE(this->getId(), signal);
268 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
269 action_sendCmdResponse_OK(
Signal signal)
271 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_sendCmdResponse_OK(this->getId(), signal);
274 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
275 action_sendCmdResponse_EXECUTION_ERROR(
Signal signal)
277 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_sendCmdResponse_EXECUTION_ERROR(this->getId(), signal);
280 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
281 action_clearSequenceFile(
Signal signal)
283 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearSequenceFile(this->getId(), signal);
286 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
287 action_clearDebugBreakpoint(
Signal signal)
289 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearDebugBreakpoint(this->getId(), signal);
292 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
293 action_checkShouldWake(
Signal signal)
295 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_checkShouldWake(this->getId(), signal);
298 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
299 action_dispatchStatement(
Signal signal)
301 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_dispatchStatement(this->getId(), signal);
304 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
305 action_resetRuntime(
Signal signal)
307 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_resetRuntime(this->getId(), signal);
310 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
311 action_checkStatementTimeout(
Signal signal)
313 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_checkStatementTimeout(this->getId(), signal);
316 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
317 action_incrementSequenceCounter(
Signal signal)
319 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_incrementSequenceCounter(this->getId(), signal);
322 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
323 action_report_debugBroken(
Signal signal)
325 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_debugBroken(this->getId(), signal);
328 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
329 action_setDebugBreakpoint(
334 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setDebugBreakpoint(this->getId(), signal, value);
337 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
338 guard_goalStateIs_RUNNING(
Signal signal)
const 340 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_goalStateIs_RUNNING(this->getId(), signal);
343 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
344 guard_shouldDebugBreak(
Signal signal)
const 346 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_shouldDebugBreak(this->getId(), signal);
349 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
350 guard_debugBreakOnce(
Signal signal)
const 352 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_debugBreakOnce(this->getId(), signal);
377 this->m_cmdIn_InputPort[port].
init();
382 this->m_cmdIn_InputPort[port].
setPortNum(port);
384 #if FW_OBJECT_NAMES == 1 388 this->m_objName.toChar(),
391 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
401 this->m_checkTimers_InputPort[port].
init();
406 this->m_checkTimers_InputPort[port].
setPortNum(port);
408 #if FW_OBJECT_NAMES == 1 412 this->m_objName.toChar(),
415 this->m_checkTimers_InputPort[port].setObjName(portName.
toChar());
425 this->m_cmdResponseIn_InputPort[port].
init();
430 this->m_cmdResponseIn_InputPort[port].
setPortNum(port);
432 #if FW_OBJECT_NAMES == 1 436 this->m_objName.toChar(),
439 this->m_cmdResponseIn_InputPort[port].setObjName(portName.
toChar());
449 this->m_pingIn_InputPort[port].
init();
454 this->m_pingIn_InputPort[port].
setPortNum(port);
456 #if FW_OBJECT_NAMES == 1 460 this->m_objName.toChar(),
463 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
473 this->m_seqRunIn_InputPort[port].
init();
478 this->m_seqRunIn_InputPort[port].
setPortNum(port);
480 #if FW_OBJECT_NAMES == 1 484 this->m_objName.toChar(),
487 this->m_seqRunIn_InputPort[port].setObjName(portName.
toChar());
497 this->m_tlmWrite_InputPort[port].
init();
502 this->m_tlmWrite_InputPort[port].
setPortNum(port);
504 #if FW_OBJECT_NAMES == 1 508 this->m_objName.toChar(),
511 this->m_tlmWrite_InputPort[port].setObjName(portName.
toChar());
521 this->m_cmdRegOut_OutputPort[port].
init();
523 #if FW_OBJECT_NAMES == 1 527 this->m_objName.toChar(),
530 this->m_cmdRegOut_OutputPort[port].setObjName(portName.
toChar());
540 this->m_cmdResponseOut_OutputPort[port].
init();
542 #if FW_OBJECT_NAMES == 1 546 this->m_objName.toChar(),
549 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
559 this->m_logOut_OutputPort[port].
init();
561 #if FW_OBJECT_NAMES == 1 565 this->m_objName.toChar(),
568 this->m_logOut_OutputPort[port].setObjName(portName.
toChar());
572 #if FW_ENABLE_TEXT_LOGGING == 1 576 port < static_cast<FwIndexType>(this->getNum_logTextOut_OutputPorts());
579 this->m_logTextOut_OutputPort[port].
init();
581 #if FW_OBJECT_NAMES == 1 585 this->m_objName.toChar(),
588 this->m_logTextOut_OutputPort[port].setObjName(portName.
toChar());
599 this->m_prmGet_OutputPort[port].
init();
601 #if FW_OBJECT_NAMES == 1 605 this->m_objName.toChar(),
608 this->m_prmGet_OutputPort[port].setObjName(portName.
toChar());
618 this->m_prmSet_OutputPort[port].
init();
620 #if FW_OBJECT_NAMES == 1 624 this->m_objName.toChar(),
627 this->m_prmSet_OutputPort[port].setObjName(portName.
toChar());
637 this->m_timeCaller_OutputPort[port].
init();
639 #if FW_OBJECT_NAMES == 1 643 this->m_objName.toChar(),
646 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
656 this->m_tlmOut_OutputPort[port].
init();
658 #if FW_OBJECT_NAMES == 1 662 this->m_objName.toChar(),
665 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
675 this->m_cmdOut_OutputPort[port].
init();
677 #if FW_OBJECT_NAMES == 1 681 this->m_objName.toChar(),
684 this->m_cmdOut_OutputPort[port].setObjName(portName.
toChar());
694 this->m_getParam_OutputPort[port].
init();
696 #if FW_OBJECT_NAMES == 1 700 this->m_objName.toChar(),
703 this->m_getParam_OutputPort[port].setObjName(portName.
toChar());
713 this->m_getTlmChan_OutputPort[port].
init();
715 #if FW_OBJECT_NAMES == 1 719 this->m_objName.toChar(),
722 this->m_getTlmChan_OutputPort[port].setObjName(portName.
toChar());
732 this->m_pingOut_OutputPort[port].
init();
734 #if FW_OBJECT_NAMES == 1 738 this->m_objName.toChar(),
741 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
751 this->m_seqDoneOut_OutputPort[port].
init();
753 #if FW_OBJECT_NAMES == 1 757 this->m_objName.toChar(),
760 this->m_seqDoneOut_OutputPort[port].setObjName(portName.
toChar());
770 this->m_seqStartOut_OutputPort[port].
init();
772 #if FW_OBJECT_NAMES == 1 776 this->m_objName.toChar(),
779 this->m_seqStartOut_OutputPort[port].setObjName(portName.
toChar());
786 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
790 static_cast<FwAssertArgType>(qStat)
803 static_cast<FwAssertArgType>(portNum)
806 return &this->m_cmdIn_InputPort[portNum];
818 static_cast<FwAssertArgType>(portNum)
821 return &this->m_checkTimers_InputPort[portNum];
829 static_cast<FwAssertArgType>(portNum)
832 return &this->m_cmdResponseIn_InputPort[portNum];
840 static_cast<FwAssertArgType>(portNum)
843 return &this->m_pingIn_InputPort[portNum];
851 static_cast<FwAssertArgType>(portNum)
854 return &this->m_seqRunIn_InputPort[portNum];
862 static_cast<FwAssertArgType>(portNum)
865 return &this->m_tlmWrite_InputPort[portNum];
880 static_cast<FwAssertArgType>(portNum)
883 this->m_cmdRegOut_OutputPort[portNum].
addCallPort(port);
894 static_cast<FwAssertArgType>(portNum)
897 this->m_cmdResponseOut_OutputPort[portNum].
addCallPort(port);
908 static_cast<FwAssertArgType>(portNum)
911 this->m_logOut_OutputPort[portNum].
addCallPort(port);
914 #if FW_ENABLE_TEXT_LOGGING == 1 916 void FpySequencerComponentBase ::
917 set_logTextOut_OutputPort(
923 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
924 static_cast<FwAssertArgType>(portNum)
927 this->m_logTextOut_OutputPort[portNum].addCallPort(port);
940 static_cast<FwAssertArgType>(portNum)
943 this->m_prmGet_OutputPort[portNum].
addCallPort(port);
954 static_cast<FwAssertArgType>(portNum)
957 this->m_prmSet_OutputPort[portNum].
addCallPort(port);
968 static_cast<FwAssertArgType>(portNum)
971 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
982 static_cast<FwAssertArgType>(portNum)
985 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
1000 static_cast<FwAssertArgType>(portNum)
1003 this->m_cmdOut_OutputPort[portNum].
addCallPort(port);
1014 static_cast<FwAssertArgType>(portNum)
1017 this->m_getParam_OutputPort[portNum].
addCallPort(port);
1028 static_cast<FwAssertArgType>(portNum)
1031 this->m_getTlmChan_OutputPort[portNum].
addCallPort(port);
1042 static_cast<FwAssertArgType>(portNum)
1045 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
1056 static_cast<FwAssertArgType>(portNum)
1059 this->m_seqDoneOut_OutputPort[portNum].
addCallPort(port);
1070 static_cast<FwAssertArgType>(portNum)
1073 this->m_seqStartOut_OutputPort[portNum].
addCallPort(port);
1076 #if FW_PORT_SERIALIZATION 1085 Fw::InputSerializePort* port
1090 static_cast<FwAssertArgType>(portNum)
1093 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
1099 Fw::InputSerializePort* port
1104 static_cast<FwAssertArgType>(portNum)
1107 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
1113 Fw::InputSerializePort* port
1118 static_cast<FwAssertArgType>(portNum)
1121 this->m_logOut_OutputPort[portNum].registerSerialPort(port);
1124 #if FW_ENABLE_TEXT_LOGGING == 1 1126 void FpySequencerComponentBase ::
1127 set_logTextOut_OutputPort(
1129 Fw::InputSerializePort* port
1133 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1134 static_cast<FwAssertArgType>(portNum)
1137 this->m_logTextOut_OutputPort[portNum].registerSerialPort(port);
1145 Fw::InputSerializePort* port
1150 static_cast<FwAssertArgType>(portNum)
1153 this->m_prmSet_OutputPort[portNum].registerSerialPort(port);
1159 Fw::InputSerializePort* port
1164 static_cast<FwAssertArgType>(portNum)
1167 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
1173 Fw::InputSerializePort* port
1178 static_cast<FwAssertArgType>(portNum)
1181 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
1186 #if FW_PORT_SERIALIZATION 1195 Fw::InputSerializePort* port
1200 static_cast<FwAssertArgType>(portNum)
1203 this->m_cmdOut_OutputPort[portNum].registerSerialPort(port);
1209 Fw::InputSerializePort* port
1214 static_cast<FwAssertArgType>(portNum)
1217 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
1223 Fw::InputSerializePort* port
1228 static_cast<FwAssertArgType>(portNum)
1231 this->m_seqDoneOut_OutputPort[portNum].registerSerialPort(port);
1237 Fw::InputSerializePort* port
1242 static_cast<FwAssertArgType>(portNum)
1245 this->m_seqStartOut_OutputPort[portNum].registerSerialPort(port);
1257 FW_ASSERT(this->m_cmdRegOut_OutputPort[0].isConnected());
1259 this->m_cmdRegOut_OutputPort[0].
invoke(
1263 this->m_cmdRegOut_OutputPort[0].
invoke(
1267 this->m_cmdRegOut_OutputPort[0].
invoke(
1271 this->m_cmdRegOut_OutputPort[0].
invoke(
1275 this->m_cmdRegOut_OutputPort[0].
invoke(
1279 this->m_cmdRegOut_OutputPort[0].
invoke(
1283 this->m_cmdRegOut_OutputPort[0].
invoke(
1287 this->m_cmdRegOut_OutputPort[0].
invoke(
1291 this->m_cmdRegOut_OutputPort[0].
invoke(
1295 this->m_cmdRegOut_OutputPort[0].
invoke(
1310 FW_ASSERT(this->m_prmGet_OutputPort[0].isConnected());
1317 this->m_param_STATEMENT_TIMEOUT_SECS_valid =
1318 this->m_prmGet_OutputPort[0].
invoke(
1324 this->m_paramLock.
lock();
1328 _stat = _buff.
deserializeTo(this->m_STATEMENT_TIMEOUT_SECS);
1332 this->m_STATEMENT_TIMEOUT_SECS = 0.0f;
1338 this->m_STATEMENT_TIMEOUT_SECS = 0.0f;
1341 this->m_paramLock.
unLock();
1354 m_stateMachine_sequencer(*this)
1357 this->m_first_update_State =
true;
1358 this->m_last_State = 0;
1361 this->m_first_update_SequencesSucceeded =
true;
1362 this->m_last_SequencesSucceeded = 0;
1365 this->m_first_update_SequencesFailed =
true;
1366 this->m_last_SequencesFailed = 0;
1369 this->m_first_update_SequencesCancelled =
true;
1370 this->m_last_SequencesCancelled = 0;
1373 this->m_first_update_StatementsDispatched =
true;
1374 this->m_last_StatementsDispatched = 0;
1377 this->m_first_update_StatementsFailed =
true;
1378 this->m_last_StatementsFailed = 0;
1381 this->m_first_update_LastDirectiveError =
true;
1384 this->m_first_update_SeqPath =
true;
1387 this->m_first_update_DebugBreakpointIdx =
true;
1388 this->m_last_DebugBreakpointIdx = 0;
1391 this->m_first_update_Debug =
true;
1394 this->m_first_update_PRM_STATEMENT_TIMEOUT_SECS =
true;
1395 this->m_last_PRM_STATEMENT_TIMEOUT_SECS = 0;
1472 #if FW_ENABLE_TEXT_LOGGING == 1 1475 getNum_logTextOut_OutputPorts()
const 1555 static_cast<FwAssertArgType>(portNum)
1558 return this->m_cmdRegOut_OutputPort[portNum].
isConnected();
1566 static_cast<FwAssertArgType>(portNum)
1569 return this->m_cmdResponseOut_OutputPort[portNum].
isConnected();
1577 static_cast<FwAssertArgType>(portNum)
1580 return this->m_logOut_OutputPort[portNum].
isConnected();
1583 #if FW_ENABLE_TEXT_LOGGING == 1 1585 bool FpySequencerComponentBase ::
1586 isConnected_logTextOut_OutputPort(
FwIndexType portNum)
1589 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1590 static_cast<FwAssertArgType>(portNum)
1593 return this->m_logTextOut_OutputPort[portNum].isConnected();
1603 static_cast<FwAssertArgType>(portNum)
1606 return this->m_prmGet_OutputPort[portNum].
isConnected();
1614 static_cast<FwAssertArgType>(portNum)
1617 return this->m_prmSet_OutputPort[portNum].
isConnected();
1625 static_cast<FwAssertArgType>(portNum)
1628 return this->m_timeCaller_OutputPort[portNum].
isConnected();
1636 static_cast<FwAssertArgType>(portNum)
1639 return this->m_tlmOut_OutputPort[portNum].
isConnected();
1651 static_cast<FwAssertArgType>(portNum)
1654 return this->m_cmdOut_OutputPort[portNum].
isConnected();
1662 static_cast<FwAssertArgType>(portNum)
1665 return this->m_getParam_OutputPort[portNum].
isConnected();
1673 static_cast<FwAssertArgType>(portNum)
1676 return this->m_getTlmChan_OutputPort[portNum].
isConnected();
1684 static_cast<FwAssertArgType>(portNum)
1687 return this->m_pingOut_OutputPort[portNum].
isConnected();
1695 static_cast<FwAssertArgType>(portNum)
1698 return this->m_seqDoneOut_OutputPort[portNum].
isConnected();
1706 static_cast<FwAssertArgType>(portNum)
1709 return this->m_seqStartOut_OutputPort[portNum].
isConnected();
1727 static_cast<FwAssertArgType>(portNum)
1735 ComponentIpcSerializableBuffer msg;
1739 _status = msg.serializeFrom(
1740 static_cast<FwEnumStoreType>(CHECKTIMERS_SCHED)
1744 static_cast<FwAssertArgType>(_status)
1748 _status = msg.serializeFrom(portNum);
1751 static_cast<FwAssertArgType>(_status)
1755 _status = msg.serializeFrom(context);
1758 static_cast<FwAssertArgType>(_status)
1767 static_cast<FwAssertArgType>(qStatus)
1782 static_cast<FwAssertArgType>(portNum)
1792 ComponentIpcSerializableBuffer msg;
1796 _status = msg.serializeFrom(
1797 static_cast<FwEnumStoreType>(CMDRESPONSEIN_CMDRESPONSE)
1801 static_cast<FwAssertArgType>(_status)
1805 _status = msg.serializeFrom(portNum);
1808 static_cast<FwAssertArgType>(_status)
1812 _status = msg.serializeFrom(opCode);
1815 static_cast<FwAssertArgType>(_status)
1819 _status = msg.serializeFrom(cmdSeq);
1822 static_cast<FwAssertArgType>(_status)
1826 _status = msg.serializeFrom(response);
1829 static_cast<FwAssertArgType>(_status)
1838 static_cast<FwAssertArgType>(qStatus)
1851 static_cast<FwAssertArgType>(portNum)
1859 ComponentIpcSerializableBuffer msg;
1863 _status = msg.serializeFrom(
1864 static_cast<FwEnumStoreType>(PINGIN_PING)
1868 static_cast<FwAssertArgType>(_status)
1872 _status = msg.serializeFrom(portNum);
1875 static_cast<FwAssertArgType>(_status)
1879 _status = msg.serializeFrom(key);
1882 static_cast<FwAssertArgType>(_status)
1891 static_cast<FwAssertArgType>(qStatus)
1904 static_cast<FwAssertArgType>(portNum)
1912 ComponentIpcSerializableBuffer msg;
1916 _status = msg.serializeFrom(
1917 static_cast<FwEnumStoreType>(SEQRUNIN_CMDSEQIN)
1921 static_cast<FwAssertArgType>(_status)
1925 _status = msg.serializeFrom(portNum);
1928 static_cast<FwAssertArgType>(_status)
1935 static_cast<FwAssertArgType>(_status)
1944 static_cast<FwAssertArgType>(qStatus)
1957 static_cast<FwAssertArgType>(portNum)
1965 ComponentIpcSerializableBuffer msg;
1969 _status = msg.serializeFrom(
1970 static_cast<FwEnumStoreType>(TLMWRITE_SCHED)
1974 static_cast<FwAssertArgType>(_status)
1978 _status = msg.serializeFrom(portNum);
1981 static_cast<FwAssertArgType>(_status)
1985 _status = msg.serializeFrom(context);
1988 static_cast<FwAssertArgType>(_status)
1997 static_cast<FwAssertArgType>(qStatus)
2069 static_cast<FwAssertArgType>(portNum)
2073 this->m_cmdOut_OutputPort[portNum].isConnected(),
2074 static_cast<FwAssertArgType>(portNum)
2076 this->m_cmdOut_OutputPort[portNum].
invoke(
2091 static_cast<FwAssertArgType>(portNum)
2095 this->m_getParam_OutputPort[portNum].isConnected(),
2096 static_cast<FwAssertArgType>(portNum)
2098 return this->m_getParam_OutputPort[portNum].
invoke(
2114 static_cast<FwAssertArgType>(portNum)
2118 this->m_getTlmChan_OutputPort[portNum].isConnected(),
2119 static_cast<FwAssertArgType>(portNum)
2121 return this->m_getTlmChan_OutputPort[portNum].
invoke(
2136 static_cast<FwAssertArgType>(portNum)
2140 this->m_pingOut_OutputPort[portNum].isConnected(),
2141 static_cast<FwAssertArgType>(portNum)
2143 this->m_pingOut_OutputPort[portNum].
invoke(
2158 static_cast<FwAssertArgType>(portNum)
2162 this->m_seqDoneOut_OutputPort[portNum].isConnected(),
2163 static_cast<FwAssertArgType>(portNum)
2165 this->m_seqDoneOut_OutputPort[portNum].
invoke(
2180 static_cast<FwAssertArgType>(portNum)
2184 this->m_seqStartOut_OutputPort[portNum].isConnected(),
2185 static_cast<FwAssertArgType>(portNum)
2187 this->m_seqStartOut_OutputPort[portNum].
invoke(
2199 ComponentIpcSerializableBuffer msg;
2203 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_BINARYREGOP));
2206 static_cast<FwAssertArgType>(_status)
2210 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2213 static_cast<FwAssertArgType>(_status)
2216 _status = msg.serializeFrom(directive);
2219 static_cast<FwAssertArgType>(_status)
2228 static_cast<FwAssertArgType>(qStatus)
2235 ComponentIpcSerializableBuffer msg;
2239 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_CMD));
2242 static_cast<FwAssertArgType>(_status)
2246 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2249 static_cast<FwAssertArgType>(_status)
2252 _status = msg.serializeFrom(directive);
2255 static_cast<FwAssertArgType>(_status)
2264 static_cast<FwAssertArgType>(qStatus)
2271 ComponentIpcSerializableBuffer msg;
2275 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_DESERSERREG));
2278 static_cast<FwAssertArgType>(_status)
2282 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2285 static_cast<FwAssertArgType>(_status)
2288 _status = msg.serializeFrom(directive);
2291 static_cast<FwAssertArgType>(_status)
2300 static_cast<FwAssertArgType>(qStatus)
2307 ComponentIpcSerializableBuffer msg;
2311 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_EXIT));
2314 static_cast<FwAssertArgType>(_status)
2318 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2321 static_cast<FwAssertArgType>(_status)
2324 _status = msg.serializeFrom(directive);
2327 static_cast<FwAssertArgType>(_status)
2336 static_cast<FwAssertArgType>(qStatus)
2343 ComponentIpcSerializableBuffer msg;
2347 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_GETPRM));
2350 static_cast<FwAssertArgType>(_status)
2354 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2357 static_cast<FwAssertArgType>(_status)
2360 _status = msg.serializeFrom(directive);
2363 static_cast<FwAssertArgType>(_status)
2372 static_cast<FwAssertArgType>(qStatus)
2379 ComponentIpcSerializableBuffer msg;
2383 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_GETTLM));
2386 static_cast<FwAssertArgType>(_status)
2390 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2393 static_cast<FwAssertArgType>(_status)
2396 _status = msg.serializeFrom(directive);
2399 static_cast<FwAssertArgType>(_status)
2408 static_cast<FwAssertArgType>(qStatus)
2415 ComponentIpcSerializableBuffer msg;
2419 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_GOTO));
2422 static_cast<FwAssertArgType>(_status)
2426 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2429 static_cast<FwAssertArgType>(_status)
2432 _status = msg.serializeFrom(directive);
2435 static_cast<FwAssertArgType>(_status)
2444 static_cast<FwAssertArgType>(qStatus)
2451 ComponentIpcSerializableBuffer msg;
2455 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_IF));
2458 static_cast<FwAssertArgType>(_status)
2462 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2465 static_cast<FwAssertArgType>(_status)
2468 _status = msg.serializeFrom(directive);
2471 static_cast<FwAssertArgType>(_status)
2480 static_cast<FwAssertArgType>(qStatus)
2487 ComponentIpcSerializableBuffer msg;
2491 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_NOOP));
2494 static_cast<FwAssertArgType>(_status)
2498 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2501 static_cast<FwAssertArgType>(_status)
2504 _status = msg.serializeFrom(directive);
2507 static_cast<FwAssertArgType>(_status)
2516 static_cast<FwAssertArgType>(qStatus)
2523 ComponentIpcSerializableBuffer msg;
2527 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_SETREG));
2530 static_cast<FwAssertArgType>(_status)
2534 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2537 static_cast<FwAssertArgType>(_status)
2540 _status = msg.serializeFrom(directive);
2543 static_cast<FwAssertArgType>(_status)
2552 static_cast<FwAssertArgType>(qStatus)
2559 ComponentIpcSerializableBuffer msg;
2563 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_SETSERREG));
2566 static_cast<FwAssertArgType>(_status)
2570 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2573 static_cast<FwAssertArgType>(_status)
2576 _status = msg.serializeFrom(directive);
2579 static_cast<FwAssertArgType>(_status)
2588 static_cast<FwAssertArgType>(qStatus)
2595 ComponentIpcSerializableBuffer msg;
2599 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_UNARYREGOP));
2602 static_cast<FwAssertArgType>(_status)
2606 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2609 static_cast<FwAssertArgType>(_status)
2612 _status = msg.serializeFrom(directive);
2615 static_cast<FwAssertArgType>(_status)
2624 static_cast<FwAssertArgType>(qStatus)
2631 ComponentIpcSerializableBuffer msg;
2635 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_WAITABS));
2638 static_cast<FwAssertArgType>(_status)
2642 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2645 static_cast<FwAssertArgType>(_status)
2648 _status = msg.serializeFrom(directive);
2651 static_cast<FwAssertArgType>(_status)
2660 static_cast<FwAssertArgType>(qStatus)
2667 ComponentIpcSerializableBuffer msg;
2671 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_WAITREL));
2674 static_cast<FwAssertArgType>(_status)
2678 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
2681 static_cast<FwAssertArgType>(_status)
2684 _status = msg.serializeFrom(directive);
2687 static_cast<FwAssertArgType>(_status)
2696 static_cast<FwAssertArgType>(qStatus)
2707 return this->m_stateMachine_sequencer.
getState();
2717 ComponentIpcSerializableBuffer buffer;
2724 this->sequencer_sendSignalFinish(buffer);
2730 ComponentIpcSerializableBuffer buffer;
2737 this->sequencer_sendSignalFinish(buffer);
2743 ComponentIpcSerializableBuffer buffer;
2750 this->sequencer_sendSignalFinish(buffer);
2756 ComponentIpcSerializableBuffer buffer;
2760 this->sequencer_sendSignalFinish(buffer);
2766 ComponentIpcSerializableBuffer buffer;
2773 this->sequencer_sendSignalFinish(buffer);
2779 ComponentIpcSerializableBuffer buffer;
2783 this->sequencer_sendSignalFinish(buffer);
2789 ComponentIpcSerializableBuffer buffer;
2793 this->sequencer_sendSignalFinish(buffer);
2799 ComponentIpcSerializableBuffer buffer;
2803 this->sequencer_sendSignalFinish(buffer);
2809 ComponentIpcSerializableBuffer buffer;
2813 this->sequencer_sendSignalFinish(buffer);
2819 ComponentIpcSerializableBuffer buffer;
2823 this->sequencer_sendSignalFinish(buffer);
2829 ComponentIpcSerializableBuffer buffer;
2833 this->sequencer_sendSignalFinish(buffer);
2839 ComponentIpcSerializableBuffer buffer;
2843 this->sequencer_sendSignalFinish(buffer);
2849 ComponentIpcSerializableBuffer buffer;
2853 this->sequencer_sendSignalFinish(buffer);
2859 ComponentIpcSerializableBuffer buffer;
2863 this->sequencer_sendSignalFinish(buffer);
2869 ComponentIpcSerializableBuffer buffer;
2873 this->sequencer_sendSignalFinish(buffer);
2879 ComponentIpcSerializableBuffer buffer;
2883 this->sequencer_sendSignalFinish(buffer);
2889 ComponentIpcSerializableBuffer buffer;
2893 this->sequencer_sendSignalFinish(buffer);
2899 ComponentIpcSerializableBuffer buffer;
2903 this->sequencer_sendSignalFinish(buffer);
2909 ComponentIpcSerializableBuffer buffer;
2913 this->sequencer_sendSignalFinish(buffer);
2919 ComponentIpcSerializableBuffer buffer;
2923 this->sequencer_sendSignalFinish(buffer);
2929 ComponentIpcSerializableBuffer buffer;
2933 this->sequencer_sendSignalFinish(buffer);
2939 ComponentIpcSerializableBuffer buffer;
2943 this->sequencer_sendSignalFinish(buffer);
2949 ComponentIpcSerializableBuffer buffer;
2953 this->sequencer_sendSignalFinish(buffer);
2959 ComponentIpcSerializableBuffer buffer;
2963 this->sequencer_sendSignalFinish(buffer);
2969 ComponentIpcSerializableBuffer buffer;
2976 this->sequencer_sendSignalFinish(buffer);
2990 FW_ASSERT(this->m_cmdResponseOut_OutputPort[0].isConnected());
2991 this->m_cmdResponseOut_OutputPort[0].
invoke(opCode, cmdSeq, response);
3012 ComponentIpcSerializableBuffer msg;
3016 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_RUN));
3019 static_cast<FwAssertArgType>(_status)
3025 _status = msg.serializeFrom(port);
3028 static_cast<FwAssertArgType>(_status)
3031 _status = msg.serializeFrom(opCode);
3034 static_cast<FwAssertArgType>(_status)
3037 _status = msg.serializeFrom(cmdSeq);
3040 static_cast<FwAssertArgType>(_status)
3043 _status = msg.serializeFrom(args);
3046 static_cast<FwAssertArgType>(_status)
3055 static_cast<FwAssertArgType>(qStatus)
3071 ComponentIpcSerializableBuffer msg;
3075 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_VALIDATE));
3078 static_cast<FwAssertArgType>(_status)
3084 _status = msg.serializeFrom(port);
3087 static_cast<FwAssertArgType>(_status)
3090 _status = msg.serializeFrom(opCode);
3093 static_cast<FwAssertArgType>(_status)
3096 _status = msg.serializeFrom(cmdSeq);
3099 static_cast<FwAssertArgType>(_status)
3102 _status = msg.serializeFrom(args);
3105 static_cast<FwAssertArgType>(_status)
3114 static_cast<FwAssertArgType>(qStatus)
3130 ComponentIpcSerializableBuffer msg;
3134 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_RUN_VALIDATED));
3137 static_cast<FwAssertArgType>(_status)
3143 _status = msg.serializeFrom(port);
3146 static_cast<FwAssertArgType>(_status)
3149 _status = msg.serializeFrom(opCode);
3152 static_cast<FwAssertArgType>(_status)
3155 _status = msg.serializeFrom(cmdSeq);
3158 static_cast<FwAssertArgType>(_status)
3161 _status = msg.serializeFrom(args);
3164 static_cast<FwAssertArgType>(_status)
3173 static_cast<FwAssertArgType>(qStatus)
3189 ComponentIpcSerializableBuffer msg;
3193 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CANCEL));
3196 static_cast<FwAssertArgType>(_status)
3202 _status = msg.serializeFrom(port);
3205 static_cast<FwAssertArgType>(_status)
3208 _status = msg.serializeFrom(opCode);
3211 static_cast<FwAssertArgType>(_status)
3214 _status = msg.serializeFrom(cmdSeq);
3217 static_cast<FwAssertArgType>(_status)
3220 _status = msg.serializeFrom(args);
3223 static_cast<FwAssertArgType>(_status)
3232 static_cast<FwAssertArgType>(qStatus)
3248 ComponentIpcSerializableBuffer msg;
3252 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_DEBUG_SET_BREAKPOINT));
3255 static_cast<FwAssertArgType>(_status)
3261 _status = msg.serializeFrom(port);
3264 static_cast<FwAssertArgType>(_status)
3267 _status = msg.serializeFrom(opCode);
3270 static_cast<FwAssertArgType>(_status)
3273 _status = msg.serializeFrom(cmdSeq);
3276 static_cast<FwAssertArgType>(_status)
3279 _status = msg.serializeFrom(args);
3282 static_cast<FwAssertArgType>(_status)
3291 static_cast<FwAssertArgType>(qStatus)
3307 ComponentIpcSerializableBuffer msg;
3311 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_DEBUG_BREAK));
3314 static_cast<FwAssertArgType>(_status)
3320 _status = msg.serializeFrom(port);
3323 static_cast<FwAssertArgType>(_status)
3326 _status = msg.serializeFrom(opCode);
3329 static_cast<FwAssertArgType>(_status)
3332 _status = msg.serializeFrom(cmdSeq);
3335 static_cast<FwAssertArgType>(_status)
3338 _status = msg.serializeFrom(args);
3341 static_cast<FwAssertArgType>(_status)
3350 static_cast<FwAssertArgType>(qStatus)
3366 ComponentIpcSerializableBuffer msg;
3370 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_DEBUG_CONTINUE));
3373 static_cast<FwAssertArgType>(_status)
3379 _status = msg.serializeFrom(port);
3382 static_cast<FwAssertArgType>(_status)
3385 _status = msg.serializeFrom(opCode);
3388 static_cast<FwAssertArgType>(_status)
3391 _status = msg.serializeFrom(cmdSeq);
3394 static_cast<FwAssertArgType>(_status)
3397 _status = msg.serializeFrom(args);
3400 static_cast<FwAssertArgType>(_status)
3409 static_cast<FwAssertArgType>(qStatus)
3425 ComponentIpcSerializableBuffer msg;
3429 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_DEBUG_CLEAR_BREAKPOINT));
3432 static_cast<FwAssertArgType>(_status)
3438 _status = msg.serializeFrom(port);
3441 static_cast<FwAssertArgType>(_status)
3444 _status = msg.serializeFrom(opCode);
3447 static_cast<FwAssertArgType>(_status)
3450 _status = msg.serializeFrom(cmdSeq);
3453 static_cast<FwAssertArgType>(_status)
3456 _status = msg.serializeFrom(args);
3459 static_cast<FwAssertArgType>(_status)
3468 static_cast<FwAssertArgType>(qStatus)
3577 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3578 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3586 if (this->m_logOut_OutputPort[0].isConnected()) {
3590 #if FW_AMPCS_COMPATIBLE 3595 static_cast<FwAssertArgType>(_status)
3599 #if FW_AMPCS_COMPATIBLE 3602 static_cast<U8>(
sizeof(I32))
3606 static_cast<FwAssertArgType>(_status)
3612 static_cast<FwAssertArgType>(_status)
3615 this->m_logOut_OutputPort[0].
invoke(
3624 #if FW_ENABLE_TEXT_LOGGING 3625 if (this->m_logTextOut_OutputPort[0].isConnected()) {
3626 #if FW_OBJECT_NAMES == 1 3627 const char* _formatString =
3628 "(%s) %s: Cannot execute command in state %" PRIi32
"";
3630 const char* _formatString =
3631 "%s: Cannot execute command in state %" PRIi32
"";
3638 this->m_objName.toChar(),
3644 this->m_logTextOut_OutputPort[0].invoke(
3659 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3660 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3668 if (this->m_logOut_OutputPort[0].isConnected()) {
3672 #if FW_AMPCS_COMPATIBLE 3677 static_cast<FwAssertArgType>(_status)
3681 #if FW_AMPCS_COMPATIBLE 3684 static_cast<U8>(
sizeof(I32))
3688 static_cast<FwAssertArgType>(_status)
3694 static_cast<FwAssertArgType>(_status)
3697 this->m_logOut_OutputPort[0].
invoke(
3706 #if FW_ENABLE_TEXT_LOGGING 3707 if (this->m_logTextOut_OutputPort[0].isConnected()) {
3708 #if FW_OBJECT_NAMES == 1 3709 const char* _formatString =
3710 "(%s) %s: Cannot run sequence from a port in state %" PRIi32
"";
3712 const char* _formatString =
3713 "%s: Cannot run sequence from a port in state %" PRIi32
"";
3720 this->m_objName.toChar(),
3722 "InvalidSeqRunCall ",
3726 this->m_logTextOut_OutputPort[0].invoke(
3744 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3745 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3753 if (this->m_logOut_OutputPort[0].isConnected()) {
3757 #if FW_AMPCS_COMPATIBLE 3762 static_cast<FwAssertArgType>(_status)
3769 static_cast<FwAssertArgType>(_status)
3772 #if FW_AMPCS_COMPATIBLE 3775 static_cast<U8>(
sizeof(I32))
3779 static_cast<FwAssertArgType>(_status)
3785 static_cast<FwAssertArgType>(_status)
3788 this->m_logOut_OutputPort[0].
invoke(
3797 #if FW_ENABLE_TEXT_LOGGING 3798 if (this->m_logTextOut_OutputPort[0].isConnected()) {
3799 #if FW_OBJECT_NAMES == 1 3800 const char* _formatString =
3801 "(%s) %s: File open error encountered while opening %s: %" PRIi32
"";
3803 const char* _formatString =
3804 "%s: File open error encountered while opening %s: %" PRIi32
"";
3811 this->m_objName.toChar(),
3818 this->m_logTextOut_OutputPort[0].invoke(
3837 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3838 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3846 if (this->m_logOut_OutputPort[0].isConnected()) {
3850 #if FW_AMPCS_COMPATIBLE 3855 static_cast<FwAssertArgType>(_status)
3859 #if FW_AMPCS_COMPATIBLE 3866 static_cast<FwAssertArgType>(_status)
3872 static_cast<FwAssertArgType>(_status)
3878 static_cast<FwAssertArgType>(_status)
3881 #if FW_AMPCS_COMPATIBLE 3884 static_cast<U8>(
sizeof(I32))
3888 static_cast<FwAssertArgType>(_status)
3894 static_cast<FwAssertArgType>(_status)
3897 this->m_logOut_OutputPort[0].
invoke(
3906 #if FW_ENABLE_TEXT_LOGGING 3907 if (this->m_logTextOut_OutputPort[0].isConnected()) {
3908 #if FW_OBJECT_NAMES == 1 3909 const char* _formatString =
3910 "(%s) %s: File read error encountered while reading %s of file %s: %" PRIi32
"";
3912 const char* _formatString =
3913 "%s: File read error encountered while reading %s of file %s: %" PRIi32
"";
3917 readStage.toString(readStageStr);
3923 this->m_objName.toChar(),
3931 this->m_logTextOut_OutputPort[0].invoke(
3949 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3950 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3958 if (this->m_logOut_OutputPort[0].isConnected()) {
3962 #if FW_AMPCS_COMPATIBLE 3967 static_cast<FwAssertArgType>(_status)
3971 #if FW_AMPCS_COMPATIBLE 3978 static_cast<FwAssertArgType>(_status)
3984 static_cast<FwAssertArgType>(_status)
3990 static_cast<FwAssertArgType>(_status)
3993 this->m_logOut_OutputPort[0].
invoke(
4002 #if FW_ENABLE_TEXT_LOGGING 4003 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4004 #if FW_OBJECT_NAMES == 1 4005 const char* _formatString =
4006 "(%s) %s: End of file encountered unexpectedly while reading %s of file %s";
4008 const char* _formatString =
4009 "%s: End of file encountered unexpectedly while reading %s of file %s";
4013 readStage.toString(readStageStr);
4019 this->m_objName.toChar(),
4026 this->m_logTextOut_OutputPort[0].invoke(
4047 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4048 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4056 if (this->m_logOut_OutputPort[0].isConnected()) {
4060 #if FW_AMPCS_COMPATIBLE 4065 static_cast<FwAssertArgType>(_status)
4069 #if FW_AMPCS_COMPATIBLE 4076 static_cast<FwAssertArgType>(_status)
4082 static_cast<FwAssertArgType>(_status)
4088 static_cast<FwAssertArgType>(_status)
4091 #if FW_AMPCS_COMPATIBLE 4094 static_cast<U8>(
sizeof(I32))
4098 static_cast<FwAssertArgType>(_status)
4104 static_cast<FwAssertArgType>(_status)
4107 #if FW_AMPCS_COMPATIBLE 4110 static_cast<U8>(
sizeof(
U64))
4114 static_cast<FwAssertArgType>(_status)
4120 static_cast<FwAssertArgType>(_status)
4123 #if FW_AMPCS_COMPATIBLE 4126 static_cast<U8>(
sizeof(
U64))
4130 static_cast<FwAssertArgType>(_status)
4136 static_cast<FwAssertArgType>(_status)
4139 this->m_logOut_OutputPort[0].
invoke(
4148 #if FW_ENABLE_TEXT_LOGGING 4149 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4150 #if FW_OBJECT_NAMES == 1 4151 const char* _formatString =
4152 "(%s) %s: Deserialize error encountered while reading %s of file %s: %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
4154 const char* _formatString =
4155 "%s: Deserialize error encountered while reading %s of file %s: %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
4159 readStage.toString(readStageStr);
4165 this->m_objName.toChar(),
4167 "FileReadDeserializeError ",
4175 this->m_logTextOut_OutputPort[0].invoke(
4193 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4194 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4202 if (this->m_logOut_OutputPort[0].isConnected()) {
4206 #if FW_AMPCS_COMPATIBLE 4211 static_cast<FwAssertArgType>(_status)
4215 #if FW_AMPCS_COMPATIBLE 4218 static_cast<U8>(
sizeof(
U8))
4222 static_cast<FwAssertArgType>(_status)
4228 static_cast<FwAssertArgType>(_status)
4231 #if FW_AMPCS_COMPATIBLE 4234 static_cast<U8>(
sizeof(
U8))
4238 static_cast<FwAssertArgType>(_status)
4244 static_cast<FwAssertArgType>(_status)
4247 this->m_logOut_OutputPort[0].
invoke(
4256 #if FW_ENABLE_TEXT_LOGGING 4257 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4258 #if FW_OBJECT_NAMES == 1 4259 const char* _formatString =
4260 "(%s) %s: Expected schema version %" PRIu8
", found %" PRIu8
"";
4262 const char* _formatString =
4263 "%s: Expected schema version %" PRIu8
", found %" PRIu8
"";
4270 this->m_objName.toChar(),
4272 "WrongSchemaVersion ",
4277 this->m_logTextOut_OutputPort[0].invoke(
4295 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4296 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4304 if (this->m_logOut_OutputPort[0].isConnected()) {
4308 #if FW_AMPCS_COMPATIBLE 4313 static_cast<FwAssertArgType>(_status)
4317 #if FW_AMPCS_COMPATIBLE 4320 static_cast<U8>(
sizeof(U32))
4324 static_cast<FwAssertArgType>(_status)
4330 static_cast<FwAssertArgType>(_status)
4333 #if FW_AMPCS_COMPATIBLE 4336 static_cast<U8>(
sizeof(U32))
4340 static_cast<FwAssertArgType>(_status)
4346 static_cast<FwAssertArgType>(_status)
4349 this->m_logOut_OutputPort[0].
invoke(
4358 #if FW_ENABLE_TEXT_LOGGING 4359 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4360 #if FW_OBJECT_NAMES == 1 4361 const char* _formatString =
4362 "(%s) %s: Expected CRC %" PRIu32
", actual was %" PRIu32
"";
4364 const char* _formatString =
4365 "%s: Expected CRC %" PRIu32
", actual was %" PRIu32
"";
4372 this->m_objName.toChar(),
4379 this->m_logTextOut_OutputPort[0].invoke(
4394 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4395 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4403 if (this->m_logOut_OutputPort[0].isConnected()) {
4407 #if FW_AMPCS_COMPATIBLE 4412 static_cast<FwAssertArgType>(_status)
4416 #if FW_AMPCS_COMPATIBLE 4419 static_cast<U8>(
sizeof(U32))
4423 static_cast<FwAssertArgType>(_status)
4429 static_cast<FwAssertArgType>(_status)
4432 this->m_logOut_OutputPort[0].
invoke(
4441 #if FW_ENABLE_TEXT_LOGGING 4442 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4443 #if FW_OBJECT_NAMES == 1 4444 const char* _formatString =
4445 "(%s) %s: File had %" PRIu32
" extra bytes at the end";
4447 const char* _formatString =
4448 "%s: File had %" PRIu32
" extra bytes at the end";
4455 this->m_objName.toChar(),
4457 "ExtraBytesInSequence ",
4461 this->m_logTextOut_OutputPort[0].invoke(
4479 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4480 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4488 if (this->m_logOut_OutputPort[0].isConnected()) {
4492 #if FW_AMPCS_COMPATIBLE 4497 static_cast<FwAssertArgType>(_status)
4501 #if FW_AMPCS_COMPATIBLE 4504 static_cast<U8>(
sizeof(
U64))
4508 static_cast<FwAssertArgType>(_status)
4514 static_cast<FwAssertArgType>(_status)
4520 static_cast<FwAssertArgType>(_status)
4523 this->m_logOut_OutputPort[0].
invoke(
4532 #if FW_ENABLE_TEXT_LOGGING 4533 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4534 #if FW_OBJECT_NAMES == 1 4535 const char* _formatString =
4536 "(%s) %s: Buffer capacity of %" PRIu64
" was not big enough for sequence %s";
4538 const char* _formatString =
4539 "%s: Buffer capacity of %" PRIu64
" was not big enough for sequence %s";
4546 this->m_objName.toChar(),
4548 "InsufficientBufferSpace ",
4553 this->m_logTextOut_OutputPort[0].invoke(
4573 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4574 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4582 if (this->m_logOut_OutputPort[0].isConnected()) {
4586 #if FW_AMPCS_COMPATIBLE 4591 static_cast<FwAssertArgType>(_status)
4595 #if FW_AMPCS_COMPATIBLE 4602 static_cast<FwAssertArgType>(_status)
4608 static_cast<FwAssertArgType>(_status)
4611 #if FW_AMPCS_COMPATIBLE 4614 static_cast<U8>(
sizeof(U32))
4618 static_cast<FwAssertArgType>(_status)
4624 static_cast<FwAssertArgType>(_status)
4630 static_cast<FwAssertArgType>(_status)
4633 #if FW_AMPCS_COMPATIBLE 4640 static_cast<FwAssertArgType>(_status)
4646 static_cast<FwAssertArgType>(_status)
4649 this->m_logOut_OutputPort[0].
invoke(
4658 #if FW_ENABLE_TEXT_LOGGING 4659 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4660 #if FW_OBJECT_NAMES == 1 4661 const char* _formatString =
4662 "(%s) %s: Failed to execute command opcode %" PRIu32
" index %" PRIu32
" in sequence file %s: response was %s";
4664 const char* _formatString =
4665 "%s: Failed to execute command opcode %" PRIu32
" index %" PRIu32
" in sequence file %s: response was %s";
4669 response.toString(responseStr);
4675 this->m_objName.toChar(),
4684 this->m_logTextOut_OutputPort[0].invoke(
4699 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4700 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4708 if (this->m_logOut_OutputPort[0].isConnected()) {
4712 #if FW_AMPCS_COMPATIBLE 4717 static_cast<FwAssertArgType>(_status)
4724 static_cast<FwAssertArgType>(_status)
4727 this->m_logOut_OutputPort[0].
invoke(
4736 #if FW_ENABLE_TEXT_LOGGING 4737 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4738 #if FW_OBJECT_NAMES == 1 4739 const char* _formatString =
4740 "(%s) %s: Completed sequence file %s";
4742 const char* _formatString =
4743 "%s: Completed sequence file %s";
4750 this->m_objName.toChar(),
4756 this->m_logTextOut_OutputPort[0].invoke(
4771 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4772 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4780 if (this->m_logOut_OutputPort[0].isConnected()) {
4784 #if FW_AMPCS_COMPATIBLE 4789 static_cast<FwAssertArgType>(_status)
4796 static_cast<FwAssertArgType>(_status)
4799 this->m_logOut_OutputPort[0].
invoke(
4808 #if FW_ENABLE_TEXT_LOGGING 4809 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4810 #if FW_OBJECT_NAMES == 1 4811 const char* _formatString =
4812 "(%s) %s: Cancelled sequence file %s";
4814 const char* _formatString =
4815 "%s: Cancelled sequence file %s";
4822 this->m_objName.toChar(),
4824 "SequenceCancelled ",
4828 this->m_logTextOut_OutputPort[0].invoke(
4847 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4848 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4856 if (this->m_logOut_OutputPort[0].isConnected()) {
4860 #if FW_AMPCS_COMPATIBLE 4865 static_cast<FwAssertArgType>(_status)
4869 #if FW_AMPCS_COMPATIBLE 4872 static_cast<U8>(
sizeof(
U8))
4876 static_cast<FwAssertArgType>(_status)
4882 static_cast<FwAssertArgType>(_status)
4885 #if FW_AMPCS_COMPATIBLE 4888 static_cast<U8>(
sizeof(U32))
4892 static_cast<FwAssertArgType>(_status)
4898 static_cast<FwAssertArgType>(_status)
4904 static_cast<FwAssertArgType>(_status)
4907 this->m_logOut_OutputPort[0].
invoke(
4916 #if FW_ENABLE_TEXT_LOGGING 4917 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4918 #if FW_OBJECT_NAMES == 1 4919 const char* _formatString =
4920 "(%s) %s: Unknown sequencer directive id %" PRIu8
" at index %" PRIu32
" in file %s";
4922 const char* _formatString =
4923 "%s: Unknown sequencer directive id %" PRIu8
" at index %" PRIu32
" in file %s";
4930 this->m_objName.toChar(),
4932 "UnknownSequencerDirective ",
4938 this->m_logTextOut_OutputPort[0].invoke(
4957 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4958 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4966 if (this->m_logOut_OutputPort[0].isConnected()) {
4970 #if FW_AMPCS_COMPATIBLE 4975 static_cast<FwAssertArgType>(_status)
4979 #if FW_AMPCS_COMPATIBLE 4982 static_cast<U8>(
sizeof(I32))
4986 static_cast<FwAssertArgType>(_status)
4992 static_cast<FwAssertArgType>(_status)
4995 #if FW_AMPCS_COMPATIBLE 5002 static_cast<FwAssertArgType>(_status)
5008 static_cast<FwAssertArgType>(_status)
5011 #if FW_AMPCS_COMPATIBLE 5018 static_cast<FwAssertArgType>(_status)
5024 static_cast<FwAssertArgType>(_status)
5027 this->m_logOut_OutputPort[0].
invoke(
5036 #if FW_ENABLE_TEXT_LOGGING 5037 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5038 #if FW_OBJECT_NAMES == 1 5039 const char* _formatString =
5040 "(%s) %s: Received a command response while not running a sequence (was in state %" PRIi32
" opcode was %" PRIu32
" response code %s)";
5042 const char* _formatString =
5043 "%s: Received a command response while not running a sequence (was in state %" PRIi32
" opcode was %" PRIu32
" response code %s)";
5047 response.toString(responseStr);
5053 this->m_objName.toChar(),
5055 "CmdResponseWhileNotRunningSequence ",
5061 this->m_logTextOut_OutputPort[0].invoke(
5076 U16 currentSequenceIdx
5081 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5082 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5090 if (this->m_logOut_OutputPort[0].isConnected()) {
5094 #if FW_AMPCS_COMPATIBLE 5099 static_cast<FwAssertArgType>(_status)
5103 #if FW_AMPCS_COMPATIBLE 5110 static_cast<FwAssertArgType>(_status)
5116 static_cast<FwAssertArgType>(_status)
5119 #if FW_AMPCS_COMPATIBLE 5126 static_cast<FwAssertArgType>(_status)
5132 static_cast<FwAssertArgType>(_status)
5135 #if FW_AMPCS_COMPATIBLE 5138 static_cast<U8>(
sizeof(U16))
5142 static_cast<FwAssertArgType>(_status)
5148 static_cast<FwAssertArgType>(_status)
5151 #if FW_AMPCS_COMPATIBLE 5154 static_cast<U8>(
sizeof(U16))
5158 static_cast<FwAssertArgType>(_status)
5164 static_cast<FwAssertArgType>(_status)
5167 this->m_logOut_OutputPort[0].
invoke(
5176 #if FW_ENABLE_TEXT_LOGGING 5177 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5178 #if FW_OBJECT_NAMES == 1 5179 const char* _formatString =
5180 "(%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
")";
5182 const char* _formatString =
5183 "%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
")";
5187 response.toString(responseStr);
5193 this->m_objName.toChar(),
5195 "CmdResponseFromOldSequence ",
5202 this->m_logTextOut_OutputPort[0].invoke(
5220 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5221 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5229 if (this->m_logOut_OutputPort[0].isConnected()) {
5233 #if FW_AMPCS_COMPATIBLE 5238 static_cast<FwAssertArgType>(_status)
5242 #if FW_AMPCS_COMPATIBLE 5249 static_cast<FwAssertArgType>(_status)
5255 static_cast<FwAssertArgType>(_status)
5258 #if FW_AMPCS_COMPATIBLE 5265 static_cast<FwAssertArgType>(_status)
5271 static_cast<FwAssertArgType>(_status)
5274 this->m_logOut_OutputPort[0].
invoke(
5283 #if FW_ENABLE_TEXT_LOGGING 5284 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5285 #if FW_OBJECT_NAMES == 1 5286 const char* _formatString =
5287 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was not awaiting a response";
5289 const char* _formatString =
5290 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was not awaiting a response";
5294 response.toString(responseStr);
5300 this->m_objName.toChar(),
5302 "CmdResponseWhileNotAwaiting ",
5307 this->m_logTextOut_OutputPort[0].invoke(
5321 U8 expectedDirectiveOpcode
5326 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5327 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5335 if (this->m_logOut_OutputPort[0].isConnected()) {
5339 #if FW_AMPCS_COMPATIBLE 5344 static_cast<FwAssertArgType>(_status)
5348 #if FW_AMPCS_COMPATIBLE 5355 static_cast<FwAssertArgType>(_status)
5361 static_cast<FwAssertArgType>(_status)
5364 #if FW_AMPCS_COMPATIBLE 5371 static_cast<FwAssertArgType>(_status)
5377 static_cast<FwAssertArgType>(_status)
5380 #if FW_AMPCS_COMPATIBLE 5383 static_cast<U8>(
sizeof(
U8))
5387 static_cast<FwAssertArgType>(_status)
5393 static_cast<FwAssertArgType>(_status)
5396 this->m_logOut_OutputPort[0].
invoke(
5405 #if FW_ENABLE_TEXT_LOGGING 5406 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5407 #if FW_OBJECT_NAMES == 1 5408 const char* _formatString =
5409 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was awaiting directive opcode %" PRIu8
"";
5411 const char* _formatString =
5412 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was awaiting directive opcode %" PRIu8
"";
5416 response.toString(responseStr);
5422 this->m_objName.toChar(),
5424 "CmdResponseWhileAwaitingDirective ",
5427 expectedDirectiveOpcode
5430 this->m_logTextOut_OutputPort[0].invoke(
5449 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5450 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5458 if (this->m_logOut_OutputPort[0].isConnected()) {
5462 #if FW_AMPCS_COMPATIBLE 5467 static_cast<FwAssertArgType>(_status)
5471 #if FW_AMPCS_COMPATIBLE 5478 static_cast<FwAssertArgType>(_status)
5484 static_cast<FwAssertArgType>(_status)
5487 #if FW_AMPCS_COMPATIBLE 5494 static_cast<FwAssertArgType>(_status)
5500 static_cast<FwAssertArgType>(_status)
5503 #if FW_AMPCS_COMPATIBLE 5510 static_cast<FwAssertArgType>(_status)
5516 static_cast<FwAssertArgType>(_status)
5519 this->m_logOut_OutputPort[0].
invoke(
5528 #if FW_ENABLE_TEXT_LOGGING 5529 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5530 #if FW_OBJECT_NAMES == 1 5531 const char* _formatString =
5532 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was expecting a response from command opcode %" PRIu32
"";
5534 const char* _formatString =
5535 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was expecting a response from command opcode %" PRIu32
"";
5539 response.toString(responseStr);
5545 this->m_objName.toChar(),
5547 "WrongCmdResponseOpcode ",
5553 this->m_logTextOut_OutputPort[0].invoke(
5573 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5574 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5582 if (this->m_logOut_OutputPort[0].isConnected()) {
5586 #if FW_AMPCS_COMPATIBLE 5591 static_cast<FwAssertArgType>(_status)
5595 #if FW_AMPCS_COMPATIBLE 5602 static_cast<FwAssertArgType>(_status)
5608 static_cast<FwAssertArgType>(_status)
5611 #if FW_AMPCS_COMPATIBLE 5618 static_cast<FwAssertArgType>(_status)
5624 static_cast<FwAssertArgType>(_status)
5627 #if FW_AMPCS_COMPATIBLE 5630 static_cast<U8>(
sizeof(U16))
5634 static_cast<FwAssertArgType>(_status)
5640 static_cast<FwAssertArgType>(_status)
5643 #if FW_AMPCS_COMPATIBLE 5646 static_cast<U8>(
sizeof(U16))
5650 static_cast<FwAssertArgType>(_status)
5656 static_cast<FwAssertArgType>(_status)
5659 this->m_logOut_OutputPort[0].
invoke(
5668 #if FW_ENABLE_TEXT_LOGGING 5669 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5670 #if FW_OBJECT_NAMES == 1 5671 const char* _formatString =
5672 "(%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
")";
5674 const char* _formatString =
5675 "%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
")";
5679 response.toString(responseStr);
5685 this->m_objName.toChar(),
5687 "WrongCmdResponseIndex ",
5694 this->m_logTextOut_OutputPort[0].invoke(
5715 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5716 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5724 if (this->m_logOut_OutputPort[0].isConnected()) {
5728 #if FW_AMPCS_COMPATIBLE 5733 static_cast<FwAssertArgType>(_status)
5737 #if FW_AMPCS_COMPATIBLE 5740 static_cast<U8>(
sizeof(
U8))
5744 static_cast<FwAssertArgType>(_status)
5750 static_cast<FwAssertArgType>(_status)
5753 #if FW_AMPCS_COMPATIBLE 5756 static_cast<U8>(
sizeof(U32))
5760 static_cast<FwAssertArgType>(_status)
5766 static_cast<FwAssertArgType>(_status)
5769 #if FW_AMPCS_COMPATIBLE 5772 static_cast<U8>(
sizeof(I32))
5776 static_cast<FwAssertArgType>(_status)
5782 static_cast<FwAssertArgType>(_status)
5785 #if FW_AMPCS_COMPATIBLE 5788 static_cast<U8>(
sizeof(
U64))
5792 static_cast<FwAssertArgType>(_status)
5798 static_cast<FwAssertArgType>(_status)
5801 #if FW_AMPCS_COMPATIBLE 5804 static_cast<U8>(
sizeof(
U64))
5808 static_cast<FwAssertArgType>(_status)
5814 static_cast<FwAssertArgType>(_status)
5817 this->m_logOut_OutputPort[0].
invoke(
5826 #if FW_ENABLE_TEXT_LOGGING 5827 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5828 #if FW_OBJECT_NAMES == 1 5829 const char* _formatString =
5830 "(%s) %s: Deserialize error encountered while reading directive opcode %" PRIu8
" at index %" PRIu32
": %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
5832 const char* _formatString =
5833 "%s: Deserialize error encountered while reading directive opcode %" PRIu8
" at index %" PRIu32
": %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
5840 this->m_objName.toChar(),
5842 "DirectiveDeserializeError ",
5850 this->m_logTextOut_OutputPort[0].invoke(
5862 I32 internalTimeBase,
5868 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5869 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5877 if (this->m_logOut_OutputPort[0].isConnected()) {
5881 #if FW_AMPCS_COMPATIBLE 5886 static_cast<FwAssertArgType>(_status)
5890 #if FW_AMPCS_COMPATIBLE 5893 static_cast<U8>(
sizeof(I32))
5897 static_cast<FwAssertArgType>(_status)
5903 static_cast<FwAssertArgType>(_status)
5906 #if FW_AMPCS_COMPATIBLE 5909 static_cast<U8>(
sizeof(I32))
5913 static_cast<FwAssertArgType>(_status)
5919 static_cast<FwAssertArgType>(_status)
5922 this->m_logOut_OutputPort[0].
invoke(
5931 #if FW_ENABLE_TEXT_LOGGING 5932 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5933 #if FW_OBJECT_NAMES == 1 5934 const char* _formatString =
5935 "(%s) %s: getTime() time base was %" PRIi32
", but tried to operate on it with time base %" PRIi32
"";
5937 const char* _formatString =
5938 "%s: getTime() time base was %" PRIi32
", but tried to operate on it with time base %" PRIi32
"";
5945 this->m_objName.toChar(),
5947 "MismatchedTimeBase ",
5952 this->m_logTextOut_OutputPort[0].invoke(
5964 I32 internalTimeContext,
5965 I32 otherTimeContext
5970 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5971 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5979 if (this->m_logOut_OutputPort[0].isConnected()) {
5983 #if FW_AMPCS_COMPATIBLE 5988 static_cast<FwAssertArgType>(_status)
5992 #if FW_AMPCS_COMPATIBLE 5995 static_cast<U8>(
sizeof(I32))
5999 static_cast<FwAssertArgType>(_status)
6005 static_cast<FwAssertArgType>(_status)
6008 #if FW_AMPCS_COMPATIBLE 6011 static_cast<U8>(
sizeof(I32))
6015 static_cast<FwAssertArgType>(_status)
6021 static_cast<FwAssertArgType>(_status)
6024 this->m_logOut_OutputPort[0].
invoke(
6033 #if FW_ENABLE_TEXT_LOGGING 6034 if (this->m_logTextOut_OutputPort[0].isConnected()) {
6035 #if FW_OBJECT_NAMES == 1 6036 const char* _formatString =
6037 "(%s) %s: getTime() time context was %" PRIi32
", but tried to operate on it with time context %" PRIi32
"";
6039 const char* _formatString =
6040 "%s: getTime() time context was %" PRIi32
", but tried to operate on it with time context %" PRIi32
"";
6047 this->m_objName.toChar(),
6049 "MismatchedTimeContext ",
6050 internalTimeContext,
6054 this->m_logTextOut_OutputPort[0].invoke(
6073 if (this->m_timeCaller_OutputPort[0].isConnected()) {
6074 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
6082 if (this->m_logOut_OutputPort[0].isConnected()) {
6086 #if FW_AMPCS_COMPATIBLE 6091 static_cast<FwAssertArgType>(_status)
6095 #if FW_AMPCS_COMPATIBLE 6102 static_cast<FwAssertArgType>(_status)
6108 static_cast<FwAssertArgType>(_status)
6111 #if FW_AMPCS_COMPATIBLE 6114 static_cast<U8>(
sizeof(U32))
6118 static_cast<FwAssertArgType>(_status)
6124 static_cast<FwAssertArgType>(_status)
6130 static_cast<FwAssertArgType>(_status)
6133 this->m_logOut_OutputPort[0].
invoke(
6142 #if FW_ENABLE_TEXT_LOGGING 6143 if (this->m_logTextOut_OutputPort[0].isConnected()) {
6144 #if FW_OBJECT_NAMES == 1 6145 const char* _formatString =
6146 "(%s) %s: A command opcode %" PRIu32
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
6148 const char* _formatString =
6149 "%s: A command opcode %" PRIu32
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
6156 this->m_objName.toChar(),
6164 this->m_logTextOut_OutputPort[0].invoke(
6183 if (this->m_timeCaller_OutputPort[0].isConnected()) {
6184 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
6192 if (this->m_logOut_OutputPort[0].isConnected()) {
6196 #if FW_AMPCS_COMPATIBLE 6201 static_cast<FwAssertArgType>(_status)
6205 #if FW_AMPCS_COMPATIBLE 6208 static_cast<U8>(
sizeof(
U8))
6212 static_cast<FwAssertArgType>(_status)
6218 static_cast<FwAssertArgType>(_status)
6221 #if FW_AMPCS_COMPATIBLE 6224 static_cast<U8>(
sizeof(U32))
6228 static_cast<FwAssertArgType>(_status)
6234 static_cast<FwAssertArgType>(_status)
6240 static_cast<FwAssertArgType>(_status)
6243 this->m_logOut_OutputPort[0].
invoke(
6252 #if FW_ENABLE_TEXT_LOGGING 6253 if (this->m_logTextOut_OutputPort[0].isConnected()) {
6254 #if FW_OBJECT_NAMES == 1 6255 const char* _formatString =
6256 "(%s) %s: A directive opcode %" PRIu8
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
6258 const char* _formatString =
6259 "%s: A directive opcode %" PRIu8
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
6266 this->m_objName.toChar(),
6268 "DirectiveTimedOut ",
6274 this->m_logTextOut_OutputPort[0].invoke(
6292 if (this->m_timeCaller_OutputPort[0].isConnected()) {
6293 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
6301 if (this->m_logOut_OutputPort[0].isConnected()) {
6305 #if FW_AMPCS_COMPATIBLE 6310 static_cast<FwAssertArgType>(_status)
6314 #if FW_AMPCS_COMPATIBLE 6317 static_cast<U8>(
sizeof(
U8))
6321 static_cast<FwAssertArgType>(_status)
6327 static_cast<FwAssertArgType>(_status)
6330 #if FW_AMPCS_COMPATIBLE 6333 static_cast<U8>(
sizeof(
U8))
6337 static_cast<FwAssertArgType>(_status)
6343 static_cast<FwAssertArgType>(_status)
6346 this->m_logOut_OutputPort[0].
invoke(
6355 #if FW_ENABLE_TEXT_LOGGING 6356 if (this->m_logTextOut_OutputPort[0].isConnected()) {
6357 #if FW_OBJECT_NAMES == 1 6358 const char* _formatString =
6359 "(%s) %s: A sequence specified it had %" PRIu8
" args but the max was %" PRIu8
"";
6361 const char* _formatString =
6362 "%s: A sequence specified it had %" PRIu8
" args but the max was %" PRIu8
"";
6369 this->m_objName.toChar(),
6371 "TooManySequenceArgs ",
6376 this->m_logTextOut_OutputPort[0].invoke(
6394 if (this->m_timeCaller_OutputPort[0].isConnected()) {
6395 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
6403 if (this->m_logOut_OutputPort[0].isConnected()) {
6407 #if FW_AMPCS_COMPATIBLE 6412 static_cast<FwAssertArgType>(_status)
6416 #if FW_AMPCS_COMPATIBLE 6419 static_cast<U8>(
sizeof(U16))
6423 static_cast<FwAssertArgType>(_status)
6429 static_cast<FwAssertArgType>(_status)
6432 #if FW_AMPCS_COMPATIBLE 6435 static_cast<U8>(
sizeof(U16))
6439 static_cast<FwAssertArgType>(_status)
6445 static_cast<FwAssertArgType>(_status)
6448 this->m_logOut_OutputPort[0].
invoke(
6457 #if FW_ENABLE_TEXT_LOGGING 6458 if (this->m_logTextOut_OutputPort[0].isConnected()) {
6459 #if FW_OBJECT_NAMES == 1 6460 const char* _formatString =
6461 "(%s) %s: A sequence specified it had %" PRIu16
" statements but the max was %" PRIu16
"";
6463 const char* _formatString =
6464 "%s: A sequence specified it had %" PRIu16
" statements but the max was %" PRIu16
"";
6471 this->m_objName.toChar(),
6473 "TooManySequenceStatements ",
6478 this->m_logTextOut_OutputPort[0].invoke(
6496 if (this->m_timeCaller_OutputPort[0].isConnected()) {
6497 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
6505 if (this->m_logOut_OutputPort[0].isConnected()) {
6509 #if FW_AMPCS_COMPATIBLE 6514 static_cast<FwAssertArgType>(_status)
6518 #if FW_AMPCS_COMPATIBLE 6521 static_cast<U8>(
sizeof(U32))
6525 static_cast<FwAssertArgType>(_status)
6531 static_cast<FwAssertArgType>(_status)
6534 #if FW_AMPCS_COMPATIBLE 6537 static_cast<U8>(
sizeof(
U8))
6541 static_cast<FwAssertArgType>(_status)
6547 static_cast<FwAssertArgType>(_status)
6550 this->m_logOut_OutputPort[0].
invoke(
6559 #if FW_ENABLE_TEXT_LOGGING 6560 if (this->m_logTextOut_OutputPort[0].isConnected()) {
6561 #if FW_OBJECT_NAMES == 1 6562 const char* _formatString =
6563 "(%s) %s: Debug breakpoint reached before dispatching statement index %" PRIu32
". Will break once: %d";
6565 const char* _formatString =
6566 "%s: Debug breakpoint reached before dispatching statement index %" PRIu32
". Will break once: %d";
6573 this->m_objName.toChar(),
6580 this->m_logTextOut_OutputPort[0].invoke(
6598 if (this->m_timeCaller_OutputPort[0].isConnected()) {
6599 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
6607 if (this->m_logOut_OutputPort[0].isConnected()) {
6611 #if FW_AMPCS_COMPATIBLE 6616 static_cast<FwAssertArgType>(_status)
6620 #if FW_AMPCS_COMPATIBLE 6623 static_cast<U8>(
sizeof(U32))
6627 static_cast<FwAssertArgType>(_status)
6633 static_cast<FwAssertArgType>(_status)
6636 #if FW_AMPCS_COMPATIBLE 6639 static_cast<U8>(
sizeof(
U8))
6643 static_cast<FwAssertArgType>(_status)
6649 static_cast<FwAssertArgType>(_status)
6652 this->m_logOut_OutputPort[0].
invoke(
6661 #if FW_ENABLE_TEXT_LOGGING 6662 if (this->m_logTextOut_OutputPort[0].isConnected()) {
6663 #if FW_OBJECT_NAMES == 1 6664 const char* _formatString =
6665 "(%s) %s: Debug breakpoint set before statement index %" PRIu32
". Will break once: %d";
6667 const char* _formatString =
6668 "%s: Debug breakpoint set before statement index %" PRIu32
". Will break once: %d";
6675 this->m_objName.toChar(),
6677 "DebugBreakpointSet ",
6682 this->m_logTextOut_OutputPort[0].invoke(
6697 if (this->m_timeCaller_OutputPort[0].isConnected()) {
6698 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
6706 if (this->m_logOut_OutputPort[0].isConnected()) {
6709 #if FW_AMPCS_COMPATIBLE 6715 static_cast<FwAssertArgType>(_status)
6719 this->m_logOut_OutputPort[0].
invoke(
6728 #if FW_ENABLE_TEXT_LOGGING 6729 if (this->m_logTextOut_OutputPort[0].isConnected()) {
6730 #if FW_OBJECT_NAMES == 1 6731 const char* _formatString =
6732 "(%s) %s: Debug breakpoint cleared";
6734 const char* _formatString =
6735 "%s: Debug breakpoint cleared";
6742 this->m_objName.toChar(),
6744 "DebugBreakpointCleared " 6747 this->m_logTextOut_OutputPort[0].invoke(
6768 if (not this->m_first_update_State) {
6770 if (arg == this->m_last_State) {
6774 this->m_last_State = arg;
6778 this->m_first_update_State =
false;
6779 this->m_last_State = arg;
6782 if (this->m_tlmOut_OutputPort[0].isConnected()) {
6784 this->m_timeCaller_OutputPort[0].isConnected() &&
6787 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
6794 static_cast<FwAssertArgType>(_stat)
6801 this->m_tlmOut_OutputPort[0].
invoke(
6816 if (not this->m_first_update_SequencesSucceeded) {
6818 if (arg == this->m_last_SequencesSucceeded) {
6822 this->m_last_SequencesSucceeded = arg;
6826 this->m_first_update_SequencesSucceeded =
false;
6827 this->m_last_SequencesSucceeded = arg;
6830 if (this->m_tlmOut_OutputPort[0].isConnected()) {
6832 this->m_timeCaller_OutputPort[0].isConnected() &&
6835 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
6842 static_cast<FwAssertArgType>(_stat)
6849 this->m_tlmOut_OutputPort[0].
invoke(
6864 if (not this->m_first_update_SequencesFailed) {
6866 if (arg == this->m_last_SequencesFailed) {
6870 this->m_last_SequencesFailed = arg;
6874 this->m_first_update_SequencesFailed =
false;
6875 this->m_last_SequencesFailed = arg;
6878 if (this->m_tlmOut_OutputPort[0].isConnected()) {
6880 this->m_timeCaller_OutputPort[0].isConnected() &&
6883 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
6890 static_cast<FwAssertArgType>(_stat)
6897 this->m_tlmOut_OutputPort[0].
invoke(
6912 if (not this->m_first_update_SequencesCancelled) {
6914 if (arg == this->m_last_SequencesCancelled) {
6918 this->m_last_SequencesCancelled = arg;
6922 this->m_first_update_SequencesCancelled =
false;
6923 this->m_last_SequencesCancelled = arg;
6926 if (this->m_tlmOut_OutputPort[0].isConnected()) {
6928 this->m_timeCaller_OutputPort[0].isConnected() &&
6931 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
6938 static_cast<FwAssertArgType>(_stat)
6945 this->m_tlmOut_OutputPort[0].
invoke(
6960 if (not this->m_first_update_StatementsDispatched) {
6962 if (arg == this->m_last_StatementsDispatched) {
6966 this->m_last_StatementsDispatched = arg;
6970 this->m_first_update_StatementsDispatched =
false;
6971 this->m_last_StatementsDispatched = arg;
6974 if (this->m_tlmOut_OutputPort[0].isConnected()) {
6976 this->m_timeCaller_OutputPort[0].isConnected() &&
6979 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
6986 static_cast<FwAssertArgType>(_stat)
6993 this->m_tlmOut_OutputPort[0].
invoke(
7008 if (not this->m_first_update_StatementsFailed) {
7010 if (arg == this->m_last_StatementsFailed) {
7014 this->m_last_StatementsFailed = arg;
7018 this->m_first_update_StatementsFailed =
false;
7019 this->m_last_StatementsFailed = arg;
7022 if (this->m_tlmOut_OutputPort[0].isConnected()) {
7024 this->m_timeCaller_OutputPort[0].isConnected() &&
7027 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
7034 static_cast<FwAssertArgType>(_stat)
7041 this->m_tlmOut_OutputPort[0].
invoke(
7056 if (not this->m_first_update_LastDirectiveError) {
7058 if (arg == this->m_last_LastDirectiveError) {
7062 this->m_last_LastDirectiveError = arg;
7066 this->m_first_update_LastDirectiveError =
false;
7067 this->m_last_LastDirectiveError = arg;
7070 if (this->m_tlmOut_OutputPort[0].isConnected()) {
7072 this->m_timeCaller_OutputPort[0].isConnected() &&
7075 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
7082 static_cast<FwAssertArgType>(_stat)
7089 this->m_tlmOut_OutputPort[0].
invoke(
7104 if (not this->m_first_update_SeqPath) {
7106 if (arg == this->m_last_SeqPath) {
7110 this->m_last_SeqPath = arg;
7114 this->m_first_update_SeqPath =
false;
7115 this->m_last_SeqPath = arg;
7118 if (this->m_tlmOut_OutputPort[0].isConnected()) {
7120 this->m_timeCaller_OutputPort[0].isConnected() &&
7123 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
7130 static_cast<FwAssertArgType>(_stat)
7137 this->m_tlmOut_OutputPort[0].
invoke(
7152 if (not this->m_first_update_DebugBreakpointIdx) {
7154 if (arg == this->m_last_DebugBreakpointIdx) {
7158 this->m_last_DebugBreakpointIdx = arg;
7162 this->m_first_update_DebugBreakpointIdx =
false;
7163 this->m_last_DebugBreakpointIdx = arg;
7166 if (this->m_tlmOut_OutputPort[0].isConnected()) {
7168 this->m_timeCaller_OutputPort[0].isConnected() &&
7171 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
7178 static_cast<FwAssertArgType>(_stat)
7185 this->m_tlmOut_OutputPort[0].
invoke(
7200 if (not this->m_first_update_Debug) {
7202 if (arg == this->m_last_Debug) {
7206 this->m_last_Debug = arg;
7210 this->m_first_update_Debug =
false;
7211 this->m_last_Debug = arg;
7214 if (this->m_tlmOut_OutputPort[0].isConnected()) {
7216 this->m_timeCaller_OutputPort[0].isConnected() &&
7219 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
7226 static_cast<FwAssertArgType>(_stat)
7233 this->m_tlmOut_OutputPort[0].
invoke(
7248 if (not this->m_first_update_PRM_STATEMENT_TIMEOUT_SECS) {
7250 if (arg == this->m_last_PRM_STATEMENT_TIMEOUT_SECS) {
7254 this->m_last_PRM_STATEMENT_TIMEOUT_SECS = arg;
7258 this->m_first_update_PRM_STATEMENT_TIMEOUT_SECS =
false;
7259 this->m_last_PRM_STATEMENT_TIMEOUT_SECS = arg;
7262 if (this->m_tlmOut_OutputPort[0].isConnected()) {
7264 this->m_timeCaller_OutputPort[0].isConnected() &&
7267 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
7274 static_cast<FwAssertArgType>(_stat)
7281 this->m_tlmOut_OutputPort[0].
invoke(
7313 this->m_paramLock.
lock();
7314 valid = this->m_param_STATEMENT_TIMEOUT_SECS_valid;
7315 _local = this->m_STATEMENT_TIMEOUT_SECS;
7316 this->m_paramLock.
unLock();
7327 if (this->m_timeCaller_OutputPort[0].isConnected()) {
7329 this->m_timeCaller_OutputPort[0].
invoke(_time);
7344 ComponentIpcSerializableBuffer _msg;
7354 static_cast<FwAssertArgType>(_msgStatus)
7364 static_cast<FwAssertArgType>(_deserStatus)
7367 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
7369 if (_msgType == FPYSEQUENCER_COMPONENT_EXIT) {
7374 _deserStatus = _msg.deserializeTo(portNum);
7377 static_cast<FwAssertArgType>(_deserStatus)
7382 case CHECKTIMERS_SCHED: {
7385 _deserStatus = _msg.deserializeTo(context);
7388 static_cast<FwAssertArgType>(_deserStatus)
7400 case CMDRESPONSEIN_CMDRESPONSE: {
7403 _deserStatus = _msg.deserializeTo(opCode);
7406 static_cast<FwAssertArgType>(_deserStatus)
7411 _deserStatus = _msg.deserializeTo(cmdSeq);
7414 static_cast<FwAssertArgType>(_deserStatus)
7419 _deserStatus = _msg.deserializeTo(response);
7422 static_cast<FwAssertArgType>(_deserStatus)
7439 _deserStatus = _msg.deserializeTo(key);
7442 static_cast<FwAssertArgType>(_deserStatus)
7454 case SEQRUNIN_CMDSEQIN: {
7457 Fw::ExternalString filename(__fprime_ac_filename_buffer,
sizeof __fprime_ac_filename_buffer);
7458 _deserStatus = _msg.deserializeTo(filename);
7461 static_cast<FwAssertArgType>(_deserStatus)
7473 case TLMWRITE_SCHED: {
7476 _deserStatus = _msg.deserializeTo(context);
7479 static_cast<FwAssertArgType>(_deserStatus)
7494 _deserStatus = _msg.deserializeTo(_opCode);
7497 static_cast<FwAssertArgType>(_deserStatus)
7502 _deserStatus = _msg.deserializeTo(_cmdSeq);
7505 static_cast<FwAssertArgType>(_deserStatus)
7510 _deserStatus = _msg.deserializeTo(args);
7513 static_cast<FwAssertArgType>(_deserStatus)
7523 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7538 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7551 #if FW_CMD_CHECK_RESIDUAL 7553 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7572 case CMD_VALIDATE: {
7575 _deserStatus = _msg.deserializeTo(_opCode);
7578 static_cast<FwAssertArgType>(_deserStatus)
7583 _deserStatus = _msg.deserializeTo(_cmdSeq);
7586 static_cast<FwAssertArgType>(_deserStatus)
7591 _deserStatus = _msg.deserializeTo(args);
7594 static_cast<FwAssertArgType>(_deserStatus)
7604 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7617 #if FW_CMD_CHECK_RESIDUAL 7619 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7637 case CMD_RUN_VALIDATED: {
7640 _deserStatus = _msg.deserializeTo(_opCode);
7643 static_cast<FwAssertArgType>(_deserStatus)
7648 _deserStatus = _msg.deserializeTo(_cmdSeq);
7651 static_cast<FwAssertArgType>(_deserStatus)
7656 _deserStatus = _msg.deserializeTo(args);
7659 static_cast<FwAssertArgType>(_deserStatus)
7669 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7682 #if FW_CMD_CHECK_RESIDUAL 7684 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7705 _deserStatus = _msg.deserializeTo(_opCode);
7708 static_cast<FwAssertArgType>(_deserStatus)
7713 _deserStatus = _msg.deserializeTo(_cmdSeq);
7716 static_cast<FwAssertArgType>(_deserStatus)
7721 _deserStatus = _msg.deserializeTo(args);
7724 static_cast<FwAssertArgType>(_deserStatus)
7732 #if FW_CMD_CHECK_RESIDUAL 7734 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7749 case CMD_DEBUG_SET_BREAKPOINT: {
7752 _deserStatus = _msg.deserializeTo(_opCode);
7755 static_cast<FwAssertArgType>(_deserStatus)
7760 _deserStatus = _msg.deserializeTo(_cmdSeq);
7763 static_cast<FwAssertArgType>(_deserStatus)
7768 _deserStatus = _msg.deserializeTo(args);
7771 static_cast<FwAssertArgType>(_deserStatus)
7781 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7796 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7809 #if FW_CMD_CHECK_RESIDUAL 7811 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7830 case CMD_DEBUG_BREAK: {
7833 _deserStatus = _msg.deserializeTo(_opCode);
7836 static_cast<FwAssertArgType>(_deserStatus)
7841 _deserStatus = _msg.deserializeTo(_cmdSeq);
7844 static_cast<FwAssertArgType>(_deserStatus)
7849 _deserStatus = _msg.deserializeTo(args);
7852 static_cast<FwAssertArgType>(_deserStatus)
7862 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7875 #if FW_CMD_CHECK_RESIDUAL 7877 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7895 case CMD_DEBUG_CONTINUE: {
7898 _deserStatus = _msg.deserializeTo(_opCode);
7901 static_cast<FwAssertArgType>(_deserStatus)
7906 _deserStatus = _msg.deserializeTo(_cmdSeq);
7909 static_cast<FwAssertArgType>(_deserStatus)
7914 _deserStatus = _msg.deserializeTo(args);
7917 static_cast<FwAssertArgType>(_deserStatus)
7925 #if FW_CMD_CHECK_RESIDUAL 7927 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7942 case CMD_DEBUG_CLEAR_BREAKPOINT: {
7945 _deserStatus = _msg.deserializeTo(_opCode);
7948 static_cast<FwAssertArgType>(_deserStatus)
7953 _deserStatus = _msg.deserializeTo(_cmdSeq);
7956 static_cast<FwAssertArgType>(_deserStatus)
7961 _deserStatus = _msg.deserializeTo(args);
7964 static_cast<FwAssertArgType>(_deserStatus)
7972 #if FW_CMD_CHECK_RESIDUAL 7974 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7989 case INT_IF_DIRECTIVE_BINARYREGOP: {
7991 _deserStatus = _msg.deserializeTo(directive);
7996 static_cast<FwAssertArgType>(_deserStatus)
8002 _msg.getBuffLeft() == 0,
8015 case INT_IF_DIRECTIVE_CMD: {
8017 _deserStatus = _msg.deserializeTo(directive);
8022 static_cast<FwAssertArgType>(_deserStatus)
8028 _msg.getBuffLeft() == 0,
8041 case INT_IF_DIRECTIVE_DESERSERREG: {
8043 _deserStatus = _msg.deserializeTo(directive);
8048 static_cast<FwAssertArgType>(_deserStatus)
8054 _msg.getBuffLeft() == 0,
8067 case INT_IF_DIRECTIVE_EXIT: {
8069 _deserStatus = _msg.deserializeTo(directive);
8074 static_cast<FwAssertArgType>(_deserStatus)
8080 _msg.getBuffLeft() == 0,
8093 case INT_IF_DIRECTIVE_GETPRM: {
8095 _deserStatus = _msg.deserializeTo(directive);
8100 static_cast<FwAssertArgType>(_deserStatus)
8106 _msg.getBuffLeft() == 0,
8119 case INT_IF_DIRECTIVE_GETTLM: {
8121 _deserStatus = _msg.deserializeTo(directive);
8126 static_cast<FwAssertArgType>(_deserStatus)
8132 _msg.getBuffLeft() == 0,
8145 case INT_IF_DIRECTIVE_GOTO: {
8147 _deserStatus = _msg.deserializeTo(directive);
8152 static_cast<FwAssertArgType>(_deserStatus)
8158 _msg.getBuffLeft() == 0,
8171 case INT_IF_DIRECTIVE_IF: {
8173 _deserStatus = _msg.deserializeTo(directive);
8178 static_cast<FwAssertArgType>(_deserStatus)
8184 _msg.getBuffLeft() == 0,
8197 case INT_IF_DIRECTIVE_NOOP: {
8199 _deserStatus = _msg.deserializeTo(directive);
8204 static_cast<FwAssertArgType>(_deserStatus)
8210 _msg.getBuffLeft() == 0,
8223 case INT_IF_DIRECTIVE_SETREG: {
8225 _deserStatus = _msg.deserializeTo(directive);
8230 static_cast<FwAssertArgType>(_deserStatus)
8236 _msg.getBuffLeft() == 0,
8249 case INT_IF_DIRECTIVE_SETSERREG: {
8251 _deserStatus = _msg.deserializeTo(directive);
8256 static_cast<FwAssertArgType>(_deserStatus)
8262 _msg.getBuffLeft() == 0,
8275 case INT_IF_DIRECTIVE_UNARYREGOP: {
8277 _deserStatus = _msg.deserializeTo(directive);
8282 static_cast<FwAssertArgType>(_deserStatus)
8288 _msg.getBuffLeft() == 0,
8301 case INT_IF_DIRECTIVE_WAITABS: {
8303 _deserStatus = _msg.deserializeTo(directive);
8308 static_cast<FwAssertArgType>(_deserStatus)
8314 _msg.getBuffLeft() == 0,
8327 case INT_IF_DIRECTIVE_WAITREL: {
8329 _deserStatus = _msg.deserializeTo(directive);
8334 static_cast<FwAssertArgType>(_deserStatus)
8340 _msg.getBuffLeft() == 0,
8354 case INTERNAL_STATE_MACHINE_SIGNAL:
8355 this->smDispatch(_msg);
8369 void FpySequencerComponentBase ::
8381 const U32 idBase = callComp->
getIdBase();
8382 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
8385 switch (opCode - idBase) {
8387 compPtr->RUN_cmdHandlerBase(
8396 compPtr->VALIDATE_cmdHandlerBase(
8405 compPtr->RUN_VALIDATED_cmdHandlerBase(
8414 compPtr->CANCEL_cmdHandlerBase(
8423 compPtr->DEBUG_SET_BREAKPOINT_cmdHandlerBase(
8432 compPtr->DEBUG_BREAK_cmdHandlerBase(
8441 compPtr->DEBUG_CONTINUE_cmdHandlerBase(
8450 compPtr->DEBUG_CLEAR_BREAKPOINT_cmdHandlerBase(
8459 Fw::CmdResponse _cstat = compPtr->paramSet_STATEMENT_TIMEOUT_SECS(args);
8460 compPtr->cmdResponse_out(
8470 compPtr->cmdResponse_out(
8484 void FpySequencerComponentBase ::
8493 compPtr->checkTimers_handlerBase(
8499 void FpySequencerComponentBase ::
8500 m_p_cmdResponseIn_in(
8510 compPtr->cmdResponseIn_handlerBase(
8518 void FpySequencerComponentBase ::
8527 compPtr->pingIn_handlerBase(
8533 void FpySequencerComponentBase ::
8542 compPtr->seqRunIn_handlerBase(
8548 void FpySequencerComponentBase ::
8557 compPtr->tlmWrite_handlerBase(
8567 void FpySequencerComponentBase ::
8577 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(INTERNAL_STATE_MACHINE_SIGNAL));
8585 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(smId));
8589 status = buffer.
serializeFrom(static_cast<FwEnumStoreType>(signal));
8593 void FpySequencerComponentBase ::
8602 static_cast<FwAssertArgType>(qStatus)
8610 void FpySequencerComponentBase ::
8616 FpySequencerComponentBase::deserializeSmIdAndSignal(buffer, storedSmId, storedSignal);
8619 const SmId smId =
static_cast<SmId>(storedSmId);
8623 this->Svc_FpySequencer_SequencerStateMachine_smDispatch(buffer, this->m_stateMachine_sequencer, signal);
8627 FW_ASSERT(0, static_cast<FwAssertArgType>(smId));
8632 void FpySequencerComponentBase ::
8633 deserializeSmIdAndSignal(
8653 void FpySequencerComponentBase ::
8654 Svc_FpySequencer_SequencerStateMachine_smDispatch(
8656 Svc_FpySequencer_SequencerStateMachine& sm,
8669 sm.sendSignal_cmd_VALIDATE(value);
8680 sm.sendSignal_cmd_RUN(value);
8691 sm.sendSignal_cmd_RUN_VALIDATED(value);
8698 sm.sendSignal_cmd_CANCEL();
8709 sm.sendSignal_cmd_DEBUG_SET_BREAKPOINT(value);
8716 sm.sendSignal_cmd_DEBUG_CLEAR_BREAKPOINT();
8723 sm.sendSignal_result_failure();
8730 sm.sendSignal_result_success();
8737 sm.sendSignal_entered();
8744 sm.sendSignal_result_dispatchStatement_success();
8751 sm.sendSignal_result_dispatchStatement_failure();
8758 sm.sendSignal_result_dispatchStatement_noMoreStatements();
8765 sm.sendSignal_checkTimersIn();
8772 sm.sendSignal_result_checkShouldWake_wakeup();
8779 sm.sendSignal_result_checkShouldWake_keepSleeping();
8786 sm.sendSignal_result_timeOpFailed();
8793 sm.sendSignal_stmtResponse_beginSleep();
8800 sm.sendSignal_stmtResponse_success();
8807 sm.sendSignal_stmtResponse_failure();
8814 sm.sendSignal_stmtResponse_unexpected();
8821 sm.sendSignal_stmtResponse_keepWaiting();
8828 sm.sendSignal_result_checkStatementTimeout_statementTimeout();
8835 sm.sendSignal_result_checkStatementTimeout_noTimeout();
8842 sm.sendSignal_cmd_DEBUG_CONTINUE();
8853 sm.sendSignal_cmd_DEBUG_BREAK(value);
8857 FW_ASSERT(0, static_cast<FwAssertArgType>(signal));
8876 this->m_paramLock.
lock();
8877 this->m_STATEMENT_TIMEOUT_SECS = _localVal;
8879 this->m_paramLock.
unLock();
8891 paramSave_STATEMENT_TIMEOUT_SECS()
8896 if (this->m_prmSet_OutputPort[0].isConnected()) {
8897 this->m_paramLock.
lock();
8901 this->m_paramLock.
unLock();
8909 this->m_prmSet_OutputPort[0].
invoke(
bool isConnected_tlmOut_OutputPort(FwIndexType portNum)
deser up to 8 bytes out of an serReg
called in DEBUG_CONTINUE cmd. only raised in RUNNING.DEBUG_BROKEN state
Serialization/Deserialization operation was successful.
void sequencer_sendSignal_result_dispatchStatement_noMoreStatements()
Send signal result_dispatchStatement_noMoreStatements to state machine sequencer. ...
called in DEBUG_BREAK cmd. only raised in RUNNING state
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.
FwIndexType getNum_cmdResponseIn_InputPorts() const
called in dispatchStatement method when a statement was unable to be sent out
void directive_setSerReg_internalInterfaceInvoke(const Svc::FpySequencer_SetSerRegDirective &directive)
Internal interface base-class function for directive_setSerReg.
void addCallPort(InputTimePort *callPort)
Register an input port.
void invoke(Fw::ComBuffer &data, U32 context) const
Invoke a port interface.
void set_seqStartOut_OutputPort(FwIndexType portNum, Svc::InputCmdSeqInPort *port)
Connect port to seqStartOut[portNum].
void log_WARNING_HI_DirectiveTimedOut(U8 opCode, U32 stmtIdx, const Fw::StringBase &filePath) const
Log event DirectiveTimedOut.
void init()
Initialization function.
Loads and validates a sequence.
virtual void DEBUG_SET_BREAKPOINT_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command DEBUG_SET_BREAKPOINT.
The size of the serial representation.
virtual void directive_exit_internalInterfaceHandler(const Svc::FpySequencer_ExitDirective &directive)=0
Internal interface handler for directive_exit.
Fw::InputCmdResponsePort * get_cmdResponseIn_InputPort(FwIndexType portNum)
FwIdType FwOpcodeType
The type of a command opcode.
void set_cmdOut_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to cmdOut[portNum].
Channel ID for SequencesFailed.
called in dispatchStatement method when there were no more statements in the sequence ...
virtual void parametersLoaded()
Called whenever parameters are loaded.
void log_WARNING_HI_InsufficientBufferSpace(U64 bufferSize, const Fw::StringBase &filePath) const
Log event InsufficientBufferSpace.
FwIdType getIdBase() const
PlatformSizeType FwSizeType
FwIndexType getNum_tlmWrite_InputPorts() const
FwIndexType getNum_cmdResponseOut_OutputPorts() const
Channel ID for SequencesSucceeded.
Status receive(U8 *destination, FwSizeType capacity, BlockingType blockType, FwSizeType &actualSize, FwQueuePriorityType &priority) override
receive a message from the queue through delegate
void directive_deserSerReg_internalInterfaceInvoke(const Svc::FpySequencer_DeserSerRegDirective &directive)
Internal interface base-class function for directive_deserSerReg.
virtual void cmdResponseIn_handler(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)=0
Handler for input port cmdResponseIn.
void sequencer_sendSignal_result_dispatchStatement_success()
Send signal result_dispatchStatement_success to state machine sequencer.
void log_WARNING_HI_WrongCRC(U32 expected, U32 actual) const
Log event WrongCRC.
The size of the serial representation.
virtual void directive_unaryRegOp_internalInterfaceHandler(const Svc::FpySequencer_UnaryRegOpDirective &directive)=0
Internal interface handler for directive_unaryRegOp.
The size of the serial representation.
Status
status returned from the queue send function
virtual void DEBUG_CLEAR_BREAKPOINT_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
virtual void parameterUpdated(FwPrmIdType id)
Called whenever a parameter is updated.
#define FW_LOG_STRING_MAX_SIZE
Max size of log string parameter type.
called when statement successfully executed. only raised in the RUNNING.AWAITING_CMD_RESPONSE state ...
The size of the serial representation.
called on VALIDATE cmd with the path of the sequence file to validate. only raised in IDLE state ...
called on RUN cmd with the path of the sequence file to run. only raised in IDLE state ...
The size of the serial representation.
called on RUN_VALIDATED cmd. only raised in AWAITING_CMD_RUN_VALIDATED state
virtual void tlmWrite_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port tlmWrite.
const char * toChar() const
performs a unary reg operation on src reg, and stores in res reg
Fw::TlmValid getTlmChan_out(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)
Invoke output port getTlmChan.
FwIndexType getNum_prmGet_OutputPorts() const
void init()
Initialization function.
void RUN_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
generic failure of an action
void set_seqDoneOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to seqDoneOut[portNum].
void sequencer_sendSignal_cmd_DEBUG_SET_BREAKPOINT(const Svc::FpySequencer_DebugBreakpointArgs &value)
Send signal cmd_DEBUG_SET_BREAKPOINT to state machine sequencer.
FwIdType FwPrmIdType
The type of a parameter identifier.
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
void unLock()
unlock the mutex and assert success
FwIndexType getNum_seqStartOut_OutputPorts() const
The size of the serial representation.
void addCallPort(InputPrmSetPort *callPort)
Register an input port.
virtual void CANCEL_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
void tlmWrite_State(I32 arg, Fw::Time _tlmTime=Fw::Time())
void invoke(U32 key) const
Invoke a port interface.
raised when we should keep sleeping
void addCallPort(InputTlmGetPort *callPort)
Register an input port.
void sequencer_sendSignal_result_checkShouldWake_wakeup()
Send signal result_checkShouldWake_wakeup to state machine sequencer.
virtual void directive_goto_internalInterfaceHandler(const Svc::FpySequencer_GotoDirective &directive)=0
Internal interface handler for directive_goto.
void directive_if_internalInterfaceInvoke(const Svc::FpySequencer_IfDirective &directive)
Internal interface base-class function for directive_if.
The size of the serial representation.
void sequencer_sendSignal_result_success()
Send signal result_success to state machine sequencer.
void cmdResponseIn_handlerBase(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
Handler base-class function for input port cmdResponseIn.
SmId
State machine identifiers.
void sequencer_sendSignal_stmtResponse_success()
Send signal stmtResponse_success to state machine sequencer.
virtual ~FpySequencerComponentBase()
Destroy FpySequencerComponentBase object.
void log_WARNING_LO_CmdResponseWhileNotRunningSequence(I32 state, FwOpcodeType opcode, Fw::CmdResponse response) const
Log event CmdResponseWhileNotRunningSequence.
void sequencer_sendSignal_cmd_VALIDATE(const Svc::FpySequencer_SequenceExecutionArgs &value)
Send signal cmd_VALIDATE to state machine sequencer.
void directive_noOp_internalInterfaceInvoke(const Svc::FpySequencer_NoOpDirective &directive)
Internal interface base-class function for directive_noOp.
void init()
Initialization function.
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.
No time base has been established (Required)
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
void addCallPort(InputCmdRegPort *callPort)
Register an input port.
void tlmWrite_SequencesSucceeded(U64 arg, Fw::Time _tlmTime=Fw::Time())
FwIndexType getNum_pingIn_InputPorts() const
Channel ID for StatementsDispatched.
The size of the serial representation.
virtual void directive_waitAbs_internalInterfaceHandler(const Svc::FpySequencer_WaitAbsDirective &directive)=0
Internal interface handler for directive_waitAbs.
void init()
Initialization function.
virtual void RUN_VALIDATED_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, Svc::FpySequencer_BlockState block)=0
bool isConnected_pingOut_OutputPort(FwIndexType portNum)
virtual void pingIn_preMsgHook(FwIndexType portNum, U32 key)
Pre-message hook for async input port pingIn.
Os::Queue m_queue
queue object for active component
bool isConnected_seqStartOut_OutputPort(FwIndexType portNum)
void sequencer_sendSignal_stmtResponse_unexpected()
Send signal stmtResponse_unexpected to state machine sequencer.
virtual void RUN_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName, Svc::FpySequencer_BlockState block)=0
void sequencer_sendSignal_result_dispatchStatement_failure()
Send signal result_dispatchStatement_failure to state machine sequencer.
virtual void directive_cmd_internalInterfaceHandler(const Svc::FpySequencer_CmdDirective &directive)=0
Internal interface handler for directive_cmd.
void log_WARNING_HI_DirectiveDeserializeError(U8 opcode, U32 stmtIdx, I32 errorCode, U64 buffLeft, U64 buffLength) const
Log event DirectiveDeserializeError.
virtual void pingIn_handler(FwIndexType portNum, U32 key)=0
Handler for input port pingIn.
Svc::InputSchedPort * get_checkTimers_InputPort(FwIndexType portNum)
void addCallPort(InputTlmPort *callPort)
Register an input port.
void addCallPort(InputPrmGetPort *callPort)
Register an input port.
void RUN_VALIDATED_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void tlmWrite_PRM_STATEMENT_TIMEOUT_SECS(F32 arg, Fw::Time _tlmTime=Fw::Time())
FwIndexType getNum_pingOut_OutputPorts() const
void init()
Object initializer.
void DEBUG_SET_BREAKPOINT_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void set_pingOut_OutputPort(FwIndexType portNum, Svc::InputPingPort *port)
Connect port to pingOut[portNum].
void seqStartOut_out(FwIndexType portNum, const Fw::StringBase &filename)
Invoke output port seqStartOut.
SerializeStatus
forward declaration for string
Svc_FpySequencer_SequencerStateMachine::State sequencer_getState() const
Get the state of state machine instance sequencer.
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
FwIndexType getNum_cmdIn_InputPorts() const
virtual void checkTimers_handler(FwIndexType portNum, U32 context)=0
Handler for input port checkTimers.
Message will block until space is available.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
Channel ID for LastDirectiveError.
The size of the serial representation.
void log_WARNING_HI_WrongCmdResponseOpcode(FwOpcodeType opcode, Fw::CmdResponse response, FwOpcodeType expectedOpcode) const
Log event WrongCmdResponseOpcode.
void log_WARNING_HI_ExtraBytesInSequence(U32 remaining) const
Log event ExtraBytesInSequence.
void tlmWrite_StatementsFailed(U64 arg, Fw::Time _tlmTime=Fw::Time())
FwIdType FwEventIdType
The type of an event identifier.
void regCommands()
Register commands with the Command Dispatcher.
void directive_setReg_internalInterfaceInvoke(const Svc::FpySequencer_SetRegDirective &directive)
Internal interface base-class function for directive_setReg.
void invoke(FwOpcodeType opCode) const
Invoke a port interface.
called in dispatchStatement method when a statement was successfully dispatched
F32 paramGet_STATEMENT_TIMEOUT_SECS(Fw::ParamValid &valid)
Fw::TlmValid invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke a port interface.
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects) ...
Serializable::SizeType getBuffLeft() const
returns how much deserialization buffer is left
FwIndexType getNum_prmSet_OutputPorts() const
void init()
Initialization function.
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
FwIndexType getNum_timeCaller_OutputPorts() const
Os::Queue::Status createQueue(FwSizeType depth, FwSizeType msgSize)
void directive_unaryRegOp_internalInterfaceInvoke(const Svc::FpySequencer_UnaryRegOpDirective &directive)
Internal interface base-class function for directive_unaryRegOp.
FwIndexType getNum_cmdOut_OutputPorts() const
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
void tlmWrite_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port tlmWrite.
bool isConnected_prmSet_OutputPort(FwIndexType portNum)
#define FW_MIN(a, b)
MIN macro.
The size of the serial representation.
A less serious but recoverable event.
Fw::ParamValid invoke(FwPrmIdType id, Fw::ParamBuffer &val) const
Invoke a port interface.
FwIndexType getNum_logOut_OutputPorts() const
called in DEBUG_SET_BREAKPOINT cmd. raised in any state
ActiveComponentBase(const char *name)
Constructor.
void init()
Initialization function.
virtual void directive_deserSerReg_internalInterfaceHandler(const Svc::FpySequencer_DeserSerRegDirective &directive)=0
Internal interface handler for directive_deserSerReg.
FwIndexType getNum_seqRunIn_InputPorts() const
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
void tlmWrite_DebugBreakpointIdx(U32 arg, Fw::Time _tlmTime=Fw::Time())
generic success of an action
void DEBUG_CONTINUE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void invoke(Fw::Time &time) const
Invoke a port interface.
void sequencer_sendSignal_cmd_DEBUG_CLEAR_BREAKPOINT()
Send signal cmd_DEBUG_CLEAR_BREAKPOINT to state machine sequencer.
void pingIn_handlerBase(FwIndexType portNum, U32 key)
Handler base-class function for input port pingIn.
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
const char * toChar() const
void invoke(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke a port interface.
void sequencer_sendSignal_cmd_RUN_VALIDATED(const Svc::FpySequencer_SequenceExecutionArgs &value)
Send signal cmd_RUN_VALIDATED to state machine sequencer.
Svc_FpySequencer_SequencerStateMachine(FpySequencerComponentBase &component)
Constructor.
FwIdType FwChanIdType
The type of a telemetry channel identifier.
void log_WARNING_HI_EndOfFileError(Svc::FpySequencer_FileReadStage readStage, const Fw::StringBase &filePath) const
Log event EndOfFileError.
void set_cmdResponseOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdResponseOut[portNum].
void addCallPort(InputPingPort *callPort)
Register an input port.
virtual void DEBUG_CLEAR_BREAKPOINT_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command DEBUG_CLEAR_BREAKPOINT.
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
FpySequencerComponentBase(const char *compName="")
Construct FpySequencerComponentBase object.
virtual void directive_setSerReg_internalInterfaceHandler(const Svc::FpySequencer_SetSerRegDirective &directive)=0
Internal interface handler for directive_setSerReg.
void sequencer_sendSignal_checkTimersIn()
Send signal checkTimersIn to state machine sequencer.
void tlmWrite_StatementsDispatched(U64 arg, Fw::Time _tlmTime=Fw::Time())
void log_ACTIVITY_HI_DebugBreakpointCleared() const
Log event DebugBreakpointCleared.
void VALIDATE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void resetDeser()
reset deserialization to beginning
virtual void seqRunIn_preMsgHook(FwIndexType portNum, const Fw::StringBase &filename)
Pre-message hook for async input port seqRunIn.
bool isConnected_getParam_OutputPort(FwIndexType portNum)
Channel ID for PRM_STATEMENT_TIMEOUT_SECS.
void sequencer_sendSignal_stmtResponse_failure()
Send signal stmtResponse_failure to state machine sequencer.
The size of the serial representation.
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 set_cmdRegOut_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to cmdRegOut[portNum].
void log_WARNING_HI_CommandFailed(FwOpcodeType opCode, U32 stmtIdx, const Fw::StringBase &filePath, Fw::CmdResponse response) const
Log event CommandFailed.
void sequencer_sendSignal_stmtResponse_beginSleep()
Send signal stmtResponse_beginSleep to state machine sequencer.
Channel ID for DebugBreakpointIdx.
void invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke a port interface.
The size of the serial representation.
void log_WARNING_HI_CommandTimedOut(FwOpcodeType opCode, U32 stmtIdx, const Fw::StringBase &filePath) const
Log event CommandTimedOut.
void sequencer_sendSignal_result_checkStatementTimeout_noTimeout()
Send signal result_checkStatementTimeout_noTimeout to state machine sequencer.
void directive_getTlm_internalInterfaceInvoke(const Svc::FpySequencer_GetTlmDirective &directive)
Internal interface base-class function for directive_getTlm.
SerializeStatus moveDeserToOffset(FwSizeType offset)
Moves deserialization to the specified offset.
virtual void tlmWrite_handler(FwIndexType portNum, U32 context)=0
Handler for input port tlmWrite.
Svc::InputCmdSeqInPort * get_seqRunIn_InputPort(FwIndexType portNum)
The size of the serial representation.
void invoke(const Fw::StringBase &filename) const
Invoke a port interface.
void tlmWrite_LastDirectiveError(const Svc::FpySequencer_DirectiveErrorCode &arg, Fw::Time _tlmTime=Fw::Time())
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.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
void init()
Initialization function.
Command successfully executed.
Loads, validates and runs a sequence.
bool isConnected_seqDoneOut_OutputPort(FwIndexType portNum)
void log_ACTIVITY_HI_DebugBroken(U32 stmtIdx, bool breakOnce) const
Log event DebugBroken.
virtual void DEBUG_SET_BREAKPOINT_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U32 stmtIdx, bool breakOnce)=0
uint8_t U8
8-bit unsigned integer
virtual void directive_noOp_internalInterfaceHandler(const Svc::FpySequencer_NoOpDirective &directive)=0
Internal interface handler for directive_noOp.
virtual void directive_binaryRegOp_internalInterfaceHandler(const Svc::FpySequencer_BinaryRegOpDirective &directive)=0
Internal interface handler for directive_binaryRegOp.
void log_WARNING_HI_TooManySequenceStatements(U16 count, U16 max) const
Log event TooManySequenceStatements.
sets a register to a constant value
void sequencer_sendSignal_result_timeOpFailed()
Send signal result_timeOpFailed to state machine sequencer.
void seqDoneOut_out(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
Invoke output port seqDoneOut.
void log_WARNING_HI_FileOpenError(const Fw::StringBase &filePath, I32 errorCode) const
Log event FileOpenError.
void init(FpySequencerComponentBase::SmId smId)
Initialize the state machine.
void set_prmSet_OutputPort(FwIndexType portNum, Fw::InputPrmSetPort *port)
Connect port to prmSet[portNum].
SerializeStatus serializeTo(SerializeBufferBase &buffer) const override
serialize contents to buffer
Command failed to deserialize.
virtual void directive_setReg_internalInterfaceHandler(const Svc::FpySequencer_SetRegDirective &directive)=0
Internal interface handler for directive_setReg.
PlatformQueuePriorityType FwQueuePriorityType
The type of queue priorities used.
Command had execution error.
Important informational events.
virtual void directive_getTlm_internalInterfaceHandler(const Svc::FpySequencer_GetTlmDirective &directive)=0
Internal interface handler for directive_getTlm.
virtual void seqRunIn_handler(FwIndexType portNum, const Fw::StringBase &filename)=0
Handler for input port seqRunIn.
void sequencer_sendSignal_cmd_CANCEL()
Send signal cmd_CANCEL to state machine sequencer.
void sequencer_sendSignal_result_checkStatementTimeout_statementTimeout()
Send signal result_checkStatementTimeout_statementTimeout to state machine sequencer.
virtual void DEBUG_CONTINUE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
virtual void directive_getPrm_internalInterfaceHandler(const Svc::FpySequencer_GetPrmDirective &directive)=0
Internal interface handler for directive_getPrm.
void sequencer_sendSignal_stmtResponse_keepWaiting()
Send signal stmtResponse_keepWaiting to state machine sequencer.
void invoke(FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args) const
Invoke a port interface.
Channel ID for StatementsFailed.
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum)
void log_WARNING_HI_InvalidCommand(I32 state) const
Log event InvalidCommand.
The size of the serial representation.
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 init()
Initialization function.
void pingOut_out(FwIndexType portNum, U32 key)
Invoke output port pingOut.
static constexpr SizeType BUFFER_SIZE(SizeType maxLength)
Get the size of a null-terminated string buffer.
bool isConnected_cmdOut_OutputPort(FwIndexType portNum)
A message was sent requesting an exit of the loop.
called when the statement unsuccessfully executed. only raised in the RUNNING.AWAITING_CMD_RESPONSE s...
performs a binary reg operation on the lhs and rhs regs, and stores the result in the third register ...
FpySequencer_SequencerStateMachineStateMachineBase::State getState() const
Get the state.
void tlmWrite_SequencesFailed(U64 arg, Fw::Time _tlmTime=Fw::Time())
void sequencer_sendSignal_cmd_DEBUG_BREAK(const Svc::FpySequencer_DebugBreakpointArgs &value)
Send signal cmd_DEBUG_BREAK to state machine sequencer.
void log_WARNING_HI_FileReadDeserializeError(Svc::FpySequencer_FileReadStage readStage, const Fw::StringBase &filePath, I32 errorCode, U64 buffLeft, U64 buffLength) const
Log event FileReadDeserializeError.
bool isConnected_logOut_OutputPort(FwIndexType portNum)
void tlmWrite_SeqPath(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
PlatformIndexType FwIndexType
raised when the statement has not timed out yet
The size of the serial representation.
FwIndexType getNum_tlmOut_OutputPorts() const
virtual void VALIDATE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command VALIDATE.
void DEBUG_BREAK_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Must be called after VALIDATE. Runs the sequence that was validated.
void tlmWrite_Debug(const Svc::FpySequencer_DebugTelemetry &arg, Fw::Time _tlmTime=Fw::Time())
bool isConnected_prmGet_OutputPort(FwIndexType portNum)
void log_WARNING_HI_MismatchedTimeContext(I32 internalTimeContext, I32 otherTimeContext) const
Log event MismatchedTimeContext.
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
Svc::InputSchedPort * get_tlmWrite_InputPort(FwIndexType portNum)
void log_WARNING_HI_WrongSchemaVersion(U8 expected, U8 actual) const
Log event WrongSchemaVersion.
void addCallPort(InputLogPort *callPort)
Register an input port.
void DEBUG_CLEAR_BREAKPOINT_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void cmdOut_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Invoke output port cmdOut.
void addCallPort(InputCmdSeqInPort *callPort)
Register an input port.
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.
called in DEBUG_CLEAR_BREAKPOINT cmd. raised in any state
The size of the serial representation.
Command failed validation.
RateGroupDivider component implementation.
void log_WARNING_HI_CmdResponseWhileNotAwaiting(FwOpcodeType opcode, Fw::CmdResponse response) const
Log event CmdResponseWhileNotAwaiting.
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum)
void directive_getPrm_internalInterfaceInvoke(const Svc::FpySequencer_GetPrmDirective &directive)
Internal interface base-class function for directive_getPrm.
void log_WARNING_HI_CmdResponseWhileAwaitingDirective(FwOpcodeType opcode, Fw::CmdResponse response, U8 expectedDirectiveOpcode) const
Log event CmdResponseWhileAwaitingDirective.
FwIndexType getNum_checkTimers_InputPorts() const
FwIndexType getNum_cmdRegOut_OutputPorts() const
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
void seqRunIn_handlerBase(FwIndexType portNum, const Fw::StringBase &filename)
Handler base-class function for input port seqRunIn.
raised when we are done sleeping
Enum representing parameter validity.
FwIndexType getNum_getTlmChan_OutputPorts() const
Opcode to save parameter STATEMENT_TIMEOUT_SECS.
The size of the serial representation.
void log_WARNING_HI_TooManySequenceArgs(U8 count, U8 max) const
Log event TooManySequenceArgs.
void log_WARNING_HI_MismatchedTimeBase(I32 internalTimeBase, I32 otherTimeBase) const
Log event MismatchedTimeBase.
void invoke(FwPrmIdType id, Fw::ParamBuffer &val) const
Invoke a port interface.
void sequencer_sendSignal_result_failure()
Send signal result_failure to state machine sequencer.
SerializeStatus serializeFrom(U8 val)
serialize 8-bit unsigned int
called on CANCEL cmd. raised in all states except IDLE
virtual void checkTimers_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port checkTimers.
void addCallPort(InputComPort *callPort)
Register an input port.
void sequencer_sendSignal_entered()
Send signal entered to state machine sequencer.
virtual void DEBUG_CONTINUE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command DEBUG_CONTINUE.
void directive_exit_internalInterfaceInvoke(const Svc::FpySequencer_ExitDirective &directive)
Internal interface base-class function for directive_exit.
virtual void DEBUG_BREAK_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, bool breakOnce)=0
Fw::ParamValid getParam_out(FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer &val)
Invoke output port getParam.
raised when the statement times out, according to the timeout parameter
message to exit active component task
void log_ACTIVITY_HI_DebugBreakpointSet(U32 breakpointIdx, bool breakOnce) const
Log event DebugBreakpointSet.
FpySequencerComponentBase::SmId getId() const
Get the state machine id.
void log_ACTIVITY_HI_SequenceDone(const Fw::StringBase &filePath) const
Log event SequenceDone.
void directive_goto_internalInterfaceInvoke(const Svc::FpySequencer_GotoDirective &directive)
Internal interface base-class function for directive_goto.
void directive_waitRel_internalInterfaceInvoke(const Svc::FpySequencer_WaitRelDirective &directive)
Internal interface base-class function for directive_waitRel.
Message will return with status when space is unavailable.
Auto-generated base for FpySequencer component.
FwIndexType getNum_seqDoneOut_OutputPorts() const
void sequencer_sendSignal_cmd_RUN(const Svc::FpySequencer_SequenceExecutionArgs &value)
Send signal cmd_RUN to state machine sequencer.
The size of the serial representation.
void init()
Initialization function.
void checkTimers_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port checkTimers.
void init()
Initialization function.
virtual void CANCEL_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CANCEL.
FwIndexType getNum_getParam_OutputPorts() const
bool isConnected_getTlmChan_OutputPort(FwIndexType portNum)
void directive_binaryRegOp_internalInterfaceInvoke(const Svc::FpySequencer_BinaryRegOpDirective &directive)
Internal interface base-class function for directive_binaryRegOp.
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.
void sequencer_sendSignal_cmd_DEBUG_CONTINUE()
Send signal cmd_DEBUG_CONTINUE to state machine sequencer.
FpySequencer_SequencerStateMachineStateMachineBase::Signal Signal
Channel ID for SequencesCancelled.
void tlmWrite_SequencesCancelled(U64 arg, Fw::Time _tlmTime=Fw::Time())
a statement is telling the sequencer to go to sleep
#define FW_TLM_STRING_MAX_SIZE
Max size of channelized telemetry string type.
virtual void DEBUG_BREAK_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command DEBUG_BREAK.
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].
PlatformAssertArgType FwAssertArgType
The type of arguments to assert functions.
virtual const CHAR * toChar() const =0
void directive_cmd_internalInterfaceInvoke(const Svc::FpySequencer_CmdDirective &directive)
Internal interface base-class function for directive_cmd.
void addCallPort(InputCmdResponsePort *callPort)
Register an input port.
void lock()
lock the mutex and assert success
Opcode to set parameter STATEMENT_TIMEOUT_SECS.
SerializeStatus deserializeTo(U8 &val)
deserialize 8-bit unsigned int