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_GETPRM,
50 INT_IF_DIRECTIVE_GETTLM,
51 INT_IF_DIRECTIVE_GOTO,
53 INT_IF_DIRECTIVE_NOOP,
54 INT_IF_DIRECTIVE_SETLOCALVAR,
55 INT_IF_DIRECTIVE_WAITABS,
56 INT_IF_DIRECTIVE_WAITREL,
57 INTERNAL_STATE_MACHINE_SIGNAL,
70 BYTE directive_getPrmIntIfSize[
74 BYTE directive_getTlmIntIfSize[
78 BYTE directive_gotoIntIfSize[
82 BYTE directive_ifIntIfSize[
86 BYTE directive_noOpIntIfSize[
90 BYTE directive_setLocalVarIntIfSize[
94 BYTE directive_waitAbsIntIfSize[
98 BYTE directive_waitRelIntIfSize[
104 BYTE internalSmBufferSize[SmSignalBuffer::SERIALIZED_SIZE];
109 class ComponentIpcSerializableBuffer :
119 MAX_DATA_SIZE =
sizeof(BuffUnion),
121 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
125 return sizeof(m_buff);
132 const U8* getBuffAddr()
const {
138 U8 m_buff[SERIALIZATION_SIZE];
149 m_component(component)
157 this->initBase(static_cast<FwEnumStoreType>(smId));
166 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
167 action_signalEntered(
Signal signal)
169 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_signalEntered(this->getId(), signal);
172 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
173 action_setSequenceFilePath(
178 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setSequenceFilePath(this->getId(), signal, value);
181 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
182 action_setSequenceBlockState(
187 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setSequenceBlockState(this->getId(), signal, value);
190 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
191 action_validate(
Signal signal)
193 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_validate(this->getId(), signal);
196 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
197 action_report_seqSucceeded(
Signal signal)
199 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqSucceeded(this->getId(), signal);
202 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
203 action_report_seqCancelled(
Signal signal)
205 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_seqCancelled(this->getId(), signal);
208 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
209 action_setGoalState_RUNNING(
Signal signal)
211 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_RUNNING(this->getId(), signal);
214 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
215 action_setGoalState_VALID(
Signal signal)
217 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_VALID(this->getId(), signal);
220 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
221 action_setGoalState_IDLE(
Signal signal)
223 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setGoalState_IDLE(this->getId(), signal);
226 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
227 action_sendCmdResponse_OK(
Signal signal)
229 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_sendCmdResponse_OK(this->getId(), signal);
232 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
233 action_sendCmdResponse_EXECUTION_ERROR(
Signal signal)
235 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_sendCmdResponse_EXECUTION_ERROR(this->getId(), signal);
238 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
239 action_clearSequenceFile(
Signal signal)
241 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearSequenceFile(this->getId(), signal);
244 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
245 action_clearDebugBreakpoint(
Signal signal)
247 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_clearDebugBreakpoint(this->getId(), signal);
250 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
251 action_checkShouldWake(
Signal signal)
253 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_checkShouldWake(this->getId(), signal);
256 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
257 action_dispatchStatement(
Signal signal)
259 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_dispatchStatement(this->getId(), signal);
262 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
263 action_resetRuntime(
Signal signal)
265 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_resetRuntime(this->getId(), signal);
268 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
269 action_checkStatementTimeout(
Signal signal)
271 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_checkStatementTimeout(this->getId(), signal);
274 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
275 action_incrementSequenceCounter(
Signal signal)
277 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_incrementSequenceCounter(this->getId(), signal);
280 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
281 action_report_debugBroken(
Signal signal)
283 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_report_debugBroken(this->getId(), signal);
286 void FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
287 action_setDebugBreakpoint(
292 this->m_component.Svc_FpySequencer_SequencerStateMachine_action_setDebugBreakpoint(this->getId(), signal, value);
295 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
296 guard_goalStateIs_RUNNING(
Signal signal)
const 298 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_goalStateIs_RUNNING(this->getId(), signal);
301 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
302 guard_shouldDebugBreak(
Signal signal)
const 304 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_shouldDebugBreak(this->getId(), signal);
307 bool FpySequencerComponentBase::Svc_FpySequencer_SequencerStateMachine ::
308 guard_debugBreakOnce(
Signal signal)
const 310 return this->m_component.Svc_FpySequencer_SequencerStateMachine_guard_debugBreakOnce(this->getId(), signal);
335 this->m_cmdIn_InputPort[port].
init();
340 this->m_cmdIn_InputPort[port].
setPortNum(port);
342 #if FW_OBJECT_NAMES == 1 346 this->m_objName.toChar(),
349 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
359 this->m_checkTimers_InputPort[port].
init();
364 this->m_checkTimers_InputPort[port].
setPortNum(port);
366 #if FW_OBJECT_NAMES == 1 370 this->m_objName.toChar(),
373 this->m_checkTimers_InputPort[port].setObjName(portName.
toChar());
383 this->m_cmdResponseIn_InputPort[port].
init();
388 this->m_cmdResponseIn_InputPort[port].
setPortNum(port);
390 #if FW_OBJECT_NAMES == 1 394 this->m_objName.toChar(),
397 this->m_cmdResponseIn_InputPort[port].setObjName(portName.
toChar());
407 this->m_pingIn_InputPort[port].
init();
412 this->m_pingIn_InputPort[port].
setPortNum(port);
414 #if FW_OBJECT_NAMES == 1 418 this->m_objName.toChar(),
421 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
431 this->m_seqRunIn_InputPort[port].
init();
436 this->m_seqRunIn_InputPort[port].
setPortNum(port);
438 #if FW_OBJECT_NAMES == 1 442 this->m_objName.toChar(),
445 this->m_seqRunIn_InputPort[port].setObjName(portName.
toChar());
455 this->m_tlmWrite_InputPort[port].
init();
460 this->m_tlmWrite_InputPort[port].
setPortNum(port);
462 #if FW_OBJECT_NAMES == 1 466 this->m_objName.toChar(),
469 this->m_tlmWrite_InputPort[port].setObjName(portName.
toChar());
479 this->m_cmdRegOut_OutputPort[port].
init();
481 #if FW_OBJECT_NAMES == 1 485 this->m_objName.toChar(),
488 this->m_cmdRegOut_OutputPort[port].setObjName(portName.
toChar());
498 this->m_cmdResponseOut_OutputPort[port].
init();
500 #if FW_OBJECT_NAMES == 1 504 this->m_objName.toChar(),
507 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
517 this->m_logOut_OutputPort[port].
init();
519 #if FW_OBJECT_NAMES == 1 523 this->m_objName.toChar(),
526 this->m_logOut_OutputPort[port].setObjName(portName.
toChar());
530 #if FW_ENABLE_TEXT_LOGGING == 1 534 port < static_cast<FwIndexType>(this->getNum_logTextOut_OutputPorts());
537 this->m_logTextOut_OutputPort[port].
init();
539 #if FW_OBJECT_NAMES == 1 543 this->m_objName.toChar(),
546 this->m_logTextOut_OutputPort[port].setObjName(portName.
toChar());
557 this->m_prmGet_OutputPort[port].
init();
559 #if FW_OBJECT_NAMES == 1 563 this->m_objName.toChar(),
566 this->m_prmGet_OutputPort[port].setObjName(portName.
toChar());
576 this->m_prmSet_OutputPort[port].
init();
578 #if FW_OBJECT_NAMES == 1 582 this->m_objName.toChar(),
585 this->m_prmSet_OutputPort[port].setObjName(portName.
toChar());
595 this->m_timeCaller_OutputPort[port].
init();
597 #if FW_OBJECT_NAMES == 1 601 this->m_objName.toChar(),
604 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
614 this->m_tlmOut_OutputPort[port].
init();
616 #if FW_OBJECT_NAMES == 1 620 this->m_objName.toChar(),
623 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
633 this->m_cmdOut_OutputPort[port].
init();
635 #if FW_OBJECT_NAMES == 1 639 this->m_objName.toChar(),
642 this->m_cmdOut_OutputPort[port].setObjName(portName.
toChar());
652 this->m_getParam_OutputPort[port].
init();
654 #if FW_OBJECT_NAMES == 1 658 this->m_objName.toChar(),
661 this->m_getParam_OutputPort[port].setObjName(portName.
toChar());
671 this->m_getTlmChan_OutputPort[port].
init();
673 #if FW_OBJECT_NAMES == 1 677 this->m_objName.toChar(),
680 this->m_getTlmChan_OutputPort[port].setObjName(portName.
toChar());
690 this->m_pingOut_OutputPort[port].
init();
692 #if FW_OBJECT_NAMES == 1 696 this->m_objName.toChar(),
699 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
706 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
710 static_cast<FwAssertArgType>(qStat)
723 static_cast<FwAssertArgType>(portNum)
726 return &this->m_cmdIn_InputPort[portNum];
738 static_cast<FwAssertArgType>(portNum)
741 return &this->m_checkTimers_InputPort[portNum];
749 static_cast<FwAssertArgType>(portNum)
752 return &this->m_cmdResponseIn_InputPort[portNum];
760 static_cast<FwAssertArgType>(portNum)
763 return &this->m_pingIn_InputPort[portNum];
771 static_cast<FwAssertArgType>(portNum)
774 return &this->m_seqRunIn_InputPort[portNum];
782 static_cast<FwAssertArgType>(portNum)
785 return &this->m_tlmWrite_InputPort[portNum];
800 static_cast<FwAssertArgType>(portNum)
803 this->m_cmdRegOut_OutputPort[portNum].
addCallPort(port);
814 static_cast<FwAssertArgType>(portNum)
817 this->m_cmdResponseOut_OutputPort[portNum].
addCallPort(port);
828 static_cast<FwAssertArgType>(portNum)
831 this->m_logOut_OutputPort[portNum].
addCallPort(port);
834 #if FW_ENABLE_TEXT_LOGGING == 1 836 void FpySequencerComponentBase ::
837 set_logTextOut_OutputPort(
843 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
844 static_cast<FwAssertArgType>(portNum)
847 this->m_logTextOut_OutputPort[portNum].addCallPort(port);
860 static_cast<FwAssertArgType>(portNum)
863 this->m_prmGet_OutputPort[portNum].
addCallPort(port);
874 static_cast<FwAssertArgType>(portNum)
877 this->m_prmSet_OutputPort[portNum].
addCallPort(port);
888 static_cast<FwAssertArgType>(portNum)
891 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
902 static_cast<FwAssertArgType>(portNum)
905 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
920 static_cast<FwAssertArgType>(portNum)
923 this->m_cmdOut_OutputPort[portNum].
addCallPort(port);
934 static_cast<FwAssertArgType>(portNum)
937 this->m_getParam_OutputPort[portNum].
addCallPort(port);
948 static_cast<FwAssertArgType>(portNum)
951 this->m_getTlmChan_OutputPort[portNum].
addCallPort(port);
962 static_cast<FwAssertArgType>(portNum)
965 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
968 #if FW_PORT_SERIALIZATION 977 Fw::InputSerializePort* port
982 static_cast<FwAssertArgType>(portNum)
985 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
991 Fw::InputSerializePort* port
996 static_cast<FwAssertArgType>(portNum)
999 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
1005 Fw::InputSerializePort* port
1010 static_cast<FwAssertArgType>(portNum)
1013 this->m_logOut_OutputPort[portNum].registerSerialPort(port);
1016 #if FW_ENABLE_TEXT_LOGGING == 1 1018 void FpySequencerComponentBase ::
1019 set_logTextOut_OutputPort(
1021 Fw::InputSerializePort* port
1025 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1026 static_cast<FwAssertArgType>(portNum)
1029 this->m_logTextOut_OutputPort[portNum].registerSerialPort(port);
1037 Fw::InputSerializePort* port
1042 static_cast<FwAssertArgType>(portNum)
1045 this->m_prmSet_OutputPort[portNum].registerSerialPort(port);
1051 Fw::InputSerializePort* port
1056 static_cast<FwAssertArgType>(portNum)
1059 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
1065 Fw::InputSerializePort* port
1070 static_cast<FwAssertArgType>(portNum)
1073 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
1078 #if FW_PORT_SERIALIZATION 1087 Fw::InputSerializePort* port
1092 static_cast<FwAssertArgType>(portNum)
1095 this->m_cmdOut_OutputPort[portNum].registerSerialPort(port);
1101 Fw::InputSerializePort* port
1106 static_cast<FwAssertArgType>(portNum)
1109 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
1121 FW_ASSERT(this->m_cmdRegOut_OutputPort[0].isConnected());
1123 this->m_cmdRegOut_OutputPort[0].
invoke(
1127 this->m_cmdRegOut_OutputPort[0].
invoke(
1131 this->m_cmdRegOut_OutputPort[0].
invoke(
1135 this->m_cmdRegOut_OutputPort[0].
invoke(
1139 this->m_cmdRegOut_OutputPort[0].
invoke(
1143 this->m_cmdRegOut_OutputPort[0].
invoke(
1147 this->m_cmdRegOut_OutputPort[0].
invoke(
1151 this->m_cmdRegOut_OutputPort[0].
invoke(
1155 this->m_cmdRegOut_OutputPort[0].
invoke(
1159 this->m_cmdRegOut_OutputPort[0].
invoke(
1174 FW_ASSERT(this->m_prmGet_OutputPort[0].isConnected());
1181 this->m_param_STATEMENT_TIMEOUT_SECS_valid =
1182 this->m_prmGet_OutputPort[0].
invoke(
1188 this->m_paramLock.
lock();
1192 _stat = _buff.
deserialize(this->m_STATEMENT_TIMEOUT_SECS);
1196 this->m_STATEMENT_TIMEOUT_SECS = 0.0f;
1202 this->m_STATEMENT_TIMEOUT_SECS = 0.0f;
1205 this->m_paramLock.
unLock();
1218 m_stateMachine_sequencer(*this)
1221 this->m_first_update_State =
true;
1222 this->m_last_State = 0;
1225 this->m_first_update_SequencesSucceeded =
true;
1226 this->m_last_SequencesSucceeded = 0;
1229 this->m_first_update_SequencesFailed =
true;
1230 this->m_last_SequencesFailed = 0;
1233 this->m_first_update_SequencesCancelled =
true;
1234 this->m_last_SequencesCancelled = 0;
1237 this->m_first_update_StatementsDispatched =
true;
1238 this->m_last_StatementsDispatched = 0;
1241 this->m_first_update_StatementsFailed =
true;
1242 this->m_last_StatementsFailed = 0;
1245 this->m_first_update_SeqPath =
true;
1248 this->m_first_update_DebugBreakpointIdx =
true;
1249 this->m_last_DebugBreakpointIdx = 0;
1252 this->m_first_update_Debug =
true;
1255 this->m_first_update_STATEMENT_TIMEOUT_SECS =
true;
1256 this->m_last_STATEMENT_TIMEOUT_SECS = 0;
1333 #if FW_ENABLE_TEXT_LOGGING == 1 1336 getNum_logTextOut_OutputPorts()
const 1404 static_cast<FwAssertArgType>(portNum)
1407 return this->m_cmdRegOut_OutputPort[portNum].
isConnected();
1415 static_cast<FwAssertArgType>(portNum)
1418 return this->m_cmdResponseOut_OutputPort[portNum].
isConnected();
1426 static_cast<FwAssertArgType>(portNum)
1429 return this->m_logOut_OutputPort[portNum].
isConnected();
1432 #if FW_ENABLE_TEXT_LOGGING == 1 1434 bool FpySequencerComponentBase ::
1435 isConnected_logTextOut_OutputPort(
FwIndexType portNum)
1438 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1439 static_cast<FwAssertArgType>(portNum)
1442 return this->m_logTextOut_OutputPort[portNum].isConnected();
1452 static_cast<FwAssertArgType>(portNum)
1455 return this->m_prmGet_OutputPort[portNum].
isConnected();
1463 static_cast<FwAssertArgType>(portNum)
1466 return this->m_prmSet_OutputPort[portNum].
isConnected();
1474 static_cast<FwAssertArgType>(portNum)
1477 return this->m_timeCaller_OutputPort[portNum].
isConnected();
1485 static_cast<FwAssertArgType>(portNum)
1488 return this->m_tlmOut_OutputPort[portNum].
isConnected();
1500 static_cast<FwAssertArgType>(portNum)
1503 return this->m_cmdOut_OutputPort[portNum].
isConnected();
1511 static_cast<FwAssertArgType>(portNum)
1514 return this->m_getParam_OutputPort[portNum].
isConnected();
1522 static_cast<FwAssertArgType>(portNum)
1525 return this->m_getTlmChan_OutputPort[portNum].
isConnected();
1533 static_cast<FwAssertArgType>(portNum)
1536 return this->m_pingOut_OutputPort[portNum].
isConnected();
1554 static_cast<FwAssertArgType>(portNum)
1562 ComponentIpcSerializableBuffer msg;
1566 _status = msg.serialize(
1567 static_cast<FwEnumStoreType>(CHECKTIMERS_SCHED)
1571 static_cast<FwAssertArgType>(_status)
1575 _status = msg.serialize(portNum);
1578 static_cast<FwAssertArgType>(_status)
1582 _status = msg.serialize(context);
1585 static_cast<FwAssertArgType>(_status)
1594 static_cast<FwAssertArgType>(qStatus)
1609 static_cast<FwAssertArgType>(portNum)
1619 ComponentIpcSerializableBuffer msg;
1623 _status = msg.serialize(
1624 static_cast<FwEnumStoreType>(CMDRESPONSEIN_CMDRESPONSE)
1628 static_cast<FwAssertArgType>(_status)
1632 _status = msg.serialize(portNum);
1635 static_cast<FwAssertArgType>(_status)
1639 _status = msg.serialize(opCode);
1642 static_cast<FwAssertArgType>(_status)
1646 _status = msg.serialize(cmdSeq);
1649 static_cast<FwAssertArgType>(_status)
1653 _status = msg.serialize(response);
1656 static_cast<FwAssertArgType>(_status)
1665 static_cast<FwAssertArgType>(qStatus)
1678 static_cast<FwAssertArgType>(portNum)
1686 ComponentIpcSerializableBuffer msg;
1690 _status = msg.serialize(
1691 static_cast<FwEnumStoreType>(PINGIN_PING)
1695 static_cast<FwAssertArgType>(_status)
1699 _status = msg.serialize(portNum);
1702 static_cast<FwAssertArgType>(_status)
1706 _status = msg.serialize(key);
1709 static_cast<FwAssertArgType>(_status)
1718 static_cast<FwAssertArgType>(qStatus)
1731 static_cast<FwAssertArgType>(portNum)
1739 ComponentIpcSerializableBuffer msg;
1743 _status = msg.serialize(
1744 static_cast<FwEnumStoreType>(SEQRUNIN_CMDSEQIN)
1748 static_cast<FwAssertArgType>(_status)
1752 _status = msg.serialize(portNum);
1755 static_cast<FwAssertArgType>(_status)
1762 static_cast<FwAssertArgType>(_status)
1771 static_cast<FwAssertArgType>(qStatus)
1784 static_cast<FwAssertArgType>(portNum)
1792 ComponentIpcSerializableBuffer msg;
1796 _status = msg.serialize(
1797 static_cast<FwEnumStoreType>(TLMWRITE_SCHED)
1801 static_cast<FwAssertArgType>(_status)
1805 _status = msg.serialize(portNum);
1808 static_cast<FwAssertArgType>(_status)
1812 _status = msg.serialize(context);
1815 static_cast<FwAssertArgType>(_status)
1824 static_cast<FwAssertArgType>(qStatus)
1896 static_cast<FwAssertArgType>(portNum)
1900 this->m_cmdOut_OutputPort[portNum].isConnected(),
1901 static_cast<FwAssertArgType>(portNum)
1903 this->m_cmdOut_OutputPort[portNum].
invoke(
1918 static_cast<FwAssertArgType>(portNum)
1922 this->m_getParam_OutputPort[portNum].isConnected(),
1923 static_cast<FwAssertArgType>(portNum)
1925 return this->m_getParam_OutputPort[portNum].
invoke(
1941 static_cast<FwAssertArgType>(portNum)
1945 this->m_getTlmChan_OutputPort[portNum].isConnected(),
1946 static_cast<FwAssertArgType>(portNum)
1948 return this->m_getTlmChan_OutputPort[portNum].
invoke(
1963 static_cast<FwAssertArgType>(portNum)
1967 this->m_pingOut_OutputPort[portNum].isConnected(),
1968 static_cast<FwAssertArgType>(portNum)
1970 this->m_pingOut_OutputPort[portNum].
invoke(
1982 ComponentIpcSerializableBuffer msg;
1986 _status = msg.serialize(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_GETPRM));
1989 static_cast<FwAssertArgType>(_status)
1993 _status = msg.serialize(static_cast<FwIndexType>(0));
1996 static_cast<FwAssertArgType>(_status)
1999 _status = msg.serialize(directive);
2002 static_cast<FwAssertArgType>(_status)
2011 static_cast<FwAssertArgType>(qStatus)
2018 ComponentIpcSerializableBuffer msg;
2022 _status = msg.serialize(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_GETTLM));
2025 static_cast<FwAssertArgType>(_status)
2029 _status = msg.serialize(static_cast<FwIndexType>(0));
2032 static_cast<FwAssertArgType>(_status)
2035 _status = msg.serialize(directive);
2038 static_cast<FwAssertArgType>(_status)
2047 static_cast<FwAssertArgType>(qStatus)
2054 ComponentIpcSerializableBuffer msg;
2058 _status = msg.serialize(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_GOTO));
2061 static_cast<FwAssertArgType>(_status)
2065 _status = msg.serialize(static_cast<FwIndexType>(0));
2068 static_cast<FwAssertArgType>(_status)
2071 _status = msg.serialize(directive);
2074 static_cast<FwAssertArgType>(_status)
2083 static_cast<FwAssertArgType>(qStatus)
2090 ComponentIpcSerializableBuffer msg;
2094 _status = msg.serialize(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_IF));
2097 static_cast<FwAssertArgType>(_status)
2101 _status = msg.serialize(static_cast<FwIndexType>(0));
2104 static_cast<FwAssertArgType>(_status)
2107 _status = msg.serialize(directive);
2110 static_cast<FwAssertArgType>(_status)
2119 static_cast<FwAssertArgType>(qStatus)
2126 ComponentIpcSerializableBuffer msg;
2130 _status = msg.serialize(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_NOOP));
2133 static_cast<FwAssertArgType>(_status)
2137 _status = msg.serialize(static_cast<FwIndexType>(0));
2140 static_cast<FwAssertArgType>(_status)
2143 _status = msg.serialize(directive);
2146 static_cast<FwAssertArgType>(_status)
2155 static_cast<FwAssertArgType>(qStatus)
2162 ComponentIpcSerializableBuffer msg;
2166 _status = msg.serialize(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_SETLOCALVAR));
2169 static_cast<FwAssertArgType>(_status)
2173 _status = msg.serialize(static_cast<FwIndexType>(0));
2176 static_cast<FwAssertArgType>(_status)
2179 _status = msg.serialize(directive);
2182 static_cast<FwAssertArgType>(_status)
2191 static_cast<FwAssertArgType>(qStatus)
2198 ComponentIpcSerializableBuffer msg;
2202 _status = msg.serialize(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_WAITABS));
2205 static_cast<FwAssertArgType>(_status)
2209 _status = msg.serialize(static_cast<FwIndexType>(0));
2212 static_cast<FwAssertArgType>(_status)
2215 _status = msg.serialize(directive);
2218 static_cast<FwAssertArgType>(_status)
2227 static_cast<FwAssertArgType>(qStatus)
2234 ComponentIpcSerializableBuffer msg;
2238 _status = msg.serialize(static_cast<FwEnumStoreType>(INT_IF_DIRECTIVE_WAITREL));
2241 static_cast<FwAssertArgType>(_status)
2245 _status = msg.serialize(static_cast<FwIndexType>(0));
2248 static_cast<FwAssertArgType>(_status)
2251 _status = msg.serialize(directive);
2254 static_cast<FwAssertArgType>(_status)
2263 static_cast<FwAssertArgType>(qStatus)
2274 return this->m_stateMachine_sequencer.
getState();
2284 ComponentIpcSerializableBuffer buffer;
2291 this->sequencer_sendSignalFinish(buffer);
2297 ComponentIpcSerializableBuffer buffer;
2304 this->sequencer_sendSignalFinish(buffer);
2310 ComponentIpcSerializableBuffer buffer;
2317 this->sequencer_sendSignalFinish(buffer);
2323 ComponentIpcSerializableBuffer buffer;
2327 this->sequencer_sendSignalFinish(buffer);
2333 ComponentIpcSerializableBuffer buffer;
2340 this->sequencer_sendSignalFinish(buffer);
2346 ComponentIpcSerializableBuffer buffer;
2350 this->sequencer_sendSignalFinish(buffer);
2356 ComponentIpcSerializableBuffer buffer;
2360 this->sequencer_sendSignalFinish(buffer);
2366 ComponentIpcSerializableBuffer buffer;
2370 this->sequencer_sendSignalFinish(buffer);
2376 ComponentIpcSerializableBuffer buffer;
2380 this->sequencer_sendSignalFinish(buffer);
2386 ComponentIpcSerializableBuffer buffer;
2390 this->sequencer_sendSignalFinish(buffer);
2396 ComponentIpcSerializableBuffer buffer;
2400 this->sequencer_sendSignalFinish(buffer);
2406 ComponentIpcSerializableBuffer buffer;
2410 this->sequencer_sendSignalFinish(buffer);
2416 ComponentIpcSerializableBuffer buffer;
2420 this->sequencer_sendSignalFinish(buffer);
2426 ComponentIpcSerializableBuffer buffer;
2430 this->sequencer_sendSignalFinish(buffer);
2436 ComponentIpcSerializableBuffer buffer;
2440 this->sequencer_sendSignalFinish(buffer);
2446 ComponentIpcSerializableBuffer buffer;
2450 this->sequencer_sendSignalFinish(buffer);
2456 ComponentIpcSerializableBuffer buffer;
2460 this->sequencer_sendSignalFinish(buffer);
2466 ComponentIpcSerializableBuffer buffer;
2470 this->sequencer_sendSignalFinish(buffer);
2476 ComponentIpcSerializableBuffer buffer;
2480 this->sequencer_sendSignalFinish(buffer);
2486 ComponentIpcSerializableBuffer buffer;
2490 this->sequencer_sendSignalFinish(buffer);
2496 ComponentIpcSerializableBuffer buffer;
2500 this->sequencer_sendSignalFinish(buffer);
2506 ComponentIpcSerializableBuffer buffer;
2510 this->sequencer_sendSignalFinish(buffer);
2516 ComponentIpcSerializableBuffer buffer;
2520 this->sequencer_sendSignalFinish(buffer);
2526 ComponentIpcSerializableBuffer buffer;
2533 this->sequencer_sendSignalFinish(buffer);
2547 FW_ASSERT(this->m_cmdResponseOut_OutputPort[0].isConnected());
2548 this->m_cmdResponseOut_OutputPort[0].
invoke(opCode, cmdSeq, response);
2569 ComponentIpcSerializableBuffer msg;
2573 _status = msg.serialize(static_cast<FwEnumStoreType>(CMD_RUN));
2576 static_cast<FwAssertArgType>(_status)
2582 _status = msg.serialize(port);
2585 static_cast<FwAssertArgType>(_status)
2588 _status = msg.serialize(opCode);
2591 static_cast<FwAssertArgType>(_status)
2594 _status = msg.serialize(cmdSeq);
2597 static_cast<FwAssertArgType>(_status)
2600 _status = msg.serialize(args);
2603 static_cast<FwAssertArgType>(_status)
2612 static_cast<FwAssertArgType>(qStatus)
2628 ComponentIpcSerializableBuffer msg;
2632 _status = msg.serialize(static_cast<FwEnumStoreType>(CMD_VALIDATE));
2635 static_cast<FwAssertArgType>(_status)
2641 _status = msg.serialize(port);
2644 static_cast<FwAssertArgType>(_status)
2647 _status = msg.serialize(opCode);
2650 static_cast<FwAssertArgType>(_status)
2653 _status = msg.serialize(cmdSeq);
2656 static_cast<FwAssertArgType>(_status)
2659 _status = msg.serialize(args);
2662 static_cast<FwAssertArgType>(_status)
2671 static_cast<FwAssertArgType>(qStatus)
2687 ComponentIpcSerializableBuffer msg;
2691 _status = msg.serialize(static_cast<FwEnumStoreType>(CMD_RUN_VALIDATED));
2694 static_cast<FwAssertArgType>(_status)
2700 _status = msg.serialize(port);
2703 static_cast<FwAssertArgType>(_status)
2706 _status = msg.serialize(opCode);
2709 static_cast<FwAssertArgType>(_status)
2712 _status = msg.serialize(cmdSeq);
2715 static_cast<FwAssertArgType>(_status)
2718 _status = msg.serialize(args);
2721 static_cast<FwAssertArgType>(_status)
2730 static_cast<FwAssertArgType>(qStatus)
2746 ComponentIpcSerializableBuffer msg;
2750 _status = msg.serialize(static_cast<FwEnumStoreType>(CMD_CANCEL));
2753 static_cast<FwAssertArgType>(_status)
2759 _status = msg.serialize(port);
2762 static_cast<FwAssertArgType>(_status)
2765 _status = msg.serialize(opCode);
2768 static_cast<FwAssertArgType>(_status)
2771 _status = msg.serialize(cmdSeq);
2774 static_cast<FwAssertArgType>(_status)
2777 _status = msg.serialize(args);
2780 static_cast<FwAssertArgType>(_status)
2789 static_cast<FwAssertArgType>(qStatus)
2805 ComponentIpcSerializableBuffer msg;
2809 _status = msg.serialize(static_cast<FwEnumStoreType>(CMD_DEBUG_SET_BREAKPOINT));
2812 static_cast<FwAssertArgType>(_status)
2818 _status = msg.serialize(port);
2821 static_cast<FwAssertArgType>(_status)
2824 _status = msg.serialize(opCode);
2827 static_cast<FwAssertArgType>(_status)
2830 _status = msg.serialize(cmdSeq);
2833 static_cast<FwAssertArgType>(_status)
2836 _status = msg.serialize(args);
2839 static_cast<FwAssertArgType>(_status)
2848 static_cast<FwAssertArgType>(qStatus)
2864 ComponentIpcSerializableBuffer msg;
2868 _status = msg.serialize(static_cast<FwEnumStoreType>(CMD_DEBUG_BREAK));
2871 static_cast<FwAssertArgType>(_status)
2877 _status = msg.serialize(port);
2880 static_cast<FwAssertArgType>(_status)
2883 _status = msg.serialize(opCode);
2886 static_cast<FwAssertArgType>(_status)
2889 _status = msg.serialize(cmdSeq);
2892 static_cast<FwAssertArgType>(_status)
2895 _status = msg.serialize(args);
2898 static_cast<FwAssertArgType>(_status)
2907 static_cast<FwAssertArgType>(qStatus)
2923 ComponentIpcSerializableBuffer msg;
2927 _status = msg.serialize(static_cast<FwEnumStoreType>(CMD_DEBUG_CONTINUE));
2930 static_cast<FwAssertArgType>(_status)
2936 _status = msg.serialize(port);
2939 static_cast<FwAssertArgType>(_status)
2942 _status = msg.serialize(opCode);
2945 static_cast<FwAssertArgType>(_status)
2948 _status = msg.serialize(cmdSeq);
2951 static_cast<FwAssertArgType>(_status)
2954 _status = msg.serialize(args);
2957 static_cast<FwAssertArgType>(_status)
2966 static_cast<FwAssertArgType>(qStatus)
2982 ComponentIpcSerializableBuffer msg;
2986 _status = msg.serialize(static_cast<FwEnumStoreType>(CMD_DEBUG_CLEAR_BREAKPOINT));
2989 static_cast<FwAssertArgType>(_status)
2995 _status = msg.serialize(port);
2998 static_cast<FwAssertArgType>(_status)
3001 _status = msg.serialize(opCode);
3004 static_cast<FwAssertArgType>(_status)
3007 _status = msg.serialize(cmdSeq);
3010 static_cast<FwAssertArgType>(_status)
3013 _status = msg.serialize(args);
3016 static_cast<FwAssertArgType>(_status)
3025 static_cast<FwAssertArgType>(qStatus)
3134 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3135 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3143 if (this->m_logOut_OutputPort[0].isConnected()) {
3147 #if FW_AMPCS_COMPATIBLE 3149 _status = _logBuff.
serialize(static_cast<U8>(1));
3152 static_cast<FwAssertArgType>(_status)
3156 #if FW_AMPCS_COMPATIBLE 3159 static_cast<U8>(
sizeof(I32))
3163 static_cast<FwAssertArgType>(_status)
3169 static_cast<FwAssertArgType>(_status)
3172 this->m_logOut_OutputPort[0].
invoke(
3181 #if FW_ENABLE_TEXT_LOGGING 3182 if (this->m_logTextOut_OutputPort[0].isConnected()) {
3183 #if FW_OBJECT_NAMES == 1 3184 const char* _formatString =
3185 "(%s) %s: Cannot run command in state %" PRIi32
"";
3187 const char* _formatString =
3188 "%s: Cannot run command in state %" PRIi32
"";
3195 this->m_objName.toChar(),
3201 this->m_logTextOut_OutputPort[0].invoke(
3216 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3217 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3225 if (this->m_logOut_OutputPort[0].isConnected()) {
3229 #if FW_AMPCS_COMPATIBLE 3231 _status = _logBuff.
serialize(static_cast<U8>(1));
3234 static_cast<FwAssertArgType>(_status)
3238 #if FW_AMPCS_COMPATIBLE 3241 static_cast<U8>(
sizeof(I32))
3245 static_cast<FwAssertArgType>(_status)
3251 static_cast<FwAssertArgType>(_status)
3254 this->m_logOut_OutputPort[0].
invoke(
3263 #if FW_ENABLE_TEXT_LOGGING 3264 if (this->m_logTextOut_OutputPort[0].isConnected()) {
3265 #if FW_OBJECT_NAMES == 1 3266 const char* _formatString =
3267 "(%s) %s: Cannot run sequence from a port in state %" PRIi32
"";
3269 const char* _formatString =
3270 "%s: Cannot run sequence from a port in state %" PRIi32
"";
3277 this->m_objName.toChar(),
3279 "InvalidSeqRunCall ",
3283 this->m_logTextOut_OutputPort[0].invoke(
3301 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3302 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3310 if (this->m_logOut_OutputPort[0].isConnected()) {
3314 #if FW_AMPCS_COMPATIBLE 3316 _status = _logBuff.
serialize(static_cast<U8>(2));
3319 static_cast<FwAssertArgType>(_status)
3326 static_cast<FwAssertArgType>(_status)
3329 #if FW_AMPCS_COMPATIBLE 3332 static_cast<U8>(
sizeof(I32))
3336 static_cast<FwAssertArgType>(_status)
3339 _status = _logBuff.
serialize(errorCode);
3342 static_cast<FwAssertArgType>(_status)
3345 this->m_logOut_OutputPort[0].
invoke(
3354 #if FW_ENABLE_TEXT_LOGGING 3355 if (this->m_logTextOut_OutputPort[0].isConnected()) {
3356 #if FW_OBJECT_NAMES == 1 3357 const char* _formatString =
3358 "(%s) %s: File open error encountered while opening %s: %" PRIi32
"";
3360 const char* _formatString =
3361 "%s: File open error encountered while opening %s: %" PRIi32
"";
3368 this->m_objName.toChar(),
3375 this->m_logTextOut_OutputPort[0].invoke(
3393 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3394 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3402 if (this->m_logOut_OutputPort[0].isConnected()) {
3406 #if FW_AMPCS_COMPATIBLE 3408 _status = _logBuff.
serialize(static_cast<U8>(2));
3411 static_cast<FwAssertArgType>(_status)
3418 static_cast<FwAssertArgType>(_status)
3421 #if FW_AMPCS_COMPATIBLE 3424 static_cast<U8>(
sizeof(I32))
3428 static_cast<FwAssertArgType>(_status)
3431 _status = _logBuff.
serialize(errorCode);
3434 static_cast<FwAssertArgType>(_status)
3437 this->m_logOut_OutputPort[0].
invoke(
3446 #if FW_ENABLE_TEXT_LOGGING 3447 if (this->m_logTextOut_OutputPort[0].isConnected()) {
3448 #if FW_OBJECT_NAMES == 1 3449 const char* _formatString =
3450 "(%s) %s: File read error encountered while reading %s: %" PRIi32
"";
3452 const char* _formatString =
3453 "%s: File read error encountered while reading %s: %" PRIi32
"";
3460 this->m_objName.toChar(),
3467 this->m_logTextOut_OutputPort[0].invoke(
3482 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3483 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3491 if (this->m_logOut_OutputPort[0].isConnected()) {
3495 #if FW_AMPCS_COMPATIBLE 3497 _status = _logBuff.
serialize(static_cast<U8>(1));
3500 static_cast<FwAssertArgType>(_status)
3507 static_cast<FwAssertArgType>(_status)
3510 this->m_logOut_OutputPort[0].
invoke(
3519 #if FW_ENABLE_TEXT_LOGGING 3520 if (this->m_logTextOut_OutputPort[0].isConnected()) {
3521 #if FW_OBJECT_NAMES == 1 3522 const char* _formatString =
3523 "(%s) %s: End of file encountered unexpectedly while reading %s";
3525 const char* _formatString =
3526 "%s: End of file encountered unexpectedly while reading %s";
3533 this->m_objName.toChar(),
3539 this->m_logTextOut_OutputPort[0].invoke(
3559 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3560 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3568 if (this->m_logOut_OutputPort[0].isConnected()) {
3572 #if FW_AMPCS_COMPATIBLE 3574 _status = _logBuff.
serialize(static_cast<U8>(4));
3577 static_cast<FwAssertArgType>(_status)
3584 static_cast<FwAssertArgType>(_status)
3587 #if FW_AMPCS_COMPATIBLE 3590 static_cast<U8>(
sizeof(I32))
3594 static_cast<FwAssertArgType>(_status)
3597 _status = _logBuff.
serialize(errorCode);
3600 static_cast<FwAssertArgType>(_status)
3603 #if FW_AMPCS_COMPATIBLE 3606 static_cast<U8>(
sizeof(
U64))
3610 static_cast<FwAssertArgType>(_status)
3616 static_cast<FwAssertArgType>(_status)
3619 #if FW_AMPCS_COMPATIBLE 3622 static_cast<U8>(
sizeof(
U64))
3626 static_cast<FwAssertArgType>(_status)
3629 _status = _logBuff.
serialize(buffLength);
3632 static_cast<FwAssertArgType>(_status)
3635 this->m_logOut_OutputPort[0].
invoke(
3644 #if FW_ENABLE_TEXT_LOGGING 3645 if (this->m_logTextOut_OutputPort[0].isConnected()) {
3646 #if FW_OBJECT_NAMES == 1 3647 const char* _formatString =
3648 "(%s) %s: Deserialize error encountered while reading %s: %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
3650 const char* _formatString =
3651 "%s: Deserialize error encountered while reading %s: %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
3658 this->m_objName.toChar(),
3660 "FileReadDeserializeError ",
3667 this->m_logTextOut_OutputPort[0].invoke(
3685 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3686 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3694 if (this->m_logOut_OutputPort[0].isConnected()) {
3698 #if FW_AMPCS_COMPATIBLE 3700 _status = _logBuff.
serialize(static_cast<U8>(2));
3703 static_cast<FwAssertArgType>(_status)
3707 #if FW_AMPCS_COMPATIBLE 3710 static_cast<U8>(
sizeof(
U8))
3714 static_cast<FwAssertArgType>(_status)
3720 static_cast<FwAssertArgType>(_status)
3723 #if FW_AMPCS_COMPATIBLE 3726 static_cast<U8>(
sizeof(
U8))
3730 static_cast<FwAssertArgType>(_status)
3736 static_cast<FwAssertArgType>(_status)
3739 this->m_logOut_OutputPort[0].
invoke(
3748 #if FW_ENABLE_TEXT_LOGGING 3749 if (this->m_logTextOut_OutputPort[0].isConnected()) {
3750 #if FW_OBJECT_NAMES == 1 3751 const char* _formatString =
3752 "(%s) %s: Expected schema version %" PRIu8
", found %" PRIu8
"";
3754 const char* _formatString =
3755 "%s: Expected schema version %" PRIu8
", found %" PRIu8
"";
3762 this->m_objName.toChar(),
3764 "WrongSchemaVersion ",
3769 this->m_logTextOut_OutputPort[0].invoke(
3787 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3788 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3796 if (this->m_logOut_OutputPort[0].isConnected()) {
3800 #if FW_AMPCS_COMPATIBLE 3802 _status = _logBuff.
serialize(static_cast<U8>(2));
3805 static_cast<FwAssertArgType>(_status)
3809 #if FW_AMPCS_COMPATIBLE 3812 static_cast<U8>(
sizeof(U32))
3816 static_cast<FwAssertArgType>(_status)
3822 static_cast<FwAssertArgType>(_status)
3825 #if FW_AMPCS_COMPATIBLE 3828 static_cast<U8>(
sizeof(U32))
3832 static_cast<FwAssertArgType>(_status)
3838 static_cast<FwAssertArgType>(_status)
3841 this->m_logOut_OutputPort[0].
invoke(
3850 #if FW_ENABLE_TEXT_LOGGING 3851 if (this->m_logTextOut_OutputPort[0].isConnected()) {
3852 #if FW_OBJECT_NAMES == 1 3853 const char* _formatString =
3854 "(%s) %s: Expected CRC %" PRIu32
", actual was %" PRIu32
"";
3856 const char* _formatString =
3857 "%s: Expected CRC %" PRIu32
", actual was %" PRIu32
"";
3864 this->m_objName.toChar(),
3871 this->m_logTextOut_OutputPort[0].invoke(
3886 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3887 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3895 if (this->m_logOut_OutputPort[0].isConnected()) {
3899 #if FW_AMPCS_COMPATIBLE 3901 _status = _logBuff.
serialize(static_cast<U8>(1));
3904 static_cast<FwAssertArgType>(_status)
3908 #if FW_AMPCS_COMPATIBLE 3911 static_cast<U8>(
sizeof(U32))
3915 static_cast<FwAssertArgType>(_status)
3918 _status = _logBuff.
serialize(remaining);
3921 static_cast<FwAssertArgType>(_status)
3924 this->m_logOut_OutputPort[0].
invoke(
3933 #if FW_ENABLE_TEXT_LOGGING 3934 if (this->m_logTextOut_OutputPort[0].isConnected()) {
3935 #if FW_OBJECT_NAMES == 1 3936 const char* _formatString =
3937 "(%s) %s: File had %" PRIu32
" extra bytes at the end";
3939 const char* _formatString =
3940 "%s: File had %" PRIu32
" extra bytes at the end";
3947 this->m_objName.toChar(),
3949 "ExtraBytesInSequence ",
3953 this->m_logTextOut_OutputPort[0].invoke(
3971 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3972 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3980 if (this->m_logOut_OutputPort[0].isConnected()) {
3984 #if FW_AMPCS_COMPATIBLE 3986 _status = _logBuff.
serialize(static_cast<U8>(2));
3989 static_cast<FwAssertArgType>(_status)
3993 #if FW_AMPCS_COMPATIBLE 3996 static_cast<U8>(
sizeof(
U64))
4000 static_cast<FwAssertArgType>(_status)
4003 _status = _logBuff.
serialize(bufferSize);
4006 static_cast<FwAssertArgType>(_status)
4012 static_cast<FwAssertArgType>(_status)
4015 this->m_logOut_OutputPort[0].
invoke(
4024 #if FW_ENABLE_TEXT_LOGGING 4025 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4026 #if FW_OBJECT_NAMES == 1 4027 const char* _formatString =
4028 "(%s) %s: Buffer capacity of %" PRIu64
" was not big enough for sequence %s";
4030 const char* _formatString =
4031 "%s: Buffer capacity of %" PRIu64
" was not big enough for sequence %s";
4038 this->m_objName.toChar(),
4040 "InsufficientBufferSpace ",
4045 this->m_logTextOut_OutputPort[0].invoke(
4066 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4067 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4075 if (this->m_logOut_OutputPort[0].isConnected()) {
4079 #if FW_AMPCS_COMPATIBLE 4081 _status = _logBuff.
serialize(static_cast<U8>(5));
4084 static_cast<FwAssertArgType>(_status)
4088 #if FW_AMPCS_COMPATIBLE 4095 static_cast<FwAssertArgType>(_status)
4101 static_cast<FwAssertArgType>(_status)
4104 #if FW_AMPCS_COMPATIBLE 4107 static_cast<U8>(
sizeof(U32))
4111 static_cast<FwAssertArgType>(_status)
4114 _status = _logBuff.
serialize(stmtOpcode);
4117 static_cast<FwAssertArgType>(_status)
4120 #if FW_AMPCS_COMPATIBLE 4123 static_cast<U8>(
sizeof(U32))
4127 static_cast<FwAssertArgType>(_status)
4133 static_cast<FwAssertArgType>(_status)
4139 static_cast<FwAssertArgType>(_status)
4142 #if FW_AMPCS_COMPATIBLE 4149 static_cast<FwAssertArgType>(_status)
4155 static_cast<FwAssertArgType>(_status)
4158 this->m_logOut_OutputPort[0].
invoke(
4167 #if FW_ENABLE_TEXT_LOGGING 4168 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4169 #if FW_OBJECT_NAMES == 1 4170 const char* _formatString =
4171 "(%s) %s: Failed to execute statement type %s opcode %" PRIu32
" index %" PRIu32
" in sequence file %s: response was %s";
4173 const char* _formatString =
4174 "%s: Failed to execute statement type %s opcode %" PRIu32
" index %" PRIu32
" in sequence file %s: response was %s";
4178 stmtType.toString(stmtTypeStr);
4180 response.toString(responseStr);
4186 this->m_objName.toChar(),
4196 this->m_logTextOut_OutputPort[0].invoke(
4211 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4212 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4220 if (this->m_logOut_OutputPort[0].isConnected()) {
4224 #if FW_AMPCS_COMPATIBLE 4226 _status = _logBuff.
serialize(static_cast<U8>(1));
4229 static_cast<FwAssertArgType>(_status)
4236 static_cast<FwAssertArgType>(_status)
4239 this->m_logOut_OutputPort[0].
invoke(
4248 #if FW_ENABLE_TEXT_LOGGING 4249 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4250 #if FW_OBJECT_NAMES == 1 4251 const char* _formatString =
4252 "(%s) %s: Completed sequence file %s";
4254 const char* _formatString =
4255 "%s: Completed sequence file %s";
4262 this->m_objName.toChar(),
4268 this->m_logTextOut_OutputPort[0].invoke(
4283 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4284 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4292 if (this->m_logOut_OutputPort[0].isConnected()) {
4296 #if FW_AMPCS_COMPATIBLE 4298 _status = _logBuff.
serialize(static_cast<U8>(1));
4301 static_cast<FwAssertArgType>(_status)
4308 static_cast<FwAssertArgType>(_status)
4311 this->m_logOut_OutputPort[0].
invoke(
4320 #if FW_ENABLE_TEXT_LOGGING 4321 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4322 #if FW_OBJECT_NAMES == 1 4323 const char* _formatString =
4324 "(%s) %s: Cancelled sequence file %s";
4326 const char* _formatString =
4327 "%s: Cancelled sequence file %s";
4334 this->m_objName.toChar(),
4336 "SequenceCancelled ",
4340 this->m_logTextOut_OutputPort[0].invoke(
4359 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4360 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4368 if (this->m_logOut_OutputPort[0].isConnected()) {
4372 #if FW_AMPCS_COMPATIBLE 4374 _status = _logBuff.
serialize(static_cast<U8>(3));
4377 static_cast<FwAssertArgType>(_status)
4381 #if FW_AMPCS_COMPATIBLE 4384 static_cast<U8>(
sizeof(U32))
4388 static_cast<FwAssertArgType>(_status)
4394 static_cast<FwAssertArgType>(_status)
4397 #if FW_AMPCS_COMPATIBLE 4400 static_cast<U8>(
sizeof(U32))
4404 static_cast<FwAssertArgType>(_status)
4410 static_cast<FwAssertArgType>(_status)
4416 static_cast<FwAssertArgType>(_status)
4419 this->m_logOut_OutputPort[0].
invoke(
4428 #if FW_ENABLE_TEXT_LOGGING 4429 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4430 #if FW_OBJECT_NAMES == 1 4431 const char* _formatString =
4432 "(%s) %s: Unknown sequencer directive id %" PRIu32
" at index %" PRIu32
" in file %s";
4434 const char* _formatString =
4435 "%s: Unknown sequencer directive id %" PRIu32
" at index %" PRIu32
" in file %s";
4442 this->m_objName.toChar(),
4444 "UnknownSequencerDirective ",
4450 this->m_logTextOut_OutputPort[0].invoke(
4472 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4473 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4481 if (this->m_logOut_OutputPort[0].isConnected()) {
4485 #if FW_AMPCS_COMPATIBLE 4487 _status = _logBuff.
serialize(static_cast<U8>(6));
4490 static_cast<FwAssertArgType>(_status)
4494 #if FW_AMPCS_COMPATIBLE 4497 static_cast<U8>(
sizeof(U32))
4501 static_cast<FwAssertArgType>(_status)
4504 _status = _logBuff.
serialize(cmdOpcode);
4507 static_cast<FwAssertArgType>(_status)
4510 #if FW_AMPCS_COMPATIBLE 4513 static_cast<U8>(
sizeof(
U64))
4517 static_cast<FwAssertArgType>(_status)
4520 _status = _logBuff.
serialize(bufCapacity);
4523 static_cast<FwAssertArgType>(_status)
4526 #if FW_AMPCS_COMPATIBLE 4529 static_cast<U8>(
sizeof(
U64))
4533 static_cast<FwAssertArgType>(_status)
4539 static_cast<FwAssertArgType>(_status)
4542 #if FW_AMPCS_COMPATIBLE 4545 static_cast<U8>(
sizeof(
U64))
4549 static_cast<FwAssertArgType>(_status)
4552 _status = _logBuff.
serialize(writeSize);
4555 static_cast<FwAssertArgType>(_status)
4558 #if FW_AMPCS_COMPATIBLE 4561 static_cast<U8>(
sizeof(
U8))
4565 static_cast<FwAssertArgType>(_status)
4568 _status = _logBuff.
serialize(errorCode);
4571 static_cast<FwAssertArgType>(_status)
4574 #if FW_AMPCS_COMPATIBLE 4577 static_cast<U8>(
sizeof(U32))
4581 static_cast<FwAssertArgType>(_status)
4587 static_cast<FwAssertArgType>(_status)
4590 this->m_logOut_OutputPort[0].
invoke(
4599 #if FW_ENABLE_TEXT_LOGGING 4600 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4601 #if FW_OBJECT_NAMES == 1 4602 const char* _formatString =
4603 "(%s) %s: Failure while serializing cmd opcode %" PRIu32
": buf capacity %" PRIu64
", cur write pos %" PRIu64
", write size %" PRIu64
", error code %" PRIu8
", current statement index %" PRIu32
"";
4605 const char* _formatString =
4606 "%s: Failure while serializing cmd opcode %" PRIu32
": buf capacity %" PRIu64
", cur write pos %" PRIu64
", write size %" PRIu64
", error code %" PRIu8
", current statement index %" PRIu32
"";
4613 this->m_objName.toChar(),
4615 "CommandSerializeError ",
4624 this->m_logTextOut_OutputPort[0].invoke(
4643 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4644 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4652 if (this->m_logOut_OutputPort[0].isConnected()) {
4656 #if FW_AMPCS_COMPATIBLE 4658 _status = _logBuff.
serialize(static_cast<U8>(3));
4661 static_cast<FwAssertArgType>(_status)
4665 #if FW_AMPCS_COMPATIBLE 4668 static_cast<U8>(
sizeof(I32))
4672 static_cast<FwAssertArgType>(_status)
4678 static_cast<FwAssertArgType>(_status)
4681 #if FW_AMPCS_COMPATIBLE 4684 static_cast<U8>(
sizeof(U32))
4688 static_cast<FwAssertArgType>(_status)
4694 static_cast<FwAssertArgType>(_status)
4697 #if FW_AMPCS_COMPATIBLE 4704 static_cast<FwAssertArgType>(_status)
4710 static_cast<FwAssertArgType>(_status)
4713 this->m_logOut_OutputPort[0].
invoke(
4722 #if FW_ENABLE_TEXT_LOGGING 4723 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4724 #if FW_OBJECT_NAMES == 1 4725 const char* _formatString =
4726 "(%s) %s: Received a command response while not running a sequence (was in state %" PRIi32
" opcode was %" PRIu32
" response code %s)";
4728 const char* _formatString =
4729 "%s: Received a command response while not running a sequence (was in state %" PRIi32
" opcode was %" PRIu32
" response code %s)";
4733 response.toString(responseStr);
4739 this->m_objName.toChar(),
4741 "CmdResponseWhileNotRunningSequence ",
4747 this->m_logTextOut_OutputPort[0].invoke(
4762 U16 currentSequenceIdx
4767 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4768 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4776 if (this->m_logOut_OutputPort[0].isConnected()) {
4780 #if FW_AMPCS_COMPATIBLE 4782 _status = _logBuff.
serialize(static_cast<U8>(4));
4785 static_cast<FwAssertArgType>(_status)
4789 #if FW_AMPCS_COMPATIBLE 4792 static_cast<U8>(
sizeof(U32))
4796 static_cast<FwAssertArgType>(_status)
4802 static_cast<FwAssertArgType>(_status)
4805 #if FW_AMPCS_COMPATIBLE 4812 static_cast<FwAssertArgType>(_status)
4818 static_cast<FwAssertArgType>(_status)
4821 #if FW_AMPCS_COMPATIBLE 4824 static_cast<U8>(
sizeof(U16))
4828 static_cast<FwAssertArgType>(_status)
4831 _status = _logBuff.
serialize(oldSequenceIdx);
4834 static_cast<FwAssertArgType>(_status)
4837 #if FW_AMPCS_COMPATIBLE 4840 static_cast<U8>(
sizeof(U16))
4844 static_cast<FwAssertArgType>(_status)
4847 _status = _logBuff.
serialize(currentSequenceIdx);
4850 static_cast<FwAssertArgType>(_status)
4853 this->m_logOut_OutputPort[0].
invoke(
4862 #if FW_ENABLE_TEXT_LOGGING 4863 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4864 #if FW_OBJECT_NAMES == 1 4865 const char* _formatString =
4866 "(%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
")";
4868 const char* _formatString =
4869 "%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
")";
4873 response.toString(responseStr);
4879 this->m_objName.toChar(),
4881 "CmdResponseFromOldSequence ",
4888 this->m_logTextOut_OutputPort[0].invoke(
4906 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4907 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4915 if (this->m_logOut_OutputPort[0].isConnected()) {
4919 #if FW_AMPCS_COMPATIBLE 4921 _status = _logBuff.
serialize(static_cast<U8>(2));
4924 static_cast<FwAssertArgType>(_status)
4928 #if FW_AMPCS_COMPATIBLE 4931 static_cast<U8>(
sizeof(U32))
4935 static_cast<FwAssertArgType>(_status)
4941 static_cast<FwAssertArgType>(_status)
4944 #if FW_AMPCS_COMPATIBLE 4951 static_cast<FwAssertArgType>(_status)
4957 static_cast<FwAssertArgType>(_status)
4960 this->m_logOut_OutputPort[0].
invoke(
4969 #if FW_ENABLE_TEXT_LOGGING 4970 if (this->m_logTextOut_OutputPort[0].isConnected()) {
4971 #if FW_OBJECT_NAMES == 1 4972 const char* _formatString =
4973 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was not awaiting a response";
4975 const char* _formatString =
4976 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was not awaiting a response";
4980 response.toString(responseStr);
4986 this->m_objName.toChar(),
4988 "CmdResponseWhileNotAwaiting ",
4993 this->m_logTextOut_OutputPort[0].invoke(
5012 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5013 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5021 if (this->m_logOut_OutputPort[0].isConnected()) {
5025 #if FW_AMPCS_COMPATIBLE 5027 _status = _logBuff.
serialize(static_cast<U8>(3));
5030 static_cast<FwAssertArgType>(_status)
5034 #if FW_AMPCS_COMPATIBLE 5037 static_cast<U8>(
sizeof(U32))
5041 static_cast<FwAssertArgType>(_status)
5047 static_cast<FwAssertArgType>(_status)
5050 #if FW_AMPCS_COMPATIBLE 5057 static_cast<FwAssertArgType>(_status)
5063 static_cast<FwAssertArgType>(_status)
5066 #if FW_AMPCS_COMPATIBLE 5069 static_cast<U8>(
sizeof(U32))
5073 static_cast<FwAssertArgType>(_status)
5076 _status = _logBuff.
serialize(expectedOpcode);
5079 static_cast<FwAssertArgType>(_status)
5082 this->m_logOut_OutputPort[0].
invoke(
5091 #if FW_ENABLE_TEXT_LOGGING 5092 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5093 #if FW_OBJECT_NAMES == 1 5094 const char* _formatString =
5095 "(%s) %s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was expecting a response from command opcode %" PRIu32
"";
5097 const char* _formatString =
5098 "%s: Received a response from cmd opcode %" PRIu32
" (response %s) from this sequence, but was expecting a response from command opcode %" PRIu32
"";
5102 response.toString(responseStr);
5108 this->m_objName.toChar(),
5110 "WrongCmdResponseOpcode ",
5116 this->m_logTextOut_OutputPort[0].invoke(
5136 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5137 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5145 if (this->m_logOut_OutputPort[0].isConnected()) {
5149 #if FW_AMPCS_COMPATIBLE 5151 _status = _logBuff.
serialize(static_cast<U8>(4));
5154 static_cast<FwAssertArgType>(_status)
5158 #if FW_AMPCS_COMPATIBLE 5161 static_cast<U8>(
sizeof(U32))
5165 static_cast<FwAssertArgType>(_status)
5171 static_cast<FwAssertArgType>(_status)
5174 #if FW_AMPCS_COMPATIBLE 5181 static_cast<FwAssertArgType>(_status)
5187 static_cast<FwAssertArgType>(_status)
5190 #if FW_AMPCS_COMPATIBLE 5193 static_cast<U8>(
sizeof(U16))
5197 static_cast<FwAssertArgType>(_status)
5200 _status = _logBuff.
serialize(actualCmdIdx);
5203 static_cast<FwAssertArgType>(_status)
5206 #if FW_AMPCS_COMPATIBLE 5209 static_cast<U8>(
sizeof(U16))
5213 static_cast<FwAssertArgType>(_status)
5216 _status = _logBuff.
serialize(expectedCmdIdx);
5219 static_cast<FwAssertArgType>(_status)
5222 this->m_logOut_OutputPort[0].
invoke(
5231 #if FW_ENABLE_TEXT_LOGGING 5232 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5233 #if FW_OBJECT_NAMES == 1 5234 const char* _formatString =
5235 "(%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
")";
5237 const char* _formatString =
5238 "%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
")";
5242 response.toString(responseStr);
5248 this->m_objName.toChar(),
5250 "WrongCmdResponseIndex ",
5257 this->m_logTextOut_OutputPort[0].invoke(
5278 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5279 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5287 if (this->m_logOut_OutputPort[0].isConnected()) {
5291 #if FW_AMPCS_COMPATIBLE 5293 _status = _logBuff.
serialize(static_cast<U8>(5));
5296 static_cast<FwAssertArgType>(_status)
5300 #if FW_AMPCS_COMPATIBLE 5303 static_cast<U8>(
sizeof(U32))
5307 static_cast<FwAssertArgType>(_status)
5313 static_cast<FwAssertArgType>(_status)
5316 #if FW_AMPCS_COMPATIBLE 5319 static_cast<U8>(
sizeof(U32))
5323 static_cast<FwAssertArgType>(_status)
5329 static_cast<FwAssertArgType>(_status)
5332 #if FW_AMPCS_COMPATIBLE 5335 static_cast<U8>(
sizeof(I32))
5339 static_cast<FwAssertArgType>(_status)
5342 _status = _logBuff.
serialize(errorCode);
5345 static_cast<FwAssertArgType>(_status)
5348 #if FW_AMPCS_COMPATIBLE 5351 static_cast<U8>(
sizeof(
U64))
5355 static_cast<FwAssertArgType>(_status)
5361 static_cast<FwAssertArgType>(_status)
5364 #if FW_AMPCS_COMPATIBLE 5367 static_cast<U8>(
sizeof(
U64))
5371 static_cast<FwAssertArgType>(_status)
5374 _status = _logBuff.
serialize(buffLength);
5377 static_cast<FwAssertArgType>(_status)
5380 this->m_logOut_OutputPort[0].
invoke(
5389 #if FW_ENABLE_TEXT_LOGGING 5390 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5391 #if FW_OBJECT_NAMES == 1 5392 const char* _formatString =
5393 "(%s) %s: Deserialize error encountered while reading directive opcode %" PRIu32
" at index %" PRIu32
": %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
5395 const char* _formatString =
5396 "%s: Deserialize error encountered while reading directive opcode %" PRIu32
" at index %" PRIu32
": %" PRIi32
" (%" PRIu64
" bytes left out of %" PRIu64
")";
5403 this->m_objName.toChar(),
5405 "DirectiveDeserializeError ",
5413 this->m_logTextOut_OutputPort[0].invoke(
5425 I32 internalTimeBase,
5431 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5432 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5440 if (this->m_logOut_OutputPort[0].isConnected()) {
5444 #if FW_AMPCS_COMPATIBLE 5446 _status = _logBuff.
serialize(static_cast<U8>(2));
5449 static_cast<FwAssertArgType>(_status)
5453 #if FW_AMPCS_COMPATIBLE 5456 static_cast<U8>(
sizeof(I32))
5460 static_cast<FwAssertArgType>(_status)
5463 _status = _logBuff.
serialize(internalTimeBase);
5466 static_cast<FwAssertArgType>(_status)
5469 #if FW_AMPCS_COMPATIBLE 5472 static_cast<U8>(
sizeof(I32))
5476 static_cast<FwAssertArgType>(_status)
5479 _status = _logBuff.
serialize(otherTimeBase);
5482 static_cast<FwAssertArgType>(_status)
5485 this->m_logOut_OutputPort[0].
invoke(
5494 #if FW_ENABLE_TEXT_LOGGING 5495 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5496 #if FW_OBJECT_NAMES == 1 5497 const char* _formatString =
5498 "(%s) %s: getTime() time base was %" PRIi32
", but tried to operate on it with time base %" PRIi32
"";
5500 const char* _formatString =
5501 "%s: getTime() time base was %" PRIi32
", but tried to operate on it with time base %" PRIi32
"";
5508 this->m_objName.toChar(),
5510 "MismatchedTimeBase ",
5515 this->m_logTextOut_OutputPort[0].invoke(
5527 I32 internalTimeContext,
5528 I32 otherTimeContext
5533 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5534 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5542 if (this->m_logOut_OutputPort[0].isConnected()) {
5546 #if FW_AMPCS_COMPATIBLE 5548 _status = _logBuff.
serialize(static_cast<U8>(2));
5551 static_cast<FwAssertArgType>(_status)
5555 #if FW_AMPCS_COMPATIBLE 5558 static_cast<U8>(
sizeof(I32))
5562 static_cast<FwAssertArgType>(_status)
5565 _status = _logBuff.
serialize(internalTimeContext);
5568 static_cast<FwAssertArgType>(_status)
5571 #if FW_AMPCS_COMPATIBLE 5574 static_cast<U8>(
sizeof(I32))
5578 static_cast<FwAssertArgType>(_status)
5581 _status = _logBuff.
serialize(otherTimeContext);
5584 static_cast<FwAssertArgType>(_status)
5587 this->m_logOut_OutputPort[0].
invoke(
5596 #if FW_ENABLE_TEXT_LOGGING 5597 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5598 #if FW_OBJECT_NAMES == 1 5599 const char* _formatString =
5600 "(%s) %s: getTime() time context was %" PRIi32
", but tried to operate on it with time context %" PRIi32
"";
5602 const char* _formatString =
5603 "%s: getTime() time context was %" PRIi32
", but tried to operate on it with time context %" PRIi32
"";
5610 this->m_objName.toChar(),
5612 "MismatchedTimeContext ",
5613 internalTimeContext,
5617 this->m_logTextOut_OutputPort[0].invoke(
5637 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5638 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5646 if (this->m_logOut_OutputPort[0].isConnected()) {
5650 #if FW_AMPCS_COMPATIBLE 5652 _status = _logBuff.
serialize(static_cast<U8>(4));
5655 static_cast<FwAssertArgType>(_status)
5659 #if FW_AMPCS_COMPATIBLE 5666 static_cast<FwAssertArgType>(_status)
5672 static_cast<FwAssertArgType>(_status)
5675 #if FW_AMPCS_COMPATIBLE 5678 static_cast<U8>(
sizeof(U32))
5682 static_cast<FwAssertArgType>(_status)
5685 _status = _logBuff.
serialize(stmtOpcode);
5688 static_cast<FwAssertArgType>(_status)
5691 #if FW_AMPCS_COMPATIBLE 5694 static_cast<U8>(
sizeof(U32))
5698 static_cast<FwAssertArgType>(_status)
5704 static_cast<FwAssertArgType>(_status)
5710 static_cast<FwAssertArgType>(_status)
5713 this->m_logOut_OutputPort[0].
invoke(
5722 #if FW_ENABLE_TEXT_LOGGING 5723 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5724 #if FW_OBJECT_NAMES == 1 5725 const char* _formatString =
5726 "(%s) %s: A statement type %s opcode %" PRIu32
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
5728 const char* _formatString =
5729 "%s: A statement type %s opcode %" PRIu32
" at index %" PRIu32
" timed out in sequence %s, causing the sequence to fail";
5733 stmtType.toString(stmtTypeStr);
5739 this->m_objName.toChar(),
5741 "StatementTimedOut ",
5748 this->m_logTextOut_OutputPort[0].invoke(
5766 if (this->m_timeCaller_OutputPort[0].isConnected()) {
5767 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
5775 if (this->m_logOut_OutputPort[0].isConnected()) {
5779 #if FW_AMPCS_COMPATIBLE 5781 _status = _logBuff.
serialize(static_cast<U8>(2));
5784 static_cast<FwAssertArgType>(_status)
5788 #if FW_AMPCS_COMPATIBLE 5791 static_cast<U8>(
sizeof(
U8))
5795 static_cast<FwAssertArgType>(_status)
5801 static_cast<FwAssertArgType>(_status)
5804 #if FW_AMPCS_COMPATIBLE 5807 static_cast<U8>(
sizeof(
U8))
5811 static_cast<FwAssertArgType>(_status)
5817 static_cast<FwAssertArgType>(_status)
5820 this->m_logOut_OutputPort[0].
invoke(
5829 #if FW_ENABLE_TEXT_LOGGING 5830 if (this->m_logTextOut_OutputPort[0].isConnected()) {
5831 #if FW_OBJECT_NAMES == 1 5832 const char* _formatString =
5833 "(%s) %s: A sequence specified it had %" PRIu8
" args but the max was %" PRIu8
"";
5835 const char* _formatString =
5836 "%s: A sequence specified it had %" PRIu8
" args but the max was %" PRIu8
"";
5843 this->m_objName.toChar(),
5845 "TooManySequenceArgs ",
5850 this->m_logTextOut_OutputPort[0].invoke(
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 5883 _status = _logBuff.
serialize(static_cast<U8>(2));
5886 static_cast<FwAssertArgType>(_status)
5890 #if FW_AMPCS_COMPATIBLE 5893 static_cast<U8>(
sizeof(U16))
5897 static_cast<FwAssertArgType>(_status)
5903 static_cast<FwAssertArgType>(_status)
5906 #if FW_AMPCS_COMPATIBLE 5909 static_cast<U8>(
sizeof(U16))
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: A sequence specified it had %" PRIu16
" statements but the max was %" PRIu16
"";
5937 const char* _formatString =
5938 "%s: A sequence specified it had %" PRIu16
" statements but the max was %" PRIu16
"";
5945 this->m_objName.toChar(),
5947 "TooManySequenceStatements ",
5952 this->m_logTextOut_OutputPort[0].invoke(
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 5985 _status = _logBuff.
serialize(static_cast<U8>(2));
5988 static_cast<FwAssertArgType>(_status)
5992 #if FW_AMPCS_COMPATIBLE 5995 static_cast<U8>(
sizeof(U32))
5999 static_cast<FwAssertArgType>(_status)
6005 static_cast<FwAssertArgType>(_status)
6008 #if FW_AMPCS_COMPATIBLE 6011 static_cast<U8>(
sizeof(
U8))
6015 static_cast<FwAssertArgType>(_status)
6018 _status = _logBuff.
serialize(breakOnce);
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: Debug breakpoint reached before dispatching statement index %" PRIu32
". Will break once: %d";
6039 const char* _formatString =
6040 "%s: Debug breakpoint reached before dispatching statement index %" PRIu32
". Will break once: %d";
6047 this->m_objName.toChar(),
6054 this->m_logTextOut_OutputPort[0].invoke(
6072 if (this->m_timeCaller_OutputPort[0].isConnected()) {
6073 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
6081 if (this->m_logOut_OutputPort[0].isConnected()) {
6085 #if FW_AMPCS_COMPATIBLE 6087 _status = _logBuff.
serialize(static_cast<U8>(2));
6090 static_cast<FwAssertArgType>(_status)
6094 #if FW_AMPCS_COMPATIBLE 6097 static_cast<U8>(
sizeof(U32))
6101 static_cast<FwAssertArgType>(_status)
6104 _status = _logBuff.
serialize(breakpointIdx);
6107 static_cast<FwAssertArgType>(_status)
6110 #if FW_AMPCS_COMPATIBLE 6113 static_cast<U8>(
sizeof(
U8))
6117 static_cast<FwAssertArgType>(_status)
6120 _status = _logBuff.
serialize(breakOnce);
6123 static_cast<FwAssertArgType>(_status)
6126 this->m_logOut_OutputPort[0].
invoke(
6135 #if FW_ENABLE_TEXT_LOGGING 6136 if (this->m_logTextOut_OutputPort[0].isConnected()) {
6137 #if FW_OBJECT_NAMES == 1 6138 const char* _formatString =
6139 "(%s) %s: Debug breakpoint set before statement index %" PRIu32
". Will break once: %d";
6141 const char* _formatString =
6142 "%s: Debug breakpoint set before statement index %" PRIu32
". Will break once: %d";
6149 this->m_objName.toChar(),
6151 "DebugBreakpointSet ",
6156 this->m_logTextOut_OutputPort[0].invoke(
6171 if (this->m_timeCaller_OutputPort[0].isConnected()) {
6172 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
6180 if (this->m_logOut_OutputPort[0].isConnected()) {
6183 #if FW_AMPCS_COMPATIBLE 6186 _status = _logBuff.
serialize(static_cast<U8>(0));
6189 static_cast<FwAssertArgType>(_status)
6193 this->m_logOut_OutputPort[0].
invoke(
6202 #if FW_ENABLE_TEXT_LOGGING 6203 if (this->m_logTextOut_OutputPort[0].isConnected()) {
6204 #if FW_OBJECT_NAMES == 1 6205 const char* _formatString =
6206 "(%s) %s: Debug breakpoint cleared";
6208 const char* _formatString =
6209 "%s: Debug breakpoint cleared";
6216 this->m_objName.toChar(),
6218 "DebugBreakpointCleared " 6221 this->m_logTextOut_OutputPort[0].invoke(
6242 if (not this->m_first_update_State) {
6244 if (arg == this->m_last_State) {
6248 this->m_last_State = arg;
6252 this->m_first_update_State =
false;
6253 this->m_last_State = arg;
6256 if (this->m_tlmOut_OutputPort[0].isConnected()) {
6258 this->m_timeCaller_OutputPort[0].isConnected() &&
6261 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
6268 static_cast<FwAssertArgType>(_stat)
6275 this->m_tlmOut_OutputPort[0].
invoke(
6290 if (not this->m_first_update_SequencesSucceeded) {
6292 if (arg == this->m_last_SequencesSucceeded) {
6296 this->m_last_SequencesSucceeded = arg;
6300 this->m_first_update_SequencesSucceeded =
false;
6301 this->m_last_SequencesSucceeded = arg;
6304 if (this->m_tlmOut_OutputPort[0].isConnected()) {
6306 this->m_timeCaller_OutputPort[0].isConnected() &&
6309 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
6316 static_cast<FwAssertArgType>(_stat)
6323 this->m_tlmOut_OutputPort[0].
invoke(
6338 if (not this->m_first_update_SequencesFailed) {
6340 if (arg == this->m_last_SequencesFailed) {
6344 this->m_last_SequencesFailed = arg;
6348 this->m_first_update_SequencesFailed =
false;
6349 this->m_last_SequencesFailed = arg;
6352 if (this->m_tlmOut_OutputPort[0].isConnected()) {
6354 this->m_timeCaller_OutputPort[0].isConnected() &&
6357 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
6364 static_cast<FwAssertArgType>(_stat)
6371 this->m_tlmOut_OutputPort[0].
invoke(
6386 if (not this->m_first_update_SequencesCancelled) {
6388 if (arg == this->m_last_SequencesCancelled) {
6392 this->m_last_SequencesCancelled = arg;
6396 this->m_first_update_SequencesCancelled =
false;
6397 this->m_last_SequencesCancelled = arg;
6400 if (this->m_tlmOut_OutputPort[0].isConnected()) {
6402 this->m_timeCaller_OutputPort[0].isConnected() &&
6405 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
6412 static_cast<FwAssertArgType>(_stat)
6419 this->m_tlmOut_OutputPort[0].
invoke(
6434 if (not this->m_first_update_StatementsDispatched) {
6436 if (arg == this->m_last_StatementsDispatched) {
6440 this->m_last_StatementsDispatched = arg;
6444 this->m_first_update_StatementsDispatched =
false;
6445 this->m_last_StatementsDispatched = arg;
6448 if (this->m_tlmOut_OutputPort[0].isConnected()) {
6450 this->m_timeCaller_OutputPort[0].isConnected() &&
6453 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
6460 static_cast<FwAssertArgType>(_stat)
6467 this->m_tlmOut_OutputPort[0].
invoke(
6482 if (not this->m_first_update_StatementsFailed) {
6484 if (arg == this->m_last_StatementsFailed) {
6488 this->m_last_StatementsFailed = arg;
6492 this->m_first_update_StatementsFailed =
false;
6493 this->m_last_StatementsFailed = arg;
6496 if (this->m_tlmOut_OutputPort[0].isConnected()) {
6498 this->m_timeCaller_OutputPort[0].isConnected() &&
6501 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
6508 static_cast<FwAssertArgType>(_stat)
6515 this->m_tlmOut_OutputPort[0].
invoke(
6530 if (not this->m_first_update_SeqPath) {
6532 if (arg == this->m_last_SeqPath) {
6536 this->m_last_SeqPath = arg;
6540 this->m_first_update_SeqPath =
false;
6541 this->m_last_SeqPath = arg;
6544 if (this->m_tlmOut_OutputPort[0].isConnected()) {
6546 this->m_timeCaller_OutputPort[0].isConnected() &&
6549 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
6556 static_cast<FwAssertArgType>(_stat)
6563 this->m_tlmOut_OutputPort[0].
invoke(
6578 if (not this->m_first_update_DebugBreakpointIdx) {
6580 if (arg == this->m_last_DebugBreakpointIdx) {
6584 this->m_last_DebugBreakpointIdx = arg;
6588 this->m_first_update_DebugBreakpointIdx =
false;
6589 this->m_last_DebugBreakpointIdx = arg;
6592 if (this->m_tlmOut_OutputPort[0].isConnected()) {
6594 this->m_timeCaller_OutputPort[0].isConnected() &&
6597 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
6604 static_cast<FwAssertArgType>(_stat)
6611 this->m_tlmOut_OutputPort[0].
invoke(
6626 if (not this->m_first_update_Debug) {
6628 if (arg == this->m_last_Debug) {
6632 this->m_last_Debug = arg;
6636 this->m_first_update_Debug =
false;
6637 this->m_last_Debug = arg;
6640 if (this->m_tlmOut_OutputPort[0].isConnected()) {
6642 this->m_timeCaller_OutputPort[0].isConnected() &&
6645 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
6652 static_cast<FwAssertArgType>(_stat)
6659 this->m_tlmOut_OutputPort[0].
invoke(
6674 if (not this->m_first_update_STATEMENT_TIMEOUT_SECS) {
6676 if (arg == this->m_last_STATEMENT_TIMEOUT_SECS) {
6680 this->m_last_STATEMENT_TIMEOUT_SECS = arg;
6684 this->m_first_update_STATEMENT_TIMEOUT_SECS =
false;
6685 this->m_last_STATEMENT_TIMEOUT_SECS = arg;
6688 if (this->m_tlmOut_OutputPort[0].isConnected()) {
6690 this->m_timeCaller_OutputPort[0].isConnected() &&
6693 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
6700 static_cast<FwAssertArgType>(_stat)
6707 this->m_tlmOut_OutputPort[0].
invoke(
6739 this->m_paramLock.
lock();
6740 valid = this->m_param_STATEMENT_TIMEOUT_SECS_valid;
6741 _local = this->m_STATEMENT_TIMEOUT_SECS;
6742 this->m_paramLock.
unLock();
6753 if (this->m_timeCaller_OutputPort[0].isConnected()) {
6755 this->m_timeCaller_OutputPort[0].
invoke(_time);
6770 ComponentIpcSerializableBuffer _msg;
6780 static_cast<FwAssertArgType>(_msgStatus)
6790 static_cast<FwAssertArgType>(_deserStatus)
6793 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
6795 if (_msgType == FPYSEQUENCER_COMPONENT_EXIT) {
6800 _deserStatus = _msg.deserialize(portNum);
6803 static_cast<FwAssertArgType>(_deserStatus)
6808 case CHECKTIMERS_SCHED: {
6811 _deserStatus = _msg.deserialize(context);
6814 static_cast<FwAssertArgType>(_deserStatus)
6826 case CMDRESPONSEIN_CMDRESPONSE: {
6829 _deserStatus = _msg.deserialize(opCode);
6832 static_cast<FwAssertArgType>(_deserStatus)
6837 _deserStatus = _msg.deserialize(cmdSeq);
6840 static_cast<FwAssertArgType>(_deserStatus)
6845 _deserStatus = _msg.deserialize(response);
6848 static_cast<FwAssertArgType>(_deserStatus)
6865 _deserStatus = _msg.deserialize(key);
6868 static_cast<FwAssertArgType>(_deserStatus)
6880 case SEQRUNIN_CMDSEQIN: {
6883 Fw::ExternalString filename(__fprime_ac_filename_buffer,
sizeof __fprime_ac_filename_buffer);
6884 _deserStatus = _msg.deserialize(filename);
6887 static_cast<FwAssertArgType>(_deserStatus)
6899 case TLMWRITE_SCHED: {
6902 _deserStatus = _msg.deserialize(context);
6905 static_cast<FwAssertArgType>(_deserStatus)
6920 _deserStatus = _msg.deserialize(_opCode);
6923 static_cast<FwAssertArgType>(_deserStatus)
6928 _deserStatus = _msg.deserialize(_cmdSeq);
6931 static_cast<FwAssertArgType>(_deserStatus)
6936 _deserStatus = _msg.deserialize(args);
6939 static_cast<FwAssertArgType>(_deserStatus)
6949 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
6964 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
6977 #if FW_CMD_CHECK_RESIDUAL 6979 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
6998 case CMD_VALIDATE: {
7001 _deserStatus = _msg.deserialize(_opCode);
7004 static_cast<FwAssertArgType>(_deserStatus)
7009 _deserStatus = _msg.deserialize(_cmdSeq);
7012 static_cast<FwAssertArgType>(_deserStatus)
7017 _deserStatus = _msg.deserialize(args);
7020 static_cast<FwAssertArgType>(_deserStatus)
7030 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7043 #if FW_CMD_CHECK_RESIDUAL 7045 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7063 case CMD_RUN_VALIDATED: {
7066 _deserStatus = _msg.deserialize(_opCode);
7069 static_cast<FwAssertArgType>(_deserStatus)
7074 _deserStatus = _msg.deserialize(_cmdSeq);
7077 static_cast<FwAssertArgType>(_deserStatus)
7082 _deserStatus = _msg.deserialize(args);
7085 static_cast<FwAssertArgType>(_deserStatus)
7095 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7108 #if FW_CMD_CHECK_RESIDUAL 7110 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7131 _deserStatus = _msg.deserialize(_opCode);
7134 static_cast<FwAssertArgType>(_deserStatus)
7139 _deserStatus = _msg.deserialize(_cmdSeq);
7142 static_cast<FwAssertArgType>(_deserStatus)
7147 _deserStatus = _msg.deserialize(args);
7150 static_cast<FwAssertArgType>(_deserStatus)
7158 #if FW_CMD_CHECK_RESIDUAL 7160 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7175 case CMD_DEBUG_SET_BREAKPOINT: {
7178 _deserStatus = _msg.deserialize(_opCode);
7181 static_cast<FwAssertArgType>(_deserStatus)
7186 _deserStatus = _msg.deserialize(_cmdSeq);
7189 static_cast<FwAssertArgType>(_deserStatus)
7194 _deserStatus = _msg.deserialize(args);
7197 static_cast<FwAssertArgType>(_deserStatus)
7207 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7222 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7235 #if FW_CMD_CHECK_RESIDUAL 7237 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7256 case CMD_DEBUG_BREAK: {
7259 _deserStatus = _msg.deserialize(_opCode);
7262 static_cast<FwAssertArgType>(_deserStatus)
7267 _deserStatus = _msg.deserialize(_cmdSeq);
7270 static_cast<FwAssertArgType>(_deserStatus)
7275 _deserStatus = _msg.deserialize(args);
7278 static_cast<FwAssertArgType>(_deserStatus)
7288 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7301 #if FW_CMD_CHECK_RESIDUAL 7303 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7321 case CMD_DEBUG_CONTINUE: {
7324 _deserStatus = _msg.deserialize(_opCode);
7327 static_cast<FwAssertArgType>(_deserStatus)
7332 _deserStatus = _msg.deserialize(_cmdSeq);
7335 static_cast<FwAssertArgType>(_deserStatus)
7340 _deserStatus = _msg.deserialize(args);
7343 static_cast<FwAssertArgType>(_deserStatus)
7351 #if FW_CMD_CHECK_RESIDUAL 7353 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7368 case CMD_DEBUG_CLEAR_BREAKPOINT: {
7371 _deserStatus = _msg.deserialize(_opCode);
7374 static_cast<FwAssertArgType>(_deserStatus)
7379 _deserStatus = _msg.deserialize(_cmdSeq);
7382 static_cast<FwAssertArgType>(_deserStatus)
7387 _deserStatus = _msg.deserialize(args);
7390 static_cast<FwAssertArgType>(_deserStatus)
7398 #if FW_CMD_CHECK_RESIDUAL 7400 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
7415 case INT_IF_DIRECTIVE_GETPRM: {
7417 _deserStatus = _msg.deserialize(directive);
7422 static_cast<FwAssertArgType>(_deserStatus)
7428 _msg.getBuffLeft() == 0,
7441 case INT_IF_DIRECTIVE_GETTLM: {
7443 _deserStatus = _msg.deserialize(directive);
7448 static_cast<FwAssertArgType>(_deserStatus)
7454 _msg.getBuffLeft() == 0,
7467 case INT_IF_DIRECTIVE_GOTO: {
7469 _deserStatus = _msg.deserialize(directive);
7474 static_cast<FwAssertArgType>(_deserStatus)
7480 _msg.getBuffLeft() == 0,
7493 case INT_IF_DIRECTIVE_IF: {
7495 _deserStatus = _msg.deserialize(directive);
7500 static_cast<FwAssertArgType>(_deserStatus)
7506 _msg.getBuffLeft() == 0,
7519 case INT_IF_DIRECTIVE_NOOP: {
7521 _deserStatus = _msg.deserialize(directive);
7526 static_cast<FwAssertArgType>(_deserStatus)
7532 _msg.getBuffLeft() == 0,
7545 case INT_IF_DIRECTIVE_SETLOCALVAR: {
7547 _deserStatus = _msg.deserialize(directive);
7552 static_cast<FwAssertArgType>(_deserStatus)
7558 _msg.getBuffLeft() == 0,
7571 case INT_IF_DIRECTIVE_WAITABS: {
7573 _deserStatus = _msg.deserialize(directive);
7578 static_cast<FwAssertArgType>(_deserStatus)
7584 _msg.getBuffLeft() == 0,
7597 case INT_IF_DIRECTIVE_WAITREL: {
7599 _deserStatus = _msg.deserialize(directive);
7604 static_cast<FwAssertArgType>(_deserStatus)
7610 _msg.getBuffLeft() == 0,
7624 case INTERNAL_STATE_MACHINE_SIGNAL:
7625 this->smDispatch(_msg);
7639 void FpySequencerComponentBase ::
7651 const U32 idBase = callComp->
getIdBase();
7652 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
7655 switch (opCode - idBase) {
7657 compPtr->RUN_cmdHandlerBase(
7666 compPtr->VALIDATE_cmdHandlerBase(
7675 compPtr->RUN_VALIDATED_cmdHandlerBase(
7684 compPtr->CANCEL_cmdHandlerBase(
7693 compPtr->DEBUG_SET_BREAKPOINT_cmdHandlerBase(
7702 compPtr->DEBUG_BREAK_cmdHandlerBase(
7711 compPtr->DEBUG_CONTINUE_cmdHandlerBase(
7720 compPtr->DEBUG_CLEAR_BREAKPOINT_cmdHandlerBase(
7729 Fw::CmdResponse _cstat = compPtr->paramSet_STATEMENT_TIMEOUT_SECS(args);
7730 compPtr->cmdResponse_out(
7740 compPtr->cmdResponse_out(
7754 void FpySequencerComponentBase ::
7763 compPtr->checkTimers_handlerBase(
7769 void FpySequencerComponentBase ::
7770 m_p_cmdResponseIn_in(
7780 compPtr->cmdResponseIn_handlerBase(
7788 void FpySequencerComponentBase ::
7797 compPtr->pingIn_handlerBase(
7803 void FpySequencerComponentBase ::
7812 compPtr->seqRunIn_handlerBase(
7818 void FpySequencerComponentBase ::
7827 compPtr->tlmWrite_handlerBase(
7837 void FpySequencerComponentBase ::
7847 status = buffer.
serialize(static_cast<FwEnumStoreType>(INTERNAL_STATE_MACHINE_SIGNAL));
7851 status = buffer.
serialize(static_cast<FwIndexType>(0));
7855 status = buffer.
serialize(static_cast<FwEnumStoreType>(smId));
7859 status = buffer.
serialize(static_cast<FwEnumStoreType>(signal));
7863 void FpySequencerComponentBase ::
7872 static_cast<FwAssertArgType>(qStatus)
7880 void FpySequencerComponentBase ::
7886 FpySequencerComponentBase::deserializeSmIdAndSignal(buffer, storedSmId, storedSignal);
7889 const SmId smId =
static_cast<SmId>(storedSmId);
7893 this->Svc_FpySequencer_SequencerStateMachine_smDispatch(buffer, this->m_stateMachine_sequencer, signal);
7897 FW_ASSERT(0, static_cast<FwAssertArgType>(smId));
7902 void FpySequencerComponentBase ::
7903 deserializeSmIdAndSignal(
7923 void FpySequencerComponentBase ::
7924 Svc_FpySequencer_SequencerStateMachine_smDispatch(
7926 Svc_FpySequencer_SequencerStateMachine& sm,
7939 sm.sendSignal_cmd_VALIDATE(value);
7950 sm.sendSignal_cmd_RUN(value);
7961 sm.sendSignal_cmd_RUN_VALIDATED(value);
7968 sm.sendSignal_cmd_CANCEL();
7979 sm.sendSignal_cmd_DEBUG_SET_BREAKPOINT(value);
7986 sm.sendSignal_cmd_DEBUG_CLEAR_BREAKPOINT();
7993 sm.sendSignal_result_failure();
8000 sm.sendSignal_result_success();
8007 sm.sendSignal_entered();
8014 sm.sendSignal_result_dispatchStatement_success();
8021 sm.sendSignal_result_dispatchStatement_failure();
8028 sm.sendSignal_result_dispatchStatement_noMoreStatements();
8035 sm.sendSignal_checkTimersIn();
8042 sm.sendSignal_result_checkShouldWake_wakeup();
8049 sm.sendSignal_result_checkShouldWake_keepSleeping();
8056 sm.sendSignal_result_timeOpFailed();
8063 sm.sendSignal_stmtResponse_beginSleep();
8070 sm.sendSignal_stmtResponse_success();
8077 sm.sendSignal_stmtResponse_failure();
8084 sm.sendSignal_stmtResponse_unexpected();
8091 sm.sendSignal_result_checkStatementTimeout_statementTimeout();
8098 sm.sendSignal_result_checkStatementTimeout_noTimeout();
8105 sm.sendSignal_cmd_DEBUG_CONTINUE();
8116 sm.sendSignal_cmd_DEBUG_BREAK(value);
8120 FW_ASSERT(0, static_cast<FwAssertArgType>(signal));
8139 this->m_paramLock.
lock();
8140 this->m_STATEMENT_TIMEOUT_SECS = _localVal;
8142 this->m_paramLock.
unLock();
8154 paramSave_STATEMENT_TIMEOUT_SECS()
8159 if (this->m_prmSet_OutputPort[0].isConnected()) {
8160 this->m_paramLock.
lock();
8162 _stat = _saveBuff.
serialize(m_STATEMENT_TIMEOUT_SECS);
8164 this->m_paramLock.
unLock();
8172 this->m_prmSet_OutputPort[0].
invoke(
bool isConnected_tlmOut_OutputPort(FwIndexType portNum)
The size of the serial representation.
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 addCallPort(InputTimePort *callPort)
Register an input port.
The size of the serial representation.
void invoke(Fw::ComBuffer &data, U32 context) const
Invoke a port interface.
void init()
Initialization function.
virtual void DEBUG_SET_BREAKPOINT_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command DEBUG_SET_BREAKPOINT.
Fw::InputCmdResponsePort * get_cmdResponseIn_InputPort(FwIndexType portNum)
void set_cmdOut_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to cmdOut[portNum].
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_StatementFailed(Svc::Fpy::StatementType stmtType, U32 stmtOpcode, U32 stmtIdx, const Fw::StringBase &filePath, Fw::CmdResponse response) const
Log event StatementFailed.
void log_WARNING_HI_InsufficientBufferSpace(U64 bufferSize, const Fw::StringBase &filePath) const
Log event InsufficientBufferSpace.
PlatformSizeType FwSizeType
FwIndexType getNum_tlmWrite_InputPorts() const
FwIndexType getNum_cmdResponseOut_OutputPorts() const
Status receive(U8 *destination, FwSizeType capacity, BlockingType blockType, FwSizeType &actualSize, FwQueuePriorityType &priority) override
receive a message from the queue through delegate
void log_WARNING_HI_CmdResponseWhileNotAwaiting(U32 opcode, Fw::CmdResponse response) const
Log event CmdResponseWhileNotAwaiting.
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.
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.
Loads, validates and runs a sequence.
called when the expected statement response comes in, and it is OK. only raised in the RUNNING...
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
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 ...
called on RUN_VALIDATED cmd. only raised in AWAITING_CMD_RUN_VALIDATED state
Channel ID for StatementsFailed.
virtual void tlmWrite_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port tlmWrite.
const char * toChar() const
Fw::TlmValid getTlmChan_out(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)
Invoke output port getTlmChan.
FwIndexType getNum_prmGet_OutputPorts() const
void RUN_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
generic failure of an action
void sequencer_sendSignal_cmd_DEBUG_SET_BREAKPOINT(const Svc::FpySequencer_DebugBreakpointArgs &value)
Send signal cmd_DEBUG_SET_BREAKPOINT to state machine sequencer.
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
void unLock()
unlock the mutex and assert success
void addCallPort(InputPrmSetPort *callPort)
Register an input port.
U32 FwChanIdType
The type of a telemetry channel identifier.
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 log_WARNING_HI_FileReadError(const Fw::StringBase &filePath, I32 errorCode) const
Log event FileReadError.
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.
void sequencer_sendSignal_result_success()
Send signal result_success to state machine sequencer.
void log_WARNING_HI_FileReadDeserializeError(const Fw::StringBase &filePath, I32 errorCode, U64 buffLeft, U64 buffLength) const
Log event FileReadDeserializeError.
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.
The size of the serial representation.
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 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.
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
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.
The size of the serial representation.
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)
The size of the serial representation.
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].
U32 FwEventIdType
The type of an event identifier.
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)
void log_WARNING_HI_ExtraBytesInSequence(U32 remaining) const
Log event ExtraBytesInSequence.
void tlmWrite_StatementsFailed(U64 arg, Fw::Time _tlmTime=Fw::Time())
void log_WARNING_HI_StatementTimedOut(Svc::Fpy::StatementType stmtType, U32 stmtOpcode, U32 stmtIdx, const Fw::StringBase &filePath) const
Log event StatementTimedOut.
The size of the serial representation.
void regCommands()
Register commands with the Command Dispatcher.
void invoke(FwOpcodeType opCode) const
Invoke a port interface.
called in dispatchStatement method when a statement was successfully dispatched
Channel ID for SequencesSucceeded.
F32 paramGet_STATEMENT_TIMEOUT_SECS(Fw::ParamValid &valid)
The size of the serial representation.
void log_WARNING_HI_EndOfFileError(const Fw::StringBase &filePath) const
Log event EndOfFileError.
void log_WARNING_HI_WrongCmdResponseOpcode(U32 opcode, Fw::CmdResponse response, U32 expectedOpcode) const
Log event WrongCmdResponseOpcode.
U32 FwOpcodeType
The type of a command opcode.
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)
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.
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.
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.
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.
Status send(const U8 *buffer, FwSizeType size, FwQueuePriorityType priority, BlockingType blockType) override
send a message into the queue through delegate
void log_WARNING_HI_WrongCmdResponseIndex(U32 opcode, Fw::CmdResponse response, U16 actualCmdIdx, U16 expectedCmdIdx) const
Log event WrongCmdResponseIndex.
FpySequencerComponentBase(const char *compName="")
Construct FpySequencerComponentBase object.
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)
Must be called after VALIDATE. Runs the sequence that was validated.
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)
message to exit active component task
void sequencer_sendSignal_stmtResponse_failure()
Send signal stmtResponse_failure to state machine sequencer.
void log_WARNING_LO_CmdResponseWhileNotRunningSequence(I32 state, U32 opcode, Fw::CmdResponse response) const
Log event CmdResponseWhileNotRunningSequence.
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.
void log_WARNING_HI_DirectiveDeserializeError(U32 opcode, U32 stmtIdx, I32 errorCode, U64 buffLeft, U64 buffLength) const
Log event DirectiveDeserializeError.
Errors dispatching messages.
void directive_setLocalVar_internalInterfaceInvoke(const Svc::FpySequencer_SetLocalVarDirective &directive)
Internal interface base-class function for directive_setLocalVar.
void set_cmdRegOut_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to cmdRegOut[portNum].
void sequencer_sendSignal_stmtResponse_beginSleep()
Send signal stmtResponse_beginSleep to state machine sequencer.
void invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke a port interface.
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.
U32 FwPrmIdType
The type of a parameter identifier.
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)
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.
void log_WARNING_HI_CommandSerializeError(U32 cmdOpcode, U64 bufCapacity, U64 curPos, U64 writeSize, U8 errorCode, U32 stmtIdx) const
Log event CommandSerializeError.
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.
Channel ID for DebugBreakpointIdx.
void log_WARNING_HI_TooManySequenceStatements(U16 count, U16 max) const
Log event TooManySequenceStatements.
void tlmWrite_STATEMENT_TIMEOUT_SECS(F32 arg, Fw::Time _tlmTime=Fw::Time())
void sequencer_sendSignal_result_timeOpFailed()
Send signal result_timeOpFailed to state machine sequencer.
virtual void directive_setLocalVar_internalInterfaceHandler(const Svc::FpySequencer_SetLocalVarDirective &directive)=0
Internal interface handler for directive_setLocalVar.
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].
Command failed to deserialize.
The size of the serial representation.
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.
The size of the serial representation.
Channel ID for SequencesCancelled.
void invoke(FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args) const
Invoke a port interface.
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum)
void log_WARNING_HI_InvalidCommand(I32 state) const
Log event InvalidCommand.
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.
void log_WARNING_LO_CmdResponseFromOldSequence(U32 opcode, Fw::CmdResponse response, U16 oldSequenceIdx, U16 currentSequenceIdx) const
Log event CmdResponseFromOldSequence.
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 expected statement response comes in, and it is not OK. only raised in the RUNNING...
FpySequencer_SequencerStateMachineStateMachineBase::State getState() const
Get the state.
void tlmWrite_SequencesFailed(U64 arg, Fw::Time _tlmTime=Fw::Time())
No time base has been established.
void sequencer_sendSignal_cmd_DEBUG_BREAK(const Svc::FpySequencer_DebugBreakpointArgs &value)
Send signal cmd_DEBUG_BREAK to state machine sequencer.
bool isConnected_logOut_OutputPort(FwIndexType portNum)
void tlmWrite_SeqPath(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
PlatformIndexType FwIndexType
raised when the statement has not timed out yet
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)
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.
Channel ID for SequencesFailed.
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.
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum)
void directive_getPrm_internalInterfaceInvoke(const Svc::FpySequencer_GetPrmDirective &directive)
Internal interface base-class function for directive_getPrm.
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
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.
Opcode to save parameter STATEMENT_TIMEOUT_SECS.
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.
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.
virtual SerializeStatus serialize(SerializeBufferBase &buffer) const
serialization function
raised when the statement times out, according to the timeout parameter
Opcode to set parameter STATEMENT_TIMEOUT_SECS.
void log_ACTIVITY_HI_DebugBreakpointSet(U32 breakpointIdx, bool breakOnce) const
Log event DebugBreakpointSet.
Channel ID for STATEMENT_TIMEOUT_SECS.
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.
void sequencer_sendSignal_cmd_RUN(const Svc::FpySequencer_SequenceExecutionArgs &value)
Send signal cmd_RUN to state machine sequencer.
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 log_WARNING_HI_UnknownSequencerDirective(U32 opcode, U32 stmtIdx, const Fw::StringBase &filePath) const
Log event UnknownSequencerDirective.
void sequencer_sendSignal_cmd_DEBUG_CONTINUE()
Send signal cmd_DEBUG_CONTINUE to state machine sequencer.
FpySequencer_SequencerStateMachineStateMachineBase::Signal Signal
void tlmWrite_SequencesCancelled(U64 arg, Fw::Time _tlmTime=Fw::Time())
a statement is telling the sequencer to go to sleep
The size of the serial representation.
#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].
Loads and validates a sequence.
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 addCallPort(InputCmdResponsePort *callPort)
Register an input port.
void lock()
lock the mutex and assert success