10 #if FW_ENABLE_TEXT_LOGGING 21 CONFIGURESECTIONGROUPRATE_CONFIGUREGROUPRATE,
22 CONTROLIN_ENABLESECTION,
23 PACKETOVERRIDEIN_BUFFERSEND,
28 CMD_CONFIGURE_GROUP_SEND,
29 CMD_CONFIGURE_GROUP_RATES,
30 CMD_GET_PACKET_CONFIG,
31 CMD_OVERRIDE_PACKET_SEND,
32 CMD_OVERRIDE_PACKET_RATES,
33 CMD_CLEAR_PACKET_OVERRIDE,
49 class ComponentIpcSerializableBuffer :
59 MAX_DATA_SIZE =
sizeof(BuffUnion),
61 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
64 ComponentIpcSerializableBuffer() :
Fw::LinearBufferBase(m_buff, sizeof(m_buff)) {
70 U8 m_buff[SERIALIZATION_SIZE];
88 #if !FW_DIRECT_PORT_CALLS 95 this->m_cmdIn_InputPort[port].
init();
100 this->m_cmdIn_InputPort[port].
setPortNum(port);
102 #if FW_OBJECT_NAMES == 1 106 this->m_objName.toChar(),
109 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
114 #if !FW_DIRECT_PORT_CALLS 121 this->m_Run_InputPort[port].
init();
128 #if FW_OBJECT_NAMES == 1 132 this->m_objName.toChar(),
135 this->m_Run_InputPort[port].setObjName(portName.
toChar());
140 #if !FW_DIRECT_PORT_CALLS 147 this->m_TlmGet_InputPort[port].
init();
152 this->m_TlmGet_InputPort[port].
setPortNum(port);
154 #if FW_OBJECT_NAMES == 1 158 this->m_objName.toChar(),
161 this->m_TlmGet_InputPort[port].setObjName(portName.
toChar());
166 #if !FW_DIRECT_PORT_CALLS 173 this->m_TlmRecv_InputPort[port].
init();
178 this->m_TlmRecv_InputPort[port].
setPortNum(port);
180 #if FW_OBJECT_NAMES == 1 184 this->m_objName.toChar(),
187 this->m_TlmRecv_InputPort[port].setObjName(portName.
toChar());
192 #if !FW_DIRECT_PORT_CALLS 199 this->m_configureSectionGroupRate_InputPort[port].
init();
200 this->m_configureSectionGroupRate_InputPort[port].
addCallComp(
202 m_p_configureSectionGroupRate_in
204 this->m_configureSectionGroupRate_InputPort[port].
setPortNum(port);
206 #if FW_OBJECT_NAMES == 1 210 this->m_objName.toChar(),
213 this->m_configureSectionGroupRate_InputPort[port].setObjName(portName.
toChar());
218 #if !FW_DIRECT_PORT_CALLS 225 this->m_controlIn_InputPort[port].
init();
230 this->m_controlIn_InputPort[port].
setPortNum(port);
232 #if FW_OBJECT_NAMES == 1 236 this->m_objName.toChar(),
239 this->m_controlIn_InputPort[port].setObjName(portName.
toChar());
244 #if !FW_DIRECT_PORT_CALLS 251 this->m_packetOverrideIn_InputPort[port].
init();
252 this->m_packetOverrideIn_InputPort[port].
addCallComp(
254 m_p_packetOverrideIn_in
256 this->m_packetOverrideIn_InputPort[port].
setPortNum(port);
258 #if FW_OBJECT_NAMES == 1 262 this->m_objName.toChar(),
265 this->m_packetOverrideIn_InputPort[port].setObjName(portName.
toChar());
270 #if !FW_DIRECT_PORT_CALLS 277 this->m_packetOverrideReturnIn_InputPort[port].
init();
278 this->m_packetOverrideReturnIn_InputPort[port].
addCallComp(
280 m_p_packetOverrideReturnIn_in
282 this->m_packetOverrideReturnIn_InputPort[port].
setPortNum(port);
284 #if FW_OBJECT_NAMES == 1 288 this->m_objName.toChar(),
291 this->m_packetOverrideReturnIn_InputPort[port].setObjName(portName.
toChar());
296 #if !FW_DIRECT_PORT_CALLS 303 this->m_pingIn_InputPort[port].
init();
308 this->m_pingIn_InputPort[port].
setPortNum(port);
310 #if FW_OBJECT_NAMES == 1 314 this->m_objName.toChar(),
317 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
322 #if !FW_DIRECT_PORT_CALLS 329 this->m_cmdRegOut_OutputPort[port].
init();
331 #if FW_OBJECT_NAMES == 1 335 this->m_objName.toChar(),
338 this->m_cmdRegOut_OutputPort[port].setObjName(portName.
toChar());
343 #if !FW_DIRECT_PORT_CALLS 350 this->m_cmdResponseOut_OutputPort[port].
init();
352 #if FW_OBJECT_NAMES == 1 356 this->m_objName.toChar(),
359 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
364 #if !FW_DIRECT_PORT_CALLS 371 this->m_eventOut_OutputPort[port].
init();
373 #if FW_OBJECT_NAMES == 1 377 this->m_objName.toChar(),
380 this->m_eventOut_OutputPort[port].setObjName(portName.
toChar());
385 #if !FW_DIRECT_PORT_CALLS 392 this->m_paramGetOut_OutputPort[port].
init();
394 #if FW_OBJECT_NAMES == 1 398 this->m_objName.toChar(),
401 this->m_paramGetOut_OutputPort[port].setObjName(portName.
toChar());
406 #if !FW_DIRECT_PORT_CALLS 413 this->m_paramSetOut_OutputPort[port].
init();
415 #if FW_OBJECT_NAMES == 1 419 this->m_objName.toChar(),
422 this->m_paramSetOut_OutputPort[port].setObjName(portName.
toChar());
427 #if !FW_DIRECT_PORT_CALLS && FW_ENABLE_TEXT_LOGGING 431 port < static_cast<FwIndexType>(this->getNum_textEventOut_OutputPorts());
434 this->m_textEventOut_OutputPort[port].
init();
436 #if FW_OBJECT_NAMES == 1 440 this->m_objName.toChar(),
443 this->m_textEventOut_OutputPort[port].setObjName(portName.
toChar());
448 #if !FW_DIRECT_PORT_CALLS 455 this->m_timeGetOut_OutputPort[port].
init();
457 #if FW_OBJECT_NAMES == 1 461 this->m_objName.toChar(),
464 this->m_timeGetOut_OutputPort[port].setObjName(portName.
toChar());
469 #if !FW_DIRECT_PORT_CALLS 476 this->m_tlmOut_OutputPort[port].
init();
478 #if FW_OBJECT_NAMES == 1 482 this->m_objName.toChar(),
485 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
490 #if !FW_DIRECT_PORT_CALLS 497 this->m_PktSend_OutputPort[port].
init();
499 #if FW_OBJECT_NAMES == 1 503 this->m_objName.toChar(),
506 this->m_PktSend_OutputPort[port].setObjName(portName.
toChar());
511 #if !FW_DIRECT_PORT_CALLS 518 this->m_allocate_OutputPort[port].
init();
520 #if FW_OBJECT_NAMES == 1 524 this->m_objName.toChar(),
527 this->m_allocate_OutputPort[port].setObjName(portName.
toChar());
532 #if !FW_DIRECT_PORT_CALLS 539 this->m_deallocate_OutputPort[port].
init();
541 #if FW_OBJECT_NAMES == 1 545 this->m_objName.toChar(),
548 this->m_deallocate_OutputPort[port].setObjName(portName.
toChar());
553 #if !FW_DIRECT_PORT_CALLS 560 this->m_packetOverrideOut_OutputPort[port].
init();
562 #if FW_OBJECT_NAMES == 1 566 this->m_objName.toChar(),
569 this->m_packetOverrideOut_OutputPort[port].setObjName(portName.
toChar());
574 #if !FW_DIRECT_PORT_CALLS 581 this->m_packetOverrideReturnOut_OutputPort[port].
init();
583 #if FW_OBJECT_NAMES == 1 587 this->m_objName.toChar(),
590 this->m_packetOverrideReturnOut_OutputPort[port].setObjName(portName.
toChar());
595 #if !FW_DIRECT_PORT_CALLS 602 this->m_pingOut_OutputPort[port].
init();
604 #if FW_OBJECT_NAMES == 1 608 this->m_objName.toChar(),
611 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
619 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
623 static_cast<FwAssertArgType>(qStat)
627 #if !FW_DIRECT_PORT_CALLS 638 static_cast<FwAssertArgType>(portNum)
641 return &this->m_cmdIn_InputPort[portNum];
646 #if !FW_DIRECT_PORT_CALLS 657 static_cast<FwAssertArgType>(portNum)
660 return &this->m_Run_InputPort[portNum];
668 static_cast<FwAssertArgType>(portNum)
671 return &this->m_TlmGet_InputPort[portNum];
679 static_cast<FwAssertArgType>(portNum)
682 return &this->m_TlmRecv_InputPort[portNum];
690 static_cast<FwAssertArgType>(portNum)
693 return &this->m_configureSectionGroupRate_InputPort[portNum];
701 static_cast<FwAssertArgType>(portNum)
704 return &this->m_controlIn_InputPort[portNum];
712 static_cast<FwAssertArgType>(portNum)
715 return &this->m_packetOverrideIn_InputPort[portNum];
723 static_cast<FwAssertArgType>(portNum)
726 return &this->m_packetOverrideReturnIn_InputPort[portNum];
734 static_cast<FwAssertArgType>(portNum)
737 return &this->m_pingIn_InputPort[portNum];
742 #if !FW_DIRECT_PORT_CALLS 756 static_cast<FwAssertArgType>(portNum)
759 this->m_cmdRegOut_OutputPort[portNum].
addCallPort(port);
770 static_cast<FwAssertArgType>(portNum)
773 this->m_cmdResponseOut_OutputPort[portNum].
addCallPort(port);
784 static_cast<FwAssertArgType>(portNum)
787 this->m_eventOut_OutputPort[portNum].
addCallPort(port);
798 static_cast<FwAssertArgType>(portNum)
801 this->m_paramGetOut_OutputPort[portNum].
addCallPort(port);
812 static_cast<FwAssertArgType>(portNum)
815 this->m_paramSetOut_OutputPort[portNum].
addCallPort(port);
818 #if FW_ENABLE_TEXT_LOGGING == 1 820 void TlmPacketizerComponentBase ::
821 set_textEventOut_OutputPort(
827 (0 <= portNum) && (portNum < this->getNum_textEventOut_OutputPorts()),
828 static_cast<FwAssertArgType>(portNum)
831 this->m_textEventOut_OutputPort[portNum].addCallPort(port);
844 static_cast<FwAssertArgType>(portNum)
847 this->m_timeGetOut_OutputPort[portNum].
addCallPort(port);
858 static_cast<FwAssertArgType>(portNum)
861 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
866 #if !FW_DIRECT_PORT_CALLS 880 static_cast<FwAssertArgType>(portNum)
883 this->m_PktSend_OutputPort[portNum].
addCallPort(port);
894 static_cast<FwAssertArgType>(portNum)
897 this->m_allocate_OutputPort[portNum].
addCallPort(port);
908 static_cast<FwAssertArgType>(portNum)
911 this->m_deallocate_OutputPort[portNum].
addCallPort(port);
922 static_cast<FwAssertArgType>(portNum)
925 this->m_packetOverrideOut_OutputPort[portNum].
addCallPort(port);
936 static_cast<FwAssertArgType>(portNum)
939 this->m_packetOverrideReturnOut_OutputPort[portNum].
addCallPort(port);
950 static_cast<FwAssertArgType>(portNum)
953 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
958 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 967 Fw::InputSerializePort* port
972 static_cast<FwAssertArgType>(portNum)
975 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
981 Fw::InputSerializePort* port
986 static_cast<FwAssertArgType>(portNum)
989 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
995 Fw::InputSerializePort* port
1000 static_cast<FwAssertArgType>(portNum)
1003 this->m_eventOut_OutputPort[portNum].registerSerialPort(port);
1009 Fw::InputSerializePort* port
1014 static_cast<FwAssertArgType>(portNum)
1017 this->m_paramSetOut_OutputPort[portNum].registerSerialPort(port);
1020 #if FW_ENABLE_TEXT_LOGGING == 1 1022 void TlmPacketizerComponentBase ::
1023 set_textEventOut_OutputPort(
1025 Fw::InputSerializePort* port
1029 (0 <= portNum) && (portNum < this->getNum_textEventOut_OutputPorts()),
1030 static_cast<FwAssertArgType>(portNum)
1033 this->m_textEventOut_OutputPort[portNum].registerSerialPort(port);
1041 Fw::InputSerializePort* port
1046 static_cast<FwAssertArgType>(portNum)
1049 this->m_timeGetOut_OutputPort[portNum].registerSerialPort(port);
1055 Fw::InputSerializePort* port
1060 static_cast<FwAssertArgType>(portNum)
1063 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
1068 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 1077 Fw::InputSerializePort* port
1082 static_cast<FwAssertArgType>(portNum)
1085 this->m_PktSend_OutputPort[portNum].registerSerialPort(port);
1091 Fw::InputSerializePort* port
1096 static_cast<FwAssertArgType>(portNum)
1099 this->m_deallocate_OutputPort[portNum].registerSerialPort(port);
1105 Fw::InputSerializePort* port
1110 static_cast<FwAssertArgType>(portNum)
1113 this->m_packetOverrideOut_OutputPort[portNum].registerSerialPort(port);
1119 Fw::InputSerializePort* port
1124 static_cast<FwAssertArgType>(portNum)
1127 this->m_packetOverrideReturnOut_OutputPort[portNum].registerSerialPort(port);
1133 Fw::InputSerializePort* port
1138 static_cast<FwAssertArgType>(portNum)
1141 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
1155 this->cmdRegOut_out(
1160 this->cmdRegOut_out(
1165 this->cmdRegOut_out(
1170 this->cmdRegOut_out(
1175 this->cmdRegOut_out(
1180 this->cmdRegOut_out(
1185 this->cmdRegOut_out(
1190 this->cmdRegOut_out(
1195 this->cmdRegOut_out(
1200 this->cmdRegOut_out(
1205 this->cmdRegOut_out(
1210 this->cmdRegOut_out(
1215 this->cmdRegOut_out(
1238 this->m_param_SECTION_ENABLED_valid = this->paramGetOut_out(
1244 this->m_paramLock.
lock();
1248 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
1252 this->m_param_SECTION_ENABLED_valid,
1267 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
1271 this->m_param_SECTION_ENABLED_valid,
1279 this->m_paramLock.
unlock();
1280 this->
parameterLoaded(PARAMID_SECTION_ENABLED, this->m_param_SECTION_ENABLED_valid);
1285 this->m_param_SECTION_CONFIGS_valid = this->paramGetOut_out(
1291 this->m_paramLock.
lock();
1295 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
1299 this->m_param_SECTION_CONFIGS_valid,
1314 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
1318 this->m_param_SECTION_CONFIGS_valid,
1326 this->m_paramLock.
unlock();
1327 this->
parameterLoaded(PARAMID_SECTION_CONFIGS, this->m_param_SECTION_CONFIGS_valid);
1339 Fw::ActiveComponentBase(compName)
1341 this->m_OversizedChannelThrottle = 0;
1342 this->m_ConfigMirrorAllocFailedThrottle = 0;
1351 #if !FW_DIRECT_PORT_CALLS 1362 static_cast<FwAssertArgType>(portNum)
1365 return this->m_cmdRegOut_OutputPort[portNum].
isConnected();
1373 static_cast<FwAssertArgType>(portNum)
1376 return this->m_cmdResponseOut_OutputPort[portNum].
isConnected();
1384 static_cast<FwAssertArgType>(portNum)
1387 return this->m_eventOut_OutputPort[portNum].
isConnected();
1395 static_cast<FwAssertArgType>(portNum)
1398 return this->m_paramGetOut_OutputPort[portNum].
isConnected();
1406 static_cast<FwAssertArgType>(portNum)
1409 return this->m_paramSetOut_OutputPort[portNum].
isConnected();
1412 #if FW_ENABLE_TEXT_LOGGING == 1 1414 bool TlmPacketizerComponentBase ::
1415 isConnected_textEventOut_OutputPort(
FwIndexType portNum)
const 1418 (0 <= portNum) && (portNum < this->getNum_textEventOut_OutputPorts()),
1419 static_cast<FwAssertArgType>(portNum)
1422 return this->m_textEventOut_OutputPort[portNum].isConnected();
1432 static_cast<FwAssertArgType>(portNum)
1435 return this->m_timeGetOut_OutputPort[portNum].
isConnected();
1443 static_cast<FwAssertArgType>(portNum)
1446 return this->m_tlmOut_OutputPort[portNum].
isConnected();
1451 #if !FW_DIRECT_PORT_CALLS 1462 static_cast<FwAssertArgType>(portNum)
1465 return this->m_PktSend_OutputPort[portNum].
isConnected();
1473 static_cast<FwAssertArgType>(portNum)
1476 return this->m_allocate_OutputPort[portNum].
isConnected();
1484 static_cast<FwAssertArgType>(portNum)
1487 return this->m_deallocate_OutputPort[portNum].
isConnected();
1495 static_cast<FwAssertArgType>(portNum)
1498 return this->m_packetOverrideOut_OutputPort[portNum].
isConnected();
1506 static_cast<FwAssertArgType>(portNum)
1509 return this->m_packetOverrideReturnOut_OutputPort[portNum].
isConnected();
1517 static_cast<FwAssertArgType>(portNum)
1520 return this->m_pingOut_OutputPort[portNum].
isConnected();
1541 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
1544 switch (opCode - idBase) {
1686 static_cast<FwAssertArgType>(portNum)
1694 ComponentIpcSerializableBuffer msg;
1698 _status = msg.serializeFrom(
1699 static_cast<FwEnumStoreType>(RUN_SCHED)
1703 static_cast<FwAssertArgType>(_status)
1707 _status = msg.serializeFrom(portNum);
1710 static_cast<FwAssertArgType>(_status)
1714 _status = msg.serializeFrom(context);
1717 static_cast<FwAssertArgType>(_status)
1726 static_cast<FwAssertArgType>(qStatus)
1741 static_cast<FwAssertArgType>(portNum)
1768 static_cast<FwAssertArgType>(portNum)
1793 static_cast<FwAssertArgType>(portNum)
1805 ComponentIpcSerializableBuffer msg;
1809 _status = msg.serializeFrom(
1810 static_cast<FwEnumStoreType>(CONFIGURESECTIONGROUPRATE_CONFIGUREGROUPRATE)
1814 static_cast<FwAssertArgType>(_status)
1818 _status = msg.serializeFrom(portNum);
1821 static_cast<FwAssertArgType>(_status)
1825 _status = msg.serializeFrom(section);
1828 static_cast<FwAssertArgType>(_status)
1832 _status = msg.serializeFrom(tlmGroup);
1835 static_cast<FwAssertArgType>(_status)
1839 _status = msg.serializeFrom(rateLogic);
1842 static_cast<FwAssertArgType>(_status)
1846 _status = msg.serializeFrom(minDelta);
1849 static_cast<FwAssertArgType>(_status)
1853 _status = msg.serializeFrom(maxDelta);
1856 static_cast<FwAssertArgType>(_status)
1865 static_cast<FwAssertArgType>(qStatus)
1879 static_cast<FwAssertArgType>(portNum)
1888 ComponentIpcSerializableBuffer msg;
1892 _status = msg.serializeFrom(
1893 static_cast<FwEnumStoreType>(CONTROLIN_ENABLESECTION)
1897 static_cast<FwAssertArgType>(_status)
1901 _status = msg.serializeFrom(portNum);
1904 static_cast<FwAssertArgType>(_status)
1908 _status = msg.serializeFrom(section);
1911 static_cast<FwAssertArgType>(_status)
1915 _status = msg.serializeFrom(enabled);
1918 static_cast<FwAssertArgType>(_status)
1927 static_cast<FwAssertArgType>(qStatus)
1940 static_cast<FwAssertArgType>(portNum)
1948 ComponentIpcSerializableBuffer msg;
1952 _status = msg.serializeFrom(
1953 static_cast<FwEnumStoreType>(PACKETOVERRIDEIN_BUFFERSEND)
1957 static_cast<FwAssertArgType>(_status)
1961 _status = msg.serializeFrom(portNum);
1964 static_cast<FwAssertArgType>(_status)
1968 _status = msg.serializeFrom(fwBuffer);
1971 static_cast<FwAssertArgType>(_status)
1980 static_cast<FwAssertArgType>(qStatus)
1993 static_cast<FwAssertArgType>(portNum)
2012 static_cast<FwAssertArgType>(portNum)
2020 ComponentIpcSerializableBuffer msg;
2024 _status = msg.serializeFrom(
2025 static_cast<FwEnumStoreType>(PINGIN_PING)
2029 static_cast<FwAssertArgType>(_status)
2033 _status = msg.serializeFrom(portNum);
2036 static_cast<FwAssertArgType>(_status)
2040 _status = msg.serializeFrom(key);
2043 static_cast<FwAssertArgType>(_status)
2050 if (qStatus == Os::Queue::Status::FULL) {
2057 static_cast<FwAssertArgType>(qStatus)
2119 #if !FW_DIRECT_PORT_CALLS 2134 static_cast<FwAssertArgType>(portNum)
2138 this->m_PktSend_OutputPort[portNum].isConnected(),
2139 static_cast<FwAssertArgType>(portNum)
2141 this->m_PktSend_OutputPort[portNum].
invoke(
2155 static_cast<FwAssertArgType>(portNum)
2159 this->m_allocate_OutputPort[portNum].isConnected(),
2160 static_cast<FwAssertArgType>(portNum)
2162 return this->m_allocate_OutputPort[portNum].
invoke(
2175 static_cast<FwAssertArgType>(portNum)
2179 this->m_deallocate_OutputPort[portNum].isConnected(),
2180 static_cast<FwAssertArgType>(portNum)
2182 this->m_deallocate_OutputPort[portNum].
invoke(
2195 static_cast<FwAssertArgType>(portNum)
2199 this->m_packetOverrideOut_OutputPort[portNum].isConnected(),
2200 static_cast<FwAssertArgType>(portNum)
2202 this->m_packetOverrideOut_OutputPort[portNum].
invoke(
2215 static_cast<FwAssertArgType>(portNum)
2219 this->m_packetOverrideReturnOut_OutputPort[portNum].isConnected(),
2220 static_cast<FwAssertArgType>(portNum)
2222 this->m_packetOverrideReturnOut_OutputPort[portNum].
invoke(
2235 static_cast<FwAssertArgType>(portNum)
2239 this->m_pingOut_OutputPort[portNum].isConnected(),
2240 static_cast<FwAssertArgType>(portNum)
2242 this->m_pingOut_OutputPort[portNum].
invoke(
2261 this->cmdResponseOut_out(0, opCode, cmdSeq, response);
2282 ComponentIpcSerializableBuffer msg;
2286 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SET_LEVEL));
2289 static_cast<FwAssertArgType>(_status)
2295 _status = msg.serializeFrom(port);
2298 static_cast<FwAssertArgType>(_status)
2301 _status = msg.serializeFrom(opCode);
2304 static_cast<FwAssertArgType>(_status)
2307 _status = msg.serializeFrom(cmdSeq);
2310 static_cast<FwAssertArgType>(_status)
2313 _status = msg.serializeFrom(args);
2316 static_cast<FwAssertArgType>(_status)
2325 static_cast<FwAssertArgType>(qStatus)
2341 ComponentIpcSerializableBuffer msg;
2345 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SEND_PKT));
2348 static_cast<FwAssertArgType>(_status)
2354 _status = msg.serializeFrom(port);
2357 static_cast<FwAssertArgType>(_status)
2360 _status = msg.serializeFrom(opCode);
2363 static_cast<FwAssertArgType>(_status)
2366 _status = msg.serializeFrom(cmdSeq);
2369 static_cast<FwAssertArgType>(_status)
2372 _status = msg.serializeFrom(args);
2375 static_cast<FwAssertArgType>(_status)
2384 static_cast<FwAssertArgType>(qStatus)
2400 ComponentIpcSerializableBuffer msg;
2404 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_ENABLE_SECTION));
2407 static_cast<FwAssertArgType>(_status)
2413 _status = msg.serializeFrom(port);
2416 static_cast<FwAssertArgType>(_status)
2419 _status = msg.serializeFrom(opCode);
2422 static_cast<FwAssertArgType>(_status)
2425 _status = msg.serializeFrom(cmdSeq);
2428 static_cast<FwAssertArgType>(_status)
2431 _status = msg.serializeFrom(args);
2434 static_cast<FwAssertArgType>(_status)
2443 static_cast<FwAssertArgType>(qStatus)
2459 ComponentIpcSerializableBuffer msg;
2463 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CONFIGURE_GROUP_SEND));
2466 static_cast<FwAssertArgType>(_status)
2472 _status = msg.serializeFrom(port);
2475 static_cast<FwAssertArgType>(_status)
2478 _status = msg.serializeFrom(opCode);
2481 static_cast<FwAssertArgType>(_status)
2484 _status = msg.serializeFrom(cmdSeq);
2487 static_cast<FwAssertArgType>(_status)
2490 _status = msg.serializeFrom(args);
2493 static_cast<FwAssertArgType>(_status)
2502 static_cast<FwAssertArgType>(qStatus)
2518 ComponentIpcSerializableBuffer msg;
2522 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CONFIGURE_GROUP_RATES));
2525 static_cast<FwAssertArgType>(_status)
2531 _status = msg.serializeFrom(port);
2534 static_cast<FwAssertArgType>(_status)
2537 _status = msg.serializeFrom(opCode);
2540 static_cast<FwAssertArgType>(_status)
2543 _status = msg.serializeFrom(cmdSeq);
2546 static_cast<FwAssertArgType>(_status)
2549 _status = msg.serializeFrom(args);
2552 static_cast<FwAssertArgType>(_status)
2561 static_cast<FwAssertArgType>(qStatus)
2577 ComponentIpcSerializableBuffer msg;
2581 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_GET_PACKET_CONFIG));
2584 static_cast<FwAssertArgType>(_status)
2590 _status = msg.serializeFrom(port);
2593 static_cast<FwAssertArgType>(_status)
2596 _status = msg.serializeFrom(opCode);
2599 static_cast<FwAssertArgType>(_status)
2602 _status = msg.serializeFrom(cmdSeq);
2605 static_cast<FwAssertArgType>(_status)
2608 _status = msg.serializeFrom(args);
2611 static_cast<FwAssertArgType>(_status)
2620 static_cast<FwAssertArgType>(qStatus)
2636 ComponentIpcSerializableBuffer msg;
2640 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_OVERRIDE_PACKET_SEND));
2643 static_cast<FwAssertArgType>(_status)
2649 _status = msg.serializeFrom(port);
2652 static_cast<FwAssertArgType>(_status)
2655 _status = msg.serializeFrom(opCode);
2658 static_cast<FwAssertArgType>(_status)
2661 _status = msg.serializeFrom(cmdSeq);
2664 static_cast<FwAssertArgType>(_status)
2667 _status = msg.serializeFrom(args);
2670 static_cast<FwAssertArgType>(_status)
2679 static_cast<FwAssertArgType>(qStatus)
2695 ComponentIpcSerializableBuffer msg;
2699 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_OVERRIDE_PACKET_RATES));
2702 static_cast<FwAssertArgType>(_status)
2708 _status = msg.serializeFrom(port);
2711 static_cast<FwAssertArgType>(_status)
2714 _status = msg.serializeFrom(opCode);
2717 static_cast<FwAssertArgType>(_status)
2720 _status = msg.serializeFrom(cmdSeq);
2723 static_cast<FwAssertArgType>(_status)
2726 _status = msg.serializeFrom(args);
2729 static_cast<FwAssertArgType>(_status)
2738 static_cast<FwAssertArgType>(qStatus)
2754 ComponentIpcSerializableBuffer msg;
2758 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CLEAR_PACKET_OVERRIDE));
2761 static_cast<FwAssertArgType>(_status)
2767 _status = msg.serializeFrom(port);
2770 static_cast<FwAssertArgType>(_status)
2773 _status = msg.serializeFrom(opCode);
2776 static_cast<FwAssertArgType>(_status)
2779 _status = msg.serializeFrom(cmdSeq);
2782 static_cast<FwAssertArgType>(_status)
2785 _status = msg.serializeFrom(args);
2788 static_cast<FwAssertArgType>(_status)
2797 static_cast<FwAssertArgType>(qStatus)
2918 this->timeGetOut_out(0, _logTime);
2928 #if FW_AMPCS_COMPATIBLE 2933 static_cast<FwAssertArgType>(_status)
2937 #if FW_AMPCS_COMPATIBLE 2944 static_cast<FwAssertArgType>(_status)
2950 static_cast<FwAssertArgType>(_status)
2963 #if FW_ENABLE_TEXT_LOGGING 2964 if (this->isConnected_textEventOut_OutputPort(0)) {
2965 #if FW_OBJECT_NAMES == 1 2966 const char* _formatString =
2967 "(%s) %s: Telemetry ID 0x%" PRIx32
" not packetized";
2969 const char* _formatString =
2970 "%s: Telemetry ID 0x%" PRIx32
" not packetized";
2974 (void) _logString.
format(
2977 this->m_objName.toChar(),
2983 this->textEventOut_out(
3000 this->timeGetOut_out(0, _logTime);
3010 #if FW_AMPCS_COMPATIBLE 3015 static_cast<FwAssertArgType>(_status)
3019 #if FW_AMPCS_COMPATIBLE 3026 static_cast<FwAssertArgType>(_status)
3032 static_cast<FwAssertArgType>(_status)
3045 #if FW_ENABLE_TEXT_LOGGING 3046 if (this->isConnected_textEventOut_OutputPort(0)) {
3047 #if FW_OBJECT_NAMES == 1 3048 const char* _formatString =
3049 "(%s) %s: Telemetry send level to %" PRIu32
"";
3051 const char* _formatString =
3052 "%s: Telemetry send level to %" PRIu32
"";
3056 (void) _logString.
format(
3059 this->m_objName.toChar(),
3065 this->textEventOut_out(
3085 this->timeGetOut_out(0, _logTime);
3095 #if FW_AMPCS_COMPATIBLE 3100 static_cast<FwAssertArgType>(_status)
3104 #if FW_AMPCS_COMPATIBLE 3111 static_cast<FwAssertArgType>(_status)
3117 static_cast<FwAssertArgType>(_status)
3120 #if FW_AMPCS_COMPATIBLE 3127 static_cast<FwAssertArgType>(_status)
3133 static_cast<FwAssertArgType>(_status)
3146 #if FW_ENABLE_TEXT_LOGGING 3147 if (this->isConnected_textEventOut_OutputPort(0)) {
3148 #if FW_OBJECT_NAMES == 1 3149 const char* _formatString =
3150 "(%s) %s: Requested send level %" PRIu32
" higher than max packet level of %" PRIu32
"";
3152 const char* _formatString =
3153 "%s: Requested send level %" PRIu32
" higher than max packet level of %" PRIu32
"";
3157 (void) _logString.
format(
3160 this->m_objName.toChar(),
3167 this->textEventOut_out(
3184 this->timeGetOut_out(0, _logTime);
3194 #if FW_AMPCS_COMPATIBLE 3199 static_cast<FwAssertArgType>(_status)
3203 #if FW_AMPCS_COMPATIBLE 3206 static_cast<U8>(
sizeof(U32))
3210 static_cast<FwAssertArgType>(_status)
3216 static_cast<FwAssertArgType>(_status)
3229 #if FW_ENABLE_TEXT_LOGGING 3230 if (this->isConnected_textEventOut_OutputPort(0)) {
3231 #if FW_OBJECT_NAMES == 1 3232 const char* _formatString =
3233 "(%s) %s: Sent packet ID %" PRIu32
"";
3235 const char* _formatString =
3236 "%s: Sent packet ID %" PRIu32
"";
3240 (void) _logString.
format(
3243 this->m_objName.toChar(),
3249 this->textEventOut_out(
3266 this->timeGetOut_out(0, _logTime);
3276 #if FW_AMPCS_COMPATIBLE 3281 static_cast<FwAssertArgType>(_status)
3285 #if FW_AMPCS_COMPATIBLE 3288 static_cast<U8>(
sizeof(U32))
3292 static_cast<FwAssertArgType>(_status)
3298 static_cast<FwAssertArgType>(_status)
3311 #if FW_ENABLE_TEXT_LOGGING 3312 if (this->isConnected_textEventOut_OutputPort(0)) {
3313 #if FW_OBJECT_NAMES == 1 3314 const char* _formatString =
3315 "(%s) %s: Could not find packet ID %" PRIu32
"";
3317 const char* _formatString =
3318 "%s: Could not find packet ID %" PRIu32
"";
3322 (void) _logString.
format(
3325 this->m_objName.toChar(),
3331 this->textEventOut_out(
3351 this->timeGetOut_out(0, _logTime);
3361 #if FW_AMPCS_COMPATIBLE 3366 static_cast<FwAssertArgType>(_status)
3370 #if FW_AMPCS_COMPATIBLE 3377 static_cast<FwAssertArgType>(_status)
3383 static_cast<FwAssertArgType>(_status)
3386 #if FW_AMPCS_COMPATIBLE 3393 static_cast<FwAssertArgType>(_status)
3399 static_cast<FwAssertArgType>(_status)
3412 #if FW_ENABLE_TEXT_LOGGING 3413 if (this->isConnected_textEventOut_OutputPort(0)) {
3414 #if FW_OBJECT_NAMES == 1 3415 const char* _formatString =
3416 "(%s) %s: Section %s is unconfigurable and cannot be set to %s";
3418 const char* _formatString =
3419 "%s: Section %s is unconfigurable and cannot be set to %s";
3423 section.toString(sectionStr);
3425 enable.toString(enableStr);
3428 (void) _logString.
format(
3431 this->m_objName.toChar(),
3433 "SectionUnconfigurable ",
3438 this->textEventOut_out(
3461 this->m_OversizedChannelThrottle++;
3467 this->timeGetOut_out(0, _logTime);
3477 #if FW_AMPCS_COMPATIBLE 3482 static_cast<FwAssertArgType>(_status)
3486 #if FW_AMPCS_COMPATIBLE 3493 static_cast<FwAssertArgType>(_status)
3499 static_cast<FwAssertArgType>(_status)
3502 #if FW_AMPCS_COMPATIBLE 3509 static_cast<FwAssertArgType>(_status)
3515 static_cast<FwAssertArgType>(_status)
3518 #if FW_AMPCS_COMPATIBLE 3525 static_cast<FwAssertArgType>(_status)
3531 static_cast<FwAssertArgType>(_status)
3544 #if FW_ENABLE_TEXT_LOGGING 3545 if (this->isConnected_textEventOut_OutputPort(0)) {
3546 #if FW_OBJECT_NAMES == 1 3547 const char* _formatString =
3548 "(%s) %s: Telemetry ID 0x%" PRIx32
" update of size %" PRIu64
" exceeds configured size %" PRIu64
"";
3550 const char* _formatString =
3551 "%s: Telemetry ID 0x%" PRIx32
" update of size %" PRIu64
" exceeds configured size %" PRIu64
"";
3555 (void) _logString.
format(
3558 this->m_objName.toChar(),
3560 "OversizedChannel ",
3566 this->textEventOut_out(
3583 this->timeGetOut_out(0, _logTime);
3593 #if FW_AMPCS_COMPATIBLE 3598 static_cast<FwAssertArgType>(_status)
3602 #if FW_AMPCS_COMPATIBLE 3605 static_cast<U8>(
sizeof(U32))
3609 static_cast<FwAssertArgType>(_status)
3615 static_cast<FwAssertArgType>(_status)
3628 #if FW_ENABLE_TEXT_LOGGING 3629 if (this->isConnected_textEventOut_OutputPort(0)) {
3630 #if FW_OBJECT_NAMES == 1 3631 const char* _formatString =
3632 "(%s) %s: packetOverrideIn reload record for unknown packet id %" PRIu32
" skipped";
3634 const char* _formatString =
3635 "%s: packetOverrideIn reload record for unknown packet id %" PRIu32
" skipped";
3639 (void) _logString.
format(
3642 this->m_objName.toChar(),
3644 "ReloadRecordUnknownPacket ",
3648 this->textEventOut_out(
3667 this->m_ConfigMirrorAllocFailedThrottle++;
3673 this->timeGetOut_out(0, _logTime);
3682 #if FW_AMPCS_COMPATIBLE 3688 static_cast<FwAssertArgType>(_status)
3702 #if FW_ENABLE_TEXT_LOGGING 3703 if (this->isConnected_textEventOut_OutputPort(0)) {
3704 #if FW_OBJECT_NAMES == 1 3705 const char* _formatString =
3706 "(%s) %s: Could not allocate buffer to mirror packet config";
3708 const char* _formatString =
3709 "%s: Could not allocate buffer to mirror packet config";
3713 (void) _logString.
format(
3716 this->m_objName.toChar(),
3718 "ConfigMirrorAllocFailed " 3721 this->textEventOut_out(
3743 this->timeGetOut_out(0, _logTime);
3753 #if FW_AMPCS_COMPATIBLE 3758 static_cast<FwAssertArgType>(_status)
3762 #if FW_AMPCS_COMPATIBLE 3769 static_cast<FwAssertArgType>(_status)
3775 static_cast<FwAssertArgType>(_status)
3778 #if FW_AMPCS_COMPATIBLE 3781 static_cast<U8>(
sizeof(U32))
3785 static_cast<FwAssertArgType>(_status)
3791 static_cast<FwAssertArgType>(_status)
3794 #if FW_AMPCS_COMPATIBLE 3801 static_cast<FwAssertArgType>(_status)
3807 static_cast<FwAssertArgType>(_status)
3810 #if FW_AMPCS_COMPATIBLE 3817 static_cast<FwAssertArgType>(_status)
3823 static_cast<FwAssertArgType>(_status)
3836 #if FW_ENABLE_TEXT_LOGGING 3837 if (this->isConnected_textEventOut_OutputPort(0)) {
3838 #if FW_OBJECT_NAMES == 1 3839 const char* _formatString =
3840 "(%s) %s: Packet config: section %s packet id %" PRIu32
" override %s effective %s";
3842 const char* _formatString =
3843 "%s: Packet config: section %s packet id %" PRIu32
" override %s effective %s";
3847 section.toString(sectionStr);
3849 override.toString(overrideStr);
3851 effective.toString(effectiveStr);
3854 (void) _logString.
format(
3857 this->m_objName.toChar(),
3859 "PacketConfigReport ",
3866 this->textEventOut_out(
3887 this->timeGetOut_out(0, _logTime);
3897 #if FW_AMPCS_COMPATIBLE 3902 static_cast<FwAssertArgType>(_status)
3906 #if FW_AMPCS_COMPATIBLE 3913 static_cast<FwAssertArgType>(_status)
3919 static_cast<FwAssertArgType>(_status)
3922 #if FW_AMPCS_COMPATIBLE 3925 static_cast<U8>(
sizeof(U32))
3929 static_cast<FwAssertArgType>(_status)
3935 static_cast<FwAssertArgType>(_status)
3938 #if FW_AMPCS_COMPATIBLE 3945 static_cast<FwAssertArgType>(_status)
3951 static_cast<FwAssertArgType>(_status)
3964 #if FW_ENABLE_TEXT_LOGGING 3965 if (this->isConnected_textEventOut_OutputPort(0)) {
3966 #if FW_OBJECT_NAMES == 1 3967 const char* _formatString =
3968 "(%s) %s: Packet override set: section %s packet id %" PRIu32
" override %s";
3970 const char* _formatString =
3971 "%s: Packet override set: section %s packet id %" PRIu32
" override %s";
3975 section.toString(sectionStr);
3977 override.toString(overrideStr);
3980 (void) _logString.
format(
3983 this->m_objName.toChar(),
3985 "PacketOverrideSet ",
3991 this->textEventOut_out(
4011 this->timeGetOut_out(0, _logTime);
4021 #if FW_AMPCS_COMPATIBLE 4026 static_cast<FwAssertArgType>(_status)
4030 #if FW_AMPCS_COMPATIBLE 4037 static_cast<FwAssertArgType>(_status)
4043 static_cast<FwAssertArgType>(_status)
4046 #if FW_AMPCS_COMPATIBLE 4049 static_cast<U8>(
sizeof(U32))
4053 static_cast<FwAssertArgType>(_status)
4059 static_cast<FwAssertArgType>(_status)
4072 #if FW_ENABLE_TEXT_LOGGING 4073 if (this->isConnected_textEventOut_OutputPort(0)) {
4074 #if FW_OBJECT_NAMES == 1 4075 const char* _formatString =
4076 "(%s) %s: Packet override cleared: section %s packet id %" PRIu32
" reverts to group policy";
4078 const char* _formatString =
4079 "%s: Packet override cleared: section %s packet id %" PRIu32
" reverts to group policy";
4083 section.toString(sectionStr);
4086 (void) _logString.
format(
4089 this->m_objName.toChar(),
4091 "PacketOverrideCleared ",
4096 this->textEventOut_out(
4113 this->timeGetOut_out(0, _logTime);
4123 #if FW_AMPCS_COMPATIBLE 4128 static_cast<FwAssertArgType>(_status)
4132 #if FW_AMPCS_COMPATIBLE 4139 static_cast<FwAssertArgType>(_status)
4145 static_cast<FwAssertArgType>(_status)
4158 #if FW_ENABLE_TEXT_LOGGING 4159 if (this->isConnected_textEventOut_OutputPort(0)) {
4160 #if FW_OBJECT_NAMES == 1 4161 const char* _formatString =
4162 "(%s) %s: packetOverrideIn reload failed with status %s";
4164 const char* _formatString =
4165 "%s: packetOverrideIn reload failed with status %s";
4169 status.toString(statusStr);
4172 (void) _logString.
format(
4175 this->m_objName.toChar(),
4177 "ConfigReloadFailed ",
4181 this->textEventOut_out(
4198 this->timeGetOut_out(0, _logTime);
4208 #if FW_AMPCS_COMPATIBLE 4213 static_cast<FwAssertArgType>(_status)
4217 #if FW_AMPCS_COMPATIBLE 4220 static_cast<U8>(
sizeof(U32))
4224 static_cast<FwAssertArgType>(_status)
4230 static_cast<FwAssertArgType>(_status)
4243 #if FW_ENABLE_TEXT_LOGGING 4244 if (this->isConnected_textEventOut_OutputPort(0)) {
4245 #if FW_OBJECT_NAMES == 1 4246 const char* _formatString =
4247 "(%s) %s: Packet config for packet id %" PRIu32
" rejected: invalid section";
4249 const char* _formatString =
4250 "%s: Packet config for packet id %" PRIu32
" rejected: invalid section";
4254 (void) _logString.
format(
4257 this->m_objName.toChar(),
4259 "InvalidPacketConfig ",
4263 this->textEventOut_out(
4280 this->timeGetOut_out(0, _logTime);
4290 #if FW_AMPCS_COMPATIBLE 4295 static_cast<FwAssertArgType>(_status)
4299 #if FW_AMPCS_COMPATIBLE 4302 static_cast<U8>(
sizeof(U32))
4306 static_cast<FwAssertArgType>(_status)
4312 static_cast<FwAssertArgType>(_status)
4325 #if FW_ENABLE_TEXT_LOGGING 4326 if (this->isConnected_textEventOut_OutputPort(0)) {
4327 #if FW_OBJECT_NAMES == 1 4328 const char* _formatString =
4329 "(%s) %s: packetOverrideIn reload record for packet id %" PRIu32
" skipped: section out of range";
4331 const char* _formatString =
4332 "%s: packetOverrideIn reload record for packet id %" PRIu32
" skipped: section out of range";
4336 (void) _logString.
format(
4339 this->m_objName.toChar(),
4341 "ReloadRecordInvalid ",
4345 this->textEventOut_out(
4366 this->timeGetOut_out(0, _logTime);
4376 #if FW_AMPCS_COMPATIBLE 4381 static_cast<FwAssertArgType>(_status)
4385 #if FW_AMPCS_COMPATIBLE 4392 static_cast<FwAssertArgType>(_status)
4398 static_cast<FwAssertArgType>(_status)
4401 #if FW_AMPCS_COMPATIBLE 4408 static_cast<FwAssertArgType>(_status)
4414 static_cast<FwAssertArgType>(_status)
4417 #if FW_AMPCS_COMPATIBLE 4424 static_cast<FwAssertArgType>(_status)
4430 static_cast<FwAssertArgType>(_status)
4443 #if FW_ENABLE_TEXT_LOGGING 4444 if (this->isConnected_textEventOut_OutputPort(0)) {
4445 #if FW_OBJECT_NAMES == 1 4446 const char* _formatString =
4447 "(%s) %s: Section %s group %" PRIu32
" send state set to %s";
4449 const char* _formatString =
4450 "%s: Section %s group %" PRIu32
" send state set to %s";
4454 section.toString(sectionStr);
4456 sendState.toString(sendStateStr);
4459 (void) _logString.
format(
4462 this->m_objName.toChar(),
4464 "GroupSendStateSet ",
4470 this->textEventOut_out(
4489 this->m_OversizedChannelThrottle = 0;
4496 this->m_ConfigMirrorAllocFailedThrottle = 0;
4515 this->timeGetOut_out(0, _tlmTime);
4545 static_cast<FwAssertArgType>(_stat)
4567 static_cast<FwAssertArgType>(_stat)
4613 this->m_paramLock.
lock();
4614 valid = this->m_param_SECTION_ENABLED_valid;
4617 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
4619 static_cast<FwPrmIdType>(this->
getIdBase()),
4630 this->m_paramLock.
unlock();
4638 this->m_paramLock.
lock();
4639 valid = this->m_param_SECTION_CONFIGS_valid;
4642 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
4644 static_cast<FwPrmIdType>(this->
getIdBase()),
4655 this->m_paramLock.
unlock();
4666 FW_ASSERT(paramExternalDelegatePtr !=
nullptr);
4667 this->paramDelegatePtr = paramExternalDelegatePtr;
4679 this->timeGetOut_out(0, _time);
4694 ComponentIpcSerializableBuffer _msg;
4704 static_cast<FwAssertArgType>(_msgStatus)
4714 static_cast<FwAssertArgType>(_deserStatus)
4717 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
4719 if (_msgType == TLMPACKETIZER_COMPONENT_EXIT) {
4724 _deserStatus = _msg.deserializeTo(portNum);
4727 static_cast<FwAssertArgType>(_deserStatus)
4735 _deserStatus = _msg.deserializeTo(context);
4738 static_cast<FwAssertArgType>(_deserStatus)
4750 case CONFIGURESECTIONGROUPRATE_CONFIGUREGROUPRATE: {
4753 _deserStatus = _msg.deserializeTo(section);
4756 static_cast<FwAssertArgType>(_deserStatus)
4761 _deserStatus = _msg.deserializeTo(tlmGroup);
4764 static_cast<FwAssertArgType>(_deserStatus)
4769 _deserStatus = _msg.deserializeTo(rateLogic);
4772 static_cast<FwAssertArgType>(_deserStatus)
4777 _deserStatus = _msg.deserializeTo(minDelta);
4780 static_cast<FwAssertArgType>(_deserStatus)
4785 _deserStatus = _msg.deserializeTo(maxDelta);
4788 static_cast<FwAssertArgType>(_deserStatus)
4804 case CONTROLIN_ENABLESECTION: {
4807 _deserStatus = _msg.deserializeTo(section);
4810 static_cast<FwAssertArgType>(_deserStatus)
4815 _deserStatus = _msg.deserializeTo(enabled);
4818 static_cast<FwAssertArgType>(_deserStatus)
4831 case PACKETOVERRIDEIN_BUFFERSEND: {
4834 _deserStatus = _msg.deserializeTo(fwBuffer);
4837 static_cast<FwAssertArgType>(_deserStatus)
4852 _deserStatus = _msg.deserializeTo(key);
4855 static_cast<FwAssertArgType>(_deserStatus)
4867 case CMD_SET_LEVEL: {
4870 _deserStatus = _msg.deserializeTo(_opCode);
4873 static_cast<FwAssertArgType>(_deserStatus)
4878 _deserStatus = _msg.deserializeTo(_cmdSeq);
4881 static_cast<FwAssertArgType>(_deserStatus)
4886 _deserStatus = _msg.deserializeTo(args);
4889 static_cast<FwAssertArgType>(_deserStatus)
4912 #if FW_CMD_CHECK_RESIDUAL 4932 case CMD_SEND_PKT: {
4935 _deserStatus = _msg.deserializeTo(_opCode);
4938 static_cast<FwAssertArgType>(_deserStatus)
4943 _deserStatus = _msg.deserializeTo(_cmdSeq);
4946 static_cast<FwAssertArgType>(_deserStatus)
4951 _deserStatus = _msg.deserializeTo(args);
4954 static_cast<FwAssertArgType>(_deserStatus)
4992 #if FW_CMD_CHECK_RESIDUAL 5013 case CMD_ENABLE_SECTION: {
5016 _deserStatus = _msg.deserializeTo(_opCode);
5019 static_cast<FwAssertArgType>(_deserStatus)
5024 _deserStatus = _msg.deserializeTo(_cmdSeq);
5027 static_cast<FwAssertArgType>(_deserStatus)
5032 _deserStatus = _msg.deserializeTo(args);
5035 static_cast<FwAssertArgType>(_deserStatus)
5073 #if FW_CMD_CHECK_RESIDUAL 5094 case CMD_CONFIGURE_GROUP_SEND: {
5097 _deserStatus = _msg.deserializeTo(_opCode);
5100 static_cast<FwAssertArgType>(_deserStatus)
5105 _deserStatus = _msg.deserializeTo(_cmdSeq);
5108 static_cast<FwAssertArgType>(_deserStatus)
5113 _deserStatus = _msg.deserializeTo(args);
5116 static_cast<FwAssertArgType>(_deserStatus)
5169 #if FW_CMD_CHECK_RESIDUAL 5191 case CMD_CONFIGURE_GROUP_RATES: {
5194 _deserStatus = _msg.deserializeTo(_opCode);
5197 static_cast<FwAssertArgType>(_deserStatus)
5202 _deserStatus = _msg.deserializeTo(_cmdSeq);
5205 static_cast<FwAssertArgType>(_deserStatus)
5210 _deserStatus = _msg.deserializeTo(args);
5213 static_cast<FwAssertArgType>(_deserStatus)
5296 #if FW_CMD_CHECK_RESIDUAL 5320 case CMD_GET_PACKET_CONFIG: {
5323 _deserStatus = _msg.deserializeTo(_opCode);
5326 static_cast<FwAssertArgType>(_deserStatus)
5331 _deserStatus = _msg.deserializeTo(_cmdSeq);
5334 static_cast<FwAssertArgType>(_deserStatus)
5339 _deserStatus = _msg.deserializeTo(args);
5342 static_cast<FwAssertArgType>(_deserStatus)
5380 #if FW_CMD_CHECK_RESIDUAL 5401 case CMD_OVERRIDE_PACKET_SEND: {
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)
5476 #if FW_CMD_CHECK_RESIDUAL 5498 case CMD_OVERRIDE_PACKET_RATES: {
5501 _deserStatus = _msg.deserializeTo(_opCode);
5504 static_cast<FwAssertArgType>(_deserStatus)
5509 _deserStatus = _msg.deserializeTo(_cmdSeq);
5512 static_cast<FwAssertArgType>(_deserStatus)
5517 _deserStatus = _msg.deserializeTo(args);
5520 static_cast<FwAssertArgType>(_deserStatus)
5603 #if FW_CMD_CHECK_RESIDUAL 5627 case CMD_CLEAR_PACKET_OVERRIDE: {
5630 _deserStatus = _msg.deserializeTo(_opCode);
5633 static_cast<FwAssertArgType>(_deserStatus)
5638 _deserStatus = _msg.deserializeTo(_cmdSeq);
5641 static_cast<FwAssertArgType>(_deserStatus)
5646 _deserStatus = _msg.deserializeTo(args);
5649 static_cast<FwAssertArgType>(_deserStatus)
5687 #if FW_CMD_CHECK_RESIDUAL 5718 void TlmPacketizerComponentBase ::
5729 compPtr->cmdIn_handlerBase(
5741 void TlmPacketizerComponentBase ::
5750 compPtr->Run_handlerBase(
5767 return compPtr->TlmGet_handlerBase(
5775 void TlmPacketizerComponentBase ::
5786 compPtr->TlmRecv_handlerBase(
5794 void TlmPacketizerComponentBase ::
5795 m_p_configureSectionGroupRate_in(
5807 compPtr->configureSectionGroupRate_handlerBase(
5817 void TlmPacketizerComponentBase ::
5827 compPtr->controlIn_handlerBase(
5834 void TlmPacketizerComponentBase ::
5835 m_p_packetOverrideIn_in(
5843 compPtr->packetOverrideIn_handlerBase(
5849 void TlmPacketizerComponentBase ::
5850 m_p_packetOverrideReturnIn_in(
5858 compPtr->packetOverrideReturnIn_handlerBase(
5864 void TlmPacketizerComponentBase ::
5873 compPtr->pingIn_handlerBase(
5879 #if !FW_DIRECT_PORT_CALLS 5885 void TlmPacketizerComponentBase ::
5893 static_cast<FwAssertArgType>(portNum)
5897 this->m_cmdRegOut_OutputPort[portNum].isConnected(),
5898 static_cast<FwAssertArgType>(portNum)
5900 this->m_cmdRegOut_OutputPort[portNum].
invoke(
5905 void TlmPacketizerComponentBase ::
5915 static_cast<FwAssertArgType>(portNum)
5919 this->m_cmdResponseOut_OutputPort[portNum].isConnected(),
5920 static_cast<FwAssertArgType>(portNum)
5922 this->m_cmdResponseOut_OutputPort[portNum].
invoke(
5929 void TlmPacketizerComponentBase ::
5940 static_cast<FwAssertArgType>(portNum)
5944 this->m_eventOut_OutputPort[portNum].isConnected(),
5945 static_cast<FwAssertArgType>(portNum)
5947 this->m_eventOut_OutputPort[portNum].
invoke(
5964 static_cast<FwAssertArgType>(portNum)
5968 this->m_paramGetOut_OutputPort[portNum].isConnected(),
5969 static_cast<FwAssertArgType>(portNum)
5971 return this->m_paramGetOut_OutputPort[portNum].
invoke(
5977 void TlmPacketizerComponentBase ::
5986 static_cast<FwAssertArgType>(portNum)
5990 this->m_paramSetOut_OutputPort[portNum].isConnected(),
5991 static_cast<FwAssertArgType>(portNum)
5993 this->m_paramSetOut_OutputPort[portNum].
invoke(
5999 #if FW_ENABLE_TEXT_LOGGING 6001 void TlmPacketizerComponentBase ::
6011 (0 <= portNum) && (portNum < this->getNum_textEventOut_OutputPorts()),
6012 static_cast<FwAssertArgType>(portNum)
6016 this->m_textEventOut_OutputPort[portNum].isConnected(),
6017 static_cast<FwAssertArgType>(portNum)
6019 this->m_textEventOut_OutputPort[portNum].invoke(
6029 void TlmPacketizerComponentBase ::
6037 static_cast<FwAssertArgType>(portNum)
6041 this->m_timeGetOut_OutputPort[portNum].isConnected(),
6042 static_cast<FwAssertArgType>(portNum)
6044 this->m_timeGetOut_OutputPort[portNum].
invoke(
6049 void TlmPacketizerComponentBase ::
6059 static_cast<FwAssertArgType>(portNum)
6063 this->m_tlmOut_OutputPort[portNum].isConnected(),
6064 static_cast<FwAssertArgType>(portNum)
6066 this->m_tlmOut_OutputPort[portNum].
invoke(
6084 this->m_paramLock.
lock();
6086 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
6088 static_cast<FwPrmIdType>(this->
getIdBase()),
6102 this->m_paramLock.
unlock();
6116 this->m_paramLock.
lock();
6118 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
6120 static_cast<FwPrmIdType>(this->
getIdBase()),
6134 this->m_paramLock.
unlock();
6148 paramSave_SECTION_ENABLED()
6157 this->m_paramLock.
lock();
6159 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
6161 static_cast<FwPrmIdType>(idBase),
6166 this->m_paramLock.
unlock();
6171 this->paramSetOut_out(
6181 paramSave_SECTION_CONFIGS()
6190 this->m_paramLock.
lock();
6192 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
6194 static_cast<FwPrmIdType>(idBase),
6199 this->m_paramLock.
unlock();
6204 this->paramSetOut_out(
bool isConnected_PktSend_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_packetOverrideIn_InputPorts()
static constexpr FwSizeType CAPACITY
Serialization/Deserialization operation was successful.
void CLEAR_PACKET_OVERRIDE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void SEND_PKT_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Parameter to control section enable flags.
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 connection.
bool isConnected_packetOverrideOut_OutputPort(FwIndexType portNum) const
void init()
Initialization function.
static constexpr FwSizeType CAPACITY
void set_PktSend_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to PktSend[portNum].
virtual void packetOverrideIn_preMsgHook(FwIndexType portNum, Fw::Buffer &fwBuffer)
Pre-message hook for async input port packetOverrideIn.
void OVERRIDE_PACKET_SEND_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
A packetOverrideIn reload record carried a section out of range; the record was skipped.
FwIdType FwOpcodeType
The type of a command opcode.
bool isConnected_eventOut_OutputPort(FwIndexType portNum) const
void pingIn_handlerBase(FwIndexType portNum, U32 key)
Handler base-class function for input port pingIn.
#define FW_PARAM_OK(paramValid)
FwIdType getIdBase() const
PlatformSizeType FwSizeType
void tlmWrite_GroupConfigs(const Svc::TlmPacketizer_SectionConfigs &arg, Fw::Time _tlmTime=Fw::Time()) const
bool isConnected_tlmOut_OutputPort(FwIndexType portNum) const
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()
bool isConnected_paramGetOut_OutputPort(FwIndexType portNum) const
Send policy of a group or packet. Resolution: packet -> group -> section enable.
void log_ACTIVITY_HI_LevelSet(FwChanIdType level) const
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.
virtual void parameterLoaded(FwPrmIdType id, Fw::ParamValid valid)
Called for each parameter when parameters are loaded.
Status
status returned from the queue send function
Telemetry send policy (send state + rates), shared by the per-group config and per-packet override...
Set the rate logic and Min / Max deltas between successive packets of a group on a section...
void set_allocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to allocate[portNum].
void log_ACTIVITY_HI_GroupSendStateSet(const Svc::TelemetrySection §ion, FwChanIdType tlmGroup, const Svc::TlmSendState &sendState) const
Throttle reset count for OversizedChannel.
static constexpr FwIndexType getNum_PktSend_OutputPorts()
BYTE pingInPortSize[Svc::PingPortBuffer::CAPACITY]
SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG) override
Deserialize an 8-bit unsigned integer value.
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.
static constexpr FwSizeType CAPACITY
void log_WARNING_LO_NoChan(FwChanIdType Id) const
The size of the serial representation.
static constexpr FwIndexType getNum_pingIn_InputPorts()
void log_ACTIVITY_HI_PacketSent(U32 packetId) const
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.
bool isConnected_allocate_OutputPort(FwIndexType portNum) const
virtual SerializeStatus serializeParam(const FwPrmIdType base_id, const FwPrmIdType local_id, SerialBufferBase &buff) const =0
void invoke(U32 key) const
Invoke a port connection.
void TlmRecv_handlerBase(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)
Handler base-class function for input port TlmRecv.
Opcode to save parameter SECTION_CONFIGS.
Opcode to set parameter SECTION_CONFIGS.
void controlIn_handlerBase(FwIndexType portNum, const Svc::TelemetrySection §ion, const Fw::Enabled &enabled)
Handler base-class function for input port controlIn.
Per-packet override: which fields apply and their values.
void set_packetOverrideReturnOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to packetOverrideReturnOut[portNum].
virtual void SEND_PKT_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U32 id, const Svc::TelemetrySection §ion)=0
bool isConnected_pingOut_OutputPort(FwIndexType portNum) const
void log_ACTIVITY_HI_PacketOverrideCleared(const Svc::TelemetrySection §ion, U32 packetId) const
void packetOverrideIn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port packetOverrideIn.
virtual void controlIn_handler(FwIndexType portNum, const Svc::TelemetrySection §ion, const Fw::Enabled &enabled)=0
Handler for input port controlIn.
virtual void packetOverrideIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port packetOverrideIn.
virtual void OVERRIDE_PACKET_SEND_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Svc::TelemetrySection §ion, U32 packetId, const Svc::TlmSendState &sendState)=0
void log_WARNING_LO_ReloadRecordInvalid(U32 packetId) const
Channel ID for GroupConfigs.
void init()
Initialization function.
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
Enum representing a command response.
Telemetry send level set.
No time base has been established (Required)
bool isConnected_paramSetOut_OutputPort(FwIndexType portNum) const
SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG) override
Serialize an 8-bit unsigned integer value.
void log_ACTIVITY_HI_PacketOverrideSet(const Svc::TelemetrySection §ion, U32 packetId, const Svc::PacketOverrideConfig &override) const
void addCallPort(InputCmdRegPort *callPort)
Register an input port.
Send on updates after MIN ticks since last send.
void cmdIn_handlerBase(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Handler base-class function for input port cmdIn.
virtual void pingIn_preMsgHook(FwIndexType portNum, U32 key)
Pre-message hook for async input port pingIn.
The size of the serial representation.
Fw::InputBufferSendPort * get_packetOverrideReturnIn_InputPort(FwIndexType portNum)
virtual void SET_LEVEL_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, FwChanIdType level)=0
void log_WARNING_LO_PacketNotFound(U32 packetId) const
void init()
Initialization function.
void CONFIGURE_GROUP_SEND_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
virtual void packetOverrideReturnIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port packetOverrideReturnIn.
Os::Queue m_queue
queue object for active component
void log_WARNING_LO_InvalidPacketConfig(U32 packetId) const
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.
void tlmWrite_SectionEnabled(const Svc::TlmPacketizer_SectionEnabled &arg, Fw::Time _tlmTime=Fw::Time()) const
Write telemetry channel SectionEnabled.
static constexpr FwIndexType getNum_deallocate_OutputPorts()
void set_pingOut_OutputPort(FwIndexType portNum, Svc::InputPingPort *port)
Connect port to pingOut[portNum].
void init()
Object initializer.
void set_deallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to deallocate[portNum].
Set the send state of a group on a section.
SerializeStatus
forward declaration for string
void registerExternalParameters(Fw::ParamExternalDelegate *paramExternalDelegatePtr)
Initialize the external parameter delegate.
void addCallPort(InputBufferGetPort *callPort)
Register an input port.
void OVERRIDE_PACKET_RATES_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
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.
bool isConnected_deallocate_OutputPort(FwIndexType portNum) const
A command carried an invalid section for a per-packet operation.
Throttle reset count for ConfigMirrorAllocFailed.
FwIdType FwEventIdType
The type of an event identifier.
A packetOverrideIn reload buffer was malformed: a record failed to deserialize; later records were no...
virtual void OVERRIDE_PACKET_RATES_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command OVERRIDE_PACKET_RATES.
virtual void CLEAR_PACKET_OVERRIDE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Svc::TelemetrySection §ion, U32 packetId)=0
void invoke(FwOpcodeType opCode) const
Invoke a port connection.
static constexpr FwSizeType CAPACITY
static constexpr FwIndexType getNum_packetOverrideOut_OutputPorts()
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects) ...
virtual void ENABLE_SECTION_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Svc::TelemetrySection §ion, const Fw::Enabled &enable)=0
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
void init()
Initialization function.
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts()
Data was the wrong format (e.g. wrong packet type)
Fw::InputTlmGetPort * get_TlmGet_InputPort(FwIndexType portNum)
void log_WARNING_LO_SectionUnconfigurable(const Svc::TelemetrySection §ion, const Fw::Enabled &enable) const
Log event SectionUnconfigurable.
The size of the serial representation.
bool isConnected_timeGetOut_OutputPort(FwIndexType portNum) const
virtual void CONFIGURE_GROUP_RATES_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CONFIGURE_GROUP_RATES.
void GET_PACKET_CONFIG_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Parameter to control section configuration.
Os::Queue::Status createQueue(FwSizeType depth, FwSizeType msgSize)
void log_WARNING_HI_OversizedChannel_ThrottleClear()
Reset throttle value for OversizedChannel.
virtual void Run_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port Run.
Enumeration for rate logic types for telemetry groups.
A less serious but recoverable event.
void invoke(Fw::Buffer &fwBuffer) const
Invoke a port connection.
Fw::ParamValid invoke(FwPrmIdType id, Fw::ParamBuffer &val) const
Telemetry value larger than the configured channel size.
Set telemetry send level.
void tlmWrite(FwChanIdType id, Fw::TlmBuffer &_tlmBuff, Fw::Time _tlmTime=Fw::Time()) const
void init()
Initialization function.
void addCallPort(InputBufferSendPort *callPort)
Register an input port.
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) const
Packet: use the group's state; group: use the section enable (default)
static constexpr FwIndexType getNum_timeGetOut_OutputPorts()
void deallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port deallocate.
Telemetry send level set.
void invoke(Fw::Time &time) const
Invoke a port connection.
static constexpr FwIndexType getNum_paramGetOut_OutputPorts()
Could not allocate a buffer to mirror a per-packet override out packetOverrideOut.
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.
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
Force a packet to be sent.
void resetDeser() override
Reset deserialization pointer to beginning of buffer.
Enable / disable a telemetry section.
void resetSer() override
Reset serialization pointer to beginning of buffer.
virtual void CLEAR_PACKET_OVERRIDE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CLEAR_PACKET_OVERRIDE.
static constexpr FwIndexType getNum_packetOverrideReturnOut_OutputPorts()
virtual void pingIn_handler(FwIndexType portNum, U32 key)=0
Handler for input port pingIn.
A serious but recoverable event.
Fw::Buffer allocate_out(FwIndexType portNum, FwSizeType size) const
Invoke output port allocate.
Errors dispatching messages.
static constexpr FwIndexType getNum_packetOverrideReturnIn_InputPorts()
void invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke a port connection.
virtual void OVERRIDE_PACKET_RATES_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Svc::TelemetrySection §ion, U32 packetId, const Svc::RateLogic &rateLogic, U32 minDelta, U32 maxDelta)=0
const char * toChar() const
Convert to a C-style char*.
void set_eventOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to eventOut[portNum].
virtual void GET_PACKET_CONFIG_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command GET_PACKET_CONFIG.
Enum representing event severity.
static constexpr FwIndexType getNum_tlmOut_OutputPorts()
Clear a single packet's override. The packet follows its group again.
The size of the serial representation.
void log_WARNING_HI_ConfigReloadFailed(const Fw::DeserialStatus &status) const
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
A per-packet override was applied by command; carries the stored override.
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.
void log_WARNING_HI_ConfigMirrorAllocFailed()
virtual void Run_handler(FwIndexType portNum, U32 context)=0
Handler for input port Run.
A packet's override and effective configuration, emitted in response to GET_PACKET_CONFIG.
uint8_t U8
8-bit unsigned integer
bool isConnected_packetOverrideReturnOut_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_eventOut_OutputPorts()
Fw::Buffer invoke(FwSizeType size) const
A packetOverrideIn reload record referenced a packet id not in this deployment; the record was skippe...
void log_ACTIVITY_HI_PacketConfigReport(const Svc::TelemetrySection §ion, U32 packetId, const Svc::PacketOverrideConfig &override, const Svc::TlmSendConfig &effective) const
Command failed to deserialize.
Telemetry channel is not part of a telemetry packet.
void lock()
lock the mutex and assert success
PlatformQueuePriorityType FwQueuePriorityType
The type of queue priorities used.
Command had execution error.
Important informational events.
void init()
Initialization function.
message to exit active component task
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 connection.
void PktSend_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context) const
Invoke output port PktSend.
static constexpr FwIndexType getNum_paramSetOut_OutputPorts()
A per-packet override was cleared by command; the packet reverts to its group policy.
The size of the serial representation.
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.
Fw::InputBufferSendPort * get_packetOverrideIn_InputPort(FwIndexType portNum)
void log_WARNING_LO_ReloadRecordUnknownPacket(U32 packetId) const
Opcode to set parameter SECTION_ENABLED.
A message was sent requesting an exit of the loop.
Override the rate logic and thresholds of a single packet (send state follows the group unless also o...
static constexpr FwIndexType getNum_allocate_OutputPorts()
PlatformIndexType FwIndexType
TlmPacketizerComponentBase(const char *compName="")
Construct TlmPacketizerComponentBase object.
static constexpr FwIndexType getNum_configureSectionGroupRate_InputPorts()
void packetOverrideOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port packetOverrideOut.
virtual void parametersLoaded()
Called whenever parameters are loaded.
void set_timeGetOut_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeGetOut[portNum].
void addCallPort(InputLogPort *callPort)
Register an input port.
virtual void OVERRIDE_PACKET_SEND_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command OVERRIDE_PACKET_SEND.
void log_WARNING_HI_OversizedChannel(FwChanIdType Id, FwSizeType valSize, FwSizeType expected)
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.
void incNumMsgDropped()
increment the number of messages dropped
void unlock()
alias for unLock to meet BasicLockable requirements
void init()
Initialization function.
Report a packet's override and effective configuration (PacketConfigReport event) ...
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.
Couldn't find the packet to send.
RateGroupDivider component implementation.
void packetOverrideReturnOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port packetOverrideReturnOut.
virtual void parameterUpdated(FwPrmIdType id)
Called whenever a parameter is updated.
message sent/received okay
Enum representing parameter validity.
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum) const
Svc::InputSchedPort * get_Run_InputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_TlmGet_InputPorts()
void invoke(FwPrmIdType id, Fw::ParamBuffer &val) const
Invoke a port connection.
The size of the serial representation.
Override the send state of a single packet in a section (rates follow the group unless also overridde...
void addCallPort(InputComPort *callPort)
Register an input port.
void packetOverrideReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port packetOverrideReturnIn.
Fw::InputTlmPort * get_TlmRecv_InputPort(FwIndexType portNum)
Opcode to save parameter SECTION_ENABLED.
virtual void CONFIGURE_GROUP_RATES_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Svc::TelemetrySection §ion, FwChanIdType tlmGroup, const Svc::RateLogic &rateLogic, U32 minDelta, U32 maxDelta)=0
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.
Channel ID for SectionEnabled.
void regCommands()
Register commands with the Command Dispatcher.
Message will return with status when space is unavailable.
Implementation of malloc based allocator.
void set_packetOverrideOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to packetOverrideOut[portNum].
void init()
Initialization function.
void init()
Initialization function.
void pingOut_out(FwIndexType portNum, U32 key) const
Invoke output port pingOut.
void CONFIGURE_GROUP_RATES_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void SET_LEVEL_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
virtual void SET_LEVEL_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command SET_LEVEL.
static constexpr FwIndexType getNum_pingOut_OutputPorts()
void log_WARNING_HI_ConfigMirrorAllocFailed_ThrottleClear()
Reset throttle value for ConfigMirrorAllocFailed.
static constexpr FwSizeType CAPACITY
void set_paramGetOut_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to paramGetOut[portNum].
virtual void CONFIGURE_GROUP_SEND_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CONFIGURE_GROUP_SEND.
static constexpr FwIndexType getNum_Run_InputPorts()
A group's send state was set by CONFIGURE_GROUP_SEND.
void set_cmdResponseOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdResponseOut[portNum].
virtual void GET_PACKET_CONFIG_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Svc::TelemetrySection §ion, U32 packetId)=0
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.
virtual void CONFIGURE_GROUP_SEND_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Svc::TelemetrySection §ion, FwChanIdType tlmGroup, const Svc::TlmSendState &sendState)=0
static constexpr FwIndexType getNum_TlmRecv_InputPorts()
BYTE cmdPortSize[Fw::CmdPortBuffer::CAPACITY]
void set_cmdRegOut_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to cmdRegOut[portNum].
static constexpr FwIndexType getNum_cmdIn_InputPorts()