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];
90 #if !FW_DIRECT_PORT_CALLS 97 this->m_cmdIn_InputPort[port].
init();
102 this->m_cmdIn_InputPort[port].
setPortNum(port);
104 #if FW_OBJECT_NAMES == 1 108 this->m_objName.toChar(),
111 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
116 #if !FW_DIRECT_PORT_CALLS 123 this->m_Run_InputPort[port].
init();
130 #if FW_OBJECT_NAMES == 1 134 this->m_objName.toChar(),
137 this->m_Run_InputPort[port].setObjName(portName.
toChar());
142 #if !FW_DIRECT_PORT_CALLS 149 this->m_TlmGet_InputPort[port].
init();
154 this->m_TlmGet_InputPort[port].
setPortNum(port);
156 #if FW_OBJECT_NAMES == 1 160 this->m_objName.toChar(),
163 this->m_TlmGet_InputPort[port].setObjName(portName.
toChar());
168 #if !FW_DIRECT_PORT_CALLS 175 this->m_TlmRecv_InputPort[port].
init();
180 this->m_TlmRecv_InputPort[port].
setPortNum(port);
182 #if FW_OBJECT_NAMES == 1 186 this->m_objName.toChar(),
189 this->m_TlmRecv_InputPort[port].setObjName(portName.
toChar());
194 #if !FW_DIRECT_PORT_CALLS 201 this->m_configureSectionGroupRate_InputPort[port].
init();
202 this->m_configureSectionGroupRate_InputPort[port].
addCallComp(
204 m_p_configureSectionGroupRate_in
206 this->m_configureSectionGroupRate_InputPort[port].
setPortNum(port);
208 #if FW_OBJECT_NAMES == 1 212 this->m_objName.toChar(),
215 this->m_configureSectionGroupRate_InputPort[port].setObjName(portName.
toChar());
220 #if !FW_DIRECT_PORT_CALLS 227 this->m_controlIn_InputPort[port].
init();
232 this->m_controlIn_InputPort[port].
setPortNum(port);
234 #if FW_OBJECT_NAMES == 1 238 this->m_objName.toChar(),
241 this->m_controlIn_InputPort[port].setObjName(portName.
toChar());
246 #if !FW_DIRECT_PORT_CALLS 253 this->m_pingIn_InputPort[port].
init();
258 this->m_pingIn_InputPort[port].
setPortNum(port);
260 #if FW_OBJECT_NAMES == 1 264 this->m_objName.toChar(),
267 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
272 #if !FW_DIRECT_PORT_CALLS 279 this->m_cmdRegOut_OutputPort[port].
init();
281 #if FW_OBJECT_NAMES == 1 285 this->m_objName.toChar(),
288 this->m_cmdRegOut_OutputPort[port].setObjName(portName.
toChar());
293 #if !FW_DIRECT_PORT_CALLS 300 this->m_cmdResponseOut_OutputPort[port].
init();
302 #if FW_OBJECT_NAMES == 1 306 this->m_objName.toChar(),
309 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
314 #if !FW_DIRECT_PORT_CALLS 321 this->m_eventOut_OutputPort[port].
init();
323 #if FW_OBJECT_NAMES == 1 327 this->m_objName.toChar(),
330 this->m_eventOut_OutputPort[port].setObjName(portName.
toChar());
335 #if !FW_DIRECT_PORT_CALLS 342 this->m_paramGetOut_OutputPort[port].
init();
344 #if FW_OBJECT_NAMES == 1 348 this->m_objName.toChar(),
351 this->m_paramGetOut_OutputPort[port].setObjName(portName.
toChar());
356 #if !FW_DIRECT_PORT_CALLS 363 this->m_paramSetOut_OutputPort[port].
init();
365 #if FW_OBJECT_NAMES == 1 369 this->m_objName.toChar(),
372 this->m_paramSetOut_OutputPort[port].setObjName(portName.
toChar());
377 #if !FW_DIRECT_PORT_CALLS && FW_ENABLE_TEXT_LOGGING 381 port < static_cast<FwIndexType>(this->getNum_textEventOut_OutputPorts());
384 this->m_textEventOut_OutputPort[port].
init();
386 #if FW_OBJECT_NAMES == 1 390 this->m_objName.toChar(),
393 this->m_textEventOut_OutputPort[port].setObjName(portName.
toChar());
398 #if !FW_DIRECT_PORT_CALLS 405 this->m_timeGetOut_OutputPort[port].
init();
407 #if FW_OBJECT_NAMES == 1 411 this->m_objName.toChar(),
414 this->m_timeGetOut_OutputPort[port].setObjName(portName.
toChar());
419 #if !FW_DIRECT_PORT_CALLS 426 this->m_tlmOut_OutputPort[port].
init();
428 #if FW_OBJECT_NAMES == 1 432 this->m_objName.toChar(),
435 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
440 #if !FW_DIRECT_PORT_CALLS 447 this->m_PktSend_OutputPort[port].
init();
449 #if FW_OBJECT_NAMES == 1 453 this->m_objName.toChar(),
456 this->m_PktSend_OutputPort[port].setObjName(portName.
toChar());
461 #if !FW_DIRECT_PORT_CALLS 468 this->m_pingOut_OutputPort[port].
init();
470 #if FW_OBJECT_NAMES == 1 474 this->m_objName.toChar(),
477 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
485 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
489 static_cast<FwAssertArgType>(qStat)
493 #if !FW_DIRECT_PORT_CALLS 504 static_cast<FwAssertArgType>(portNum)
507 return &this->m_cmdIn_InputPort[portNum];
512 #if !FW_DIRECT_PORT_CALLS 523 static_cast<FwAssertArgType>(portNum)
526 return &this->m_Run_InputPort[portNum];
534 static_cast<FwAssertArgType>(portNum)
537 return &this->m_TlmGet_InputPort[portNum];
545 static_cast<FwAssertArgType>(portNum)
548 return &this->m_TlmRecv_InputPort[portNum];
556 static_cast<FwAssertArgType>(portNum)
559 return &this->m_configureSectionGroupRate_InputPort[portNum];
567 static_cast<FwAssertArgType>(portNum)
570 return &this->m_controlIn_InputPort[portNum];
578 static_cast<FwAssertArgType>(portNum)
581 return &this->m_pingIn_InputPort[portNum];
586 #if !FW_DIRECT_PORT_CALLS 600 static_cast<FwAssertArgType>(portNum)
603 this->m_cmdRegOut_OutputPort[portNum].
addCallPort(port);
614 static_cast<FwAssertArgType>(portNum)
617 this->m_cmdResponseOut_OutputPort[portNum].
addCallPort(port);
628 static_cast<FwAssertArgType>(portNum)
631 this->m_eventOut_OutputPort[portNum].
addCallPort(port);
642 static_cast<FwAssertArgType>(portNum)
645 this->m_paramGetOut_OutputPort[portNum].
addCallPort(port);
656 static_cast<FwAssertArgType>(portNum)
659 this->m_paramSetOut_OutputPort[portNum].
addCallPort(port);
662 #if FW_ENABLE_TEXT_LOGGING == 1 664 void TlmPacketizerComponentBase ::
665 set_textEventOut_OutputPort(
671 (0 <= portNum) && (portNum < this->getNum_textEventOut_OutputPorts()),
672 static_cast<FwAssertArgType>(portNum)
675 this->m_textEventOut_OutputPort[portNum].addCallPort(port);
688 static_cast<FwAssertArgType>(portNum)
691 this->m_timeGetOut_OutputPort[portNum].
addCallPort(port);
702 static_cast<FwAssertArgType>(portNum)
705 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
710 #if !FW_DIRECT_PORT_CALLS 724 static_cast<FwAssertArgType>(portNum)
727 this->m_PktSend_OutputPort[portNum].
addCallPort(port);
738 static_cast<FwAssertArgType>(portNum)
741 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
746 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 755 Fw::InputSerializePort* port
760 static_cast<FwAssertArgType>(portNum)
763 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
769 Fw::InputSerializePort* port
774 static_cast<FwAssertArgType>(portNum)
777 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
783 Fw::InputSerializePort* port
788 static_cast<FwAssertArgType>(portNum)
791 this->m_eventOut_OutputPort[portNum].registerSerialPort(port);
797 Fw::InputSerializePort* port
802 static_cast<FwAssertArgType>(portNum)
805 this->m_paramSetOut_OutputPort[portNum].registerSerialPort(port);
808 #if FW_ENABLE_TEXT_LOGGING == 1 810 void TlmPacketizerComponentBase ::
811 set_textEventOut_OutputPort(
813 Fw::InputSerializePort* port
817 (0 <= portNum) && (portNum < this->getNum_textEventOut_OutputPorts()),
818 static_cast<FwAssertArgType>(portNum)
821 this->m_textEventOut_OutputPort[portNum].registerSerialPort(port);
829 Fw::InputSerializePort* port
834 static_cast<FwAssertArgType>(portNum)
837 this->m_timeGetOut_OutputPort[portNum].registerSerialPort(port);
843 Fw::InputSerializePort* port
848 static_cast<FwAssertArgType>(portNum)
851 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
856 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 865 Fw::InputSerializePort* port
870 static_cast<FwAssertArgType>(portNum)
873 this->m_PktSend_OutputPort[portNum].registerSerialPort(port);
879 Fw::InputSerializePort* port
884 static_cast<FwAssertArgType>(portNum)
887 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
969 this->m_param_SECTION_ENABLED_valid = this->paramGetOut_out(
975 this->m_paramLock.
lock();
979 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
983 this->m_param_SECTION_ENABLED_valid,
998 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
1002 this->m_param_SECTION_ENABLED_valid,
1010 this->m_paramLock.
unlock();
1015 this->m_param_SECTION_CONFIGS_valid = this->paramGetOut_out(
1021 this->m_paramLock.
lock();
1025 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
1029 this->m_param_SECTION_CONFIGS_valid,
1044 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
1048 this->m_param_SECTION_CONFIGS_valid,
1056 this->m_paramLock.
unlock();
1068 Fw::ActiveComponentBase(compName)
1079 #if !FW_DIRECT_PORT_CALLS 1090 static_cast<FwAssertArgType>(portNum)
1093 return this->m_cmdRegOut_OutputPort[portNum].
isConnected();
1101 static_cast<FwAssertArgType>(portNum)
1104 return this->m_cmdResponseOut_OutputPort[portNum].
isConnected();
1112 static_cast<FwAssertArgType>(portNum)
1115 return this->m_eventOut_OutputPort[portNum].
isConnected();
1123 static_cast<FwAssertArgType>(portNum)
1126 return this->m_paramGetOut_OutputPort[portNum].
isConnected();
1134 static_cast<FwAssertArgType>(portNum)
1137 return this->m_paramSetOut_OutputPort[portNum].
isConnected();
1140 #if FW_ENABLE_TEXT_LOGGING == 1 1142 bool TlmPacketizerComponentBase ::
1143 isConnected_textEventOut_OutputPort(
FwIndexType portNum)
const 1146 (0 <= portNum) && (portNum < this->getNum_textEventOut_OutputPorts()),
1147 static_cast<FwAssertArgType>(portNum)
1150 return this->m_textEventOut_OutputPort[portNum].isConnected();
1160 static_cast<FwAssertArgType>(portNum)
1163 return this->m_timeGetOut_OutputPort[portNum].
isConnected();
1171 static_cast<FwAssertArgType>(portNum)
1174 return this->m_tlmOut_OutputPort[portNum].
isConnected();
1179 #if !FW_DIRECT_PORT_CALLS 1190 static_cast<FwAssertArgType>(portNum)
1193 return this->m_PktSend_OutputPort[portNum].
isConnected();
1201 static_cast<FwAssertArgType>(portNum)
1204 return this->m_pingOut_OutputPort[portNum].
isConnected();
1225 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
1228 switch (opCode - idBase) {
1343 static_cast<FwAssertArgType>(portNum)
1351 ComponentIpcSerializableBuffer msg;
1355 _status = msg.serializeFrom(
1356 static_cast<FwEnumStoreType>(RUN_SCHED)
1360 static_cast<FwAssertArgType>(_status)
1364 _status = msg.serializeFrom(portNum);
1367 static_cast<FwAssertArgType>(_status)
1371 _status = msg.serializeFrom(context);
1374 static_cast<FwAssertArgType>(_status)
1383 static_cast<FwAssertArgType>(qStatus)
1398 static_cast<FwAssertArgType>(portNum)
1425 static_cast<FwAssertArgType>(portNum)
1450 static_cast<FwAssertArgType>(portNum)
1462 ComponentIpcSerializableBuffer msg;
1466 _status = msg.serializeFrom(
1467 static_cast<FwEnumStoreType>(CONFIGURESECTIONGROUPRATE_CONFIGUREGROUPRATE)
1471 static_cast<FwAssertArgType>(_status)
1475 _status = msg.serializeFrom(portNum);
1478 static_cast<FwAssertArgType>(_status)
1482 _status = msg.serializeFrom(section);
1485 static_cast<FwAssertArgType>(_status)
1489 _status = msg.serializeFrom(tlmGroup);
1492 static_cast<FwAssertArgType>(_status)
1496 _status = msg.serializeFrom(rateLogic);
1499 static_cast<FwAssertArgType>(_status)
1503 _status = msg.serializeFrom(minDelta);
1506 static_cast<FwAssertArgType>(_status)
1510 _status = msg.serializeFrom(maxDelta);
1513 static_cast<FwAssertArgType>(_status)
1522 static_cast<FwAssertArgType>(qStatus)
1536 static_cast<FwAssertArgType>(portNum)
1545 ComponentIpcSerializableBuffer msg;
1549 _status = msg.serializeFrom(
1550 static_cast<FwEnumStoreType>(CONTROLIN_ENABLESECTION)
1554 static_cast<FwAssertArgType>(_status)
1558 _status = msg.serializeFrom(portNum);
1561 static_cast<FwAssertArgType>(_status)
1565 _status = msg.serializeFrom(section);
1568 static_cast<FwAssertArgType>(_status)
1572 _status = msg.serializeFrom(enabled);
1575 static_cast<FwAssertArgType>(_status)
1584 static_cast<FwAssertArgType>(qStatus)
1597 static_cast<FwAssertArgType>(portNum)
1605 ComponentIpcSerializableBuffer msg;
1609 _status = msg.serializeFrom(
1610 static_cast<FwEnumStoreType>(PINGIN_PING)
1614 static_cast<FwAssertArgType>(_status)
1618 _status = msg.serializeFrom(portNum);
1621 static_cast<FwAssertArgType>(_status)
1625 _status = msg.serializeFrom(key);
1628 static_cast<FwAssertArgType>(_status)
1637 static_cast<FwAssertArgType>(qStatus)
1690 #if !FW_DIRECT_PORT_CALLS 1705 static_cast<FwAssertArgType>(portNum)
1709 this->m_PktSend_OutputPort[portNum].isConnected(),
1710 static_cast<FwAssertArgType>(portNum)
1712 this->m_PktSend_OutputPort[portNum].
invoke(
1726 static_cast<FwAssertArgType>(portNum)
1730 this->m_pingOut_OutputPort[portNum].isConnected(),
1731 static_cast<FwAssertArgType>(portNum)
1733 this->m_pingOut_OutputPort[portNum].
invoke(
1752 this->cmdResponseOut_out(0, opCode, cmdSeq, response);
1773 ComponentIpcSerializableBuffer msg;
1777 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SET_LEVEL));
1780 static_cast<FwAssertArgType>(_status)
1786 _status = msg.serializeFrom(port);
1789 static_cast<FwAssertArgType>(_status)
1792 _status = msg.serializeFrom(opCode);
1795 static_cast<FwAssertArgType>(_status)
1798 _status = msg.serializeFrom(cmdSeq);
1801 static_cast<FwAssertArgType>(_status)
1804 _status = msg.serializeFrom(args);
1807 static_cast<FwAssertArgType>(_status)
1816 static_cast<FwAssertArgType>(qStatus)
1832 ComponentIpcSerializableBuffer msg;
1836 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SEND_PKT));
1839 static_cast<FwAssertArgType>(_status)
1845 _status = msg.serializeFrom(port);
1848 static_cast<FwAssertArgType>(_status)
1851 _status = msg.serializeFrom(opCode);
1854 static_cast<FwAssertArgType>(_status)
1857 _status = msg.serializeFrom(cmdSeq);
1860 static_cast<FwAssertArgType>(_status)
1863 _status = msg.serializeFrom(args);
1866 static_cast<FwAssertArgType>(_status)
1875 static_cast<FwAssertArgType>(qStatus)
1891 ComponentIpcSerializableBuffer msg;
1895 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_ENABLE_SECTION));
1898 static_cast<FwAssertArgType>(_status)
1904 _status = msg.serializeFrom(port);
1907 static_cast<FwAssertArgType>(_status)
1910 _status = msg.serializeFrom(opCode);
1913 static_cast<FwAssertArgType>(_status)
1916 _status = msg.serializeFrom(cmdSeq);
1919 static_cast<FwAssertArgType>(_status)
1922 _status = msg.serializeFrom(args);
1925 static_cast<FwAssertArgType>(_status)
1934 static_cast<FwAssertArgType>(qStatus)
1950 ComponentIpcSerializableBuffer msg;
1954 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_ENABLE_GROUP));
1957 static_cast<FwAssertArgType>(_status)
1963 _status = msg.serializeFrom(port);
1966 static_cast<FwAssertArgType>(_status)
1969 _status = msg.serializeFrom(opCode);
1972 static_cast<FwAssertArgType>(_status)
1975 _status = msg.serializeFrom(cmdSeq);
1978 static_cast<FwAssertArgType>(_status)
1981 _status = msg.serializeFrom(args);
1984 static_cast<FwAssertArgType>(_status)
1993 static_cast<FwAssertArgType>(qStatus)
2009 ComponentIpcSerializableBuffer msg;
2013 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_FORCE_GROUP));
2016 static_cast<FwAssertArgType>(_status)
2022 _status = msg.serializeFrom(port);
2025 static_cast<FwAssertArgType>(_status)
2028 _status = msg.serializeFrom(opCode);
2031 static_cast<FwAssertArgType>(_status)
2034 _status = msg.serializeFrom(cmdSeq);
2037 static_cast<FwAssertArgType>(_status)
2040 _status = msg.serializeFrom(args);
2043 static_cast<FwAssertArgType>(_status)
2052 static_cast<FwAssertArgType>(qStatus)
2068 ComponentIpcSerializableBuffer msg;
2072 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CONFIGURE_GROUP_RATES));
2075 static_cast<FwAssertArgType>(_status)
2081 _status = msg.serializeFrom(port);
2084 static_cast<FwAssertArgType>(_status)
2087 _status = msg.serializeFrom(opCode);
2090 static_cast<FwAssertArgType>(_status)
2093 _status = msg.serializeFrom(cmdSeq);
2096 static_cast<FwAssertArgType>(_status)
2099 _status = msg.serializeFrom(args);
2102 static_cast<FwAssertArgType>(_status)
2111 static_cast<FwAssertArgType>(qStatus)
2199 this->timeGetOut_out(0, _logTime);
2209 #if FW_AMPCS_COMPATIBLE 2214 static_cast<FwAssertArgType>(_status)
2218 #if FW_AMPCS_COMPATIBLE 2225 static_cast<FwAssertArgType>(_status)
2231 static_cast<FwAssertArgType>(_status)
2244 #if FW_ENABLE_TEXT_LOGGING 2245 if (this->isConnected_textEventOut_OutputPort(0)) {
2246 #if FW_OBJECT_NAMES == 1 2247 const char* _formatString =
2248 "(%s) %s: Telemetry ID 0x%" PRIx32
" not packetized";
2250 const char* _formatString =
2251 "%s: Telemetry ID 0x%" PRIx32
" not packetized";
2258 this->m_objName.toChar(),
2264 this->textEventOut_out(
2281 this->timeGetOut_out(0, _logTime);
2291 #if FW_AMPCS_COMPATIBLE 2296 static_cast<FwAssertArgType>(_status)
2300 #if FW_AMPCS_COMPATIBLE 2307 static_cast<FwAssertArgType>(_status)
2313 static_cast<FwAssertArgType>(_status)
2326 #if FW_ENABLE_TEXT_LOGGING 2327 if (this->isConnected_textEventOut_OutputPort(0)) {
2328 #if FW_OBJECT_NAMES == 1 2329 const char* _formatString =
2330 "(%s) %s: Telemetry send level to %" PRIu32
"";
2332 const char* _formatString =
2333 "%s: Telemetry send level to %" PRIu32
"";
2340 this->m_objName.toChar(),
2346 this->textEventOut_out(
2366 this->timeGetOut_out(0, _logTime);
2376 #if FW_AMPCS_COMPATIBLE 2381 static_cast<FwAssertArgType>(_status)
2385 #if FW_AMPCS_COMPATIBLE 2392 static_cast<FwAssertArgType>(_status)
2398 static_cast<FwAssertArgType>(_status)
2401 #if FW_AMPCS_COMPATIBLE 2408 static_cast<FwAssertArgType>(_status)
2414 static_cast<FwAssertArgType>(_status)
2427 #if FW_ENABLE_TEXT_LOGGING 2428 if (this->isConnected_textEventOut_OutputPort(0)) {
2429 #if FW_OBJECT_NAMES == 1 2430 const char* _formatString =
2431 "(%s) %s: Requested send level %" PRIu32
" higher than max packet level of %" PRIu32
"";
2433 const char* _formatString =
2434 "%s: Requested send level %" PRIu32
" higher than max packet level of %" PRIu32
"";
2441 this->m_objName.toChar(),
2448 this->textEventOut_out(
2465 this->timeGetOut_out(0, _logTime);
2475 #if FW_AMPCS_COMPATIBLE 2480 static_cast<FwAssertArgType>(_status)
2484 #if FW_AMPCS_COMPATIBLE 2487 static_cast<U8>(
sizeof(U32))
2491 static_cast<FwAssertArgType>(_status)
2497 static_cast<FwAssertArgType>(_status)
2510 #if FW_ENABLE_TEXT_LOGGING 2511 if (this->isConnected_textEventOut_OutputPort(0)) {
2512 #if FW_OBJECT_NAMES == 1 2513 const char* _formatString =
2514 "(%s) %s: Sent packet ID %" PRIu32
"";
2516 const char* _formatString =
2517 "%s: Sent packet ID %" PRIu32
"";
2524 this->m_objName.toChar(),
2530 this->textEventOut_out(
2547 this->timeGetOut_out(0, _logTime);
2557 #if FW_AMPCS_COMPATIBLE 2562 static_cast<FwAssertArgType>(_status)
2566 #if FW_AMPCS_COMPATIBLE 2569 static_cast<U8>(
sizeof(U32))
2573 static_cast<FwAssertArgType>(_status)
2579 static_cast<FwAssertArgType>(_status)
2592 #if FW_ENABLE_TEXT_LOGGING 2593 if (this->isConnected_textEventOut_OutputPort(0)) {
2594 #if FW_OBJECT_NAMES == 1 2595 const char* _formatString =
2596 "(%s) %s: Could not find packet ID %" PRIu32
"";
2598 const char* _formatString =
2599 "%s: Could not find packet ID %" PRIu32
"";
2606 this->m_objName.toChar(),
2612 this->textEventOut_out(
2632 this->timeGetOut_out(0, _logTime);
2642 #if FW_AMPCS_COMPATIBLE 2647 static_cast<FwAssertArgType>(_status)
2651 #if FW_AMPCS_COMPATIBLE 2658 static_cast<FwAssertArgType>(_status)
2664 static_cast<FwAssertArgType>(_status)
2667 #if FW_AMPCS_COMPATIBLE 2674 static_cast<FwAssertArgType>(_status)
2680 static_cast<FwAssertArgType>(_status)
2693 #if FW_ENABLE_TEXT_LOGGING 2694 if (this->isConnected_textEventOut_OutputPort(0)) {
2695 #if FW_OBJECT_NAMES == 1 2696 const char* _formatString =
2697 "(%s) %s: Section %s is unconfigurable and cannot be set to %s";
2699 const char* _formatString =
2700 "%s: Section %s is unconfigurable and cannot be set to %s";
2704 section.toString(sectionStr);
2706 enable.toString(enableStr);
2712 this->m_objName.toChar(),
2714 "SectionUnconfigurable ",
2719 this->textEventOut_out(
2746 this->timeGetOut_out(0, _tlmTime);
2776 static_cast<FwAssertArgType>(_stat)
2798 static_cast<FwAssertArgType>(_stat)
2833 this->m_paramLock.
lock();
2834 valid = this->m_param_SECTION_ENABLED_valid;
2837 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
2839 static_cast<FwPrmIdType>(this->
getIdBase()),
2850 this->m_paramLock.
unlock();
2858 this->m_paramLock.
lock();
2859 valid = this->m_param_SECTION_CONFIGS_valid;
2862 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
2864 static_cast<FwPrmIdType>(this->
getIdBase()),
2875 this->m_paramLock.
unlock();
2886 FW_ASSERT(paramExternalDelegatePtr !=
nullptr);
2887 this->paramDelegatePtr = paramExternalDelegatePtr;
2899 this->timeGetOut_out(0, _time);
2914 ComponentIpcSerializableBuffer _msg;
2924 static_cast<FwAssertArgType>(_msgStatus)
2934 static_cast<FwAssertArgType>(_deserStatus)
2937 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
2939 if (_msgType == TLMPACKETIZER_COMPONENT_EXIT) {
2944 _deserStatus = _msg.deserializeTo(portNum);
2947 static_cast<FwAssertArgType>(_deserStatus)
2955 _deserStatus = _msg.deserializeTo(context);
2958 static_cast<FwAssertArgType>(_deserStatus)
2970 case CONFIGURESECTIONGROUPRATE_CONFIGUREGROUPRATE: {
2973 _deserStatus = _msg.deserializeTo(section);
2976 static_cast<FwAssertArgType>(_deserStatus)
2981 _deserStatus = _msg.deserializeTo(tlmGroup);
2984 static_cast<FwAssertArgType>(_deserStatus)
2989 _deserStatus = _msg.deserializeTo(rateLogic);
2992 static_cast<FwAssertArgType>(_deserStatus)
2997 _deserStatus = _msg.deserializeTo(minDelta);
3000 static_cast<FwAssertArgType>(_deserStatus)
3005 _deserStatus = _msg.deserializeTo(maxDelta);
3008 static_cast<FwAssertArgType>(_deserStatus)
3024 case CONTROLIN_ENABLESECTION: {
3027 _deserStatus = _msg.deserializeTo(section);
3030 static_cast<FwAssertArgType>(_deserStatus)
3035 _deserStatus = _msg.deserializeTo(enabled);
3038 static_cast<FwAssertArgType>(_deserStatus)
3054 _deserStatus = _msg.deserializeTo(key);
3057 static_cast<FwAssertArgType>(_deserStatus)
3069 case CMD_SET_LEVEL: {
3072 _deserStatus = _msg.deserializeTo(_opCode);
3075 static_cast<FwAssertArgType>(_deserStatus)
3080 _deserStatus = _msg.deserializeTo(_cmdSeq);
3083 static_cast<FwAssertArgType>(_deserStatus)
3088 _deserStatus = _msg.deserializeTo(args);
3091 static_cast<FwAssertArgType>(_deserStatus)
3114 #if FW_CMD_CHECK_RESIDUAL 3134 case CMD_SEND_PKT: {
3137 _deserStatus = _msg.deserializeTo(_opCode);
3140 static_cast<FwAssertArgType>(_deserStatus)
3145 _deserStatus = _msg.deserializeTo(_cmdSeq);
3148 static_cast<FwAssertArgType>(_deserStatus)
3153 _deserStatus = _msg.deserializeTo(args);
3156 static_cast<FwAssertArgType>(_deserStatus)
3194 #if FW_CMD_CHECK_RESIDUAL 3215 case CMD_ENABLE_SECTION: {
3218 _deserStatus = _msg.deserializeTo(_opCode);
3221 static_cast<FwAssertArgType>(_deserStatus)
3226 _deserStatus = _msg.deserializeTo(_cmdSeq);
3229 static_cast<FwAssertArgType>(_deserStatus)
3234 _deserStatus = _msg.deserializeTo(args);
3237 static_cast<FwAssertArgType>(_deserStatus)
3275 #if FW_CMD_CHECK_RESIDUAL 3296 case CMD_ENABLE_GROUP: {
3299 _deserStatus = _msg.deserializeTo(_opCode);
3302 static_cast<FwAssertArgType>(_deserStatus)
3307 _deserStatus = _msg.deserializeTo(_cmdSeq);
3310 static_cast<FwAssertArgType>(_deserStatus)
3315 _deserStatus = _msg.deserializeTo(args);
3318 static_cast<FwAssertArgType>(_deserStatus)
3371 #if FW_CMD_CHECK_RESIDUAL 3393 case CMD_FORCE_GROUP: {
3396 _deserStatus = _msg.deserializeTo(_opCode);
3399 static_cast<FwAssertArgType>(_deserStatus)
3404 _deserStatus = _msg.deserializeTo(_cmdSeq);
3407 static_cast<FwAssertArgType>(_deserStatus)
3412 _deserStatus = _msg.deserializeTo(args);
3415 static_cast<FwAssertArgType>(_deserStatus)
3468 #if FW_CMD_CHECK_RESIDUAL 3490 case CMD_CONFIGURE_GROUP_RATES: {
3493 _deserStatus = _msg.deserializeTo(_opCode);
3496 static_cast<FwAssertArgType>(_deserStatus)
3501 _deserStatus = _msg.deserializeTo(_cmdSeq);
3504 static_cast<FwAssertArgType>(_deserStatus)
3509 _deserStatus = _msg.deserializeTo(args);
3512 static_cast<FwAssertArgType>(_deserStatus)
3595 #if FW_CMD_CHECK_RESIDUAL 3629 void TlmPacketizerComponentBase ::
3640 compPtr->cmdIn_handlerBase(
3652 void TlmPacketizerComponentBase ::
3661 compPtr->Run_handlerBase(
3678 return compPtr->TlmGet_handlerBase(
3686 void TlmPacketizerComponentBase ::
3697 compPtr->TlmRecv_handlerBase(
3705 void TlmPacketizerComponentBase ::
3706 m_p_configureSectionGroupRate_in(
3718 compPtr->configureSectionGroupRate_handlerBase(
3728 void TlmPacketizerComponentBase ::
3738 compPtr->controlIn_handlerBase(
3745 void TlmPacketizerComponentBase ::
3754 compPtr->pingIn_handlerBase(
3760 #if !FW_DIRECT_PORT_CALLS 3766 void TlmPacketizerComponentBase ::
3774 static_cast<FwAssertArgType>(portNum)
3778 this->m_cmdRegOut_OutputPort[portNum].isConnected(),
3779 static_cast<FwAssertArgType>(portNum)
3781 this->m_cmdRegOut_OutputPort[portNum].
invoke(
3786 void TlmPacketizerComponentBase ::
3796 static_cast<FwAssertArgType>(portNum)
3800 this->m_cmdResponseOut_OutputPort[portNum].isConnected(),
3801 static_cast<FwAssertArgType>(portNum)
3803 this->m_cmdResponseOut_OutputPort[portNum].
invoke(
3810 void TlmPacketizerComponentBase ::
3821 static_cast<FwAssertArgType>(portNum)
3825 this->m_eventOut_OutputPort[portNum].isConnected(),
3826 static_cast<FwAssertArgType>(portNum)
3828 this->m_eventOut_OutputPort[portNum].
invoke(
3845 static_cast<FwAssertArgType>(portNum)
3849 this->m_paramGetOut_OutputPort[portNum].isConnected(),
3850 static_cast<FwAssertArgType>(portNum)
3852 return this->m_paramGetOut_OutputPort[portNum].
invoke(
3858 void TlmPacketizerComponentBase ::
3867 static_cast<FwAssertArgType>(portNum)
3871 this->m_paramSetOut_OutputPort[portNum].isConnected(),
3872 static_cast<FwAssertArgType>(portNum)
3874 this->m_paramSetOut_OutputPort[portNum].
invoke(
3880 #if FW_ENABLE_TEXT_LOGGING 3882 void TlmPacketizerComponentBase ::
3892 (0 <= portNum) && (portNum < this->getNum_textEventOut_OutputPorts()),
3893 static_cast<FwAssertArgType>(portNum)
3897 this->m_textEventOut_OutputPort[portNum].isConnected(),
3898 static_cast<FwAssertArgType>(portNum)
3900 this->m_textEventOut_OutputPort[portNum].invoke(
3910 void TlmPacketizerComponentBase ::
3918 static_cast<FwAssertArgType>(portNum)
3922 this->m_timeGetOut_OutputPort[portNum].isConnected(),
3923 static_cast<FwAssertArgType>(portNum)
3925 this->m_timeGetOut_OutputPort[portNum].
invoke(
3930 void TlmPacketizerComponentBase ::
3940 static_cast<FwAssertArgType>(portNum)
3944 this->m_tlmOut_OutputPort[portNum].isConnected(),
3945 static_cast<FwAssertArgType>(portNum)
3947 this->m_tlmOut_OutputPort[portNum].
invoke(
3965 this->m_paramLock.
lock();
3967 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
3969 static_cast<FwPrmIdType>(this->
getIdBase()),
3983 this->m_paramLock.
unlock();
3997 this->m_paramLock.
lock();
3999 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
4001 static_cast<FwPrmIdType>(this->
getIdBase()),
4015 this->m_paramLock.
unlock();
4029 paramSave_SECTION_ENABLED()
4038 this->m_paramLock.
lock();
4040 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
4042 static_cast<FwPrmIdType>(idBase),
4047 this->m_paramLock.
unlock();
4052 this->paramSetOut_out(
4062 paramSave_SECTION_CONFIGS()
4071 this->m_paramLock.
lock();
4073 FW_ASSERT(this->paramDelegatePtr !=
nullptr);
4075 static_cast<FwPrmIdType>(idBase),
4080 this->m_paramLock.
unlock();
4085 this->paramSetOut_out(
bool isConnected_PktSend_OutputPort(FwIndexType portNum) const
static constexpr FwSizeType CAPACITY
Parameter to control section enable flags.
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)
message to exit active component task
void invoke(Fw::ComBuffer &data, U32 context) const
Invoke a port connection.
Telemetry channel is not part of a telemetry packet.
void init()
Initialization function.
static constexpr FwSizeType CAPACITY
void set_PktSend_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to PktSend[portNum].
Opcode to save parameter SECTION_ENABLED.
FwIdType FwOpcodeType
The type of a command opcode.
bool isConnected_eventOut_OutputPort(FwIndexType portNum) const
SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG) override
Serialize an 8-bit unsigned integer value.
Set telemetry send level.
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
bool isConnected_tlmOut_OutputPort(FwIndexType portNum) 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()
bool isConnected_paramGetOut_OutputPort(FwIndexType portNum) const
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.
void log_ACTIVITY_LO_PacketSent(U32 packetId) const
Status
status returned from the queue send function
Telemetry send level set.
static constexpr FwIndexType getNum_PktSend_OutputPorts()
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 connection.
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.
bool isConnected_pingOut_OutputPort(FwIndexType portNum) const
virtual void controlIn_handler(FwIndexType portNum, const Svc::TelemetrySection §ion, const Fw::Enabled &enabled)=0
Handler for input port controlIn.
virtual void SEND_PKT_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U32 id, Svc::TelemetrySection section)=0
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)
bool isConnected_paramSetOut_OutputPort(FwIndexType portNum) const
void addCallPort(InputCmdRegPort *callPort)
Register an input port.
Send on updates after MIN ticks since last send.
Enable / disable telemetry of a group on a section.
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.
virtual void SET_LEVEL_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, FwChanIdType level)=0
void log_WARNING_LO_PacketNotFound(U32 packetId) const
void init()
Initialization function.
Os::Queue m_queue
queue object for active component
Parameter to control section configuration.
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.
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.
Set Min and Max Deltas between successive packets.
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.
void unlock()
alias for unLock to meet BasicLockable requirements
FwIdType FwEventIdType
The type of an event identifier.
virtual void FORCE_GROUP_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command FORCE_GROUP.
void invoke(FwOpcodeType opCode) const
Invoke a port connection.
Enable / disable a telemetry section.
static constexpr FwSizeType CAPACITY
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects) ...
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)
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.
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.
Channel ID for GroupConfigs.
Enumeration for rate logic types for telemetry groups.
A less serious but recoverable event.
Fw::ParamValid invoke(FwPrmIdType id, Fw::ParamBuffer &val) const
void tlmWrite(FwChanIdType id, Fw::TlmBuffer &_tlmBuff, Fw::Time _tlmTime=Fw::Time()) const
void init()
Initialization function.
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_timeGetOut_OutputPorts()
void invoke(Fw::Time &time) const
Invoke a port connection.
static constexpr FwIndexType getNum_paramGetOut_OutputPorts()
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.
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
The size of the serial representation.
Channel ID for SectionEnabled.
void resetDeser() override
Reset deserialization pointer to beginning of buffer.
Couldn't find the packet to send.
void resetSer() override
Reset serialization pointer to beginning of buffer.
Opcode to set parameter SECTION_CONFIGS.
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.
Errors dispatching messages.
void invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke a port connection.
const char * toChar() const
Convert to a C-style char*.
void set_eventOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to eventOut[portNum].
Enum representing event severity.
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.
Telemetry send level set.
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.
Force a packet to be sent.
Opcode to set parameter SECTION_ENABLED.
uint8_t U8
8-bit unsigned integer
static constexpr FwIndexType getNum_eventOut_OutputPorts()
The size of the serial representation.
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 connection.
void PktSend_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context) const
Invoke output port PktSend.
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.
A message was sent requesting an exit of the loop.
Opcode to save parameter SECTION_CONFIGS.
PlatformIndexType FwIndexType
TlmPacketizerComponentBase(const char *compName="")
Construct TlmPacketizerComponentBase object.
static constexpr FwIndexType getNum_configureSectionGroupRate_InputPorts()
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.
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.
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_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.
void addCallPort(InputComPort *callPort)
Register an input port.
Fw::InputTlmPort * get_TlmRecv_InputPort(FwIndexType portNum)
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.
Force telemetering a group on a section, even if disabled.
void regCommands()
Register commands with the Command Dispatcher.
Message will return with status when space is unavailable.
Implementation of malloc based allocator.
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()
static constexpr FwSizeType CAPACITY
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 addCallPort(InputCmdResponsePort *callPort)
Register an input port.
void lock()
lock the mutex and assert success
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()