9 #if FW_ENABLE_TEXT_LOGGING 20 CONFIGURESECTIONGROUPRATE_CONFIGUREGROUPRATE,
21 CONTROLIN_ENABLESECTION,
28 CMD_CONFIGURE_GROUP_RATES,
43 class ComponentIpcSerializableBuffer :
53 MAX_DATA_SIZE =
sizeof(BuffUnion),
55 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
59 return sizeof(m_buff);
66 const U8* getBuffAddr()
const {
72 U8 m_buff[SERIALIZATION_SIZE];
96 this->m_cmdIn_InputPort[port].
init();
101 this->m_cmdIn_InputPort[port].
setPortNum(port);
103 #if FW_OBJECT_NAMES == 1 107 this->m_objName.toChar(),
110 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
120 this->m_Run_InputPort[port].
init();
127 #if FW_OBJECT_NAMES == 1 131 this->m_objName.toChar(),
134 this->m_Run_InputPort[port].setObjName(portName.
toChar());
144 this->m_TlmGet_InputPort[port].
init();
149 this->m_TlmGet_InputPort[port].
setPortNum(port);
151 #if FW_OBJECT_NAMES == 1 155 this->m_objName.toChar(),
158 this->m_TlmGet_InputPort[port].setObjName(portName.
toChar());
168 this->m_TlmRecv_InputPort[port].
init();
173 this->m_TlmRecv_InputPort[port].
setPortNum(port);
175 #if FW_OBJECT_NAMES == 1 179 this->m_objName.toChar(),
182 this->m_TlmRecv_InputPort[port].setObjName(portName.
toChar());
192 this->m_configureSectionGroupRate_InputPort[port].
init();
193 this->m_configureSectionGroupRate_InputPort[port].
addCallComp(
195 m_p_configureSectionGroupRate_in
197 this->m_configureSectionGroupRate_InputPort[port].
setPortNum(port);
199 #if FW_OBJECT_NAMES == 1 203 this->m_objName.toChar(),
206 this->m_configureSectionGroupRate_InputPort[port].setObjName(portName.
toChar());
216 this->m_controlIn_InputPort[port].
init();
221 this->m_controlIn_InputPort[port].
setPortNum(port);
223 #if FW_OBJECT_NAMES == 1 227 this->m_objName.toChar(),
230 this->m_controlIn_InputPort[port].setObjName(portName.
toChar());
240 this->m_pingIn_InputPort[port].
init();
245 this->m_pingIn_InputPort[port].
setPortNum(port);
247 #if FW_OBJECT_NAMES == 1 251 this->m_objName.toChar(),
254 this->m_pingIn_InputPort[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_eventOut_OutputPort[port].
init();
304 #if FW_OBJECT_NAMES == 1 308 this->m_objName.toChar(),
311 this->m_eventOut_OutputPort[port].setObjName(portName.
toChar());
321 this->m_paramGetOut_OutputPort[port].
init();
323 #if FW_OBJECT_NAMES == 1 327 this->m_objName.toChar(),
330 this->m_paramGetOut_OutputPort[port].setObjName(portName.
toChar());
340 this->m_paramSetOut_OutputPort[port].
init();
342 #if FW_OBJECT_NAMES == 1 346 this->m_objName.toChar(),
349 this->m_paramSetOut_OutputPort[port].setObjName(portName.
toChar());
353 #if FW_ENABLE_TEXT_LOGGING == 1 357 port < static_cast<FwIndexType>(this->getNum_textEventOut_OutputPorts());
360 this->m_textEventOut_OutputPort[port].
init();
362 #if FW_OBJECT_NAMES == 1 366 this->m_objName.toChar(),
369 this->m_textEventOut_OutputPort[port].setObjName(portName.
toChar());
380 this->m_timeGetOut_OutputPort[port].
init();
382 #if FW_OBJECT_NAMES == 1 386 this->m_objName.toChar(),
389 this->m_timeGetOut_OutputPort[port].setObjName(portName.
toChar());
399 this->m_tlmOut_OutputPort[port].
init();
401 #if FW_OBJECT_NAMES == 1 405 this->m_objName.toChar(),
408 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
418 this->m_PktSend_OutputPort[port].
init();
420 #if FW_OBJECT_NAMES == 1 424 this->m_objName.toChar(),
427 this->m_PktSend_OutputPort[port].setObjName(portName.
toChar());
437 this->m_pingOut_OutputPort[port].
init();
439 #if FW_OBJECT_NAMES == 1 443 this->m_objName.toChar(),
446 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
453 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
457 static_cast<FwAssertArgType>(qStat)
470 static_cast<FwAssertArgType>(portNum)
473 return &this->m_cmdIn_InputPort[portNum];
485 static_cast<FwAssertArgType>(portNum)
488 return &this->m_Run_InputPort[portNum];
496 static_cast<FwAssertArgType>(portNum)
499 return &this->m_TlmGet_InputPort[portNum];
507 static_cast<FwAssertArgType>(portNum)
510 return &this->m_TlmRecv_InputPort[portNum];
518 static_cast<FwAssertArgType>(portNum)
521 return &this->m_configureSectionGroupRate_InputPort[portNum];
529 static_cast<FwAssertArgType>(portNum)
532 return &this->m_controlIn_InputPort[portNum];
540 static_cast<FwAssertArgType>(portNum)
543 return &this->m_pingIn_InputPort[portNum];
558 static_cast<FwAssertArgType>(portNum)
561 this->m_cmdRegOut_OutputPort[portNum].
addCallPort(port);
572 static_cast<FwAssertArgType>(portNum)
575 this->m_cmdResponseOut_OutputPort[portNum].
addCallPort(port);
586 static_cast<FwAssertArgType>(portNum)
589 this->m_eventOut_OutputPort[portNum].
addCallPort(port);
600 static_cast<FwAssertArgType>(portNum)
603 this->m_paramGetOut_OutputPort[portNum].
addCallPort(port);
614 static_cast<FwAssertArgType>(portNum)
617 this->m_paramSetOut_OutputPort[portNum].
addCallPort(port);
620 #if FW_ENABLE_TEXT_LOGGING == 1 622 void TlmPacketizerComponentBase ::
623 set_textEventOut_OutputPort(
629 (0 <= portNum) && (portNum < this->getNum_textEventOut_OutputPorts()),
630 static_cast<FwAssertArgType>(portNum)
633 this->m_textEventOut_OutputPort[portNum].addCallPort(port);
646 static_cast<FwAssertArgType>(portNum)
649 this->m_timeGetOut_OutputPort[portNum].
addCallPort(port);
660 static_cast<FwAssertArgType>(portNum)
663 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
678 static_cast<FwAssertArgType>(portNum)
681 this->m_PktSend_OutputPort[portNum].
addCallPort(port);
692 static_cast<FwAssertArgType>(portNum)
695 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
698 #if FW_PORT_SERIALIZATION 707 Fw::InputSerializePort* port
712 static_cast<FwAssertArgType>(portNum)
715 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
721 Fw::InputSerializePort* port
726 static_cast<FwAssertArgType>(portNum)
729 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
735 Fw::InputSerializePort* port
740 static_cast<FwAssertArgType>(portNum)
743 this->m_eventOut_OutputPort[portNum].registerSerialPort(port);
749 Fw::InputSerializePort* port
754 static_cast<FwAssertArgType>(portNum)
757 this->m_paramSetOut_OutputPort[portNum].registerSerialPort(port);
760 #if FW_ENABLE_TEXT_LOGGING == 1 762 void TlmPacketizerComponentBase ::
763 set_textEventOut_OutputPort(
765 Fw::InputSerializePort* port
769 (0 <= portNum) && (portNum < this->getNum_textEventOut_OutputPorts()),
770 static_cast<FwAssertArgType>(portNum)
773 this->m_textEventOut_OutputPort[portNum].registerSerialPort(port);
781 Fw::InputSerializePort* port
786 static_cast<FwAssertArgType>(portNum)
789 this->m_timeGetOut_OutputPort[portNum].registerSerialPort(port);
795 Fw::InputSerializePort* port
800 static_cast<FwAssertArgType>(portNum)
803 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
808 #if FW_PORT_SERIALIZATION 817 Fw::InputSerializePort* port
822 static_cast<FwAssertArgType>(portNum)
825 this->m_PktSend_OutputPort[portNum].registerSerialPort(port);
831 Fw::InputSerializePort* port
836 static_cast<FwAssertArgType>(portNum)
839 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
851 FW_ASSERT(this->m_cmdRegOut_OutputPort[0].isConnected());
853 this->m_cmdRegOut_OutputPort[0].
invoke(
857 this->m_cmdRegOut_OutputPort[0].
invoke(
861 this->m_cmdRegOut_OutputPort[0].
invoke(
865 this->m_cmdRegOut_OutputPort[0].
invoke(
869 this->m_cmdRegOut_OutputPort[0].
invoke(
873 this->m_cmdRegOut_OutputPort[0].
invoke(
877 this->m_cmdRegOut_OutputPort[0].
invoke(
881 this->m_cmdRegOut_OutputPort[0].
invoke(
885 this->m_cmdRegOut_OutputPort[0].
invoke(
889 this->m_cmdRegOut_OutputPort[0].
invoke(
904 FW_ASSERT(this->m_paramGetOut_OutputPort[0].isConnected());
913 param_valid = this->m_paramGetOut_OutputPort[0].
invoke(
923 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
925 _stat = this->paramDelegatePtr->
deserializeParam(_baseId, _localId, param_valid, _buff);
937 param_valid = this->m_paramGetOut_OutputPort[0].
invoke(
947 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
949 _stat = this->paramDelegatePtr->
deserializeParam(_baseId, _localId, param_valid, _buff);
968 Fw::ActiveComponentBase(compName),
969 paramDelegatePtr(nullptr)
989 static_cast<FwAssertArgType>(portNum)
992 return this->m_cmdRegOut_OutputPort[portNum].
isConnected();
1000 static_cast<FwAssertArgType>(portNum)
1003 return this->m_cmdResponseOut_OutputPort[portNum].
isConnected();
1011 static_cast<FwAssertArgType>(portNum)
1014 return this->m_eventOut_OutputPort[portNum].
isConnected();
1022 static_cast<FwAssertArgType>(portNum)
1025 return this->m_paramGetOut_OutputPort[portNum].
isConnected();
1033 static_cast<FwAssertArgType>(portNum)
1036 return this->m_paramSetOut_OutputPort[portNum].
isConnected();
1039 #if FW_ENABLE_TEXT_LOGGING == 1 1041 bool TlmPacketizerComponentBase ::
1042 isConnected_textEventOut_OutputPort(
FwIndexType portNum)
1045 (0 <= portNum) && (portNum < this->getNum_textEventOut_OutputPorts()),
1046 static_cast<FwAssertArgType>(portNum)
1049 return this->m_textEventOut_OutputPort[portNum].isConnected();
1059 static_cast<FwAssertArgType>(portNum)
1062 return this->m_timeGetOut_OutputPort[portNum].
isConnected();
1070 static_cast<FwAssertArgType>(portNum)
1073 return this->m_tlmOut_OutputPort[portNum].
isConnected();
1085 static_cast<FwAssertArgType>(portNum)
1088 return this->m_PktSend_OutputPort[portNum].
isConnected();
1096 static_cast<FwAssertArgType>(portNum)
1099 return this->m_pingOut_OutputPort[portNum].
isConnected();
1117 static_cast<FwAssertArgType>(portNum)
1125 ComponentIpcSerializableBuffer msg;
1129 _status = msg.serializeFrom(
1130 static_cast<FwEnumStoreType>(RUN_SCHED)
1134 static_cast<FwAssertArgType>(_status)
1138 _status = msg.serializeFrom(portNum);
1141 static_cast<FwAssertArgType>(_status)
1145 _status = msg.serializeFrom(context);
1148 static_cast<FwAssertArgType>(_status)
1157 static_cast<FwAssertArgType>(qStatus)
1172 static_cast<FwAssertArgType>(portNum)
1199 static_cast<FwAssertArgType>(portNum)
1224 static_cast<FwAssertArgType>(portNum)
1236 ComponentIpcSerializableBuffer msg;
1240 _status = msg.serializeFrom(
1241 static_cast<FwEnumStoreType>(CONFIGURESECTIONGROUPRATE_CONFIGUREGROUPRATE)
1245 static_cast<FwAssertArgType>(_status)
1249 _status = msg.serializeFrom(portNum);
1252 static_cast<FwAssertArgType>(_status)
1256 _status = msg.serializeFrom(section);
1259 static_cast<FwAssertArgType>(_status)
1263 _status = msg.serializeFrom(tlmGroup);
1266 static_cast<FwAssertArgType>(_status)
1270 _status = msg.serializeFrom(rateLogic);
1273 static_cast<FwAssertArgType>(_status)
1277 _status = msg.serializeFrom(minDelta);
1280 static_cast<FwAssertArgType>(_status)
1284 _status = msg.serializeFrom(maxDelta);
1287 static_cast<FwAssertArgType>(_status)
1296 static_cast<FwAssertArgType>(qStatus)
1310 static_cast<FwAssertArgType>(portNum)
1319 ComponentIpcSerializableBuffer msg;
1323 _status = msg.serializeFrom(
1324 static_cast<FwEnumStoreType>(CONTROLIN_ENABLESECTION)
1328 static_cast<FwAssertArgType>(_status)
1332 _status = msg.serializeFrom(portNum);
1335 static_cast<FwAssertArgType>(_status)
1339 _status = msg.serializeFrom(section);
1342 static_cast<FwAssertArgType>(_status)
1346 _status = msg.serializeFrom(enabled);
1349 static_cast<FwAssertArgType>(_status)
1358 static_cast<FwAssertArgType>(qStatus)
1371 static_cast<FwAssertArgType>(portNum)
1379 ComponentIpcSerializableBuffer msg;
1383 _status = msg.serializeFrom(
1384 static_cast<FwEnumStoreType>(PINGIN_PING)
1388 static_cast<FwAssertArgType>(_status)
1392 _status = msg.serializeFrom(portNum);
1395 static_cast<FwAssertArgType>(_status)
1399 _status = msg.serializeFrom(key);
1402 static_cast<FwAssertArgType>(_status)
1411 static_cast<FwAssertArgType>(qStatus)
1477 static_cast<FwAssertArgType>(portNum)
1481 this->m_PktSend_OutputPort[portNum].isConnected(),
1482 static_cast<FwAssertArgType>(portNum)
1484 this->m_PktSend_OutputPort[portNum].
invoke(
1498 static_cast<FwAssertArgType>(portNum)
1502 this->m_pingOut_OutputPort[portNum].isConnected(),
1503 static_cast<FwAssertArgType>(portNum)
1505 this->m_pingOut_OutputPort[portNum].
invoke(
1521 FW_ASSERT(this->m_cmdResponseOut_OutputPort[0].isConnected());
1522 this->m_cmdResponseOut_OutputPort[0].
invoke(opCode, cmdSeq, response);
1543 ComponentIpcSerializableBuffer msg;
1547 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SET_LEVEL));
1550 static_cast<FwAssertArgType>(_status)
1556 _status = msg.serializeFrom(port);
1559 static_cast<FwAssertArgType>(_status)
1562 _status = msg.serializeFrom(opCode);
1565 static_cast<FwAssertArgType>(_status)
1568 _status = msg.serializeFrom(cmdSeq);
1571 static_cast<FwAssertArgType>(_status)
1574 _status = msg.serializeFrom(args);
1577 static_cast<FwAssertArgType>(_status)
1586 static_cast<FwAssertArgType>(qStatus)
1602 ComponentIpcSerializableBuffer msg;
1606 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SEND_PKT));
1609 static_cast<FwAssertArgType>(_status)
1615 _status = msg.serializeFrom(port);
1618 static_cast<FwAssertArgType>(_status)
1621 _status = msg.serializeFrom(opCode);
1624 static_cast<FwAssertArgType>(_status)
1627 _status = msg.serializeFrom(cmdSeq);
1630 static_cast<FwAssertArgType>(_status)
1633 _status = msg.serializeFrom(args);
1636 static_cast<FwAssertArgType>(_status)
1645 static_cast<FwAssertArgType>(qStatus)
1661 ComponentIpcSerializableBuffer msg;
1665 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_ENABLE_SECTION));
1668 static_cast<FwAssertArgType>(_status)
1674 _status = msg.serializeFrom(port);
1677 static_cast<FwAssertArgType>(_status)
1680 _status = msg.serializeFrom(opCode);
1683 static_cast<FwAssertArgType>(_status)
1686 _status = msg.serializeFrom(cmdSeq);
1689 static_cast<FwAssertArgType>(_status)
1692 _status = msg.serializeFrom(args);
1695 static_cast<FwAssertArgType>(_status)
1704 static_cast<FwAssertArgType>(qStatus)
1720 ComponentIpcSerializableBuffer msg;
1724 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_ENABLE_GROUP));
1727 static_cast<FwAssertArgType>(_status)
1733 _status = msg.serializeFrom(port);
1736 static_cast<FwAssertArgType>(_status)
1739 _status = msg.serializeFrom(opCode);
1742 static_cast<FwAssertArgType>(_status)
1745 _status = msg.serializeFrom(cmdSeq);
1748 static_cast<FwAssertArgType>(_status)
1751 _status = msg.serializeFrom(args);
1754 static_cast<FwAssertArgType>(_status)
1763 static_cast<FwAssertArgType>(qStatus)
1779 ComponentIpcSerializableBuffer msg;
1783 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_FORCE_GROUP));
1786 static_cast<FwAssertArgType>(_status)
1792 _status = msg.serializeFrom(port);
1795 static_cast<FwAssertArgType>(_status)
1798 _status = msg.serializeFrom(opCode);
1801 static_cast<FwAssertArgType>(_status)
1804 _status = msg.serializeFrom(cmdSeq);
1807 static_cast<FwAssertArgType>(_status)
1810 _status = msg.serializeFrom(args);
1813 static_cast<FwAssertArgType>(_status)
1822 static_cast<FwAssertArgType>(qStatus)
1838 ComponentIpcSerializableBuffer msg;
1842 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CONFIGURE_GROUP_RATES));
1845 static_cast<FwAssertArgType>(_status)
1851 _status = msg.serializeFrom(port);
1854 static_cast<FwAssertArgType>(_status)
1857 _status = msg.serializeFrom(opCode);
1860 static_cast<FwAssertArgType>(_status)
1863 _status = msg.serializeFrom(cmdSeq);
1866 static_cast<FwAssertArgType>(_status)
1869 _status = msg.serializeFrom(args);
1872 static_cast<FwAssertArgType>(_status)
1881 static_cast<FwAssertArgType>(qStatus)
1968 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
1969 this->m_timeGetOut_OutputPort[0].
invoke(_logTime);
1977 if (this->m_eventOut_OutputPort[0].isConnected()) {
1981 #if FW_AMPCS_COMPATIBLE 1986 static_cast<FwAssertArgType>(_status)
1990 #if FW_AMPCS_COMPATIBLE 1997 static_cast<FwAssertArgType>(_status)
2003 static_cast<FwAssertArgType>(_status)
2006 this->m_eventOut_OutputPort[0].
invoke(
2015 #if FW_ENABLE_TEXT_LOGGING 2016 if (this->m_textEventOut_OutputPort[0].isConnected()) {
2017 #if FW_OBJECT_NAMES == 1 2018 const char* _formatString =
2019 "(%s) %s: Telemetry ID 0x%" PRIx32
" not packetized";
2021 const char* _formatString =
2022 "%s: Telemetry ID 0x%" PRIx32
" not packetized";
2029 this->m_objName.toChar(),
2035 this->m_textEventOut_OutputPort[0].invoke(
2050 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
2051 this->m_timeGetOut_OutputPort[0].
invoke(_logTime);
2059 if (this->m_eventOut_OutputPort[0].isConnected()) {
2063 #if FW_AMPCS_COMPATIBLE 2068 static_cast<FwAssertArgType>(_status)
2072 #if FW_AMPCS_COMPATIBLE 2079 static_cast<FwAssertArgType>(_status)
2085 static_cast<FwAssertArgType>(_status)
2088 this->m_eventOut_OutputPort[0].
invoke(
2097 #if FW_ENABLE_TEXT_LOGGING 2098 if (this->m_textEventOut_OutputPort[0].isConnected()) {
2099 #if FW_OBJECT_NAMES == 1 2100 const char* _formatString =
2101 "(%s) %s: Telemetry send level to %" PRIu32
"";
2103 const char* _formatString =
2104 "%s: Telemetry send level to %" PRIu32
"";
2111 this->m_objName.toChar(),
2117 this->m_textEventOut_OutputPort[0].invoke(
2135 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
2136 this->m_timeGetOut_OutputPort[0].
invoke(_logTime);
2144 if (this->m_eventOut_OutputPort[0].isConnected()) {
2148 #if FW_AMPCS_COMPATIBLE 2153 static_cast<FwAssertArgType>(_status)
2157 #if FW_AMPCS_COMPATIBLE 2164 static_cast<FwAssertArgType>(_status)
2170 static_cast<FwAssertArgType>(_status)
2173 #if FW_AMPCS_COMPATIBLE 2180 static_cast<FwAssertArgType>(_status)
2186 static_cast<FwAssertArgType>(_status)
2189 this->m_eventOut_OutputPort[0].
invoke(
2198 #if FW_ENABLE_TEXT_LOGGING 2199 if (this->m_textEventOut_OutputPort[0].isConnected()) {
2200 #if FW_OBJECT_NAMES == 1 2201 const char* _formatString =
2202 "(%s) %s: Requested send level %" PRIu32
" higher than max packet level of %" PRIu32
"";
2204 const char* _formatString =
2205 "%s: Requested send level %" PRIu32
" higher than max packet level of %" PRIu32
"";
2212 this->m_objName.toChar(),
2219 this->m_textEventOut_OutputPort[0].invoke(
2234 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
2235 this->m_timeGetOut_OutputPort[0].
invoke(_logTime);
2243 if (this->m_eventOut_OutputPort[0].isConnected()) {
2247 #if FW_AMPCS_COMPATIBLE 2252 static_cast<FwAssertArgType>(_status)
2256 #if FW_AMPCS_COMPATIBLE 2259 static_cast<U8>(
sizeof(U32))
2263 static_cast<FwAssertArgType>(_status)
2269 static_cast<FwAssertArgType>(_status)
2272 this->m_eventOut_OutputPort[0].
invoke(
2281 #if FW_ENABLE_TEXT_LOGGING 2282 if (this->m_textEventOut_OutputPort[0].isConnected()) {
2283 #if FW_OBJECT_NAMES == 1 2284 const char* _formatString =
2285 "(%s) %s: Sent packet ID %" PRIu32
"";
2287 const char* _formatString =
2288 "%s: Sent packet ID %" PRIu32
"";
2295 this->m_objName.toChar(),
2301 this->m_textEventOut_OutputPort[0].invoke(
2316 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
2317 this->m_timeGetOut_OutputPort[0].
invoke(_logTime);
2325 if (this->m_eventOut_OutputPort[0].isConnected()) {
2329 #if FW_AMPCS_COMPATIBLE 2334 static_cast<FwAssertArgType>(_status)
2338 #if FW_AMPCS_COMPATIBLE 2341 static_cast<U8>(
sizeof(U32))
2345 static_cast<FwAssertArgType>(_status)
2351 static_cast<FwAssertArgType>(_status)
2354 this->m_eventOut_OutputPort[0].
invoke(
2363 #if FW_ENABLE_TEXT_LOGGING 2364 if (this->m_textEventOut_OutputPort[0].isConnected()) {
2365 #if FW_OBJECT_NAMES == 1 2366 const char* _formatString =
2367 "(%s) %s: Could not find packet ID %" PRIu32
"";
2369 const char* _formatString =
2370 "%s: Could not find packet ID %" PRIu32
"";
2377 this->m_objName.toChar(),
2383 this->m_textEventOut_OutputPort[0].invoke(
2401 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
2402 this->m_timeGetOut_OutputPort[0].
invoke(_logTime);
2410 if (this->m_eventOut_OutputPort[0].isConnected()) {
2414 #if FW_AMPCS_COMPATIBLE 2419 static_cast<FwAssertArgType>(_status)
2423 #if FW_AMPCS_COMPATIBLE 2430 static_cast<FwAssertArgType>(_status)
2436 static_cast<FwAssertArgType>(_status)
2439 #if FW_AMPCS_COMPATIBLE 2446 static_cast<FwAssertArgType>(_status)
2452 static_cast<FwAssertArgType>(_status)
2455 this->m_eventOut_OutputPort[0].
invoke(
2464 #if FW_ENABLE_TEXT_LOGGING 2465 if (this->m_textEventOut_OutputPort[0].isConnected()) {
2466 #if FW_OBJECT_NAMES == 1 2467 const char* _formatString =
2468 "(%s) %s: Section %s is unconfigurable and cannot be set to %s";
2470 const char* _formatString =
2471 "%s: Section %s is unconfigurable and cannot be set to %s";
2475 section.toString(sectionStr);
2477 enable.toString(enableStr);
2483 this->m_objName.toChar(),
2485 "SectionUnconfigurable ",
2490 this->m_textEventOut_OutputPort[0].invoke(
2510 if (this->m_tlmOut_OutputPort[0].isConnected()) {
2512 this->m_timeGetOut_OutputPort[0].isConnected() &&
2515 this->m_timeGetOut_OutputPort[0].
invoke(_tlmTime);
2522 static_cast<FwAssertArgType>(_stat)
2529 this->m_tlmOut_OutputPort[0].
invoke(
2543 if (this->m_tlmOut_OutputPort[0].isConnected()) {
2545 this->m_timeGetOut_OutputPort[0].isConnected() &&
2548 this->m_timeGetOut_OutputPort[0].
invoke(_tlmTime);
2555 static_cast<FwAssertArgType>(_stat)
2562 this->m_tlmOut_OutputPort[0].
invoke(
2600 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
2623 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
2643 FW_ASSERT(paramExternalDelegatePtr !=
nullptr);
2644 this->paramDelegatePtr = paramExternalDelegatePtr;
2654 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
2656 this->m_timeGetOut_OutputPort[0].
invoke(_time);
2671 ComponentIpcSerializableBuffer _msg;
2681 static_cast<FwAssertArgType>(_msgStatus)
2691 static_cast<FwAssertArgType>(_deserStatus)
2694 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
2696 if (_msgType == TLMPACKETIZER_COMPONENT_EXIT) {
2701 _deserStatus = _msg.deserializeTo(portNum);
2704 static_cast<FwAssertArgType>(_deserStatus)
2712 _deserStatus = _msg.deserializeTo(context);
2715 static_cast<FwAssertArgType>(_deserStatus)
2727 case CONFIGURESECTIONGROUPRATE_CONFIGUREGROUPRATE: {
2730 _deserStatus = _msg.deserializeTo(section);
2733 static_cast<FwAssertArgType>(_deserStatus)
2738 _deserStatus = _msg.deserializeTo(tlmGroup);
2741 static_cast<FwAssertArgType>(_deserStatus)
2746 _deserStatus = _msg.deserializeTo(rateLogic);
2749 static_cast<FwAssertArgType>(_deserStatus)
2754 _deserStatus = _msg.deserializeTo(minDelta);
2757 static_cast<FwAssertArgType>(_deserStatus)
2762 _deserStatus = _msg.deserializeTo(maxDelta);
2765 static_cast<FwAssertArgType>(_deserStatus)
2781 case CONTROLIN_ENABLESECTION: {
2784 _deserStatus = _msg.deserializeTo(section);
2787 static_cast<FwAssertArgType>(_deserStatus)
2792 _deserStatus = _msg.deserializeTo(enabled);
2795 static_cast<FwAssertArgType>(_deserStatus)
2811 _deserStatus = _msg.deserializeTo(key);
2814 static_cast<FwAssertArgType>(_deserStatus)
2826 case CMD_SET_LEVEL: {
2829 _deserStatus = _msg.deserializeTo(_opCode);
2832 static_cast<FwAssertArgType>(_deserStatus)
2837 _deserStatus = _msg.deserializeTo(_cmdSeq);
2840 static_cast<FwAssertArgType>(_deserStatus)
2845 _deserStatus = _msg.deserializeTo(args);
2848 static_cast<FwAssertArgType>(_deserStatus)
2858 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
2871 #if FW_CMD_CHECK_RESIDUAL 2873 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
2891 case CMD_SEND_PKT: {
2894 _deserStatus = _msg.deserializeTo(_opCode);
2897 static_cast<FwAssertArgType>(_deserStatus)
2902 _deserStatus = _msg.deserializeTo(_cmdSeq);
2905 static_cast<FwAssertArgType>(_deserStatus)
2910 _deserStatus = _msg.deserializeTo(args);
2913 static_cast<FwAssertArgType>(_deserStatus)
2923 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
2938 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
2951 #if FW_CMD_CHECK_RESIDUAL 2953 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
2972 case CMD_ENABLE_SECTION: {
2975 _deserStatus = _msg.deserializeTo(_opCode);
2978 static_cast<FwAssertArgType>(_deserStatus)
2983 _deserStatus = _msg.deserializeTo(_cmdSeq);
2986 static_cast<FwAssertArgType>(_deserStatus)
2991 _deserStatus = _msg.deserializeTo(args);
2994 static_cast<FwAssertArgType>(_deserStatus)
3004 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
3019 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
3032 #if FW_CMD_CHECK_RESIDUAL 3034 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
3053 case CMD_ENABLE_GROUP: {
3056 _deserStatus = _msg.deserializeTo(_opCode);
3059 static_cast<FwAssertArgType>(_deserStatus)
3064 _deserStatus = _msg.deserializeTo(_cmdSeq);
3067 static_cast<FwAssertArgType>(_deserStatus)
3072 _deserStatus = _msg.deserializeTo(args);
3075 static_cast<FwAssertArgType>(_deserStatus)
3085 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
3100 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
3115 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
3128 #if FW_CMD_CHECK_RESIDUAL 3130 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
3150 case CMD_FORCE_GROUP: {
3153 _deserStatus = _msg.deserializeTo(_opCode);
3156 static_cast<FwAssertArgType>(_deserStatus)
3161 _deserStatus = _msg.deserializeTo(_cmdSeq);
3164 static_cast<FwAssertArgType>(_deserStatus)
3169 _deserStatus = _msg.deserializeTo(args);
3172 static_cast<FwAssertArgType>(_deserStatus)
3182 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
3197 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
3212 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
3225 #if FW_CMD_CHECK_RESIDUAL 3227 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
3247 case CMD_CONFIGURE_GROUP_RATES: {
3250 _deserStatus = _msg.deserializeTo(_opCode);
3253 static_cast<FwAssertArgType>(_deserStatus)
3258 _deserStatus = _msg.deserializeTo(_cmdSeq);
3261 static_cast<FwAssertArgType>(_deserStatus)
3266 _deserStatus = _msg.deserializeTo(args);
3269 static_cast<FwAssertArgType>(_deserStatus)
3279 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
3294 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
3309 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
3324 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
3339 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
3352 #if FW_CMD_CHECK_RESIDUAL 3354 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
3386 void TlmPacketizerComponentBase ::
3398 const U32 idBase = callComp->
getIdBase();
3399 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
3402 switch (opCode - idBase) {
3404 compPtr->SET_LEVEL_cmdHandlerBase(
3413 compPtr->SEND_PKT_cmdHandlerBase(
3422 compPtr->ENABLE_SECTION_cmdHandlerBase(
3431 compPtr->ENABLE_GROUP_cmdHandlerBase(
3440 compPtr->FORCE_GROUP_cmdHandlerBase(
3449 compPtr->CONFIGURE_GROUP_RATES_cmdHandlerBase(
3459 compPtr->cmdResponse_out(
3469 compPtr->cmdResponse_out(
3479 compPtr->cmdResponse_out(
3489 compPtr->cmdResponse_out(
3503 void TlmPacketizerComponentBase ::
3512 compPtr->Run_handlerBase(
3529 return compPtr->TlmGet_handlerBase(
3537 void TlmPacketizerComponentBase ::
3548 compPtr->TlmRecv_handlerBase(
3556 void TlmPacketizerComponentBase ::
3557 m_p_configureSectionGroupRate_in(
3569 compPtr->configureSectionGroupRate_handlerBase(
3579 void TlmPacketizerComponentBase ::
3589 compPtr->controlIn_handlerBase(
3596 void TlmPacketizerComponentBase ::
3605 compPtr->pingIn_handlerBase(
3621 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
3644 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
3666 paramSave_SECTION_ENABLED()
3671 if (this->m_paramSetOut_OutputPort[0].isConnected()) {
3676 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
3677 _stat = this->paramDelegatePtr->
serializeParam(_baseId, _id, _saveBuff);
3685 this->m_paramSetOut_OutputPort[0].
invoke(
3697 paramSave_SECTION_CONFIGS()
3702 if (this->m_paramSetOut_OutputPort[0].isConnected()) {
3707 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
3708 _stat = this->paramDelegatePtr->
serializeParam(_baseId, _id, _saveBuff);
3716 this->m_paramSetOut_OutputPort[0].
invoke(
Serialization/Deserialization operation was successful.
void SEND_PKT_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void addCallPort(InputTimePort *callPort)
Register an input port.
Svc::InputEnableSectionPort * get_controlIn_InputPort(FwIndexType portNum)
void invoke(Fw::ComBuffer &data, U32 context) const
Invoke a port interface.
void init()
Initialization function.
void set_PktSend_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to PktSend[portNum].
Set Min and Max Deltas between successive packets.
Force telemetering a group on a section, even if disabled.
FwIdType FwOpcodeType
The type of a command opcode.
SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG) override
Serialize an 8-bit unsigned integer value.
void pingIn_handlerBase(FwIndexType portNum, U32 key)
Handler base-class function for input port pingIn.
FwIdType getIdBase() const
PlatformSizeType FwSizeType
void tlmWrite_GroupConfigs(const Svc::TlmPacketizer_SectionConfigs &arg, Fw::Time _tlmTime=Fw::Time()) const
void FORCE_GROUP_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Status receive(U8 *destination, FwSizeType capacity, BlockingType blockType, FwSizeType &actualSize, FwQueuePriorityType &priority) override
receive a message from the queue through delegate
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts()
Parameter to control section enable flags.
Svc::InputConfigureGroupRatePort * get_configureSectionGroupRate_InputPort(FwIndexType portNum)
virtual void TlmRecv_handler(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)=0
Handler for input port TlmRecv.
void Run_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port Run.
Status
status returned from the queue send function
Telemetry send level set.
static constexpr FwIndexType getNum_PktSend_OutputPorts()
const char * toChar() const
Convert to a C-style char*.
virtual SerializeStatus deserializeParam(const FwPrmIdType base_id, const FwPrmIdType local_id, const ParamValid prmStat, SerialBufferBase &buff)=0
FwIdType FwPrmIdType
The type of a parameter identifier.
void log_WARNING_LO_NoChan(FwChanIdType Id) const
static constexpr FwIndexType getNum_pingIn_InputPorts()
void addCallPort(InputPrmSetPort *callPort)
Register an input port.
virtual void configureSectionGroupRate_handler(FwIndexType portNum, const Svc::TelemetrySection §ion, FwChanIdType tlmGroup, const Svc::RateLogic &rateLogic, U32 minDelta, U32 maxDelta)=0
Handler for input port configureSectionGroupRate.
virtual void FORCE_GROUP_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, Svc::TelemetrySection section, FwChanIdType tlmGroup, Fw::Enabled enable)=0
virtual SerializeStatus serializeParam(const FwPrmIdType base_id, const FwPrmIdType local_id, SerialBufferBase &buff) const =0
void invoke(U32 key) const
Invoke a port interface.
void TlmRecv_handlerBase(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)
Handler base-class function for input port TlmRecv.
void controlIn_handlerBase(FwIndexType portNum, const Svc::TelemetrySection §ion, const Fw::Enabled &enabled)
Handler base-class function for input port controlIn.
Set telemetry send level.
void PktSend_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Invoke output port PktSend.
virtual void controlIn_handler(FwIndexType portNum, const Svc::TelemetrySection §ion, const Fw::Enabled &enabled)=0
Handler for input port controlIn.
bool isConnected_tlmOut_OutputPort(FwIndexType portNum)
virtual void SEND_PKT_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U32 id, Svc::TelemetrySection section)=0
Parameter to control section configuration.
void init()
Initialization function.
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
Enum representing a command response.
No time base has been established (Required)
void addCallPort(InputCmdRegPort *callPort)
Register an input port.
virtual void pingIn_preMsgHook(FwIndexType portNum, U32 key)
Pre-message hook for async input port pingIn.
virtual void SET_LEVEL_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, FwChanIdType level)=0
void init()
Initialization function.
Os::Queue m_queue
queue object for active component
void loadParameters()
Load the parameters from a parameter source.
void set_paramSetOut_OutputPort(FwIndexType portNum, Fw::InputPrmSetPort *port)
Connect port to paramSetOut[portNum].
void addCallPort(InputTlmPort *callPort)
Register an input port.
virtual ~TlmPacketizerComponentBase()
Destroy TlmPacketizerComponentBase object.
void addCallPort(InputPrmGetPort *callPort)
Register an input port.
Couldn't find the packet to send.
void tlmWrite_SectionEnabled(const Svc::TlmPacketizer_SectionEnabled &arg, Fw::Time _tlmTime=Fw::Time()) const
Write telemetry channel SectionEnabled.
void set_pingOut_OutputPort(FwIndexType portNum, Svc::InputPingPort *port)
Connect port to pingOut[portNum].
void init()
Object initializer.
virtual void CONFIGURE_GROUP_RATES_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, Svc::TelemetrySection section, FwChanIdType tlmGroup, Svc::RateLogic rateLogic, U32 minDelta, U32 maxDelta)=0
SerializeStatus
forward declaration for string
void registerExternalParameters(Fw::ParamExternalDelegate *paramExternalDelegatePtr)
Initialize the external parameter delegate.
Message will block until space is available.
virtual void configureSectionGroupRate_preMsgHook(FwIndexType portNum, const Svc::TelemetrySection §ion, FwChanIdType tlmGroup, const Svc::RateLogic &rateLogic, U32 minDelta, U32 maxDelta)
Pre-message hook for async input port configureSectionGroupRate.
FwIdType FwEventIdType
The type of an event identifier.
virtual void FORCE_GROUP_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command FORCE_GROUP.
Channel ID for SectionEnabled.
void invoke(FwOpcodeType opCode) const
Invoke a port interface.
Enable / disable telemetry of a group on a section.
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects) ...
The size of the serial representation.
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
Enable / disable telemetry of a group on a section.
void init()
Initialization function.
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts()
Fw::InputTlmGetPort * get_TlmGet_InputPort(FwIndexType portNum)
virtual void CONFIGURE_GROUP_RATES_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CONFIGURE_GROUP_RATES.
Less important informational events.
Os::Queue::Status createQueue(FwSizeType depth, FwSizeType msgSize)
virtual void Run_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port Run.
bool isConnected_paramSetOut_OutputPort(FwIndexType portNum)
Enumeration for rate logic types for telemetry groups.
A less serious but recoverable event.
Fw::ParamValid invoke(FwPrmIdType id, Fw::ParamBuffer &val) const
Invoke a port interface.
void init()
Initialization function.
static constexpr FwIndexType getNum_timeGetOut_OutputPorts()
void invoke(Fw::Time &time) const
Invoke a port interface.
static constexpr FwIndexType getNum_paramGetOut_OutputPorts()
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.
virtual void ENABLE_GROUP_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, Svc::TelemetrySection section, FwChanIdType tlmGroup, Fw::Enabled enable)=0
FwIdType FwChanIdType
The type of a telemetry channel identifier.
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
void log_WARNING_LO_PacketNotFound(U32 id) const
void resetDeser() override
Reset deserialization pointer to beginning of buffer.
virtual void pingIn_handler(FwIndexType portNum, U32 key)=0
Handler for input port pingIn.
virtual void ENABLE_GROUP_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command ENABLE_GROUP.
Channel ID for GroupConfigs.
Errors dispatching messages.
void invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke a port interface.
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum)
void set_eventOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to eventOut[portNum].
static constexpr FwIndexType getNum_tlmOut_OutputPorts()
virtual void ENABLE_SECTION_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, Svc::TelemetrySection section, Fw::Enabled enable)=0
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
Enabled and disabled states.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
Fw::TlmValid TlmGet_handlerBase(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)
Handler base-class function for input port TlmGet.
void init()
Initialization function.
Command successfully executed.
virtual void Run_handler(FwIndexType portNum, U32 context)=0
Handler for input port Run.
Opcode to set parameter SECTION_ENABLED.
uint8_t U8
8-bit unsigned integer
static constexpr FwIndexType getNum_eventOut_OutputPorts()
void ENABLE_GROUP_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Command failed to deserialize.
PlatformQueuePriorityType FwQueuePriorityType
The type of queue priorities used.
Command had execution error.
Important informational events.
Svc::TlmPacketizer_SectionEnabled paramGet_SECTION_ENABLED(Fw::ParamValid &valid)
void invoke(FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args) const
Invoke a port interface.
void log_WARNING_LO_SectionUnconfigurable(Svc::TelemetrySection section, Fw::Enabled enable) const
Log event SectionUnconfigurable.
static constexpr FwIndexType getNum_paramSetOut_OutputPorts()
void log_WARNING_LO_MaxLevelExceed(FwChanIdType level, FwChanIdType max) const
virtual void controlIn_preMsgHook(FwIndexType portNum, const Svc::TelemetrySection §ion, const Fw::Enabled &enabled)
Pre-message hook for async input port controlIn.
Telemetry send level set.
A message was sent requesting an exit of the loop.
PlatformIndexType FwIndexType
TlmPacketizerComponentBase(const char *compName="")
Construct TlmPacketizerComponentBase object.
static constexpr FwIndexType getNum_configureSectionGroupRate_InputPorts()
virtual void parametersLoaded()
Called whenever parameters are loaded.
void log_ACTIVITY_HI_LevelSet(FwChanIdType id) const
void set_timeGetOut_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeGetOut[portNum].
void addCallPort(InputLogPort *callPort)
Register an input port.
void ENABLE_SECTION_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void init()
Initialization function.
virtual void SEND_PKT_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command SEND_PKT.
Opcode to save parameter SECTION_CONFIGS.
Command failed validation.
void configureSectionGroupRate_handlerBase(FwIndexType portNum, const Svc::TelemetrySection §ion, FwChanIdType tlmGroup, const Svc::RateLogic &rateLogic, U32 minDelta, U32 maxDelta)
Handler base-class function for input port configureSectionGroupRate.
RateGroupDivider component implementation.
virtual void parameterUpdated(FwPrmIdType id)
Called whenever a parameter is updated.
message sent/received okay
SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG) override
Deserialize an 8-bit unsigned integer value.
Enum representing parameter validity.
bool isConnected_PktSend_OutputPort(FwIndexType portNum)
Svc::InputSchedPort * get_Run_InputPort(FwIndexType portNum)
bool isConnected_pingOut_OutputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_TlmGet_InputPorts()
void invoke(FwPrmIdType id, Fw::ParamBuffer &val) const
Invoke a port interface.
void addCallPort(InputComPort *callPort)
Register an input port.
Fw::InputTlmPort * get_TlmRecv_InputPort(FwIndexType portNum)
Telemetry channel is not part of a telemetry packet.
Svc::TlmPacketizer_SectionConfigs paramGet_SECTION_CONFIGS(Fw::ParamValid &valid)
static constexpr FwIndexType getNum_controlIn_InputPorts()
virtual void ENABLE_SECTION_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command ENABLE_SECTION.
The size of the serial representation.
bool isConnected_timeGetOut_OutputPort(FwIndexType portNum)
void regCommands()
Register commands with the Command Dispatcher.
bool isConnected_eventOut_OutputPort(FwIndexType portNum)
Message will return with status when space is unavailable.
Implementation of malloc based allocator.
Opcode to set parameter SECTION_CONFIGS.
void init()
Initialization function.
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum)
void init()
Initialization function.
Opcode to save parameter SECTION_ENABLED.
bool isConnected_paramGetOut_OutputPort(FwIndexType portNum)
void CONFIGURE_GROUP_RATES_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void log_ACTIVITY_LO_PacketSent(U32 id) const
void SET_LEVEL_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
message to exit active component task
Force a packet to be sent.
virtual void SET_LEVEL_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command SET_LEVEL.
static constexpr FwIndexType getNum_pingOut_OutputPorts()
void set_paramGetOut_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to paramGetOut[portNum].
static constexpr FwIndexType getNum_Run_InputPorts()
void set_cmdResponseOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdResponseOut[portNum].
void pingOut_out(FwIndexType portNum, U32 key)
Invoke output port pingOut.
void addCallPort(InputCmdResponsePort *callPort)
Register an input port.
virtual Fw::TlmValid TlmGet_handler(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)=0
Handler for input port TlmGet.
static constexpr FwIndexType getNum_TlmRecv_InputPorts()
void set_cmdRegOut_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to cmdRegOut[portNum].
static constexpr FwIndexType getNum_cmdIn_InputPorts()