9 #if FW_ENABLE_TEXT_LOGGING 19 CMDRESPONSEIN_CMDRESPONSE,
22 SEQCANCELIN_CMDSEQCANCEL,
46 class ComponentIpcSerializableBuffer :
56 MAX_DATA_SIZE =
sizeof(BuffUnion),
58 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
62 return sizeof(m_buff);
69 const U8* getBuffAddr()
const {
75 U8 m_buff[SERIALIZATION_SIZE];
99 this->m_cmdIn_InputPort[port].
init();
104 this->m_cmdIn_InputPort[port].
setPortNum(port);
106 #if FW_OBJECT_NAMES == 1 110 this->m_objName.toChar(),
113 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
123 this->m_cmdResponseIn_InputPort[port].
init();
128 this->m_cmdResponseIn_InputPort[port].
setPortNum(port);
130 #if FW_OBJECT_NAMES == 1 134 this->m_objName.toChar(),
137 this->m_cmdResponseIn_InputPort[port].setObjName(portName.
toChar());
147 this->m_pingIn_InputPort[port].
init();
152 this->m_pingIn_InputPort[port].
setPortNum(port);
154 #if FW_OBJECT_NAMES == 1 158 this->m_objName.toChar(),
161 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
171 this->m_schedIn_InputPort[port].
init();
176 this->m_schedIn_InputPort[port].
setPortNum(port);
178 #if FW_OBJECT_NAMES == 1 182 this->m_objName.toChar(),
185 this->m_schedIn_InputPort[port].setObjName(portName.
toChar());
195 this->m_seqCancelIn_InputPort[port].
init();
200 this->m_seqCancelIn_InputPort[port].
setPortNum(port);
202 #if FW_OBJECT_NAMES == 1 206 this->m_objName.toChar(),
209 this->m_seqCancelIn_InputPort[port].setObjName(portName.
toChar());
219 this->m_seqRunIn_InputPort[port].
init();
224 this->m_seqRunIn_InputPort[port].
setPortNum(port);
226 #if FW_OBJECT_NAMES == 1 230 this->m_objName.toChar(),
233 this->m_seqRunIn_InputPort[port].setObjName(portName.
toChar());
237 #if FW_ENABLE_TEXT_LOGGING == 1 241 port < static_cast<FwIndexType>(this->getNum_LogText_OutputPorts());
244 this->m_LogText_OutputPort[port].
init();
246 #if FW_OBJECT_NAMES == 1 250 this->m_objName.toChar(),
253 this->m_LogText_OutputPort[port].setObjName(portName.
toChar());
264 this->m_cmdRegOut_OutputPort[port].
init();
266 #if FW_OBJECT_NAMES == 1 270 this->m_objName.toChar(),
273 this->m_cmdRegOut_OutputPort[port].setObjName(portName.
toChar());
283 this->m_cmdResponseOut_OutputPort[port].
init();
285 #if FW_OBJECT_NAMES == 1 289 this->m_objName.toChar(),
292 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
302 this->m_logOut_OutputPort[port].
init();
304 #if FW_OBJECT_NAMES == 1 308 this->m_objName.toChar(),
311 this->m_logOut_OutputPort[port].setObjName(portName.
toChar());
321 this->m_timeCaller_OutputPort[port].
init();
323 #if FW_OBJECT_NAMES == 1 327 this->m_objName.toChar(),
330 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
340 this->m_tlmOut_OutputPort[port].
init();
342 #if FW_OBJECT_NAMES == 1 346 this->m_objName.toChar(),
349 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
359 this->m_comCmdOut_OutputPort[port].
init();
361 #if FW_OBJECT_NAMES == 1 365 this->m_objName.toChar(),
368 this->m_comCmdOut_OutputPort[port].setObjName(portName.
toChar());
378 this->m_pingOut_OutputPort[port].
init();
380 #if FW_OBJECT_NAMES == 1 384 this->m_objName.toChar(),
387 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
397 this->m_seqDone_OutputPort[port].
init();
399 #if FW_OBJECT_NAMES == 1 403 this->m_objName.toChar(),
406 this->m_seqDone_OutputPort[port].setObjName(portName.
toChar());
416 this->m_seqStartOut_OutputPort[port].
init();
418 #if FW_OBJECT_NAMES == 1 422 this->m_objName.toChar(),
425 this->m_seqStartOut_OutputPort[port].setObjName(portName.
toChar());
432 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
436 static_cast<FwAssertArgType>(qStat)
449 static_cast<FwAssertArgType>(portNum)
452 return &this->m_cmdIn_InputPort[portNum];
464 static_cast<FwAssertArgType>(portNum)
467 return &this->m_cmdResponseIn_InputPort[portNum];
475 static_cast<FwAssertArgType>(portNum)
478 return &this->m_pingIn_InputPort[portNum];
486 static_cast<FwAssertArgType>(portNum)
489 return &this->m_schedIn_InputPort[portNum];
497 static_cast<FwAssertArgType>(portNum)
500 return &this->m_seqCancelIn_InputPort[portNum];
508 static_cast<FwAssertArgType>(portNum)
511 return &this->m_seqRunIn_InputPort[portNum];
518 #if FW_ENABLE_TEXT_LOGGING == 1 520 void CmdSequencerComponentBase ::
521 set_LogText_OutputPort(
527 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
528 static_cast<FwAssertArgType>(portNum)
531 this->m_LogText_OutputPort[portNum].addCallPort(port);
544 static_cast<FwAssertArgType>(portNum)
547 this->m_cmdRegOut_OutputPort[portNum].
addCallPort(port);
558 static_cast<FwAssertArgType>(portNum)
561 this->m_cmdResponseOut_OutputPort[portNum].
addCallPort(port);
572 static_cast<FwAssertArgType>(portNum)
575 this->m_logOut_OutputPort[portNum].
addCallPort(port);
586 static_cast<FwAssertArgType>(portNum)
589 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
600 static_cast<FwAssertArgType>(portNum)
603 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
618 static_cast<FwAssertArgType>(portNum)
621 this->m_comCmdOut_OutputPort[portNum].
addCallPort(port);
632 static_cast<FwAssertArgType>(portNum)
635 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
646 static_cast<FwAssertArgType>(portNum)
649 this->m_seqDone_OutputPort[portNum].
addCallPort(port);
660 static_cast<FwAssertArgType>(portNum)
663 this->m_seqStartOut_OutputPort[portNum].
addCallPort(port);
666 #if FW_PORT_SERIALIZATION 672 #if FW_ENABLE_TEXT_LOGGING == 1 674 void CmdSequencerComponentBase ::
675 set_LogText_OutputPort(
677 Fw::InputSerializePort* port
681 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
682 static_cast<FwAssertArgType>(portNum)
685 this->m_LogText_OutputPort[portNum].registerSerialPort(port);
693 Fw::InputSerializePort* port
698 static_cast<FwAssertArgType>(portNum)
701 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
707 Fw::InputSerializePort* port
712 static_cast<FwAssertArgType>(portNum)
715 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
721 Fw::InputSerializePort* port
726 static_cast<FwAssertArgType>(portNum)
729 this->m_logOut_OutputPort[portNum].registerSerialPort(port);
735 Fw::InputSerializePort* port
740 static_cast<FwAssertArgType>(portNum)
743 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
749 Fw::InputSerializePort* port
754 static_cast<FwAssertArgType>(portNum)
757 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
762 #if FW_PORT_SERIALIZATION 771 Fw::InputSerializePort* port
776 static_cast<FwAssertArgType>(portNum)
779 this->m_comCmdOut_OutputPort[portNum].registerSerialPort(port);
785 Fw::InputSerializePort* port
790 static_cast<FwAssertArgType>(portNum)
793 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
799 Fw::InputSerializePort* port
804 static_cast<FwAssertArgType>(portNum)
807 this->m_seqDone_OutputPort[portNum].registerSerialPort(port);
813 Fw::InputSerializePort* port
818 static_cast<FwAssertArgType>(portNum)
821 this->m_seqStartOut_OutputPort[portNum].registerSerialPort(port);
833 FW_ASSERT(this->m_cmdRegOut_OutputPort[0].isConnected());
835 this->m_cmdRegOut_OutputPort[0].
invoke(
839 this->m_cmdRegOut_OutputPort[0].
invoke(
843 this->m_cmdRegOut_OutputPort[0].
invoke(
847 this->m_cmdRegOut_OutputPort[0].
invoke(
851 this->m_cmdRegOut_OutputPort[0].
invoke(
855 this->m_cmdRegOut_OutputPort[0].
invoke(
859 this->m_cmdRegOut_OutputPort[0].
invoke(
863 this->m_cmdRegOut_OutputPort[0].
invoke(
874 Fw::ActiveComponentBase(compName)
889 #if FW_ENABLE_TEXT_LOGGING == 1 891 bool CmdSequencerComponentBase ::
892 isConnected_LogText_OutputPort(
FwIndexType portNum)
895 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
896 static_cast<FwAssertArgType>(portNum)
899 return this->m_LogText_OutputPort[portNum].isConnected();
909 static_cast<FwAssertArgType>(portNum)
912 return this->m_cmdRegOut_OutputPort[portNum].
isConnected();
920 static_cast<FwAssertArgType>(portNum)
923 return this->m_cmdResponseOut_OutputPort[portNum].
isConnected();
931 static_cast<FwAssertArgType>(portNum)
934 return this->m_logOut_OutputPort[portNum].
isConnected();
942 static_cast<FwAssertArgType>(portNum)
945 return this->m_timeCaller_OutputPort[portNum].
isConnected();
953 static_cast<FwAssertArgType>(portNum)
956 return this->m_tlmOut_OutputPort[portNum].
isConnected();
968 static_cast<FwAssertArgType>(portNum)
971 return this->m_comCmdOut_OutputPort[portNum].
isConnected();
979 static_cast<FwAssertArgType>(portNum)
982 return this->m_pingOut_OutputPort[portNum].
isConnected();
990 static_cast<FwAssertArgType>(portNum)
993 return this->m_seqDone_OutputPort[portNum].
isConnected();
1001 static_cast<FwAssertArgType>(portNum)
1004 return this->m_seqStartOut_OutputPort[portNum].
isConnected();
1024 static_cast<FwAssertArgType>(portNum)
1034 ComponentIpcSerializableBuffer msg;
1038 _status = msg.serializeFrom(
1039 static_cast<FwEnumStoreType>(CMDRESPONSEIN_CMDRESPONSE)
1043 static_cast<FwAssertArgType>(_status)
1047 _status = msg.serializeFrom(portNum);
1050 static_cast<FwAssertArgType>(_status)
1054 _status = msg.serializeFrom(opCode);
1057 static_cast<FwAssertArgType>(_status)
1061 _status = msg.serializeFrom(cmdSeq);
1064 static_cast<FwAssertArgType>(_status)
1068 _status = msg.serializeFrom(response);
1071 static_cast<FwAssertArgType>(_status)
1080 static_cast<FwAssertArgType>(qStatus)
1093 static_cast<FwAssertArgType>(portNum)
1101 ComponentIpcSerializableBuffer msg;
1105 _status = msg.serializeFrom(
1106 static_cast<FwEnumStoreType>(PINGIN_PING)
1110 static_cast<FwAssertArgType>(_status)
1114 _status = msg.serializeFrom(portNum);
1117 static_cast<FwAssertArgType>(_status)
1121 _status = msg.serializeFrom(key);
1124 static_cast<FwAssertArgType>(_status)
1133 static_cast<FwAssertArgType>(qStatus)
1146 static_cast<FwAssertArgType>(portNum)
1154 ComponentIpcSerializableBuffer msg;
1158 _status = msg.serializeFrom(
1159 static_cast<FwEnumStoreType>(SCHEDIN_SCHED)
1163 static_cast<FwAssertArgType>(_status)
1167 _status = msg.serializeFrom(portNum);
1170 static_cast<FwAssertArgType>(_status)
1174 _status = msg.serializeFrom(context);
1177 static_cast<FwAssertArgType>(_status)
1186 static_cast<FwAssertArgType>(qStatus)
1196 static_cast<FwAssertArgType>(portNum)
1201 ComponentIpcSerializableBuffer msg;
1205 _status = msg.serializeFrom(
1206 static_cast<FwEnumStoreType>(SEQCANCELIN_CMDSEQCANCEL)
1210 static_cast<FwAssertArgType>(_status)
1214 _status = msg.serializeFrom(portNum);
1217 static_cast<FwAssertArgType>(_status)
1226 static_cast<FwAssertArgType>(qStatus)
1239 static_cast<FwAssertArgType>(portNum)
1247 ComponentIpcSerializableBuffer msg;
1251 _status = msg.serializeFrom(
1252 static_cast<FwEnumStoreType>(SEQRUNIN_CMDSEQIN)
1256 static_cast<FwAssertArgType>(_status)
1260 _status = msg.serializeFrom(portNum);
1263 static_cast<FwAssertArgType>(_status)
1270 static_cast<FwAssertArgType>(_status)
1279 static_cast<FwAssertArgType>(qStatus)
1348 static_cast<FwAssertArgType>(portNum)
1352 this->m_comCmdOut_OutputPort[portNum].isConnected(),
1353 static_cast<FwAssertArgType>(portNum)
1355 this->m_comCmdOut_OutputPort[portNum].
invoke(
1369 static_cast<FwAssertArgType>(portNum)
1373 this->m_pingOut_OutputPort[portNum].isConnected(),
1374 static_cast<FwAssertArgType>(portNum)
1376 this->m_pingOut_OutputPort[portNum].
invoke(
1391 static_cast<FwAssertArgType>(portNum)
1395 this->m_seqDone_OutputPort[portNum].isConnected(),
1396 static_cast<FwAssertArgType>(portNum)
1398 this->m_seqDone_OutputPort[portNum].
invoke(
1413 static_cast<FwAssertArgType>(portNum)
1417 this->m_seqStartOut_OutputPort[portNum].isConnected(),
1418 static_cast<FwAssertArgType>(portNum)
1420 this->m_seqStartOut_OutputPort[portNum].
invoke(
1436 FW_ASSERT(this->m_cmdResponseOut_OutputPort[0].isConnected());
1437 this->m_cmdResponseOut_OutputPort[0].
invoke(opCode, cmdSeq, response);
1458 ComponentIpcSerializableBuffer msg;
1462 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CS_RUN));
1465 static_cast<FwAssertArgType>(_status)
1471 _status = msg.serializeFrom(port);
1474 static_cast<FwAssertArgType>(_status)
1477 _status = msg.serializeFrom(opCode);
1480 static_cast<FwAssertArgType>(_status)
1483 _status = msg.serializeFrom(cmdSeq);
1486 static_cast<FwAssertArgType>(_status)
1489 _status = msg.serializeFrom(args);
1492 static_cast<FwAssertArgType>(_status)
1501 static_cast<FwAssertArgType>(qStatus)
1517 ComponentIpcSerializableBuffer msg;
1521 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CS_VALIDATE));
1524 static_cast<FwAssertArgType>(_status)
1530 _status = msg.serializeFrom(port);
1533 static_cast<FwAssertArgType>(_status)
1536 _status = msg.serializeFrom(opCode);
1539 static_cast<FwAssertArgType>(_status)
1542 _status = msg.serializeFrom(cmdSeq);
1545 static_cast<FwAssertArgType>(_status)
1548 _status = msg.serializeFrom(args);
1551 static_cast<FwAssertArgType>(_status)
1560 static_cast<FwAssertArgType>(qStatus)
1576 ComponentIpcSerializableBuffer msg;
1580 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CS_CANCEL));
1583 static_cast<FwAssertArgType>(_status)
1589 _status = msg.serializeFrom(port);
1592 static_cast<FwAssertArgType>(_status)
1595 _status = msg.serializeFrom(opCode);
1598 static_cast<FwAssertArgType>(_status)
1601 _status = msg.serializeFrom(cmdSeq);
1604 static_cast<FwAssertArgType>(_status)
1607 _status = msg.serializeFrom(args);
1610 static_cast<FwAssertArgType>(_status)
1619 static_cast<FwAssertArgType>(qStatus)
1635 ComponentIpcSerializableBuffer msg;
1639 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CS_START));
1642 static_cast<FwAssertArgType>(_status)
1648 _status = msg.serializeFrom(port);
1651 static_cast<FwAssertArgType>(_status)
1654 _status = msg.serializeFrom(opCode);
1657 static_cast<FwAssertArgType>(_status)
1660 _status = msg.serializeFrom(cmdSeq);
1663 static_cast<FwAssertArgType>(_status)
1666 _status = msg.serializeFrom(args);
1669 static_cast<FwAssertArgType>(_status)
1678 static_cast<FwAssertArgType>(qStatus)
1694 ComponentIpcSerializableBuffer msg;
1698 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CS_STEP));
1701 static_cast<FwAssertArgType>(_status)
1707 _status = msg.serializeFrom(port);
1710 static_cast<FwAssertArgType>(_status)
1713 _status = msg.serializeFrom(opCode);
1716 static_cast<FwAssertArgType>(_status)
1719 _status = msg.serializeFrom(cmdSeq);
1722 static_cast<FwAssertArgType>(_status)
1725 _status = msg.serializeFrom(args);
1728 static_cast<FwAssertArgType>(_status)
1737 static_cast<FwAssertArgType>(qStatus)
1753 ComponentIpcSerializableBuffer msg;
1757 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CS_AUTO));
1760 static_cast<FwAssertArgType>(_status)
1766 _status = msg.serializeFrom(port);
1769 static_cast<FwAssertArgType>(_status)
1772 _status = msg.serializeFrom(opCode);
1775 static_cast<FwAssertArgType>(_status)
1778 _status = msg.serializeFrom(cmdSeq);
1781 static_cast<FwAssertArgType>(_status)
1784 _status = msg.serializeFrom(args);
1787 static_cast<FwAssertArgType>(_status)
1796 static_cast<FwAssertArgType>(qStatus)
1812 ComponentIpcSerializableBuffer msg;
1816 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CS_MANUAL));
1819 static_cast<FwAssertArgType>(_status)
1825 _status = msg.serializeFrom(port);
1828 static_cast<FwAssertArgType>(_status)
1831 _status = msg.serializeFrom(opCode);
1834 static_cast<FwAssertArgType>(_status)
1837 _status = msg.serializeFrom(cmdSeq);
1840 static_cast<FwAssertArgType>(_status)
1843 _status = msg.serializeFrom(args);
1846 static_cast<FwAssertArgType>(_status)
1855 static_cast<FwAssertArgType>(qStatus)
1871 ComponentIpcSerializableBuffer msg;
1875 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CS_JOIN_WAIT));
1878 static_cast<FwAssertArgType>(_status)
1884 _status = msg.serializeFrom(port);
1887 static_cast<FwAssertArgType>(_status)
1890 _status = msg.serializeFrom(opCode);
1893 static_cast<FwAssertArgType>(_status)
1896 _status = msg.serializeFrom(cmdSeq);
1899 static_cast<FwAssertArgType>(_status)
1902 _status = msg.serializeFrom(args);
1905 static_cast<FwAssertArgType>(_status)
1914 static_cast<FwAssertArgType>(qStatus)
2023 if (this->m_timeCaller_OutputPort[0].isConnected()) {
2024 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
2032 if (this->m_logOut_OutputPort[0].isConnected()) {
2036 #if FW_AMPCS_COMPATIBLE 2041 static_cast<FwAssertArgType>(_status)
2048 static_cast<FwAssertArgType>(_status)
2051 this->m_logOut_OutputPort[0].
invoke(
2060 #if FW_ENABLE_TEXT_LOGGING 2061 if (this->m_LogText_OutputPort[0].isConnected()) {
2062 #if FW_OBJECT_NAMES == 1 2063 const char* _formatString =
2064 "(%s) %s: Loaded sequence %s";
2066 const char* _formatString =
2067 "%s: Loaded sequence %s";
2074 this->m_objName.toChar(),
2076 "CS_SequenceLoaded ",
2080 this->m_LogText_OutputPort[0].invoke(
2095 if (this->m_timeCaller_OutputPort[0].isConnected()) {
2096 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
2104 if (this->m_logOut_OutputPort[0].isConnected()) {
2108 #if FW_AMPCS_COMPATIBLE 2113 static_cast<FwAssertArgType>(_status)
2120 static_cast<FwAssertArgType>(_status)
2123 this->m_logOut_OutputPort[0].
invoke(
2132 #if FW_ENABLE_TEXT_LOGGING 2133 if (this->m_LogText_OutputPort[0].isConnected()) {
2134 #if FW_OBJECT_NAMES == 1 2135 const char* _formatString =
2136 "(%s) %s: Sequence file %s canceled";
2138 const char* _formatString =
2139 "%s: Sequence file %s canceled";
2146 this->m_objName.toChar(),
2148 "CS_SequenceCanceled ",
2152 this->m_LogText_OutputPort[0].invoke(
2167 if (this->m_timeCaller_OutputPort[0].isConnected()) {
2168 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
2176 if (this->m_logOut_OutputPort[0].isConnected()) {
2180 #if FW_AMPCS_COMPATIBLE 2185 static_cast<FwAssertArgType>(_status)
2192 static_cast<FwAssertArgType>(_status)
2195 this->m_logOut_OutputPort[0].
invoke(
2204 #if FW_ENABLE_TEXT_LOGGING 2205 if (this->m_LogText_OutputPort[0].isConnected()) {
2206 #if FW_OBJECT_NAMES == 1 2207 const char* _formatString =
2208 "(%s) %s: Error reading sequence file %s";
2210 const char* _formatString =
2211 "%s: Error reading sequence file %s";
2218 this->m_objName.toChar(),
2220 "CS_FileReadError ",
2224 this->m_LogText_OutputPort[0].invoke(
2243 if (this->m_timeCaller_OutputPort[0].isConnected()) {
2244 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
2252 if (this->m_logOut_OutputPort[0].isConnected()) {
2256 #if FW_AMPCS_COMPATIBLE 2261 static_cast<FwAssertArgType>(_status)
2268 static_cast<FwAssertArgType>(_status)
2271 #if FW_AMPCS_COMPATIBLE 2278 static_cast<FwAssertArgType>(_status)
2284 static_cast<FwAssertArgType>(_status)
2287 #if FW_AMPCS_COMPATIBLE 2290 static_cast<U8>(
sizeof(I32))
2294 static_cast<FwAssertArgType>(_status)
2300 static_cast<FwAssertArgType>(_status)
2303 this->m_logOut_OutputPort[0].
invoke(
2312 #if FW_ENABLE_TEXT_LOGGING 2313 if (this->m_LogText_OutputPort[0].isConnected()) {
2314 #if FW_OBJECT_NAMES == 1 2315 const char* _formatString =
2316 "(%s) %s: Sequence file %s invalid. Stage: %s Error: %" PRIi32
"";
2318 const char* _formatString =
2319 "%s: Sequence file %s invalid. Stage: %s Error: %" PRIi32
"";
2323 stage.toString(stageStr);
2329 this->m_objName.toChar(),
2337 this->m_LogText_OutputPort[0].invoke(
2356 if (this->m_timeCaller_OutputPort[0].isConnected()) {
2357 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
2365 if (this->m_logOut_OutputPort[0].isConnected()) {
2369 #if FW_AMPCS_COMPATIBLE 2374 static_cast<FwAssertArgType>(_status)
2381 static_cast<FwAssertArgType>(_status)
2384 #if FW_AMPCS_COMPATIBLE 2387 static_cast<U8>(
sizeof(U32))
2391 static_cast<FwAssertArgType>(_status)
2397 static_cast<FwAssertArgType>(_status)
2400 #if FW_AMPCS_COMPATIBLE 2403 static_cast<U8>(
sizeof(I32))
2407 static_cast<FwAssertArgType>(_status)
2413 static_cast<FwAssertArgType>(_status)
2416 this->m_logOut_OutputPort[0].
invoke(
2425 #if FW_ENABLE_TEXT_LOGGING 2426 if (this->m_LogText_OutputPort[0].isConnected()) {
2427 #if FW_OBJECT_NAMES == 1 2428 const char* _formatString =
2429 "(%s) %s: Sequence file %s: Record %" PRIu32
" invalid. Err: %" PRIi32
"";
2431 const char* _formatString =
2432 "%s: Sequence file %s: Record %" PRIu32
" invalid. Err: %" PRIi32
"";
2439 this->m_objName.toChar(),
2441 "CS_RecordInvalid ",
2447 this->m_LogText_OutputPort[0].invoke(
2465 if (this->m_timeCaller_OutputPort[0].isConnected()) {
2466 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
2474 if (this->m_logOut_OutputPort[0].isConnected()) {
2478 #if FW_AMPCS_COMPATIBLE 2483 static_cast<FwAssertArgType>(_status)
2490 static_cast<FwAssertArgType>(_status)
2493 #if FW_AMPCS_COMPATIBLE 2496 static_cast<U8>(
sizeof(U32))
2500 static_cast<FwAssertArgType>(_status)
2506 static_cast<FwAssertArgType>(_status)
2509 this->m_logOut_OutputPort[0].
invoke(
2518 #if FW_ENABLE_TEXT_LOGGING 2519 if (this->m_LogText_OutputPort[0].isConnected()) {
2520 #if FW_OBJECT_NAMES == 1 2521 const char* _formatString =
2522 "(%s) %s: Sequence file %s too large. Size: %" PRIu32
"";
2524 const char* _formatString =
2525 "%s: Sequence file %s too large. Size: %" PRIu32
"";
2532 this->m_objName.toChar(),
2534 "CS_FileSizeError ",
2539 this->m_LogText_OutputPort[0].invoke(
2554 if (this->m_timeCaller_OutputPort[0].isConnected()) {
2555 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
2563 if (this->m_logOut_OutputPort[0].isConnected()) {
2567 #if FW_AMPCS_COMPATIBLE 2572 static_cast<FwAssertArgType>(_status)
2579 static_cast<FwAssertArgType>(_status)
2582 this->m_logOut_OutputPort[0].
invoke(
2591 #if FW_ENABLE_TEXT_LOGGING 2592 if (this->m_LogText_OutputPort[0].isConnected()) {
2593 #if FW_OBJECT_NAMES == 1 2594 const char* _formatString =
2595 "(%s) %s: Sequence file %s not found.";
2597 const char* _formatString =
2598 "%s: Sequence file %s not found.";
2605 this->m_objName.toChar(),
2611 this->m_LogText_OutputPort[0].invoke(
2630 if (this->m_timeCaller_OutputPort[0].isConnected()) {
2631 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
2639 if (this->m_logOut_OutputPort[0].isConnected()) {
2643 #if FW_AMPCS_COMPATIBLE 2648 static_cast<FwAssertArgType>(_status)
2655 static_cast<FwAssertArgType>(_status)
2658 #if FW_AMPCS_COMPATIBLE 2661 static_cast<U8>(
sizeof(U32))
2665 static_cast<FwAssertArgType>(_status)
2671 static_cast<FwAssertArgType>(_status)
2674 #if FW_AMPCS_COMPATIBLE 2677 static_cast<U8>(
sizeof(U32))
2681 static_cast<FwAssertArgType>(_status)
2687 static_cast<FwAssertArgType>(_status)
2690 this->m_logOut_OutputPort[0].
invoke(
2699 #if FW_ENABLE_TEXT_LOGGING 2700 if (this->m_LogText_OutputPort[0].isConnected()) {
2701 #if FW_OBJECT_NAMES == 1 2702 const char* _formatString =
2703 "(%s) %s: Sequence file %s had invalid CRC. Stored 0x%" PRIx32
", Computed 0x%" PRIx32
".";
2705 const char* _formatString =
2706 "%s: Sequence file %s had invalid CRC. Stored 0x%" PRIx32
", Computed 0x%" PRIx32
".";
2713 this->m_objName.toChar(),
2715 "CS_FileCrcFailure ",
2721 this->m_LogText_OutputPort[0].invoke(
2740 if (this->m_timeCaller_OutputPort[0].isConnected()) {
2741 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
2749 if (this->m_logOut_OutputPort[0].isConnected()) {
2753 #if FW_AMPCS_COMPATIBLE 2758 static_cast<FwAssertArgType>(_status)
2765 static_cast<FwAssertArgType>(_status)
2768 #if FW_AMPCS_COMPATIBLE 2771 static_cast<U8>(
sizeof(U32))
2775 static_cast<FwAssertArgType>(_status)
2781 static_cast<FwAssertArgType>(_status)
2784 #if FW_AMPCS_COMPATIBLE 2791 static_cast<FwAssertArgType>(_status)
2797 static_cast<FwAssertArgType>(_status)
2800 this->m_logOut_OutputPort[0].
invoke(
2809 #if FW_ENABLE_TEXT_LOGGING 2810 if (this->m_LogText_OutputPort[0].isConnected()) {
2811 #if FW_OBJECT_NAMES == 1 2812 const char* _formatString =
2813 "(%s) %s: Sequence file %s: Command %" PRIu32
" (opcode %" PRIu32
") complete";
2815 const char* _formatString =
2816 "%s: Sequence file %s: Command %" PRIu32
" (opcode %" PRIu32
") complete";
2823 this->m_objName.toChar(),
2825 "CS_CommandComplete ",
2831 this->m_LogText_OutputPort[0].invoke(
2846 if (this->m_timeCaller_OutputPort[0].isConnected()) {
2847 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
2855 if (this->m_logOut_OutputPort[0].isConnected()) {
2859 #if FW_AMPCS_COMPATIBLE 2864 static_cast<FwAssertArgType>(_status)
2871 static_cast<FwAssertArgType>(_status)
2874 this->m_logOut_OutputPort[0].
invoke(
2883 #if FW_ENABLE_TEXT_LOGGING 2884 if (this->m_LogText_OutputPort[0].isConnected()) {
2885 #if FW_OBJECT_NAMES == 1 2886 const char* _formatString =
2887 "(%s) %s: Sequence file %s complete";
2889 const char* _formatString =
2890 "%s: Sequence file %s complete";
2897 this->m_objName.toChar(),
2899 "CS_SequenceComplete ",
2903 this->m_LogText_OutputPort[0].invoke(
2923 if (this->m_timeCaller_OutputPort[0].isConnected()) {
2924 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
2932 if (this->m_logOut_OutputPort[0].isConnected()) {
2936 #if FW_AMPCS_COMPATIBLE 2941 static_cast<FwAssertArgType>(_status)
2948 static_cast<FwAssertArgType>(_status)
2951 #if FW_AMPCS_COMPATIBLE 2954 static_cast<U8>(
sizeof(U32))
2958 static_cast<FwAssertArgType>(_status)
2964 static_cast<FwAssertArgType>(_status)
2967 #if FW_AMPCS_COMPATIBLE 2974 static_cast<FwAssertArgType>(_status)
2980 static_cast<FwAssertArgType>(_status)
2983 #if FW_AMPCS_COMPATIBLE 2986 static_cast<U8>(
sizeof(U32))
2990 static_cast<FwAssertArgType>(_status)
2996 static_cast<FwAssertArgType>(_status)
2999 this->m_logOut_OutputPort[0].
invoke(
3008 #if FW_ENABLE_TEXT_LOGGING 3009 if (this->m_LogText_OutputPort[0].isConnected()) {
3010 #if FW_OBJECT_NAMES == 1 3011 const char* _formatString =
3012 "(%s) %s: Sequence file %s: Command %" PRIu32
" (opcode %" PRIu32
") completed with error %" PRIu32
"";
3014 const char* _formatString =
3015 "%s: Sequence file %s: Command %" PRIu32
" (opcode %" PRIu32
") completed with error %" PRIu32
"";
3022 this->m_objName.toChar(),
3031 this->m_LogText_OutputPort[0].invoke(
3046 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3047 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3055 if (this->m_logOut_OutputPort[0].isConnected()) {
3058 #if FW_AMPCS_COMPATIBLE 3064 static_cast<FwAssertArgType>(_status)
3068 this->m_logOut_OutputPort[0].
invoke(
3077 #if FW_ENABLE_TEXT_LOGGING 3078 if (this->m_LogText_OutputPort[0].isConnected()) {
3079 #if FW_OBJECT_NAMES == 1 3080 const char* _formatString =
3081 "(%s) %s: Invalid mode";
3083 const char* _formatString =
3091 this->m_objName.toChar(),
3096 this->m_LogText_OutputPort[0].invoke(
3115 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3116 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3124 if (this->m_logOut_OutputPort[0].isConnected()) {
3128 #if FW_AMPCS_COMPATIBLE 3133 static_cast<FwAssertArgType>(_status)
3140 static_cast<FwAssertArgType>(_status)
3143 #if FW_AMPCS_COMPATIBLE 3146 static_cast<U8>(
sizeof(U32))
3150 static_cast<FwAssertArgType>(_status)
3156 static_cast<FwAssertArgType>(_status)
3159 #if FW_AMPCS_COMPATIBLE 3162 static_cast<U8>(
sizeof(U32))
3166 static_cast<FwAssertArgType>(_status)
3172 static_cast<FwAssertArgType>(_status)
3175 this->m_logOut_OutputPort[0].
invoke(
3184 #if FW_ENABLE_TEXT_LOGGING 3185 if (this->m_LogText_OutputPort[0].isConnected()) {
3186 #if FW_OBJECT_NAMES == 1 3187 const char* _formatString =
3188 "(%s) %s: Sequence file %s header records mismatch: %" PRIu32
" in header, found %" PRIu32
" extra bytes.";
3190 const char* _formatString =
3191 "%s: Sequence file %s header records mismatch: %" PRIu32
" in header, found %" PRIu32
" extra bytes.";
3198 this->m_objName.toChar(),
3200 "CS_RecordMismatch ",
3206 this->m_LogText_OutputPort[0].invoke(
3225 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3226 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3234 if (this->m_logOut_OutputPort[0].isConnected()) {
3238 #if FW_AMPCS_COMPATIBLE 3243 static_cast<FwAssertArgType>(_status)
3250 static_cast<FwAssertArgType>(_status)
3253 #if FW_AMPCS_COMPATIBLE 3256 static_cast<U8>(
sizeof(U16))
3260 static_cast<FwAssertArgType>(_status)
3266 static_cast<FwAssertArgType>(_status)
3269 #if FW_AMPCS_COMPATIBLE 3272 static_cast<U8>(
sizeof(U16))
3276 static_cast<FwAssertArgType>(_status)
3282 static_cast<FwAssertArgType>(_status)
3285 this->m_logOut_OutputPort[0].
invoke(
3294 #if FW_ENABLE_TEXT_LOGGING 3295 if (this->m_LogText_OutputPort[0].isConnected()) {
3296 #if FW_OBJECT_NAMES == 1 3297 const char* _formatString =
3298 "(%s) %s: Sequence file %s: Current time base doesn't match sequence time: base: %" PRIu16
" seq: %" PRIu16
"";
3300 const char* _formatString =
3301 "%s: Sequence file %s: Current time base doesn't match sequence time: base: %" PRIu16
" seq: %" PRIu16
"";
3308 this->m_objName.toChar(),
3310 "CS_TimeBaseMismatch ",
3316 this->m_LogText_OutputPort[0].invoke(
3335 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3336 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3344 if (this->m_logOut_OutputPort[0].isConnected()) {
3348 #if FW_AMPCS_COMPATIBLE 3353 static_cast<FwAssertArgType>(_status)
3360 static_cast<FwAssertArgType>(_status)
3363 #if FW_AMPCS_COMPATIBLE 3366 static_cast<U8>(
sizeof(
U8))
3370 static_cast<FwAssertArgType>(_status)
3376 static_cast<FwAssertArgType>(_status)
3379 #if FW_AMPCS_COMPATIBLE 3382 static_cast<U8>(
sizeof(
U8))
3386 static_cast<FwAssertArgType>(_status)
3392 static_cast<FwAssertArgType>(_status)
3395 this->m_logOut_OutputPort[0].
invoke(
3404 #if FW_ENABLE_TEXT_LOGGING 3405 if (this->m_LogText_OutputPort[0].isConnected()) {
3406 #if FW_OBJECT_NAMES == 1 3407 const char* _formatString =
3408 "(%s) %s: Sequence file %s: Current time context doesn't match sequence context: base: %" PRIu8
" seq: %" PRIu8
"";
3410 const char* _formatString =
3411 "%s: Sequence file %s: Current time context doesn't match sequence context: base: %" PRIu8
" seq: %" PRIu8
"";
3418 this->m_objName.toChar(),
3420 "CS_TimeContextMismatch ",
3426 this->m_LogText_OutputPort[0].invoke(
3441 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3442 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3450 if (this->m_logOut_OutputPort[0].isConnected()) {
3454 #if FW_AMPCS_COMPATIBLE 3459 static_cast<FwAssertArgType>(_status)
3466 static_cast<FwAssertArgType>(_status)
3469 this->m_logOut_OutputPort[0].
invoke(
3478 #if FW_ENABLE_TEXT_LOGGING 3479 if (this->m_LogText_OutputPort[0].isConnected()) {
3480 #if FW_OBJECT_NAMES == 1 3481 const char* _formatString =
3482 "(%s) %s: Local request for sequence %s started.";
3484 const char* _formatString =
3485 "%s: Local request for sequence %s started.";
3492 this->m_objName.toChar(),
3494 "CS_PortSequenceStarted ",
3498 this->m_LogText_OutputPort[0].invoke(
3513 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3514 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3522 if (this->m_logOut_OutputPort[0].isConnected()) {
3526 #if FW_AMPCS_COMPATIBLE 3531 static_cast<FwAssertArgType>(_status)
3535 #if FW_AMPCS_COMPATIBLE 3542 static_cast<FwAssertArgType>(_status)
3548 static_cast<FwAssertArgType>(_status)
3551 this->m_logOut_OutputPort[0].
invoke(
3560 #if FW_ENABLE_TEXT_LOGGING 3561 if (this->m_LogText_OutputPort[0].isConnected()) {
3562 #if FW_OBJECT_NAMES == 1 3563 const char* _formatString =
3564 "(%s) %s: Command complete status received while no sequences active. Opcode: %" PRIu32
"";
3566 const char* _formatString =
3567 "%s: Command complete status received while no sequences active. Opcode: %" PRIu32
"";
3574 this->m_objName.toChar(),
3576 "CS_UnexpectedCompletion ",
3580 this->m_LogText_OutputPort[0].invoke(
3595 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3596 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3604 if (this->m_logOut_OutputPort[0].isConnected()) {
3608 #if FW_AMPCS_COMPATIBLE 3613 static_cast<FwAssertArgType>(_status)
3617 #if FW_AMPCS_COMPATIBLE 3624 static_cast<FwAssertArgType>(_status)
3630 static_cast<FwAssertArgType>(_status)
3633 this->m_logOut_OutputPort[0].
invoke(
3642 #if FW_ENABLE_TEXT_LOGGING 3643 if (this->m_LogText_OutputPort[0].isConnected()) {
3644 #if FW_OBJECT_NAMES == 1 3645 const char* _formatString =
3646 "(%s) %s: Sequencer switched to %s step mode";
3648 const char* _formatString =
3649 "%s: Sequencer switched to %s step mode";
3653 mode.toString(modeStr);
3659 this->m_objName.toChar(),
3665 this->m_LogText_OutputPort[0].invoke(
3680 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3681 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3689 if (this->m_logOut_OutputPort[0].isConnected()) {
3692 #if FW_AMPCS_COMPATIBLE 3698 static_cast<FwAssertArgType>(_status)
3702 this->m_logOut_OutputPort[0].
invoke(
3711 #if FW_ENABLE_TEXT_LOGGING 3712 if (this->m_LogText_OutputPort[0].isConnected()) {
3713 #if FW_OBJECT_NAMES == 1 3714 const char* _formatString =
3715 "(%s) %s: No sequence active.";
3717 const char* _formatString =
3718 "%s: No sequence active.";
3725 this->m_objName.toChar(),
3727 "CS_NoSequenceActive " 3730 this->m_LogText_OutputPort[0].invoke(
3745 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3746 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3754 if (this->m_logOut_OutputPort[0].isConnected()) {
3758 #if FW_AMPCS_COMPATIBLE 3763 static_cast<FwAssertArgType>(_status)
3770 static_cast<FwAssertArgType>(_status)
3773 this->m_logOut_OutputPort[0].
invoke(
3782 #if FW_ENABLE_TEXT_LOGGING 3783 if (this->m_LogText_OutputPort[0].isConnected()) {
3784 #if FW_OBJECT_NAMES == 1 3785 const char* _formatString =
3786 "(%s) %s: Sequence %s is valid.";
3788 const char* _formatString =
3789 "%s: Sequence %s is valid.";
3796 this->m_objName.toChar(),
3798 "CS_SequenceValid ",
3802 this->m_LogText_OutputPort[0].invoke(
3820 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3821 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3829 if (this->m_logOut_OutputPort[0].isConnected()) {
3833 #if FW_AMPCS_COMPATIBLE 3838 static_cast<FwAssertArgType>(_status)
3845 static_cast<FwAssertArgType>(_status)
3848 #if FW_AMPCS_COMPATIBLE 3851 static_cast<U8>(
sizeof(U32))
3855 static_cast<FwAssertArgType>(_status)
3861 static_cast<FwAssertArgType>(_status)
3864 this->m_logOut_OutputPort[0].
invoke(
3873 #if FW_ENABLE_TEXT_LOGGING 3874 if (this->m_LogText_OutputPort[0].isConnected()) {
3875 #if FW_OBJECT_NAMES == 1 3876 const char* _formatString =
3877 "(%s) %s: Sequence %s timed out on command %" PRIu32
"";
3879 const char* _formatString =
3880 "%s: Sequence %s timed out on command %" PRIu32
"";
3887 this->m_objName.toChar(),
3889 "CS_SequenceTimeout ",
3894 this->m_LogText_OutputPort[0].invoke(
3912 if (this->m_timeCaller_OutputPort[0].isConnected()) {
3913 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
3921 if (this->m_logOut_OutputPort[0].isConnected()) {
3925 #if FW_AMPCS_COMPATIBLE 3930 static_cast<FwAssertArgType>(_status)
3937 static_cast<FwAssertArgType>(_status)
3940 #if FW_AMPCS_COMPATIBLE 3943 static_cast<U8>(
sizeof(U32))
3947 static_cast<FwAssertArgType>(_status)
3953 static_cast<FwAssertArgType>(_status)
3956 this->m_logOut_OutputPort[0].
invoke(
3965 #if FW_ENABLE_TEXT_LOGGING 3966 if (this->m_LogText_OutputPort[0].isConnected()) {
3967 #if FW_OBJECT_NAMES == 1 3968 const char* _formatString =
3969 "(%s) %s: Sequence %s command %" PRIu32
" stepped";
3971 const char* _formatString =
3972 "%s: Sequence %s command %" PRIu32
" stepped";
3979 this->m_objName.toChar(),
3986 this->m_LogText_OutputPort[0].invoke(
4001 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4002 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4010 if (this->m_logOut_OutputPort[0].isConnected()) {
4014 #if FW_AMPCS_COMPATIBLE 4019 static_cast<FwAssertArgType>(_status)
4026 static_cast<FwAssertArgType>(_status)
4029 this->m_logOut_OutputPort[0].
invoke(
4038 #if FW_ENABLE_TEXT_LOGGING 4039 if (this->m_LogText_OutputPort[0].isConnected()) {
4040 #if FW_OBJECT_NAMES == 1 4041 const char* _formatString =
4042 "(%s) %s: Sequence %s started";
4044 const char* _formatString =
4045 "%s: Sequence %s started";
4052 this->m_objName.toChar(),
4058 this->m_LogText_OutputPort[0].invoke(
4077 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4078 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4086 if (this->m_logOut_OutputPort[0].isConnected()) {
4090 #if FW_AMPCS_COMPATIBLE 4095 static_cast<FwAssertArgType>(_status)
4102 static_cast<FwAssertArgType>(_status)
4105 #if FW_AMPCS_COMPATIBLE 4108 static_cast<U8>(
sizeof(U32))
4112 static_cast<FwAssertArgType>(_status)
4118 static_cast<FwAssertArgType>(_status)
4121 #if FW_AMPCS_COMPATIBLE 4128 static_cast<FwAssertArgType>(_status)
4134 static_cast<FwAssertArgType>(_status)
4137 this->m_logOut_OutputPort[0].
invoke(
4146 #if FW_ENABLE_TEXT_LOGGING 4147 if (this->m_LogText_OutputPort[0].isConnected()) {
4148 #if FW_OBJECT_NAMES == 1 4149 const char* _formatString =
4150 "(%s) %s: Start waiting for sequence file %s: Command %" PRIu32
" (opcode %" PRIu32
") to complete";
4152 const char* _formatString =
4153 "%s: Start waiting for sequence file %s: Command %" PRIu32
" (opcode %" PRIu32
") to complete";
4160 this->m_objName.toChar(),
4168 this->m_LogText_OutputPort[0].invoke(
4183 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4184 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4192 if (this->m_logOut_OutputPort[0].isConnected()) {
4195 #if FW_AMPCS_COMPATIBLE 4201 static_cast<FwAssertArgType>(_status)
4205 this->m_logOut_OutputPort[0].
invoke(
4214 #if FW_ENABLE_TEXT_LOGGING 4215 if (this->m_LogText_OutputPort[0].isConnected()) {
4216 #if FW_OBJECT_NAMES == 1 4217 const char* _formatString =
4218 "(%s) %s: Still waiting for sequence file to complete";
4220 const char* _formatString =
4221 "%s: Still waiting for sequence file to complete";
4228 this->m_objName.toChar(),
4230 "CS_JoinWaitingNotComplete " 4233 this->m_LogText_OutputPort[0].invoke(
4248 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4249 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
4257 if (this->m_logOut_OutputPort[0].isConnected()) {
4261 #if FW_AMPCS_COMPATIBLE 4266 static_cast<FwAssertArgType>(_status)
4273 static_cast<FwAssertArgType>(_status)
4276 this->m_logOut_OutputPort[0].
invoke(
4285 #if FW_ENABLE_TEXT_LOGGING 4286 if (this->m_LogText_OutputPort[0].isConnected()) {
4287 #if FW_OBJECT_NAMES == 1 4288 const char* _formatString =
4289 "(%s) %s: Sequence file %s has no records. Ignoring.";
4291 const char* _formatString =
4292 "%s: Sequence file %s has no records. Ignoring.";
4299 this->m_objName.toChar(),
4305 this->m_LogText_OutputPort[0].invoke(
4325 if (this->m_tlmOut_OutputPort[0].isConnected()) {
4327 this->m_timeCaller_OutputPort[0].isConnected() &&
4330 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
4337 static_cast<FwAssertArgType>(_stat)
4344 this->m_tlmOut_OutputPort[0].
invoke(
4358 if (this->m_tlmOut_OutputPort[0].isConnected()) {
4360 this->m_timeCaller_OutputPort[0].isConnected() &&
4363 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
4370 static_cast<FwAssertArgType>(_stat)
4377 this->m_tlmOut_OutputPort[0].
invoke(
4391 if (this->m_tlmOut_OutputPort[0].isConnected()) {
4393 this->m_timeCaller_OutputPort[0].isConnected() &&
4396 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
4403 static_cast<FwAssertArgType>(_stat)
4410 this->m_tlmOut_OutputPort[0].
invoke(
4424 if (this->m_tlmOut_OutputPort[0].isConnected()) {
4426 this->m_timeCaller_OutputPort[0].isConnected() &&
4429 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
4436 static_cast<FwAssertArgType>(_stat)
4443 this->m_tlmOut_OutputPort[0].
invoke(
4457 if (this->m_tlmOut_OutputPort[0].isConnected()) {
4459 this->m_timeCaller_OutputPort[0].isConnected() &&
4462 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
4469 static_cast<FwAssertArgType>(_stat)
4476 this->m_tlmOut_OutputPort[0].
invoke(
4491 if (this->m_timeCaller_OutputPort[0].isConnected()) {
4493 this->m_timeCaller_OutputPort[0].
invoke(_time);
4508 ComponentIpcSerializableBuffer _msg;
4518 static_cast<FwAssertArgType>(_msgStatus)
4528 static_cast<FwAssertArgType>(_deserStatus)
4531 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
4533 if (_msgType == CMDSEQUENCER_COMPONENT_EXIT) {
4538 _deserStatus = _msg.deserializeTo(portNum);
4541 static_cast<FwAssertArgType>(_deserStatus)
4546 case CMDRESPONSEIN_CMDRESPONSE: {
4549 _deserStatus = _msg.deserializeTo(opCode);
4552 static_cast<FwAssertArgType>(_deserStatus)
4557 _deserStatus = _msg.deserializeTo(cmdSeq);
4560 static_cast<FwAssertArgType>(_deserStatus)
4565 _deserStatus = _msg.deserializeTo(response);
4568 static_cast<FwAssertArgType>(_deserStatus)
4585 _deserStatus = _msg.deserializeTo(key);
4588 static_cast<FwAssertArgType>(_deserStatus)
4600 case SCHEDIN_SCHED: {
4603 _deserStatus = _msg.deserializeTo(context);
4606 static_cast<FwAssertArgType>(_deserStatus)
4618 case SEQCANCELIN_CMDSEQCANCEL: {
4626 case SEQRUNIN_CMDSEQIN: {
4629 Fw::ExternalString filename(__fprime_ac_filename_buffer,
sizeof __fprime_ac_filename_buffer);
4630 _deserStatus = _msg.deserializeTo(filename);
4633 static_cast<FwAssertArgType>(_deserStatus)
4648 _deserStatus = _msg.deserializeTo(_opCode);
4651 static_cast<FwAssertArgType>(_deserStatus)
4656 _deserStatus = _msg.deserializeTo(_cmdSeq);
4659 static_cast<FwAssertArgType>(_deserStatus)
4664 _deserStatus = _msg.deserializeTo(args);
4667 static_cast<FwAssertArgType>(_deserStatus)
4677 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
4692 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
4705 #if FW_CMD_CHECK_RESIDUAL 4707 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
4726 case CMD_CS_VALIDATE: {
4729 _deserStatus = _msg.deserializeTo(_opCode);
4732 static_cast<FwAssertArgType>(_deserStatus)
4737 _deserStatus = _msg.deserializeTo(_cmdSeq);
4740 static_cast<FwAssertArgType>(_deserStatus)
4745 _deserStatus = _msg.deserializeTo(args);
4748 static_cast<FwAssertArgType>(_deserStatus)
4758 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
4771 #if FW_CMD_CHECK_RESIDUAL 4773 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
4791 case CMD_CS_CANCEL: {
4794 _deserStatus = _msg.deserializeTo(_opCode);
4797 static_cast<FwAssertArgType>(_deserStatus)
4802 _deserStatus = _msg.deserializeTo(_cmdSeq);
4805 static_cast<FwAssertArgType>(_deserStatus)
4810 _deserStatus = _msg.deserializeTo(args);
4813 static_cast<FwAssertArgType>(_deserStatus)
4821 #if FW_CMD_CHECK_RESIDUAL 4823 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
4838 case CMD_CS_START: {
4841 _deserStatus = _msg.deserializeTo(_opCode);
4844 static_cast<FwAssertArgType>(_deserStatus)
4849 _deserStatus = _msg.deserializeTo(_cmdSeq);
4852 static_cast<FwAssertArgType>(_deserStatus)
4857 _deserStatus = _msg.deserializeTo(args);
4860 static_cast<FwAssertArgType>(_deserStatus)
4868 #if FW_CMD_CHECK_RESIDUAL 4870 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
4888 _deserStatus = _msg.deserializeTo(_opCode);
4891 static_cast<FwAssertArgType>(_deserStatus)
4896 _deserStatus = _msg.deserializeTo(_cmdSeq);
4899 static_cast<FwAssertArgType>(_deserStatus)
4904 _deserStatus = _msg.deserializeTo(args);
4907 static_cast<FwAssertArgType>(_deserStatus)
4915 #if FW_CMD_CHECK_RESIDUAL 4917 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
4935 _deserStatus = _msg.deserializeTo(_opCode);
4938 static_cast<FwAssertArgType>(_deserStatus)
4943 _deserStatus = _msg.deserializeTo(_cmdSeq);
4946 static_cast<FwAssertArgType>(_deserStatus)
4951 _deserStatus = _msg.deserializeTo(args);
4954 static_cast<FwAssertArgType>(_deserStatus)
4962 #if FW_CMD_CHECK_RESIDUAL 4964 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
4979 case CMD_CS_MANUAL: {
4982 _deserStatus = _msg.deserializeTo(_opCode);
4985 static_cast<FwAssertArgType>(_deserStatus)
4990 _deserStatus = _msg.deserializeTo(_cmdSeq);
4993 static_cast<FwAssertArgType>(_deserStatus)
4998 _deserStatus = _msg.deserializeTo(args);
5001 static_cast<FwAssertArgType>(_deserStatus)
5009 #if FW_CMD_CHECK_RESIDUAL 5011 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
5026 case CMD_CS_JOIN_WAIT: {
5029 _deserStatus = _msg.deserializeTo(_opCode);
5032 static_cast<FwAssertArgType>(_deserStatus)
5037 _deserStatus = _msg.deserializeTo(_cmdSeq);
5040 static_cast<FwAssertArgType>(_deserStatus)
5045 _deserStatus = _msg.deserializeTo(args);
5048 static_cast<FwAssertArgType>(_deserStatus)
5056 #if FW_CMD_CHECK_RESIDUAL 5058 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
5083 void CmdSequencerComponentBase ::
5095 const U32 idBase = callComp->
getIdBase();
5096 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
5099 switch (opCode - idBase) {
5101 compPtr->CS_RUN_cmdHandlerBase(
5110 compPtr->CS_VALIDATE_cmdHandlerBase(
5119 compPtr->CS_CANCEL_cmdHandlerBase(
5128 compPtr->CS_START_cmdHandlerBase(
5137 compPtr->CS_STEP_cmdHandlerBase(
5146 compPtr->CS_AUTO_cmdHandlerBase(
5155 compPtr->CS_MANUAL_cmdHandlerBase(
5164 compPtr->CS_JOIN_WAIT_cmdHandlerBase(
5178 void CmdSequencerComponentBase ::
5179 m_p_cmdResponseIn_in(
5189 compPtr->cmdResponseIn_handlerBase(
5197 void CmdSequencerComponentBase ::
5206 compPtr->pingIn_handlerBase(
5212 void CmdSequencerComponentBase ::
5221 compPtr->schedIn_handlerBase(
5227 void CmdSequencerComponentBase ::
5235 compPtr->seqCancelIn_handlerBase(portNum);
5238 void CmdSequencerComponentBase ::
5247 compPtr->seqRunIn_handlerBase(
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
static constexpr FwIndexType getNum_cmdIn_InputPorts()
Serialization/Deserialization operation was successful.
void log_WARNING_HI_CS_TimeContextMismatch(const Fw::StringBase &fileName, U8 currTimeBase, U8 seqTimeBase) const
Perform one step in a command sequence. Valid only if CmdSequencer is in MANUAL run mode...
static constexpr FwIndexType getNum_tlmOut_OutputPorts()
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
void log_WARNING_HI_CS_FileInvalid(const Fw::StringBase &fileName, Svc::CmdSequencer_FileReadStage stage, I32 error) const
void addCallPort(InputTimePort *callPort)
Register an input port.
Run a command sequence file.
void tlmWrite_CS_LoadCommands(U32 arg, Fw::Time _tlmTime=Fw::Time()) const
void invoke(Fw::ComBuffer &data, U32 context) const
Invoke a port interface.
void log_WARNING_HI_CS_InvalidMode() const
void init()
Initialization function.
static constexpr FwIndexType getNum_cmdResponseIn_InputPorts()
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts()
The size of the serial representation.
FwIdType FwOpcodeType
The type of a command opcode.
static constexpr FwIndexType getNum_logOut_OutputPorts()
SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG) override
Serialize an 8-bit unsigned integer value.
void log_WARNING_HI_CS_FileSizeError(const Fw::StringBase &fileName, U32 size) const
Number of records in header doesn't match number in file.
void log_ACTIVITY_HI_CS_ModeSwitched(Svc::CmdSequencer_SeqMode mode) const
bool isConnected_comCmdOut_OutputPort(FwIndexType portNum)
void cmdResponseIn_handlerBase(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
Handler base-class function for input port cmdResponseIn.
FwIdType getIdBase() const
PlatformSizeType FwSizeType
Status receive(U8 *destination, FwSizeType capacity, BlockingType blockType, FwSizeType &actualSize, FwQueuePriorityType &priority) override
receive a message from the queue through delegate
A sequence related command came with no active sequence.
void tlmWrite_CS_Errors(U32 arg, Fw::Time _tlmTime=Fw::Time()) const
void log_WARNING_HI_CS_FileNotFound(const Fw::StringBase &fileName) const
void CS_VALIDATE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void log_ACTIVITY_HI_CS_JoinWaiting(const Fw::StringBase &filename, U32 recordNumber, FwOpcodeType opCode) const
A command in a sequence was stepped through.
Status
status returned from the queue send function
void log_WARNING_HI_CS_JoinWaitingNotComplete() const
void CS_MANUAL_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
const char * toChar() const
Convert to a C-style char*.
void regCommands()
Register commands with the Command Dispatcher.
Wait for sequences that are running to finish. Allow user to run multiple seq files in SEQ_NO_BLOCK m...
void init()
Initialization function.
virtual void schedIn_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port schedIn.
void log_WARNING_HI_CS_UnexpectedCompletion(FwOpcodeType opcode) const
A command status came back when no sequence was running.
virtual void CS_AUTO_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CS_AUTO.
The stage of the file read operation.
void log_ACTIVITY_LO_CS_SequenceLoaded(const Fw::StringBase &fileName) const
Wait for the current running sequence file complete.
void CS_STEP_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void invoke(U32 key) const
Invoke a port interface.
static constexpr FwIndexType getNum_seqRunIn_InputPorts()
The Command Sequencer issued a command and received an error status in return.
virtual const CHAR * toChar() const =0
Convert to a C-style char*.
void pingOut_out(FwIndexType portNum, U32 key)
Invoke output port pingOut.
static constexpr FwIndexType getNum_schedIn_InputPorts()
void log_ACTIVITY_HI_CS_CmdStarted(const Fw::StringBase &filename) const
virtual void CS_VALIDATE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName)=0
Fw::InputCmdResponsePort * get_cmdResponseIn_InputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_seqDone_OutputPorts()
void comCmdOut_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Invoke output port comCmdOut.
virtual void seqCancelIn_handler(FwIndexType portNum)=0
Handler for input port seqCancelIn.
void set_pingOut_OutputPort(FwIndexType portNum, Svc::InputPingPort *port)
Connect port to pingOut[portNum].
void pingIn_handlerBase(FwIndexType portNum, U32 key)
Handler base-class function for input port pingIn.
void init()
Initialization function.
void seqDone_out(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
Invoke output port seqDone.
Enum representing a command response.
void schedIn_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port schedIn.
The Command Sequencer issued a command and received a success status in return.
No time base has been established (Required)
void seqRunIn_handlerBase(FwIndexType portNum, const Fw::StringBase &filename)
Handler base-class function for input port seqRunIn.
void addCallPort(InputCmdRegPort *callPort)
Register an input port.
void log_WARNING_LO_CS_NoSequenceActive() const
void CS_START_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void log_WARNING_HI_CS_SequenceTimeout(const Fw::StringBase &filename, U32 command) const
virtual void CS_CANCEL_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CS_CANCEL.
Validate a command sequence file.
Os::Queue m_queue
queue object for active component
A local port request to run a sequence was started.
void addCallPort(InputTlmPort *callPort)
Register an input port.
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum)
void init()
Object initializer.
void seqStartOut_out(FwIndexType portNum, const Fw::StringBase &filename)
Invoke output port seqStartOut.
Channel ID for CS_LoadCommands.
SerializeStatus
forward declaration for string
void set_seqDone_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to seqDone[portNum].
Message will block until space is available.
The sequence file was not found.
virtual void CS_RUN_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CS_RUN.
Set the run mode to AUTO.
void tlmWrite_CS_CancelCommands(U32 arg, Fw::Time _tlmTime=Fw::Time()) const
FwIdType FwEventIdType
The type of an event identifier.
virtual ~CmdSequencerComponentBase()
Destroy CmdSequencerComponentBase object.
void tlmWrite_CS_CommandsExecuted(U32 arg, Fw::Time _tlmTime=Fw::Time()) const
void invoke(FwOpcodeType opCode) const
Invoke a port interface.
static constexpr FwIndexType getNum_pingOut_OutputPorts()
virtual void seqRunIn_preMsgHook(FwIndexType portNum, const Fw::StringBase &filename)
Pre-message hook for async input port seqRunIn.
void log_ACTIVITY_HI_CS_PortSequenceStarted(const Fw::StringBase &filename) const
void log_WARNING_HI_CS_RecordInvalid(const Fw::StringBase &fileName, U32 recordNumber, I32 error) const
Set the run mode to MANUAL.
void log_ACTIVITY_HI_CS_SequenceCanceled(const Fw::StringBase &fileName) const
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects) ...
virtual void CS_RUN_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName, Svc::CmdSequencer_BlockState block)=0
void init()
Initialization function.
Less important informational events.
Os::Queue::Status createQueue(FwSizeType depth, FwSizeType msgSize)
void log_WARNING_HI_CS_RecordMismatch(const Fw::StringBase &fileName, U32 header_records, U32 extra_bytes) const
#define FW_MIN(a, b)
MIN macro.
A less serious but recoverable event.
void init()
Initialization function.
The sequence file was too large.
Cancel a command sequence.
bool isConnected_pingOut_OutputPort(FwIndexType portNum)
virtual void cmdResponseIn_preMsgHook(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
Pre-message hook for async input port cmdResponseIn.
void invoke(Fw::Time &time) const
Invoke a port interface.
bool isConnected_seqStartOut_OutputPort(FwIndexType portNum)
void CS_JOIN_WAIT_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Svc::InputCmdSeqInPort * get_seqRunIn_InputPort(FwIndexType portNum)
Serializable::SizeType getDeserializeSizeLeft() const override
Get remaining deserialization buffer size.
const char * toChar() const
Convert to a C-style char*.
void invoke(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke a port interface.
void set_cmdResponseOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdResponseOut[portNum].
FwIdType FwChanIdType
The type of a telemetry channel identifier.
void set_cmdRegOut_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to cmdRegOut[portNum].
virtual void CS_START_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
void addCallPort(InputPingPort *callPort)
Register an input port.
A sequence passed validation.
Status send(const U8 *buffer, FwSizeType size, FwQueuePriorityType priority, BlockingType blockType) override
send a message into the queue through delegate
virtual void seqRunIn_handler(FwIndexType portNum, const Fw::StringBase &filename)=0
Handler for input port seqRunIn.
void resetDeser() override
Reset deserialization pointer to beginning of buffer.
Sequence file was successfully loaded.
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts()
Channel ID for CS_SequencesCompleted.
A manual sequence was started.
A string backed by an external buffer.
A serious but recoverable event.
Errors dispatching messages.
A command sequence successfully completed.
void invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke a port interface.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
void CS_AUTO_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void invoke(const Fw::StringBase &filename) const
Invoke a port interface.
virtual void CS_START_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CS_START.
The Sequence File Loader could not read the sequence file.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
The sequence file format was invalid.
Start running a command sequence.
void init()
Initialization function.
A sequence passed validation.
bool isConnected_seqDone_OutputPort(FwIndexType portNum)
uint8_t U8
8-bit unsigned integer
void set_comCmdOut_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to comCmdOut[portNum].
static constexpr FwIndexType getNum_seqStartOut_OutputPorts()
virtual void pingIn_preMsgHook(FwIndexType portNum, U32 key)
Pre-message hook for async input port pingIn.
Svc::InputSchedPort * get_schedIn_InputPort(FwIndexType portNum)
virtual void CS_AUTO_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
The format of a command record was invalid.
Command failed to deserialize.
PlatformQueuePriorityType FwQueuePriorityType
The type of queue priorities used.
The Command Sequencer received a command that was invalid for its current mode.
void log_WARNING_HI_CS_FileCrcFailure(const Fw::StringBase &fileName, U32 storedCRC, U32 computedCRC) const
Important informational events.
A command sequence was successfully canceled.
Channel ID for CS_CommandsExecuted.
The sequence file validation failed.
void invoke(FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args) const
Invoke a port interface.
virtual void CS_MANUAL_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CS_MANUAL.
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum)
void CS_CANCEL_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void set_seqStartOut_OutputPort(FwIndexType portNum, Svc::InputCmdSeqInPort *port)
Connect port to seqStartOut[portNum].
void log_WARNING_HI_CS_TimeBaseMismatch(const Fw::StringBase &fileName, U16 time_base, U16 seq_time_base) const
A message was sent requesting an exit of the loop.
virtual void CS_STEP_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CS_STEP.
message to exit active component task
PlatformIndexType FwIndexType
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
The running time base doesn't match the time base in the sequence files.
void seqCancelIn_handlerBase(FwIndexType portNum)
Handler base-class function for input port seqCancelIn.
The running time base doesn't match the time base in the sequence files.
void addCallPort(InputLogPort *callPort)
Register an input port.
void addCallPort(InputCmdSeqInPort *callPort)
Register an input port.
Cannot run new sequence when current sequence file is still running.
void init()
Initialization function.
Channel ID for CS_CancelCommands.
void CS_RUN_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
static constexpr FwIndexType getNum_seqCancelIn_InputPorts()
virtual void pingIn_handler(FwIndexType portNum, U32 key)=0
Handler for input port pingIn.
RateGroupDivider component implementation.
virtual void CS_VALIDATE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CS_VALIDATE.
void log_ACTIVITY_HI_CS_SequenceComplete(const Fw::StringBase &fileName) const
virtual void CS_STEP_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
void log_ACTIVITY_LO_CS_CommandComplete(const Fw::StringBase &fileName, U32 recordNumber, FwOpcodeType opCode) const
message sent/received okay
SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG) override
Deserialize an 8-bit unsigned integer value.
void addCallPort(InputComPort *callPort)
Register an input port.
Channel ID for CS_Errors.
virtual void CS_MANUAL_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
CmdSequencerComponentBase(const char *compName="")
Construct CmdSequencerComponentBase object.
Message will return with status when space is unavailable.
Implementation of malloc based allocator.
static constexpr FwIndexType getNum_pingIn_InputPorts()
virtual void cmdResponseIn_handler(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)=0
Handler for input port cmdResponseIn.
void log_WARNING_LO_CS_NoRecords(const Fw::StringBase &fileName) const
Log event CS_NoRecords.
virtual void CS_JOIN_WAIT_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
virtual void seqCancelIn_preMsgHook(FwIndexType portNum)
Pre-message hook for async input port seqCancelIn.
virtual void schedIn_handler(FwIndexType portNum, U32 context)=0
Handler for input port schedIn.
static constexpr SizeType BUFFER_SIZE(SizeType maxLength)
Get the size of a null-terminated string buffer.
void log_WARNING_HI_CS_CommandError(const Fw::StringBase &fileName, U32 recordNumber, FwOpcodeType opCode, U32 errorStatus) const
void init()
Initialization function.
Sequencer blocking state.
virtual void CS_CANCEL_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
static constexpr FwIndexType getNum_comCmdOut_OutputPorts()
Svc::InputCmdSeqCancelPort * get_seqCancelIn_InputPort(FwIndexType portNum)
void log_ACTIVITY_HI_CS_SequenceValid(const Fw::StringBase &filename) const
bool isConnected_logOut_OutputPort(FwIndexType portNum)
The size of the serial representation.
void log_WARNING_HI_CS_FileReadError(const Fw::StringBase &fileName) const
bool isConnected_tlmOut_OutputPort(FwIndexType portNum)
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
void addCallPort(InputCmdResponsePort *callPort)
Register an input port.
void tlmWrite_CS_SequencesCompleted(U32 arg, Fw::Time _tlmTime=Fw::Time()) const
void log_ACTIVITY_HI_CS_CmdStepped(const Fw::StringBase &filename, U32 command) const
SerializeStatus serializeTo(SerialBufferBase &buffer, Endianness mode=Endianness::BIG) const override
Serialize the contents of this object to a buffer.
virtual void CS_JOIN_WAIT_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CS_JOIN_WAIT.