9 #if FW_ENABLE_TEXT_LOGGING 28 #if !FW_DIRECT_PORT_CALLS 35 this->m_dataIn_InputPort[port].
init();
40 this->m_dataIn_InputPort[port].
setPortNum(port);
42 #if FW_OBJECT_NAMES == 1 46 this->m_objName.toChar(),
49 this->m_dataIn_InputPort[port].setObjName(portName.
toChar());
54 #if !FW_DIRECT_PORT_CALLS 61 this->m_dataReturnIn_InputPort[port].
init();
66 this->m_dataReturnIn_InputPort[port].
setPortNum(port);
68 #if FW_OBJECT_NAMES == 1 72 this->m_objName.toChar(),
75 this->m_dataReturnIn_InputPort[port].setObjName(portName.
toChar());
80 #if !FW_DIRECT_PORT_CALLS 87 this->m_logOut_OutputPort[port].
init();
89 #if FW_OBJECT_NAMES == 1 93 this->m_objName.toChar(),
96 this->m_logOut_OutputPort[port].setObjName(portName.
toChar());
101 #if !FW_DIRECT_PORT_CALLS && FW_ENABLE_TEXT_LOGGING 105 port < static_cast<FwIndexType>(this->getNum_logTextOut_OutputPorts());
108 this->m_logTextOut_OutputPort[port].
init();
110 #if FW_OBJECT_NAMES == 1 114 this->m_objName.toChar(),
117 this->m_logTextOut_OutputPort[port].setObjName(portName.
toChar());
122 #if !FW_DIRECT_PORT_CALLS 129 this->m_prmGetOut_OutputPort[port].
init();
131 #if FW_OBJECT_NAMES == 1 135 this->m_objName.toChar(),
138 this->m_prmGetOut_OutputPort[port].setObjName(portName.
toChar());
143 #if !FW_DIRECT_PORT_CALLS 150 this->m_prmSetOut_OutputPort[port].
init();
152 #if FW_OBJECT_NAMES == 1 156 this->m_objName.toChar(),
159 this->m_prmSetOut_OutputPort[port].setObjName(portName.
toChar());
164 #if !FW_DIRECT_PORT_CALLS 171 this->m_timeCaller_OutputPort[port].
init();
173 #if FW_OBJECT_NAMES == 1 177 this->m_objName.toChar(),
180 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
185 #if !FW_DIRECT_PORT_CALLS 192 this->m_tlmOut_OutputPort[port].
init();
194 #if FW_OBJECT_NAMES == 1 198 this->m_objName.toChar(),
201 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
206 #if !FW_DIRECT_PORT_CALLS 213 this->m_allocate_OutputPort[port].
init();
215 #if FW_OBJECT_NAMES == 1 219 this->m_objName.toChar(),
222 this->m_allocate_OutputPort[port].setObjName(portName.
toChar());
227 #if !FW_DIRECT_PORT_CALLS 234 this->m_dataOut_OutputPort[port].
init();
236 #if FW_OBJECT_NAMES == 1 240 this->m_objName.toChar(),
243 this->m_dataOut_OutputPort[port].setObjName(portName.
toChar());
248 #if !FW_DIRECT_PORT_CALLS 255 this->m_dataReturnOut_OutputPort[port].
init();
257 #if FW_OBJECT_NAMES == 1 261 this->m_objName.toChar(),
264 this->m_dataReturnOut_OutputPort[port].setObjName(portName.
toChar());
269 #if !FW_DIRECT_PORT_CALLS 276 this->m_deallocate_OutputPort[port].
init();
278 #if FW_OBJECT_NAMES == 1 282 this->m_objName.toChar(),
285 this->m_deallocate_OutputPort[port].setObjName(portName.
toChar());
290 #if !FW_DIRECT_PORT_CALLS 297 this->m_errorNotify_OutputPort[port].
init();
299 #if FW_OBJECT_NAMES == 1 303 this->m_objName.toChar(),
306 this->m_errorNotify_OutputPort[port].setObjName(portName.
toChar());
312 #if !FW_DIRECT_PORT_CALLS 323 static_cast<FwAssertArgType>(portNum)
326 return &this->m_dataIn_InputPort[portNum];
334 static_cast<FwAssertArgType>(portNum)
337 return &this->m_dataReturnIn_InputPort[portNum];
342 #if !FW_DIRECT_PORT_CALLS 356 static_cast<FwAssertArgType>(portNum)
359 this->m_logOut_OutputPort[portNum].
addCallPort(port);
362 #if FW_ENABLE_TEXT_LOGGING == 1 364 void AosDeframerComponentBase ::
365 set_logTextOut_OutputPort(
371 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
372 static_cast<FwAssertArgType>(portNum)
375 this->m_logTextOut_OutputPort[portNum].addCallPort(port);
388 static_cast<FwAssertArgType>(portNum)
391 this->m_prmGetOut_OutputPort[portNum].
addCallPort(port);
402 static_cast<FwAssertArgType>(portNum)
405 this->m_prmSetOut_OutputPort[portNum].
addCallPort(port);
416 static_cast<FwAssertArgType>(portNum)
419 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
430 static_cast<FwAssertArgType>(portNum)
433 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
438 #if !FW_DIRECT_PORT_CALLS 452 static_cast<FwAssertArgType>(portNum)
455 this->m_allocate_OutputPort[portNum].
addCallPort(port);
466 static_cast<FwAssertArgType>(portNum)
469 this->m_dataOut_OutputPort[portNum].
addCallPort(port);
480 static_cast<FwAssertArgType>(portNum)
483 this->m_dataReturnOut_OutputPort[portNum].
addCallPort(port);
494 static_cast<FwAssertArgType>(portNum)
497 this->m_deallocate_OutputPort[portNum].
addCallPort(port);
508 static_cast<FwAssertArgType>(portNum)
511 this->m_errorNotify_OutputPort[portNum].
addCallPort(port);
516 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 525 Fw::InputSerializePort* port
530 static_cast<FwAssertArgType>(portNum)
533 this->m_logOut_OutputPort[portNum].registerSerialPort(port);
536 #if FW_ENABLE_TEXT_LOGGING == 1 538 void AosDeframerComponentBase ::
539 set_logTextOut_OutputPort(
541 Fw::InputSerializePort* port
545 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
546 static_cast<FwAssertArgType>(portNum)
549 this->m_logTextOut_OutputPort[portNum].registerSerialPort(port);
557 Fw::InputSerializePort* port
562 static_cast<FwAssertArgType>(portNum)
565 this->m_prmSetOut_OutputPort[portNum].registerSerialPort(port);
571 Fw::InputSerializePort* port
576 static_cast<FwAssertArgType>(portNum)
579 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
585 Fw::InputSerializePort* port
590 static_cast<FwAssertArgType>(portNum)
593 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
598 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 607 Fw::InputSerializePort* port
612 static_cast<FwAssertArgType>(portNum)
615 this->m_dataOut_OutputPort[portNum].registerSerialPort(port);
621 Fw::InputSerializePort* port
626 static_cast<FwAssertArgType>(portNum)
629 this->m_dataReturnOut_OutputPort[portNum].registerSerialPort(port);
635 Fw::InputSerializePort* port
640 static_cast<FwAssertArgType>(portNum)
643 this->m_deallocate_OutputPort[portNum].registerSerialPort(port);
649 Fw::InputSerializePort* port
654 static_cast<FwAssertArgType>(portNum)
657 this->m_errorNotify_OutputPort[portNum].registerSerialPort(port);
668 Fw::PassiveComponentBase(compName)
679 #if !FW_DIRECT_PORT_CALLS 690 static_cast<FwAssertArgType>(portNum)
693 return this->m_logOut_OutputPort[portNum].
isConnected();
696 #if FW_ENABLE_TEXT_LOGGING == 1 698 bool AosDeframerComponentBase ::
699 isConnected_logTextOut_OutputPort(
FwIndexType portNum)
const 702 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
703 static_cast<FwAssertArgType>(portNum)
706 return this->m_logTextOut_OutputPort[portNum].isConnected();
716 static_cast<FwAssertArgType>(portNum)
719 return this->m_prmGetOut_OutputPort[portNum].
isConnected();
727 static_cast<FwAssertArgType>(portNum)
730 return this->m_prmSetOut_OutputPort[portNum].
isConnected();
738 static_cast<FwAssertArgType>(portNum)
741 return this->m_timeCaller_OutputPort[portNum].
isConnected();
749 static_cast<FwAssertArgType>(portNum)
752 return this->m_tlmOut_OutputPort[portNum].
isConnected();
757 #if !FW_DIRECT_PORT_CALLS 768 static_cast<FwAssertArgType>(portNum)
771 return this->m_allocate_OutputPort[portNum].
isConnected();
779 static_cast<FwAssertArgType>(portNum)
782 return this->m_dataOut_OutputPort[portNum].
isConnected();
790 static_cast<FwAssertArgType>(portNum)
793 return this->m_dataReturnOut_OutputPort[portNum].
isConnected();
801 static_cast<FwAssertArgType>(portNum)
804 return this->m_deallocate_OutputPort[portNum].
isConnected();
812 static_cast<FwAssertArgType>(portNum)
815 return this->m_errorNotify_OutputPort[portNum].
isConnected();
836 static_cast<FwAssertArgType>(portNum)
863 static_cast<FwAssertArgType>(portNum)
874 #if !FW_DIRECT_PORT_CALLS 888 static_cast<FwAssertArgType>(portNum)
892 this->m_allocate_OutputPort[portNum].isConnected(),
893 static_cast<FwAssertArgType>(portNum)
895 return this->m_allocate_OutputPort[portNum].
invoke(
909 static_cast<FwAssertArgType>(portNum)
913 this->m_dataOut_OutputPort[portNum].isConnected(),
914 static_cast<FwAssertArgType>(portNum)
916 this->m_dataOut_OutputPort[portNum].
invoke(
931 static_cast<FwAssertArgType>(portNum)
935 this->m_dataReturnOut_OutputPort[portNum].isConnected(),
936 static_cast<FwAssertArgType>(portNum)
938 this->m_dataReturnOut_OutputPort[portNum].
invoke(
952 static_cast<FwAssertArgType>(portNum)
956 this->m_deallocate_OutputPort[portNum].isConnected(),
957 static_cast<FwAssertArgType>(portNum)
959 this->m_deallocate_OutputPort[portNum].
invoke(
972 static_cast<FwAssertArgType>(portNum)
976 this->m_errorNotify_OutputPort[portNum].isConnected(),
977 static_cast<FwAssertArgType>(portNum)
979 this->m_errorNotify_OutputPort[portNum].
invoke(
999 this->timeCaller_out(0, _logTime);
1009 #if FW_AMPCS_COMPATIBLE 1014 static_cast<FwAssertArgType>(_status)
1018 #if FW_AMPCS_COMPATIBLE 1021 static_cast<U8>(
sizeof(U16))
1025 static_cast<FwAssertArgType>(_status)
1031 static_cast<FwAssertArgType>(_status)
1034 #if FW_AMPCS_COMPATIBLE 1037 static_cast<U8>(
sizeof(U16))
1041 static_cast<FwAssertArgType>(_status)
1047 static_cast<FwAssertArgType>(_status)
1060 #if FW_ENABLE_TEXT_LOGGING 1061 if (this->isConnected_logTextOut_OutputPort(0)) {
1062 #if FW_OBJECT_NAMES == 1 1063 const char* _formatString =
1064 "(%s) %s: Invalid Spacecraft ID Received. Received: %" PRIu16
" | Deframer configured with: %" PRIu16
"";
1066 const char* _formatString =
1067 "%s: Invalid Spacecraft ID Received. Received: %" PRIu16
" | Deframer configured with: %" PRIu16
"";
1074 this->m_objName.toChar(),
1076 "InvalidSpacecraftId ",
1081 this->logTextOut_out(
1101 this->timeCaller_out(0, _logTime);
1111 #if FW_AMPCS_COMPATIBLE 1116 static_cast<FwAssertArgType>(_status)
1120 #if FW_AMPCS_COMPATIBLE 1127 static_cast<FwAssertArgType>(_status)
1133 static_cast<FwAssertArgType>(_status)
1136 #if FW_AMPCS_COMPATIBLE 1139 static_cast<U8>(
sizeof(U32))
1143 static_cast<FwAssertArgType>(_status)
1149 static_cast<FwAssertArgType>(_status)
1162 #if FW_ENABLE_TEXT_LOGGING 1163 if (this->isConnected_logTextOut_OutputPort(0)) {
1164 #if FW_OBJECT_NAMES == 1 1165 const char* _formatString =
1166 "(%s) %s: Frame length mismatch. Received: %" PRIu64
" | Expected: %" PRIu32
" ";
1168 const char* _formatString =
1169 "%s: Frame length mismatch. Received: %" PRIu64
" | Expected: %" PRIu32
" ";
1176 this->m_objName.toChar(),
1178 "InvalidFrameLength ",
1183 this->logTextOut_out(
1203 this->timeCaller_out(0, _logTime);
1213 #if FW_AMPCS_COMPATIBLE 1218 static_cast<FwAssertArgType>(_status)
1222 #if FW_AMPCS_COMPATIBLE 1225 static_cast<U8>(
sizeof(
U8))
1229 static_cast<FwAssertArgType>(_status)
1235 static_cast<FwAssertArgType>(_status)
1238 #if FW_AMPCS_COMPATIBLE 1241 static_cast<U8>(
sizeof(
U8))
1245 static_cast<FwAssertArgType>(_status)
1251 static_cast<FwAssertArgType>(_status)
1264 #if FW_ENABLE_TEXT_LOGGING 1265 if (this->isConnected_logTextOut_OutputPort(0)) {
1266 #if FW_OBJECT_NAMES == 1 1267 const char* _formatString =
1268 "(%s) %s: Invalid Virtual Channel ID. Frame contained: %" PRIu8
" | Accepted VCIDs: %" PRIu8
"";
1270 const char* _formatString =
1271 "%s: Invalid Virtual Channel ID. Frame contained: %" PRIu8
" | Accepted VCIDs: %" PRIu8
"";
1278 this->m_objName.toChar(),
1285 this->logTextOut_out(
1305 this->timeCaller_out(0, _logTime);
1315 #if FW_AMPCS_COMPATIBLE 1320 static_cast<FwAssertArgType>(_status)
1324 #if FW_AMPCS_COMPATIBLE 1327 static_cast<U8>(
sizeof(U16))
1331 static_cast<FwAssertArgType>(_status)
1337 static_cast<FwAssertArgType>(_status)
1340 #if FW_AMPCS_COMPATIBLE 1343 static_cast<U8>(
sizeof(U16))
1347 static_cast<FwAssertArgType>(_status)
1353 static_cast<FwAssertArgType>(_status)
1366 #if FW_ENABLE_TEXT_LOGGING 1367 if (this->isConnected_logTextOut_OutputPort(0)) {
1368 #if FW_OBJECT_NAMES == 1 1369 const char* _formatString =
1370 "(%s) %s: Invalid FECF (CRC) received. Trailer specified: %" PRIu16
" | Computed on board: %" PRIu16
"";
1372 const char* _formatString =
1373 "%s: Invalid FECF (CRC) received. Trailer specified: %" PRIu16
" | Computed on board: %" PRIu16
"";
1380 this->m_objName.toChar(),
1387 this->logTextOut_out(
1407 this->timeCaller_out(0, _logTime);
1417 #if FW_AMPCS_COMPATIBLE 1422 static_cast<FwAssertArgType>(_status)
1426 #if FW_AMPCS_COMPATIBLE 1429 static_cast<U8>(
sizeof(
U8))
1433 static_cast<FwAssertArgType>(_status)
1439 static_cast<FwAssertArgType>(_status)
1442 #if FW_AMPCS_COMPATIBLE 1445 static_cast<U8>(
sizeof(
U8))
1449 static_cast<FwAssertArgType>(_status)
1455 static_cast<FwAssertArgType>(_status)
1468 #if FW_ENABLE_TEXT_LOGGING 1469 if (this->isConnected_logTextOut_OutputPort(0)) {
1470 #if FW_OBJECT_NAMES == 1 1471 const char* _formatString =
1472 "(%s) %s: Invalid CCSDS Transfer Frame Version Number. Received: %" PRIu8
" | Expected: %" PRIu8
"";
1474 const char* _formatString =
1475 "%s: Invalid CCSDS Transfer Frame Version Number. Received: %" PRIu8
" | Expected: %" PRIu8
"";
1482 this->m_objName.toChar(),
1489 this->logTextOut_out(
1509 this->timeCaller_out(0, _logTime);
1519 #if FW_AMPCS_COMPATIBLE 1524 static_cast<FwAssertArgType>(_status)
1528 #if FW_AMPCS_COMPATIBLE 1531 static_cast<U8>(
sizeof(
U8))
1535 static_cast<FwAssertArgType>(_status)
1541 static_cast<FwAssertArgType>(_status)
1544 #if FW_AMPCS_COMPATIBLE 1547 static_cast<U8>(
sizeof(
U8))
1551 static_cast<FwAssertArgType>(_status)
1557 static_cast<FwAssertArgType>(_status)
1570 #if FW_ENABLE_TEXT_LOGGING 1571 if (this->isConnected_logTextOut_OutputPort(0)) {
1572 #if FW_OBJECT_NAMES == 1 1573 const char* _formatString =
1574 "(%s) %s: Packet version number %" PRIu8
" encountered on VC %" PRIu8
" but it is invalid or disabled by configuration";
1576 const char* _formatString =
1577 "%s: Packet version number %" PRIu8
" encountered on VC %" PRIu8
" but it is invalid or disabled by configuration";
1584 this->m_objName.toChar(),
1591 this->logTextOut_out(
1608 this->timeCaller_out(0, _logTime);
1618 #if FW_AMPCS_COMPATIBLE 1623 static_cast<FwAssertArgType>(_status)
1627 #if FW_AMPCS_COMPATIBLE 1630 static_cast<U8>(
sizeof(
U8))
1634 static_cast<FwAssertArgType>(_status)
1640 static_cast<FwAssertArgType>(_status)
1653 #if FW_ENABLE_TEXT_LOGGING 1654 if (this->isConnected_logTextOut_OutputPort(0)) {
1655 #if FW_OBJECT_NAMES == 1 1656 const char* _formatString =
1657 "(%s) %s: Received frame containing only idle data on VC %" PRIu8
"";
1659 const char* _formatString =
1660 "%s: Received frame containing only idle data on VC %" PRIu8
"";
1667 this->m_objName.toChar(),
1673 this->logTextOut_out(
1694 this->timeCaller_out(0, _logTime);
1704 #if FW_AMPCS_COMPATIBLE 1709 static_cast<FwAssertArgType>(_status)
1713 #if FW_AMPCS_COMPATIBLE 1716 static_cast<U8>(
sizeof(
U8))
1720 static_cast<FwAssertArgType>(_status)
1726 static_cast<FwAssertArgType>(_status)
1729 #if FW_AMPCS_COMPATIBLE 1736 static_cast<FwAssertArgType>(_status)
1742 static_cast<FwAssertArgType>(_status)
1745 #if FW_AMPCS_COMPATIBLE 1752 static_cast<FwAssertArgType>(_status)
1758 static_cast<FwAssertArgType>(_status)
1771 #if FW_ENABLE_TEXT_LOGGING 1772 if (this->isConnected_logTextOut_OutputPort(0)) {
1773 #if FW_OBJECT_NAMES == 1 1774 const char* _formatString =
1775 "(%s) %s: Spanning packet allocation failed on VC %" PRIu8
" for %s packet of %" PRIu64
" bytes; packet dropped";
1777 const char* _formatString =
1778 "%s: Spanning packet allocation failed on VC %" PRIu8
" for %s packet of %" PRIu64
" bytes; packet dropped";
1782 pvn.toString(pvnStr);
1788 this->m_objName.toChar(),
1790 "SpanningPacketAllocFailed ",
1796 this->logTextOut_out(
1817 this->timeCaller_out(0, _logTime);
1827 #if FW_AMPCS_COMPATIBLE 1832 static_cast<FwAssertArgType>(_status)
1836 #if FW_AMPCS_COMPATIBLE 1839 static_cast<U8>(
sizeof(
U8))
1843 static_cast<FwAssertArgType>(_status)
1849 static_cast<FwAssertArgType>(_status)
1852 #if FW_AMPCS_COMPATIBLE 1855 static_cast<U8>(
sizeof(U32))
1859 static_cast<FwAssertArgType>(_status)
1865 static_cast<FwAssertArgType>(_status)
1868 #if FW_AMPCS_COMPATIBLE 1871 static_cast<U8>(
sizeof(U32))
1875 static_cast<FwAssertArgType>(_status)
1881 static_cast<FwAssertArgType>(_status)
1894 #if FW_ENABLE_TEXT_LOGGING 1895 if (this->isConnected_logTextOut_OutputPort(0)) {
1896 #if FW_OBJECT_NAMES == 1 1897 const char* _formatString =
1898 "(%s) %s: VC frame count gap on VC %" PRIu8
". Received %" PRIu32
" | Expected next count %" PRIu32
"";
1900 const char* _formatString =
1901 "%s: VC frame count gap on VC %" PRIu8
". Received %" PRIu32
" | Expected next count %" PRIu32
"";
1908 this->m_objName.toChar(),
1916 this->logTextOut_out(
1938 this->timeCaller_out(0, _logTime);
1948 #if FW_AMPCS_COMPATIBLE 1953 static_cast<FwAssertArgType>(_status)
1957 #if FW_AMPCS_COMPATIBLE 1960 static_cast<U8>(
sizeof(
U8))
1964 static_cast<FwAssertArgType>(_status)
1970 static_cast<FwAssertArgType>(_status)
1973 #if FW_AMPCS_COMPATIBLE 1980 static_cast<FwAssertArgType>(_status)
1986 static_cast<FwAssertArgType>(_status)
1989 #if FW_AMPCS_COMPATIBLE 1996 static_cast<FwAssertArgType>(_status)
2002 static_cast<FwAssertArgType>(_status)
2005 #if FW_AMPCS_COMPATIBLE 2012 static_cast<FwAssertArgType>(_status)
2018 static_cast<FwAssertArgType>(_status)
2031 #if FW_ENABLE_TEXT_LOGGING 2032 if (this->isConnected_logTextOut_OutputPort(0)) {
2033 #if FW_OBJECT_NAMES == 1 2034 const char* _formatString =
2035 "(%s) %s: Spanning packet on VC %" PRIu8
" (%s) abandoned after receiving %" PRIu64
" of %" PRIu64
" expected bytes";
2037 const char* _formatString =
2038 "%s: Spanning packet on VC %" PRIu8
" (%s) abandoned after receiving %" PRIu64
" of %" PRIu64
" expected bytes";
2042 pvn.toString(pvnStr);
2048 this->m_objName.toChar(),
2050 "SpanningPacketAbandoned ",
2057 this->logTextOut_out(
2078 this->timeCaller_out(0, _logTime);
2088 #if FW_AMPCS_COMPATIBLE 2093 static_cast<FwAssertArgType>(_status)
2097 #if FW_AMPCS_COMPATIBLE 2100 static_cast<U8>(
sizeof(
U8))
2104 static_cast<FwAssertArgType>(_status)
2110 static_cast<FwAssertArgType>(_status)
2113 #if FW_AMPCS_COMPATIBLE 2120 static_cast<FwAssertArgType>(_status)
2126 static_cast<FwAssertArgType>(_status)
2129 #if FW_AMPCS_COMPATIBLE 2136 static_cast<FwAssertArgType>(_status)
2142 static_cast<FwAssertArgType>(_status)
2155 #if FW_ENABLE_TEXT_LOGGING 2156 if (this->isConnected_logTextOut_OutputPort(0)) {
2157 #if FW_OBJECT_NAMES == 1 2158 const char* _formatString =
2159 "(%s) %s: Invalid First Header Pointer (FHP) received on VC %" PRIu8
": FHP was %" PRIu64
" bytes, data zone is only %" PRIu64
" bytes";
2161 const char* _formatString =
2162 "%s: Invalid First Header Pointer (FHP) received on VC %" PRIu8
": FHP was %" PRIu64
" bytes, data zone is only %" PRIu64
" bytes";
2169 this->m_objName.toChar(),
2177 this->logTextOut_out(
2204 this->timeCaller_out(0, _tlmTime);
2234 static_cast<FwAssertArgType>(_stat)
2256 static_cast<FwAssertArgType>(_stat)
2278 static_cast<FwAssertArgType>(_stat)
2300 static_cast<FwAssertArgType>(_stat)
2320 this->timeCaller_out(0, _time);
2338 this->m_guardedPortMutex.
lock();
2344 this->m_guardedPortMutex.
unLock();
2351 void AosDeframerComponentBase ::
2368 void AosDeframerComponentBase ::
2369 m_p_dataReturnIn_in(
2378 compPtr->dataReturnIn_handlerBase(
2385 #if !FW_DIRECT_PORT_CALLS 2391 void AosDeframerComponentBase ::
2402 static_cast<FwAssertArgType>(portNum)
2406 this->m_logOut_OutputPort[portNum].isConnected(),
2407 static_cast<FwAssertArgType>(portNum)
2409 this->m_logOut_OutputPort[portNum].
invoke(
2417 #if FW_ENABLE_TEXT_LOGGING 2419 void AosDeframerComponentBase ::
2429 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
2430 static_cast<FwAssertArgType>(portNum)
2434 this->m_logTextOut_OutputPort[portNum].isConnected(),
2435 static_cast<FwAssertArgType>(portNum)
2437 this->m_logTextOut_OutputPort[portNum].invoke(
2447 void AosDeframerComponentBase ::
2455 static_cast<FwAssertArgType>(portNum)
2459 this->m_timeCaller_OutputPort[portNum].isConnected(),
2460 static_cast<FwAssertArgType>(portNum)
2462 this->m_timeCaller_OutputPort[portNum].
invoke(
2467 void AosDeframerComponentBase ::
2477 static_cast<FwAssertArgType>(portNum)
2481 this->m_tlmOut_OutputPort[portNum].isConnected(),
2482 static_cast<FwAssertArgType>(portNum)
2484 this->m_tlmOut_OutputPort[portNum].
invoke(
Serialization/Deserialization operation was successful.
static constexpr FwIndexType getNum_dataOut_OutputPorts()
static constexpr FwIndexType getNum_prmGetOut_OutputPorts()
void addCallPort(InputTimePort *callPort)
Register an input port.
virtual void dataReturnIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataReturnIn.
void log_WARNING_HI_InvalidFhp(U8 vcId, FwSizeType fhpReceived, FwSizeType dataZoneSize) const
SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG) override
Serialize an 8-bit unsigned integer value.
static constexpr FwIndexType getNum_allocate_OutputPorts()
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataOut.
static constexpr FwIndexType getNum_dataIn_InputPorts()
FwIdType getIdBase() const
PlatformSizeType FwSizeType
void set_errorNotify_OutputPort(FwIndexType portNum, Svc::Ccsds::InputErrorNotifyPort *port)
Connect port to errorNotify[portNum].
void init()
Initialization function.
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
void unLock()
unlock the mutex and assert success
void addCallPort(InputPrmSetPort *callPort)
Register an input port.
An invalid First Header Pointer (FHP) was received.
void set_allocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to allocate[portNum].
void dataReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataReturnIn.
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
void tlmWrite_CrcErrorCount(U32 arg, Fw::Time _tlmTime=Fw::Time()) const
void init()
Initialization function.
bool isConnected_errorNotify_OutputPort(FwIndexType portNum) const
No time base has been established (Required)
Auto-generated base for AosDeframer component.
Svc::InputComDataWithContextPort * get_dataReturnIn_InputPort(FwIndexType portNum)
Deframing received an invalid checksum (CCSDS 732.0-B-5 Section 4.1.6)
Channel ID for PacketsExtracted.
static constexpr FwIndexType getNum_errorNotify_OutputPorts()
void init()
Initialization function.
void addCallPort(InputComDataWithContextPort *callPort)
Register an input port.
void log_WARNING_LO_InvalidSpacecraftId(U16 transmitted, U16 configured) const
bool isConnected_prmGetOut_OutputPort(FwIndexType portNum) const
void addCallPort(InputTlmPort *callPort)
Register an input port.
void addCallPort(InputPrmGetPort *callPort)
Register an input port.
void init()
Object initializer.
SerializeStatus
forward declaration for string
static constexpr FwIndexType getNum_deallocate_OutputPorts()
void addCallPort(InputBufferGetPort *callPort)
Register an input port.
Frame was received with idle-only data on a virtual channel (CCSDS 732.0-B-5 Section 4...
Deframing detected a gap/discontinuity in the AOS VC frame count sequence.
void addCallPort(InputErrorNotifyPort *callPort)
Register an input port.
bool isConnected_allocate_OutputPort(FwIndexType portNum) const
FwIdType FwEventIdType
The type of an event identifier.
virtual void lock()
Lock the guarded mutex.
void tlmWrite_FramesProcessed(U32 arg, Fw::Time _tlmTime=Fw::Time()) const
static constexpr FwIndexType getNum_dataReturnIn_InputPorts()
void tlmWrite(FwChanIdType id, Fw::TlmBuffer &_tlmBuff, Fw::Time _tlmTime=Fw::Time()) const
void set_deallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to deallocate[portNum].
Spanning packet buffer allocation failed; packet dropped.
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects) ...
void set_dataReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataReturnOut[portNum].
void init()
Initialization function.
void invoke(const Svc::Ccsds::FrameError &errorCode) const
Invoke a port connection.
void log_WARNING_HI_InvalidFrameLength(FwSizeType actual, U32 expected) const
void addCallComp(Fw::PassiveComponentBase *callComp, CompFuncPtr funcPtr)
Register a component.
Less important informational events.
A less serious but recoverable event.
void invoke(Fw::Buffer &fwBuffer) const
Invoke a port connection.
Deframing received an invalid frame length.
The size of the serial representation.
void addCallPort(InputBufferSendPort *callPort)
Register an input port.
virtual void unLock()
Unlock the guarded mutex.
void invoke(Fw::Time &time) const
Invoke a port connection.
void set_prmGetOut_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to prmGetOut[portNum].
FwIdType FwChanIdType
The type of a telemetry channel identifier.
virtual ~AosDeframerComponentBase()
Destroy AosDeframerComponentBase object.
void invoke(Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke a port connection.
void deallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port deallocate.
Channel ID for FramesProcessed.
void log_WARNING_HI_SpanningPacketAbandoned(U8 vcId, ComCfg::Pvn pvn, FwSizeType bytesReceived, FwSizeType bytesExpected) const
A serious but recoverable event.
void init()
Initialization function.
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.
AosDeframerComponentBase(const char *compName="")
Construct AosDeframerComponentBase object.
Packet Version Numbers are 3 bits with only 2 currently valid values.
bool isConnected_deallocate_OutputPort(FwIndexType portNum) const
void tlmWrite_LatestVcFrameCount(U32 arg, Fw::Time _tlmTime=Fw::Time()) const
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
void init()
Initialization function.
Fw::Buffer allocate_out(FwIndexType portNum, FwSizeType size) const
Invoke output port allocate.
static constexpr FwIndexType getNum_prmSetOut_OutputPorts()
A spanning packet was abandoned before receiving all expected bytes.
uint8_t U8
8-bit unsigned integer
Deframing encountered a packet version number that is not enabled by configuration.
void dataIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataIn.
Fw::Buffer invoke(FwSizeType size) const
void log_ACTIVITY_LO_IdleFrame(U8 vcId) const
void errorNotify_out(FwIndexType portNum, const Svc::Ccsds::FrameError &errorCode) const
Invoke output port errorNotify.
Deframing received an invalid SCID (CCSDS 732.0-B-5 Section 4.1.2.2)
Channel ID for CrcErrorCount.
void init()
Initialization function.
void init()
Initialization function.
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataIn.
void invoke(FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args) const
Invoke a port connection.
void log_WARNING_HI_DisabledPvn(U8 vcId, U8 pvn) const
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum) const
bool isConnected_prmSetOut_OutputPort(FwIndexType portNum) const
Svc::InputComDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
Channel ID for LatestVcFrameCount.
Deframing received an invalid CCSDS Transfer Frame Version Number (CCSDS 732.0-B-5 Section 4...
void set_dataOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataOut[portNum].
PlatformIndexType FwIndexType
static constexpr FwIndexType getNum_tlmOut_OutputPorts()
void addCallPort(InputLogPort *callPort)
Register an input port.
void log_ACTIVITY_LO_InvalidVcId(U8 transmitted, U8 configured) const
void log_WARNING_HI_SpanningPacketAllocFailed(U8 vcId, ComCfg::Pvn pvn, FwSizeType packetSize) const
Type used to pass context info between components during framing/deframing.
void init()
Initialization function.
RateGroupDivider component implementation.
static constexpr FwIndexType getNum_logOut_OutputPorts()
void set_prmSetOut_OutputPort(FwIndexType portNum, Fw::InputPrmSetPort *port)
Connect port to prmSetOut[portNum].
bool isConnected_logOut_OutputPort(FwIndexType portNum) const
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataReturnOut.
void log_WARNING_HI_InvalidFecf(U16 transmitted, U16 computed) const
Implementation of malloc based allocator.
void init()
Initialization function.
void tlmWrite_PacketsExtracted(U32 arg, Fw::Time _tlmTime=Fw::Time()) const
static constexpr FwIndexType getNum_dataReturnOut_OutputPorts()
bool isConnected_dataOut_OutputPort(FwIndexType portNum) const
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
bool isConnected_tlmOut_OutputPort(FwIndexType portNum) const
bool isConnected_timeCaller_OutputPort(FwIndexType portNum) const
Deframing received a VCID not in the accepted set (CCSDS 732.0-B-5 Section 4.1.2.3) ...
void log_WARNING_HI_InvalidTfvn(U8 transmitted, U8 expected) const
void lock()
lock the mutex and assert success
void log_WARNING_HI_VcFrameCountGap(U8 vcId, U32 received, U32 expected) const