9 #if FW_ENABLE_TEXT_LOGGING 19 CMDRESPONSEIN_CMDRESPONSE,
22 SEQCANCELIN_CMDSEQCANCEL,
23 SEQDISPATCHIN_FILEDISPATCH,
48 class ComponentIpcSerializableBuffer :
58 MAX_DATA_SIZE =
sizeof(BuffUnion),
60 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
63 ComponentIpcSerializableBuffer() :
Fw::LinearBufferBase(m_buff, sizeof(m_buff)) {
69 U8 m_buff[SERIALIZATION_SIZE];
87 #if !FW_DIRECT_PORT_CALLS 94 this->m_cmdIn_InputPort[port].
init();
99 this->m_cmdIn_InputPort[port].
setPortNum(port);
101 #if FW_OBJECT_NAMES == 1 105 this->m_objName.toChar(),
108 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
113 #if !FW_DIRECT_PORT_CALLS 120 this->m_cmdResponseIn_InputPort[port].
init();
125 this->m_cmdResponseIn_InputPort[port].
setPortNum(port);
127 #if FW_OBJECT_NAMES == 1 131 this->m_objName.toChar(),
134 this->m_cmdResponseIn_InputPort[port].setObjName(portName.
toChar());
139 #if !FW_DIRECT_PORT_CALLS 146 this->m_pingIn_InputPort[port].
init();
151 this->m_pingIn_InputPort[port].
setPortNum(port);
153 #if FW_OBJECT_NAMES == 1 157 this->m_objName.toChar(),
160 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
165 #if !FW_DIRECT_PORT_CALLS 172 this->m_schedIn_InputPort[port].
init();
177 this->m_schedIn_InputPort[port].
setPortNum(port);
179 #if FW_OBJECT_NAMES == 1 183 this->m_objName.toChar(),
186 this->m_schedIn_InputPort[port].setObjName(portName.
toChar());
191 #if !FW_DIRECT_PORT_CALLS 198 this->m_seqCancelIn_InputPort[port].
init();
203 this->m_seqCancelIn_InputPort[port].
setPortNum(port);
205 #if FW_OBJECT_NAMES == 1 209 this->m_objName.toChar(),
212 this->m_seqCancelIn_InputPort[port].setObjName(portName.
toChar());
217 #if !FW_DIRECT_PORT_CALLS 224 this->m_seqDispatchIn_InputPort[port].
init();
229 this->m_seqDispatchIn_InputPort[port].
setPortNum(port);
231 #if FW_OBJECT_NAMES == 1 235 this->m_objName.toChar(),
238 this->m_seqDispatchIn_InputPort[port].setObjName(portName.
toChar());
243 #if !FW_DIRECT_PORT_CALLS 250 this->m_seqRunIn_InputPort[port].
init();
255 this->m_seqRunIn_InputPort[port].
setPortNum(port);
257 #if FW_OBJECT_NAMES == 1 261 this->m_objName.toChar(),
264 this->m_seqRunIn_InputPort[port].setObjName(portName.
toChar());
269 #if !FW_DIRECT_PORT_CALLS && FW_ENABLE_TEXT_LOGGING 273 port < static_cast<FwIndexType>(this->getNum_LogText_OutputPorts());
276 this->m_LogText_OutputPort[port].
init();
278 #if FW_OBJECT_NAMES == 1 282 this->m_objName.toChar(),
285 this->m_LogText_OutputPort[port].setObjName(portName.
toChar());
290 #if !FW_DIRECT_PORT_CALLS 297 this->m_cmdRegOut_OutputPort[port].
init();
299 #if FW_OBJECT_NAMES == 1 303 this->m_objName.toChar(),
306 this->m_cmdRegOut_OutputPort[port].setObjName(portName.
toChar());
311 #if !FW_DIRECT_PORT_CALLS 318 this->m_cmdResponseOut_OutputPort[port].
init();
320 #if FW_OBJECT_NAMES == 1 324 this->m_objName.toChar(),
327 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
332 #if !FW_DIRECT_PORT_CALLS 339 this->m_logOut_OutputPort[port].
init();
341 #if FW_OBJECT_NAMES == 1 345 this->m_objName.toChar(),
348 this->m_logOut_OutputPort[port].setObjName(portName.
toChar());
353 #if !FW_DIRECT_PORT_CALLS 360 this->m_timeCaller_OutputPort[port].
init();
362 #if FW_OBJECT_NAMES == 1 366 this->m_objName.toChar(),
369 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
374 #if !FW_DIRECT_PORT_CALLS 381 this->m_tlmOut_OutputPort[port].
init();
383 #if FW_OBJECT_NAMES == 1 387 this->m_objName.toChar(),
390 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
395 #if !FW_DIRECT_PORT_CALLS 402 this->m_comCmdOut_OutputPort[port].
init();
404 #if FW_OBJECT_NAMES == 1 408 this->m_objName.toChar(),
411 this->m_comCmdOut_OutputPort[port].setObjName(portName.
toChar());
416 #if !FW_DIRECT_PORT_CALLS 423 this->m_pingOut_OutputPort[port].
init();
425 #if FW_OBJECT_NAMES == 1 429 this->m_objName.toChar(),
432 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
437 #if !FW_DIRECT_PORT_CALLS 444 this->m_seqDone_OutputPort[port].
init();
446 #if FW_OBJECT_NAMES == 1 450 this->m_objName.toChar(),
453 this->m_seqDone_OutputPort[port].setObjName(portName.
toChar());
458 #if !FW_DIRECT_PORT_CALLS 465 this->m_seqStartOut_OutputPort[port].
init();
467 #if FW_OBJECT_NAMES == 1 471 this->m_objName.toChar(),
474 this->m_seqStartOut_OutputPort[port].setObjName(portName.
toChar());
482 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
486 static_cast<FwAssertArgType>(qStat)
490 #if !FW_DIRECT_PORT_CALLS 501 static_cast<FwAssertArgType>(portNum)
504 return &this->m_cmdIn_InputPort[portNum];
509 #if !FW_DIRECT_PORT_CALLS 520 static_cast<FwAssertArgType>(portNum)
523 return &this->m_cmdResponseIn_InputPort[portNum];
531 static_cast<FwAssertArgType>(portNum)
534 return &this->m_pingIn_InputPort[portNum];
542 static_cast<FwAssertArgType>(portNum)
545 return &this->m_schedIn_InputPort[portNum];
553 static_cast<FwAssertArgType>(portNum)
556 return &this->m_seqCancelIn_InputPort[portNum];
564 static_cast<FwAssertArgType>(portNum)
567 return &this->m_seqDispatchIn_InputPort[portNum];
575 static_cast<FwAssertArgType>(portNum)
578 return &this->m_seqRunIn_InputPort[portNum];
583 #if !FW_DIRECT_PORT_CALLS 589 #if FW_ENABLE_TEXT_LOGGING == 1 591 void CmdSequencerComponentBase ::
592 set_LogText_OutputPort(
598 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
599 static_cast<FwAssertArgType>(portNum)
602 this->m_LogText_OutputPort[portNum].addCallPort(port);
615 static_cast<FwAssertArgType>(portNum)
618 this->m_cmdRegOut_OutputPort[portNum].
addCallPort(port);
629 static_cast<FwAssertArgType>(portNum)
632 this->m_cmdResponseOut_OutputPort[portNum].
addCallPort(port);
643 static_cast<FwAssertArgType>(portNum)
646 this->m_logOut_OutputPort[portNum].
addCallPort(port);
657 static_cast<FwAssertArgType>(portNum)
660 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
671 static_cast<FwAssertArgType>(portNum)
674 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
679 #if !FW_DIRECT_PORT_CALLS 693 static_cast<FwAssertArgType>(portNum)
696 this->m_comCmdOut_OutputPort[portNum].
addCallPort(port);
707 static_cast<FwAssertArgType>(portNum)
710 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
721 static_cast<FwAssertArgType>(portNum)
724 this->m_seqDone_OutputPort[portNum].
addCallPort(port);
735 static_cast<FwAssertArgType>(portNum)
738 this->m_seqStartOut_OutputPort[portNum].
addCallPort(port);
743 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 749 #if FW_ENABLE_TEXT_LOGGING == 1 751 void CmdSequencerComponentBase ::
752 set_LogText_OutputPort(
754 Fw::InputSerializePort* port
758 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
759 static_cast<FwAssertArgType>(portNum)
762 this->m_LogText_OutputPort[portNum].registerSerialPort(port);
770 Fw::InputSerializePort* port
775 static_cast<FwAssertArgType>(portNum)
778 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
784 Fw::InputSerializePort* port
789 static_cast<FwAssertArgType>(portNum)
792 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
798 Fw::InputSerializePort* port
803 static_cast<FwAssertArgType>(portNum)
806 this->m_logOut_OutputPort[portNum].registerSerialPort(port);
812 Fw::InputSerializePort* port
817 static_cast<FwAssertArgType>(portNum)
820 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
826 Fw::InputSerializePort* port
831 static_cast<FwAssertArgType>(portNum)
834 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
839 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 848 Fw::InputSerializePort* port
853 static_cast<FwAssertArgType>(portNum)
856 this->m_comCmdOut_OutputPort[portNum].registerSerialPort(port);
862 Fw::InputSerializePort* port
867 static_cast<FwAssertArgType>(portNum)
870 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
876 Fw::InputSerializePort* port
881 static_cast<FwAssertArgType>(portNum)
884 this->m_seqDone_OutputPort[portNum].registerSerialPort(port);
890 Fw::InputSerializePort* port
895 static_cast<FwAssertArgType>(portNum)
898 this->m_seqStartOut_OutputPort[portNum].registerSerialPort(port);
959 Fw::ActiveComponentBase(compName)
970 #if !FW_DIRECT_PORT_CALLS 976 #if FW_ENABLE_TEXT_LOGGING == 1 978 bool CmdSequencerComponentBase ::
979 isConnected_LogText_OutputPort(
FwIndexType portNum)
const 982 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
983 static_cast<FwAssertArgType>(portNum)
986 return this->m_LogText_OutputPort[portNum].isConnected();
996 static_cast<FwAssertArgType>(portNum)
999 return this->m_cmdRegOut_OutputPort[portNum].
isConnected();
1007 static_cast<FwAssertArgType>(portNum)
1010 return this->m_cmdResponseOut_OutputPort[portNum].
isConnected();
1018 static_cast<FwAssertArgType>(portNum)
1021 return this->m_logOut_OutputPort[portNum].
isConnected();
1029 static_cast<FwAssertArgType>(portNum)
1032 return this->m_timeCaller_OutputPort[portNum].
isConnected();
1040 static_cast<FwAssertArgType>(portNum)
1043 return this->m_tlmOut_OutputPort[portNum].
isConnected();
1048 #if !FW_DIRECT_PORT_CALLS 1059 static_cast<FwAssertArgType>(portNum)
1062 return this->m_comCmdOut_OutputPort[portNum].
isConnected();
1070 static_cast<FwAssertArgType>(portNum)
1073 return this->m_pingOut_OutputPort[portNum].
isConnected();
1081 static_cast<FwAssertArgType>(portNum)
1084 return this->m_seqDone_OutputPort[portNum].
isConnected();
1092 static_cast<FwAssertArgType>(portNum)
1095 return this->m_seqStartOut_OutputPort[portNum].
isConnected();
1116 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
1119 switch (opCode - idBase) {
1214 static_cast<FwAssertArgType>(portNum)
1224 ComponentIpcSerializableBuffer msg;
1228 _status = msg.serializeFrom(
1229 static_cast<FwEnumStoreType>(CMDRESPONSEIN_CMDRESPONSE)
1233 static_cast<FwAssertArgType>(_status)
1237 _status = msg.serializeFrom(portNum);
1240 static_cast<FwAssertArgType>(_status)
1244 _status = msg.serializeFrom(opCode);
1247 static_cast<FwAssertArgType>(_status)
1251 _status = msg.serializeFrom(cmdSeq);
1254 static_cast<FwAssertArgType>(_status)
1258 _status = msg.serializeFrom(response);
1261 static_cast<FwAssertArgType>(_status)
1270 static_cast<FwAssertArgType>(qStatus)
1283 static_cast<FwAssertArgType>(portNum)
1291 ComponentIpcSerializableBuffer msg;
1295 _status = msg.serializeFrom(
1296 static_cast<FwEnumStoreType>(PINGIN_PING)
1300 static_cast<FwAssertArgType>(_status)
1304 _status = msg.serializeFrom(portNum);
1307 static_cast<FwAssertArgType>(_status)
1311 _status = msg.serializeFrom(key);
1314 static_cast<FwAssertArgType>(_status)
1323 static_cast<FwAssertArgType>(qStatus)
1336 static_cast<FwAssertArgType>(portNum)
1344 ComponentIpcSerializableBuffer msg;
1348 _status = msg.serializeFrom(
1349 static_cast<FwEnumStoreType>(SCHEDIN_SCHED)
1353 static_cast<FwAssertArgType>(_status)
1357 _status = msg.serializeFrom(portNum);
1360 static_cast<FwAssertArgType>(_status)
1364 _status = msg.serializeFrom(context);
1367 static_cast<FwAssertArgType>(_status)
1376 static_cast<FwAssertArgType>(qStatus)
1386 static_cast<FwAssertArgType>(portNum)
1391 ComponentIpcSerializableBuffer msg;
1395 _status = msg.serializeFrom(
1396 static_cast<FwEnumStoreType>(SEQCANCELIN_CMDSEQCANCEL)
1400 static_cast<FwAssertArgType>(_status)
1404 _status = msg.serializeFrom(portNum);
1407 static_cast<FwAssertArgType>(_status)
1416 static_cast<FwAssertArgType>(qStatus)
1429 static_cast<FwAssertArgType>(portNum)
1437 ComponentIpcSerializableBuffer msg;
1441 _status = msg.serializeFrom(
1442 static_cast<FwEnumStoreType>(SEQDISPATCHIN_FILEDISPATCH)
1446 static_cast<FwAssertArgType>(_status)
1450 _status = msg.serializeFrom(portNum);
1453 static_cast<FwAssertArgType>(_status)
1460 static_cast<FwAssertArgType>(_status)
1469 static_cast<FwAssertArgType>(qStatus)
1483 static_cast<FwAssertArgType>(portNum)
1492 ComponentIpcSerializableBuffer msg;
1496 _status = msg.serializeFrom(
1497 static_cast<FwEnumStoreType>(SEQRUNIN_CMDSEQIN)
1501 static_cast<FwAssertArgType>(_status)
1505 _status = msg.serializeFrom(portNum);
1508 static_cast<FwAssertArgType>(_status)
1515 static_cast<FwAssertArgType>(_status)
1519 _status = msg.serializeFrom(args);
1522 static_cast<FwAssertArgType>(_status)
1531 static_cast<FwAssertArgType>(qStatus)
1597 #if !FW_DIRECT_PORT_CALLS 1612 static_cast<FwAssertArgType>(portNum)
1616 this->m_comCmdOut_OutputPort[portNum].isConnected(),
1617 static_cast<FwAssertArgType>(portNum)
1619 this->m_comCmdOut_OutputPort[portNum].
invoke(
1633 static_cast<FwAssertArgType>(portNum)
1637 this->m_pingOut_OutputPort[portNum].isConnected(),
1638 static_cast<FwAssertArgType>(portNum)
1640 this->m_pingOut_OutputPort[portNum].
invoke(
1655 static_cast<FwAssertArgType>(portNum)
1659 this->m_seqDone_OutputPort[portNum].isConnected(),
1660 static_cast<FwAssertArgType>(portNum)
1662 this->m_seqDone_OutputPort[portNum].
invoke(
1678 static_cast<FwAssertArgType>(portNum)
1682 this->m_seqStartOut_OutputPort[portNum].isConnected(),
1683 static_cast<FwAssertArgType>(portNum)
1685 this->m_seqStartOut_OutputPort[portNum].
invoke(
1705 this->cmdResponseOut_out(0, opCode, cmdSeq, response);
1726 ComponentIpcSerializableBuffer msg;
1730 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CS_RUN));
1733 static_cast<FwAssertArgType>(_status)
1739 _status = msg.serializeFrom(port);
1742 static_cast<FwAssertArgType>(_status)
1745 _status = msg.serializeFrom(opCode);
1748 static_cast<FwAssertArgType>(_status)
1751 _status = msg.serializeFrom(cmdSeq);
1754 static_cast<FwAssertArgType>(_status)
1757 _status = msg.serializeFrom(args);
1760 static_cast<FwAssertArgType>(_status)
1769 static_cast<FwAssertArgType>(qStatus)
1785 ComponentIpcSerializableBuffer msg;
1789 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CS_VALIDATE));
1792 static_cast<FwAssertArgType>(_status)
1798 _status = msg.serializeFrom(port);
1801 static_cast<FwAssertArgType>(_status)
1804 _status = msg.serializeFrom(opCode);
1807 static_cast<FwAssertArgType>(_status)
1810 _status = msg.serializeFrom(cmdSeq);
1813 static_cast<FwAssertArgType>(_status)
1816 _status = msg.serializeFrom(args);
1819 static_cast<FwAssertArgType>(_status)
1828 static_cast<FwAssertArgType>(qStatus)
1844 ComponentIpcSerializableBuffer msg;
1848 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CS_CANCEL));
1851 static_cast<FwAssertArgType>(_status)
1857 _status = msg.serializeFrom(port);
1860 static_cast<FwAssertArgType>(_status)
1863 _status = msg.serializeFrom(opCode);
1866 static_cast<FwAssertArgType>(_status)
1869 _status = msg.serializeFrom(cmdSeq);
1872 static_cast<FwAssertArgType>(_status)
1875 _status = msg.serializeFrom(args);
1878 static_cast<FwAssertArgType>(_status)
1887 static_cast<FwAssertArgType>(qStatus)
1903 ComponentIpcSerializableBuffer msg;
1907 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CS_START));
1910 static_cast<FwAssertArgType>(_status)
1916 _status = msg.serializeFrom(port);
1919 static_cast<FwAssertArgType>(_status)
1922 _status = msg.serializeFrom(opCode);
1925 static_cast<FwAssertArgType>(_status)
1928 _status = msg.serializeFrom(cmdSeq);
1931 static_cast<FwAssertArgType>(_status)
1934 _status = msg.serializeFrom(args);
1937 static_cast<FwAssertArgType>(_status)
1946 static_cast<FwAssertArgType>(qStatus)
1962 ComponentIpcSerializableBuffer msg;
1966 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CS_STEP));
1969 static_cast<FwAssertArgType>(_status)
1975 _status = msg.serializeFrom(port);
1978 static_cast<FwAssertArgType>(_status)
1981 _status = msg.serializeFrom(opCode);
1984 static_cast<FwAssertArgType>(_status)
1987 _status = msg.serializeFrom(cmdSeq);
1990 static_cast<FwAssertArgType>(_status)
1993 _status = msg.serializeFrom(args);
1996 static_cast<FwAssertArgType>(_status)
2005 static_cast<FwAssertArgType>(qStatus)
2021 ComponentIpcSerializableBuffer msg;
2025 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CS_AUTO));
2028 static_cast<FwAssertArgType>(_status)
2034 _status = msg.serializeFrom(port);
2037 static_cast<FwAssertArgType>(_status)
2040 _status = msg.serializeFrom(opCode);
2043 static_cast<FwAssertArgType>(_status)
2046 _status = msg.serializeFrom(cmdSeq);
2049 static_cast<FwAssertArgType>(_status)
2052 _status = msg.serializeFrom(args);
2055 static_cast<FwAssertArgType>(_status)
2064 static_cast<FwAssertArgType>(qStatus)
2080 ComponentIpcSerializableBuffer msg;
2084 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CS_MANUAL));
2087 static_cast<FwAssertArgType>(_status)
2093 _status = msg.serializeFrom(port);
2096 static_cast<FwAssertArgType>(_status)
2099 _status = msg.serializeFrom(opCode);
2102 static_cast<FwAssertArgType>(_status)
2105 _status = msg.serializeFrom(cmdSeq);
2108 static_cast<FwAssertArgType>(_status)
2111 _status = msg.serializeFrom(args);
2114 static_cast<FwAssertArgType>(_status)
2123 static_cast<FwAssertArgType>(qStatus)
2139 ComponentIpcSerializableBuffer msg;
2143 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CS_JOIN_WAIT));
2146 static_cast<FwAssertArgType>(_status)
2152 _status = msg.serializeFrom(port);
2155 static_cast<FwAssertArgType>(_status)
2158 _status = msg.serializeFrom(opCode);
2161 static_cast<FwAssertArgType>(_status)
2164 _status = msg.serializeFrom(cmdSeq);
2167 static_cast<FwAssertArgType>(_status)
2170 _status = msg.serializeFrom(args);
2173 static_cast<FwAssertArgType>(_status)
2182 static_cast<FwAssertArgType>(qStatus)
2292 this->timeCaller_out(0, _logTime);
2302 #if FW_AMPCS_COMPATIBLE 2307 static_cast<FwAssertArgType>(_status)
2317 static_cast<FwAssertArgType>(_status)
2330 #if FW_ENABLE_TEXT_LOGGING 2331 if (this->isConnected_LogText_OutputPort(0)) {
2332 #if FW_OBJECT_NAMES == 1 2333 const char* _formatString =
2334 "(%s) %s: Loaded sequence %s";
2336 const char* _formatString =
2337 "%s: Loaded sequence %s";
2341 (void) _logString.
format(
2344 this->m_objName.toChar(),
2346 "CS_SequenceLoaded ",
2367 this->timeCaller_out(0, _logTime);
2377 #if FW_AMPCS_COMPATIBLE 2382 static_cast<FwAssertArgType>(_status)
2392 static_cast<FwAssertArgType>(_status)
2405 #if FW_ENABLE_TEXT_LOGGING 2406 if (this->isConnected_LogText_OutputPort(0)) {
2407 #if FW_OBJECT_NAMES == 1 2408 const char* _formatString =
2409 "(%s) %s: Sequence file %s canceled";
2411 const char* _formatString =
2412 "%s: Sequence file %s canceled";
2416 (void) _logString.
format(
2419 this->m_objName.toChar(),
2421 "CS_SequenceCanceled ",
2442 this->timeCaller_out(0, _logTime);
2452 #if FW_AMPCS_COMPATIBLE 2457 static_cast<FwAssertArgType>(_status)
2467 static_cast<FwAssertArgType>(_status)
2480 #if FW_ENABLE_TEXT_LOGGING 2481 if (this->isConnected_LogText_OutputPort(0)) {
2482 #if FW_OBJECT_NAMES == 1 2483 const char* _formatString =
2484 "(%s) %s: Error reading sequence file %s";
2486 const char* _formatString =
2487 "%s: Error reading sequence file %s";
2491 (void) _logString.
format(
2494 this->m_objName.toChar(),
2496 "CS_FileReadError ",
2521 this->timeCaller_out(0, _logTime);
2531 #if FW_AMPCS_COMPATIBLE 2536 static_cast<FwAssertArgType>(_status)
2546 static_cast<FwAssertArgType>(_status)
2549 #if FW_AMPCS_COMPATIBLE 2556 static_cast<FwAssertArgType>(_status)
2562 static_cast<FwAssertArgType>(_status)
2565 #if FW_AMPCS_COMPATIBLE 2568 static_cast<U8>(
sizeof(I32))
2572 static_cast<FwAssertArgType>(_status)
2578 static_cast<FwAssertArgType>(_status)
2591 #if FW_ENABLE_TEXT_LOGGING 2592 if (this->isConnected_LogText_OutputPort(0)) {
2593 #if FW_OBJECT_NAMES == 1 2594 const char* _formatString =
2595 "(%s) %s: Sequence file %s invalid. Stage: %s Error: %" PRIi32
"";
2597 const char* _formatString =
2598 "%s: Sequence file %s invalid. Stage: %s Error: %" PRIi32
"";
2602 stage.toString(stageStr);
2605 (void) _logString.
format(
2608 this->m_objName.toChar(),
2637 this->timeCaller_out(0, _logTime);
2647 #if FW_AMPCS_COMPATIBLE 2652 static_cast<FwAssertArgType>(_status)
2662 static_cast<FwAssertArgType>(_status)
2665 #if FW_AMPCS_COMPATIBLE 2668 static_cast<U8>(
sizeof(U32))
2672 static_cast<FwAssertArgType>(_status)
2678 static_cast<FwAssertArgType>(_status)
2681 #if FW_AMPCS_COMPATIBLE 2684 static_cast<U8>(
sizeof(I32))
2688 static_cast<FwAssertArgType>(_status)
2694 static_cast<FwAssertArgType>(_status)
2707 #if FW_ENABLE_TEXT_LOGGING 2708 if (this->isConnected_LogText_OutputPort(0)) {
2709 #if FW_OBJECT_NAMES == 1 2710 const char* _formatString =
2711 "(%s) %s: Sequence file %s: Record %" PRIu32
" invalid. Err: %" PRIi32
"";
2713 const char* _formatString =
2714 "%s: Sequence file %s: Record %" PRIu32
" invalid. Err: %" PRIi32
"";
2718 (void) _logString.
format(
2721 this->m_objName.toChar(),
2723 "CS_RecordInvalid ",
2749 this->timeCaller_out(0, _logTime);
2759 #if FW_AMPCS_COMPATIBLE 2764 static_cast<FwAssertArgType>(_status)
2774 static_cast<FwAssertArgType>(_status)
2777 #if FW_AMPCS_COMPATIBLE 2780 static_cast<U8>(
sizeof(U32))
2784 static_cast<FwAssertArgType>(_status)
2790 static_cast<FwAssertArgType>(_status)
2803 #if FW_ENABLE_TEXT_LOGGING 2804 if (this->isConnected_LogText_OutputPort(0)) {
2805 #if FW_OBJECT_NAMES == 1 2806 const char* _formatString =
2807 "(%s) %s: Sequence file %s too large. Size: %" PRIu32
"";
2809 const char* _formatString =
2810 "%s: Sequence file %s too large. Size: %" PRIu32
"";
2814 (void) _logString.
format(
2817 this->m_objName.toChar(),
2819 "CS_FileSizeError ",
2841 this->timeCaller_out(0, _logTime);
2851 #if FW_AMPCS_COMPATIBLE 2856 static_cast<FwAssertArgType>(_status)
2866 static_cast<FwAssertArgType>(_status)
2879 #if FW_ENABLE_TEXT_LOGGING 2880 if (this->isConnected_LogText_OutputPort(0)) {
2881 #if FW_OBJECT_NAMES == 1 2882 const char* _formatString =
2883 "(%s) %s: Sequence file %s not found.";
2885 const char* _formatString =
2886 "%s: Sequence file %s not found.";
2890 (void) _logString.
format(
2893 this->m_objName.toChar(),
2920 this->timeCaller_out(0, _logTime);
2930 #if FW_AMPCS_COMPATIBLE 2935 static_cast<FwAssertArgType>(_status)
2945 static_cast<FwAssertArgType>(_status)
2948 #if FW_AMPCS_COMPATIBLE 2951 static_cast<U8>(
sizeof(U32))
2955 static_cast<FwAssertArgType>(_status)
2961 static_cast<FwAssertArgType>(_status)
2964 #if FW_AMPCS_COMPATIBLE 2967 static_cast<U8>(
sizeof(U32))
2971 static_cast<FwAssertArgType>(_status)
2977 static_cast<FwAssertArgType>(_status)
2990 #if FW_ENABLE_TEXT_LOGGING 2991 if (this->isConnected_LogText_OutputPort(0)) {
2992 #if FW_OBJECT_NAMES == 1 2993 const char* _formatString =
2994 "(%s) %s: Sequence file %s had invalid CRC. Stored 0x%" PRIx32
", Computed 0x%" PRIx32
".";
2996 const char* _formatString =
2997 "%s: Sequence file %s had invalid CRC. Stored 0x%" PRIx32
", Computed 0x%" PRIx32
".";
3001 (void) _logString.
format(
3004 this->m_objName.toChar(),
3006 "CS_FileCrcFailure ",
3033 this->timeCaller_out(0, _logTime);
3043 #if FW_AMPCS_COMPATIBLE 3048 static_cast<FwAssertArgType>(_status)
3058 static_cast<FwAssertArgType>(_status)
3061 #if FW_AMPCS_COMPATIBLE 3064 static_cast<U8>(
sizeof(U32))
3068 static_cast<FwAssertArgType>(_status)
3074 static_cast<FwAssertArgType>(_status)
3077 #if FW_AMPCS_COMPATIBLE 3084 static_cast<FwAssertArgType>(_status)
3090 static_cast<FwAssertArgType>(_status)
3103 #if FW_ENABLE_TEXT_LOGGING 3104 if (this->isConnected_LogText_OutputPort(0)) {
3105 #if FW_OBJECT_NAMES == 1 3106 const char* _formatString =
3107 "(%s) %s: Sequence file %s: Command %" PRIu32
" (opcode %" PRIu32
") complete";
3109 const char* _formatString =
3110 "%s: Sequence file %s: Command %" PRIu32
" (opcode %" PRIu32
") complete";
3114 (void) _logString.
format(
3117 this->m_objName.toChar(),
3119 "CS_CommandComplete ",
3142 this->timeCaller_out(0, _logTime);
3152 #if FW_AMPCS_COMPATIBLE 3157 static_cast<FwAssertArgType>(_status)
3167 static_cast<FwAssertArgType>(_status)
3180 #if FW_ENABLE_TEXT_LOGGING 3181 if (this->isConnected_LogText_OutputPort(0)) {
3182 #if FW_OBJECT_NAMES == 1 3183 const char* _formatString =
3184 "(%s) %s: Sequence file %s complete";
3186 const char* _formatString =
3187 "%s: Sequence file %s complete";
3191 (void) _logString.
format(
3194 this->m_objName.toChar(),
3196 "CS_SequenceComplete ",
3222 this->timeCaller_out(0, _logTime);
3232 #if FW_AMPCS_COMPATIBLE 3237 static_cast<FwAssertArgType>(_status)
3247 static_cast<FwAssertArgType>(_status)
3250 #if FW_AMPCS_COMPATIBLE 3253 static_cast<U8>(
sizeof(U32))
3257 static_cast<FwAssertArgType>(_status)
3263 static_cast<FwAssertArgType>(_status)
3266 #if FW_AMPCS_COMPATIBLE 3273 static_cast<FwAssertArgType>(_status)
3279 static_cast<FwAssertArgType>(_status)
3282 #if FW_AMPCS_COMPATIBLE 3285 static_cast<U8>(
sizeof(U32))
3289 static_cast<FwAssertArgType>(_status)
3295 static_cast<FwAssertArgType>(_status)
3308 #if FW_ENABLE_TEXT_LOGGING 3309 if (this->isConnected_LogText_OutputPort(0)) {
3310 #if FW_OBJECT_NAMES == 1 3311 const char* _formatString =
3312 "(%s) %s: Sequence file %s: Command %" PRIu32
" (opcode %" PRIu32
") completed with error %" PRIu32
"";
3314 const char* _formatString =
3315 "%s: Sequence file %s: Command %" PRIu32
" (opcode %" PRIu32
") completed with error %" PRIu32
"";
3319 (void) _logString.
format(
3322 this->m_objName.toChar(),
3348 this->timeCaller_out(0, _logTime);
3357 #if FW_AMPCS_COMPATIBLE 3363 static_cast<FwAssertArgType>(_status)
3377 #if FW_ENABLE_TEXT_LOGGING 3378 if (this->isConnected_LogText_OutputPort(0)) {
3379 #if FW_OBJECT_NAMES == 1 3380 const char* _formatString =
3381 "(%s) %s: Invalid mode";
3383 const char* _formatString =
3388 (void) _logString.
format(
3391 this->m_objName.toChar(),
3417 this->timeCaller_out(0, _logTime);
3427 #if FW_AMPCS_COMPATIBLE 3432 static_cast<FwAssertArgType>(_status)
3442 static_cast<FwAssertArgType>(_status)
3445 #if FW_AMPCS_COMPATIBLE 3448 static_cast<U8>(
sizeof(U32))
3452 static_cast<FwAssertArgType>(_status)
3458 static_cast<FwAssertArgType>(_status)
3461 #if FW_AMPCS_COMPATIBLE 3464 static_cast<U8>(
sizeof(U32))
3468 static_cast<FwAssertArgType>(_status)
3474 static_cast<FwAssertArgType>(_status)
3487 #if FW_ENABLE_TEXT_LOGGING 3488 if (this->isConnected_LogText_OutputPort(0)) {
3489 #if FW_OBJECT_NAMES == 1 3490 const char* _formatString =
3491 "(%s) %s: Sequence file %s header records mismatch: %" PRIu32
" in header, found %" PRIu32
" extra bytes.";
3493 const char* _formatString =
3494 "%s: Sequence file %s header records mismatch: %" PRIu32
" in header, found %" PRIu32
" extra bytes.";
3498 (void) _logString.
format(
3501 this->m_objName.toChar(),
3503 "CS_RecordMismatch ",
3530 this->timeCaller_out(0, _logTime);
3540 #if FW_AMPCS_COMPATIBLE 3545 static_cast<FwAssertArgType>(_status)
3555 static_cast<FwAssertArgType>(_status)
3558 #if FW_AMPCS_COMPATIBLE 3561 static_cast<U8>(
sizeof(U16))
3565 static_cast<FwAssertArgType>(_status)
3571 static_cast<FwAssertArgType>(_status)
3574 #if FW_AMPCS_COMPATIBLE 3577 static_cast<U8>(
sizeof(U16))
3581 static_cast<FwAssertArgType>(_status)
3587 static_cast<FwAssertArgType>(_status)
3600 #if FW_ENABLE_TEXT_LOGGING 3601 if (this->isConnected_LogText_OutputPort(0)) {
3602 #if FW_OBJECT_NAMES == 1 3603 const char* _formatString =
3604 "(%s) %s: Sequence file %s: Current time base doesn't match sequence time: base: %" PRIu16
" seq: %" PRIu16
"";
3606 const char* _formatString =
3607 "%s: Sequence file %s: Current time base doesn't match sequence time: base: %" PRIu16
" seq: %" PRIu16
"";
3611 (void) _logString.
format(
3614 this->m_objName.toChar(),
3616 "CS_TimeBaseMismatch ",
3643 this->timeCaller_out(0, _logTime);
3653 #if FW_AMPCS_COMPATIBLE 3658 static_cast<FwAssertArgType>(_status)
3668 static_cast<FwAssertArgType>(_status)
3671 #if FW_AMPCS_COMPATIBLE 3674 static_cast<U8>(
sizeof(
U8))
3678 static_cast<FwAssertArgType>(_status)
3684 static_cast<FwAssertArgType>(_status)
3687 #if FW_AMPCS_COMPATIBLE 3690 static_cast<U8>(
sizeof(
U8))
3694 static_cast<FwAssertArgType>(_status)
3700 static_cast<FwAssertArgType>(_status)
3713 #if FW_ENABLE_TEXT_LOGGING 3714 if (this->isConnected_LogText_OutputPort(0)) {
3715 #if FW_OBJECT_NAMES == 1 3716 const char* _formatString =
3717 "(%s) %s: Sequence file %s: Current time context doesn't match sequence context: base: %" PRIu8
" seq: %" PRIu8
"";
3719 const char* _formatString =
3720 "%s: Sequence file %s: Current time context doesn't match sequence context: base: %" PRIu8
" seq: %" PRIu8
"";
3724 (void) _logString.
format(
3727 this->m_objName.toChar(),
3729 "CS_TimeContextMismatch ",
3752 this->timeCaller_out(0, _logTime);
3762 #if FW_AMPCS_COMPATIBLE 3767 static_cast<FwAssertArgType>(_status)
3777 static_cast<FwAssertArgType>(_status)
3790 #if FW_ENABLE_TEXT_LOGGING 3791 if (this->isConnected_LogText_OutputPort(0)) {
3792 #if FW_OBJECT_NAMES == 1 3793 const char* _formatString =
3794 "(%s) %s: Local request for sequence %s started.";
3796 const char* _formatString =
3797 "%s: Local request for sequence %s started.";
3801 (void) _logString.
format(
3804 this->m_objName.toChar(),
3806 "CS_PortSequenceStarted ",
3827 this->timeCaller_out(0, _logTime);
3837 #if FW_AMPCS_COMPATIBLE 3842 static_cast<FwAssertArgType>(_status)
3846 #if FW_AMPCS_COMPATIBLE 3853 static_cast<FwAssertArgType>(_status)
3859 static_cast<FwAssertArgType>(_status)
3872 #if FW_ENABLE_TEXT_LOGGING 3873 if (this->isConnected_LogText_OutputPort(0)) {
3874 #if FW_OBJECT_NAMES == 1 3875 const char* _formatString =
3876 "(%s) %s: Command complete status received while no sequences active. Opcode: %" PRIu32
"";
3878 const char* _formatString =
3879 "%s: Command complete status received while no sequences active. Opcode: %" PRIu32
"";
3883 (void) _logString.
format(
3886 this->m_objName.toChar(),
3888 "CS_UnexpectedCompletion ",
3909 this->timeCaller_out(0, _logTime);
3919 #if FW_AMPCS_COMPATIBLE 3924 static_cast<FwAssertArgType>(_status)
3928 #if FW_AMPCS_COMPATIBLE 3935 static_cast<FwAssertArgType>(_status)
3941 static_cast<FwAssertArgType>(_status)
3954 #if FW_ENABLE_TEXT_LOGGING 3955 if (this->isConnected_LogText_OutputPort(0)) {
3956 #if FW_OBJECT_NAMES == 1 3957 const char* _formatString =
3958 "(%s) %s: Sequencer switched to %s step mode";
3960 const char* _formatString =
3961 "%s: Sequencer switched to %s step mode";
3965 mode.toString(modeStr);
3968 (void) _logString.
format(
3971 this->m_objName.toChar(),
3994 this->timeCaller_out(0, _logTime);
4003 #if FW_AMPCS_COMPATIBLE 4009 static_cast<FwAssertArgType>(_status)
4023 #if FW_ENABLE_TEXT_LOGGING 4024 if (this->isConnected_LogText_OutputPort(0)) {
4025 #if FW_OBJECT_NAMES == 1 4026 const char* _formatString =
4027 "(%s) %s: No sequence active.";
4029 const char* _formatString =
4030 "%s: No sequence active.";
4034 (void) _logString.
format(
4037 this->m_objName.toChar(),
4039 "CS_NoSequenceActive " 4059 this->timeCaller_out(0, _logTime);
4069 #if FW_AMPCS_COMPATIBLE 4074 static_cast<FwAssertArgType>(_status)
4084 static_cast<FwAssertArgType>(_status)
4097 #if FW_ENABLE_TEXT_LOGGING 4098 if (this->isConnected_LogText_OutputPort(0)) {
4099 #if FW_OBJECT_NAMES == 1 4100 const char* _formatString =
4101 "(%s) %s: Sequence %s is valid.";
4103 const char* _formatString =
4104 "%s: Sequence %s is valid.";
4108 (void) _logString.
format(
4111 this->m_objName.toChar(),
4113 "CS_SequenceValid ",
4137 this->timeCaller_out(0, _logTime);
4147 #if FW_AMPCS_COMPATIBLE 4152 static_cast<FwAssertArgType>(_status)
4162 static_cast<FwAssertArgType>(_status)
4165 #if FW_AMPCS_COMPATIBLE 4168 static_cast<U8>(
sizeof(U32))
4172 static_cast<FwAssertArgType>(_status)
4178 static_cast<FwAssertArgType>(_status)
4191 #if FW_ENABLE_TEXT_LOGGING 4192 if (this->isConnected_LogText_OutputPort(0)) {
4193 #if FW_OBJECT_NAMES == 1 4194 const char* _formatString =
4195 "(%s) %s: Sequence %s timed out on command %" PRIu32
"";
4197 const char* _formatString =
4198 "%s: Sequence %s timed out on command %" PRIu32
"";
4202 (void) _logString.
format(
4205 this->m_objName.toChar(),
4207 "CS_SequenceTimeout ",
4232 this->timeCaller_out(0, _logTime);
4242 #if FW_AMPCS_COMPATIBLE 4247 static_cast<FwAssertArgType>(_status)
4257 static_cast<FwAssertArgType>(_status)
4260 #if FW_AMPCS_COMPATIBLE 4263 static_cast<U8>(
sizeof(U32))
4267 static_cast<FwAssertArgType>(_status)
4273 static_cast<FwAssertArgType>(_status)
4286 #if FW_ENABLE_TEXT_LOGGING 4287 if (this->isConnected_LogText_OutputPort(0)) {
4288 #if FW_OBJECT_NAMES == 1 4289 const char* _formatString =
4290 "(%s) %s: Sequence %s command %" PRIu32
" stepped";
4292 const char* _formatString =
4293 "%s: Sequence %s command %" PRIu32
" stepped";
4297 (void) _logString.
format(
4300 this->m_objName.toChar(),
4324 this->timeCaller_out(0, _logTime);
4334 #if FW_AMPCS_COMPATIBLE 4339 static_cast<FwAssertArgType>(_status)
4349 static_cast<FwAssertArgType>(_status)
4362 #if FW_ENABLE_TEXT_LOGGING 4363 if (this->isConnected_LogText_OutputPort(0)) {
4364 #if FW_OBJECT_NAMES == 1 4365 const char* _formatString =
4366 "(%s) %s: Sequence %s started";
4368 const char* _formatString =
4369 "%s: Sequence %s started";
4373 (void) _logString.
format(
4376 this->m_objName.toChar(),
4403 this->timeCaller_out(0, _logTime);
4413 #if FW_AMPCS_COMPATIBLE 4418 static_cast<FwAssertArgType>(_status)
4428 static_cast<FwAssertArgType>(_status)
4431 #if FW_AMPCS_COMPATIBLE 4434 static_cast<U8>(
sizeof(U32))
4438 static_cast<FwAssertArgType>(_status)
4444 static_cast<FwAssertArgType>(_status)
4447 #if FW_AMPCS_COMPATIBLE 4454 static_cast<FwAssertArgType>(_status)
4460 static_cast<FwAssertArgType>(_status)
4473 #if FW_ENABLE_TEXT_LOGGING 4474 if (this->isConnected_LogText_OutputPort(0)) {
4475 #if FW_OBJECT_NAMES == 1 4476 const char* _formatString =
4477 "(%s) %s: Start waiting for sequence file %s: Command %" PRIu32
" (opcode %" PRIu32
") to complete";
4479 const char* _formatString =
4480 "%s: Start waiting for sequence file %s: Command %" PRIu32
" (opcode %" PRIu32
") to complete";
4484 (void) _logString.
format(
4487 this->m_objName.toChar(),
4512 this->timeCaller_out(0, _logTime);
4521 #if FW_AMPCS_COMPATIBLE 4527 static_cast<FwAssertArgType>(_status)
4541 #if FW_ENABLE_TEXT_LOGGING 4542 if (this->isConnected_LogText_OutputPort(0)) {
4543 #if FW_OBJECT_NAMES == 1 4544 const char* _formatString =
4545 "(%s) %s: Still waiting for sequence file to complete";
4547 const char* _formatString =
4548 "%s: Still waiting for sequence file to complete";
4552 (void) _logString.
format(
4555 this->m_objName.toChar(),
4557 "CS_JoinWaitingNotComplete " 4577 this->timeCaller_out(0, _logTime);
4587 #if FW_AMPCS_COMPATIBLE 4592 static_cast<FwAssertArgType>(_status)
4602 static_cast<FwAssertArgType>(_status)
4615 #if FW_ENABLE_TEXT_LOGGING 4616 if (this->isConnected_LogText_OutputPort(0)) {
4617 #if FW_OBJECT_NAMES == 1 4618 const char* _formatString =
4619 "(%s) %s: Sequence file %s has no records. Ignoring.";
4621 const char* _formatString =
4622 "%s: Sequence file %s has no records. Ignoring.";
4626 (void) _logString.
format(
4629 this->m_objName.toChar(),
4662 this->timeCaller_out(0, _tlmTime);
4692 static_cast<FwAssertArgType>(_stat)
4714 static_cast<FwAssertArgType>(_stat)
4736 static_cast<FwAssertArgType>(_stat)
4758 static_cast<FwAssertArgType>(_stat)
4780 static_cast<FwAssertArgType>(_stat)
4798 if (not this->m_first_update_CS_CurrentSequence) {
4800 if (arg == this->m_last_CS_CurrentSequence) {
4804 this->m_last_CS_CurrentSequence = arg;
4808 this->m_first_update_CS_CurrentSequence =
false;
4809 this->m_last_CS_CurrentSequence = arg;
4820 static_cast<FwAssertArgType>(_stat)
4840 this->timeCaller_out(0, _time);
4855 ComponentIpcSerializableBuffer _msg;
4865 static_cast<FwAssertArgType>(_msgStatus)
4875 static_cast<FwAssertArgType>(_deserStatus)
4878 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
4880 if (_msgType == CMDSEQUENCER_COMPONENT_EXIT) {
4885 _deserStatus = _msg.deserializeTo(portNum);
4888 static_cast<FwAssertArgType>(_deserStatus)
4893 case CMDRESPONSEIN_CMDRESPONSE: {
4896 _deserStatus = _msg.deserializeTo(opCode);
4899 static_cast<FwAssertArgType>(_deserStatus)
4904 _deserStatus = _msg.deserializeTo(cmdSeq);
4907 static_cast<FwAssertArgType>(_deserStatus)
4912 _deserStatus = _msg.deserializeTo(response);
4915 static_cast<FwAssertArgType>(_deserStatus)
4932 _deserStatus = _msg.deserializeTo(key);
4935 static_cast<FwAssertArgType>(_deserStatus)
4947 case SCHEDIN_SCHED: {
4950 _deserStatus = _msg.deserializeTo(context);
4953 static_cast<FwAssertArgType>(_deserStatus)
4965 case SEQCANCELIN_CMDSEQCANCEL: {
4973 case SEQDISPATCHIN_FILEDISPATCH: {
4976 Fw::ExternalString file_name(__fprime_ac_file_name_buffer,
sizeof __fprime_ac_file_name_buffer);
4977 _deserStatus = _msg.deserializeTo(file_name);
4980 static_cast<FwAssertArgType>(_deserStatus)
4992 case SEQRUNIN_CMDSEQIN: {
4995 Fw::ExternalString filename(__fprime_ac_filename_buffer,
sizeof __fprime_ac_filename_buffer);
4996 _deserStatus = _msg.deserializeTo(filename);
4999 static_cast<FwAssertArgType>(_deserStatus)
5004 _deserStatus = _msg.deserializeTo(args);
5007 static_cast<FwAssertArgType>(_deserStatus)
5023 _deserStatus = _msg.deserializeTo(_opCode);
5026 static_cast<FwAssertArgType>(_deserStatus)
5031 _deserStatus = _msg.deserializeTo(_cmdSeq);
5034 static_cast<FwAssertArgType>(_deserStatus)
5039 _deserStatus = _msg.deserializeTo(args);
5042 static_cast<FwAssertArgType>(_deserStatus)
5080 #if FW_CMD_CHECK_RESIDUAL 5101 case CMD_CS_VALIDATE: {
5104 _deserStatus = _msg.deserializeTo(_opCode);
5107 static_cast<FwAssertArgType>(_deserStatus)
5112 _deserStatus = _msg.deserializeTo(_cmdSeq);
5115 static_cast<FwAssertArgType>(_deserStatus)
5120 _deserStatus = _msg.deserializeTo(args);
5123 static_cast<FwAssertArgType>(_deserStatus)
5146 #if FW_CMD_CHECK_RESIDUAL 5166 case CMD_CS_CANCEL: {
5169 _deserStatus = _msg.deserializeTo(_opCode);
5172 static_cast<FwAssertArgType>(_deserStatus)
5177 _deserStatus = _msg.deserializeTo(_cmdSeq);
5180 static_cast<FwAssertArgType>(_deserStatus)
5185 _deserStatus = _msg.deserializeTo(args);
5188 static_cast<FwAssertArgType>(_deserStatus)
5196 #if FW_CMD_CHECK_RESIDUAL 5213 case CMD_CS_START: {
5216 _deserStatus = _msg.deserializeTo(_opCode);
5219 static_cast<FwAssertArgType>(_deserStatus)
5224 _deserStatus = _msg.deserializeTo(_cmdSeq);
5227 static_cast<FwAssertArgType>(_deserStatus)
5232 _deserStatus = _msg.deserializeTo(args);
5235 static_cast<FwAssertArgType>(_deserStatus)
5243 #if FW_CMD_CHECK_RESIDUAL 5263 _deserStatus = _msg.deserializeTo(_opCode);
5266 static_cast<FwAssertArgType>(_deserStatus)
5271 _deserStatus = _msg.deserializeTo(_cmdSeq);
5274 static_cast<FwAssertArgType>(_deserStatus)
5279 _deserStatus = _msg.deserializeTo(args);
5282 static_cast<FwAssertArgType>(_deserStatus)
5290 #if FW_CMD_CHECK_RESIDUAL 5310 _deserStatus = _msg.deserializeTo(_opCode);
5313 static_cast<FwAssertArgType>(_deserStatus)
5318 _deserStatus = _msg.deserializeTo(_cmdSeq);
5321 static_cast<FwAssertArgType>(_deserStatus)
5326 _deserStatus = _msg.deserializeTo(args);
5329 static_cast<FwAssertArgType>(_deserStatus)
5337 #if FW_CMD_CHECK_RESIDUAL 5354 case CMD_CS_MANUAL: {
5357 _deserStatus = _msg.deserializeTo(_opCode);
5360 static_cast<FwAssertArgType>(_deserStatus)
5365 _deserStatus = _msg.deserializeTo(_cmdSeq);
5368 static_cast<FwAssertArgType>(_deserStatus)
5373 _deserStatus = _msg.deserializeTo(args);
5376 static_cast<FwAssertArgType>(_deserStatus)
5384 #if FW_CMD_CHECK_RESIDUAL 5401 case CMD_CS_JOIN_WAIT: {
5404 _deserStatus = _msg.deserializeTo(_opCode);
5407 static_cast<FwAssertArgType>(_deserStatus)
5412 _deserStatus = _msg.deserializeTo(_cmdSeq);
5415 static_cast<FwAssertArgType>(_deserStatus)
5420 _deserStatus = _msg.deserializeTo(args);
5423 static_cast<FwAssertArgType>(_deserStatus)
5431 #if FW_CMD_CHECK_RESIDUAL 5458 void CmdSequencerComponentBase ::
5469 compPtr->cmdIn_handlerBase(
5481 void CmdSequencerComponentBase ::
5482 m_p_cmdResponseIn_in(
5492 compPtr->cmdResponseIn_handlerBase(
5500 void CmdSequencerComponentBase ::
5509 compPtr->pingIn_handlerBase(
5515 void CmdSequencerComponentBase ::
5524 compPtr->schedIn_handlerBase(
5530 void CmdSequencerComponentBase ::
5538 compPtr->seqCancelIn_handlerBase(portNum);
5541 void CmdSequencerComponentBase ::
5542 m_p_seqDispatchIn_in(
5550 compPtr->seqDispatchIn_handlerBase(
5556 void CmdSequencerComponentBase ::
5566 compPtr->seqRunIn_handlerBase(
5573 #if !FW_DIRECT_PORT_CALLS 5579 #if FW_ENABLE_TEXT_LOGGING 5581 void CmdSequencerComponentBase ::
5591 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
5592 static_cast<FwAssertArgType>(portNum)
5596 this->m_LogText_OutputPort[portNum].isConnected(),
5597 static_cast<FwAssertArgType>(portNum)
5599 this->m_LogText_OutputPort[portNum].invoke(
5609 void CmdSequencerComponentBase ::
5617 static_cast<FwAssertArgType>(portNum)
5621 this->m_cmdRegOut_OutputPort[portNum].isConnected(),
5622 static_cast<FwAssertArgType>(portNum)
5624 this->m_cmdRegOut_OutputPort[portNum].
invoke(
5629 void CmdSequencerComponentBase ::
5639 static_cast<FwAssertArgType>(portNum)
5643 this->m_cmdResponseOut_OutputPort[portNum].isConnected(),
5644 static_cast<FwAssertArgType>(portNum)
5646 this->m_cmdResponseOut_OutputPort[portNum].
invoke(
5653 void CmdSequencerComponentBase ::
5664 static_cast<FwAssertArgType>(portNum)
5668 this->m_logOut_OutputPort[portNum].isConnected(),
5669 static_cast<FwAssertArgType>(portNum)
5671 this->m_logOut_OutputPort[portNum].
invoke(
5679 void CmdSequencerComponentBase ::
5687 static_cast<FwAssertArgType>(portNum)
5691 this->m_timeCaller_OutputPort[portNum].isConnected(),
5692 static_cast<FwAssertArgType>(portNum)
5694 this->m_timeCaller_OutputPort[portNum].
invoke(
5699 void CmdSequencerComponentBase ::
5709 static_cast<FwAssertArgType>(portNum)
5713 this->m_tlmOut_OutputPort[portNum].isConnected(),
5714 static_cast<FwAssertArgType>(portNum)
5716 this->m_tlmOut_OutputPort[portNum].
invoke(
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
Validate a command sequence file.
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
static constexpr FwIndexType getNum_tlmOut_OutputPorts()
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
void addCallPort(InputTimePort *callPort)
Register an input port.
Start running a command sequence.
void tlmWrite_CS_LoadCommands(U32 arg, Fw::Time _tlmTime=Fw::Time()) const
void invoke(Fw::ComBuffer &data, U32 context) const
Invoke a port connection.
void log_WARNING_HI_CS_InvalidMode() const
void init()
Initialization function.
static constexpr FwSizeType CAPACITY
void invoke(const Fw::StringBase &filename, const Svc::SeqArgs &args) const
Invoke a port connection.
static constexpr FwIndexType getNum_cmdResponseIn_InputPorts()
virtual void seqRunIn_handler(FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args)=0
Handler for input port seqRunIn.
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts()
FwIdType FwOpcodeType
The type of a command opcode.
static constexpr FwIndexType getNum_logOut_OutputPorts()
virtual void seqDispatchIn_handler(FwIndexType portNum, Fw::StringBase &file_name)=0
Handler for input port seqDispatchIn.
void log_WARNING_HI_CS_FileSizeError(const Fw::StringBase &fileName, U32 size) const
void log_WARNING_HI_CS_FileInvalid(const Fw::StringBase &fileName, const Svc::CmdSequencer_FileReadStage &stage, I32 error) const
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) const
static constexpr FwSizeType CAPACITY
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
Cannot run new sequence when current sequence file is still running.
Status receive(U8 *destination, FwSizeType capacity, BlockingType blockType, FwSizeType &actualSize, FwQueuePriorityType &priority) override
receive a message from the queue through delegate
A manual sequence was started.
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)
static constexpr FwIndexType getNum_seqDispatchIn_InputPorts()
void log_ACTIVITY_HI_CS_JoinWaiting(const Fw::StringBase &filename, U32 recordNumber, FwOpcodeType opCode) const
Set the run mode to MANUAL.
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)
void regCommands()
Register commands with the Command Dispatcher.
message to exit active component task
BYTE pingInPortSize[Svc::PingPortBuffer::CAPACITY]
void init()
Initialization function.
SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG) override
Deserialize an 8-bit unsigned integer value.
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
Perform one step in a command sequence. Valid only if CmdSequencer is in MANUAL run mode...
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
The sequence file format was invalid.
The format of a command record was invalid.
void CS_STEP_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void invoke(U32 key) const
Invoke a port connection.
static constexpr FwIndexType getNum_seqRunIn_InputPorts()
virtual const CHAR * toChar() const =0
Convert to a C-style char*.
static constexpr FwIndexType getNum_schedIn_InputPorts()
void tlmWrite_CS_CurrentSequence(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
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()
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.
Enum representing a command response.
A command in a sequence was stepped through.
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)
SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG) override
Serialize an 8-bit unsigned integer value.
void addCallPort(InputCmdRegPort *callPort)
Register an input port.
bool isConnected_seqDone_OutputPort(FwIndexType portNum) const
void log_WARNING_LO_CS_NoSequenceActive() const
void CS_START_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
The running time base doesn't match the time base in the sequence files.
void log_WARNING_HI_CS_SequenceTimeout(const Fw::StringBase &filename, U32 command) const
bool isConnected_seqStartOut_OutputPort(FwIndexType portNum) const
virtual void CS_CANCEL_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CS_CANCEL.
Channel ID for CS_CurrentSequence.
Os::Queue m_queue
queue object for active component
void addCallPort(InputTlmPort *callPort)
Register an input port.
void init()
Object initializer.
void cmdIn_handlerBase(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Handler base-class function for input port cmdIn.
SerializeStatus
forward declaration for string
void set_seqDone_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to seqDone[portNum].
Sequence file was successfully loaded.
The running time base doesn't match the time base in the sequence files.
Message will block until space is available.
virtual void CS_RUN_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CS_RUN.
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
Set the run mode to AUTO.
void invoke(FwOpcodeType opCode) const
Invoke a port connection.
static constexpr FwIndexType getNum_pingOut_OutputPorts()
static constexpr FwSizeType CAPACITY
void log_ACTIVITY_HI_CS_PortSequenceStarted(const Fw::StringBase &filename) const
void seqStartOut_out(FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args) const
Invoke output port seqStartOut.
void log_WARNING_HI_CS_RecordInvalid(const Fw::StringBase &fileName, U32 recordNumber, I32 error) const
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) ...
void init()
Initialization function.
bool isConnected_logOut_OutputPort(FwIndexType portNum) const
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
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum) const
#define FW_MIN(a, b)
MIN macro (deprecated in C++, use std::min)
A less serious but recoverable event.
Cancel a command sequence.
virtual void CS_RUN_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName, const Svc::BlockState &block)=0
void init()
Initialization function.
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 connection.
void CS_JOIN_WAIT_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Svc::InputCmdSeqInPort * get_seqRunIn_InputPort(FwIndexType portNum)
void seqRunIn_handlerBase(FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args)
Handler base-class function for input port seqRunIn.
The Command Sequencer issued a command and received an error status in return.
Number of records in header doesn't match number in file.
Serializable::SizeType getDeserializeSizeLeft() const override
Get remaining deserialization buffer size.
void invoke(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke a port connection.
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.
Status send(const U8 *buffer, FwSizeType size, FwQueuePriorityType priority, BlockingType blockType) override
send a message into the queue through delegate
Sequencer blocking state.
Wait for sequences that are running to finish. Allow user to run multiple seq files in SEQ_NO_BLOCK m...
void resetDeser() override
Reset deserialization pointer to beginning of buffer.
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts()
The size of the serial representation.
A string backed by an external buffer.
void log_ACTIVITY_HI_CS_ModeSwitched(const Svc::CmdSequencer_SeqMode &mode) const
A serious but recoverable event.
Errors dispatching messages.
A local port request to run a sequence was started.
void invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke a port connection.
const char * toChar() const
Convert to a C-style char*.
Enum representing event severity.
void CS_AUTO_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
virtual void CS_START_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CS_START.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
void init()
Initialization function.
Channel ID for CS_LoadCommands.
The size of the serial representation.
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()
static constexpr FwSizeType CAPACITY
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 sequence file was not found.
Run a command sequence file.
Command failed to deserialize.
PlatformQueuePriorityType FwQueuePriorityType
The type of queue priorities used.
void log_WARNING_HI_CS_FileCrcFailure(const Fw::StringBase &fileName, U32 storedCRC, U32 computedCRC) const
Important informational events.
void invoke(FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args) const
Invoke a port connection.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum) const
A sequence related command came with no active sequence.
virtual void CS_MANUAL_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CS_MANUAL.
bool isConnected_pingOut_OutputPort(FwIndexType portNum) const
Channel ID for CS_CancelCommands.
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.
void tlmWrite(FwChanIdType id, Fw::TlmBuffer &_tlmBuff, Fw::Time _tlmTime=Fw::Time()) const
virtual void CS_STEP_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CS_STEP.
PlatformIndexType FwIndexType
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
virtual void seqRunIn_preMsgHook(FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args)
Pre-message hook for async input port seqRunIn.
A sequence passed validation.
void seqCancelIn_handlerBase(FwIndexType portNum)
Handler base-class function for input port seqCancelIn.
Channel ID for CS_SequencesCompleted.
void addCallPort(InputLogPort *callPort)
Register an input port.
void addCallPort(InputCmdSeqInPort *callPort)
Register an input port.
A command status came back when no sequence was running.
void init()
Initialization function.
The Command Sequencer received a command that was invalid for its current mode.
void CS_RUN_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Svc::InputFileDispatchPort * get_seqDispatchIn_InputPort(FwIndexType portNum)
void comCmdOut_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context) const
Invoke output port comCmdOut.
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 seqDone_out(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke output port seqDone.
void log_ACTIVITY_LO_CS_CommandComplete(const Fw::StringBase &fileName, U32 recordNumber, FwOpcodeType opCode) const
message sent/received okay
The sequence file validation failed.
A command sequence successfully completed.
void addCallPort(InputComPort *callPort)
Register an input port.
virtual void CS_MANUAL_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
CmdSequencerComponentBase(const char *compName="")
Construct CmdSequencerComponentBase object.
void seqDispatchIn_handlerBase(FwIndexType portNum, Fw::StringBase &file_name)
Handler base-class function for input port seqDispatchIn.
A command sequence was successfully canceled.
The Sequence File Loader could not read the sequence file.
Message will return with status when space is unavailable.
Implementation of malloc based allocator.
static constexpr FwSizeType CAPACITY
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
The sequence file was too large.
A sequence passed validation.
void init()
Initialization function.
Wait for the current running sequence file complete.
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)
bool isConnected_tlmOut_OutputPort(FwIndexType portNum) const
void pingOut_out(FwIndexType portNum, U32 key) const
Invoke output port pingOut.
static constexpr FwSizeType CAPACITY
virtual void seqDispatchIn_preMsgHook(FwIndexType portNum, Fw::StringBase &file_name)
Pre-message hook for async input port seqDispatchIn.
bool isConnected_comCmdOut_OutputPort(FwIndexType portNum) const
void log_ACTIVITY_HI_CS_SequenceValid(const Fw::StringBase &filename) const
void log_WARNING_HI_CS_FileReadError(const Fw::StringBase &fileName) const
Channel ID for CS_Errors.
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.
BYTE cmdPortSize[Fw::CmdPortBuffer::CAPACITY]
virtual void CS_JOIN_WAIT_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CS_JOIN_WAIT.
Channel ID for CS_CommandsExecuted.