11#if FW_ENABLE_TEXT_LOGGING
36 class ComponentIpcSerializableBuffer :
51 return sizeof(m_buff);
58 const U8* getBuffAddr()
const {
64 U8 m_buff[SERIALIZATION_SIZE];
73 void TlmPacketizerComponentBase ::
85 port < static_cast<PlatformIntType>(this->getNum_cmdIn_InputPorts());
88 this->m_cmdIn_InputPort[port].init();
89 this->m_cmdIn_InputPort[port].addCallComp(
93 this->m_cmdIn_InputPort[port].setPortNum(port);
95#if FW_OBJECT_NAMES == 1
104 this->m_cmdIn_InputPort[port].setObjName(portName);
111 port < static_cast<PlatformIntType>(this->getNum_Run_InputPorts());
114 this->m_Run_InputPort[port].init();
115 this->m_Run_InputPort[port].addCallComp(
119 this->m_Run_InputPort[port].setPortNum(port);
121#if FW_OBJECT_NAMES == 1
130 this->m_Run_InputPort[port].setObjName(portName);
137 port < static_cast<PlatformIntType>(this->getNum_TlmRecv_InputPorts());
140 this->m_TlmRecv_InputPort[port].init();
141 this->m_TlmRecv_InputPort[port].addCallComp(
145 this->m_TlmRecv_InputPort[port].setPortNum(port);
147#if FW_OBJECT_NAMES == 1
156 this->m_TlmRecv_InputPort[port].setObjName(portName);
163 port < static_cast<PlatformIntType>(this->getNum_pingIn_InputPorts());
166 this->m_pingIn_InputPort[port].init();
167 this->m_pingIn_InputPort[port].addCallComp(
171 this->m_pingIn_InputPort[port].setPortNum(port);
173#if FW_OBJECT_NAMES == 1
182 this->m_pingIn_InputPort[port].setObjName(portName);
189 port < static_cast<PlatformIntType>(this->getNum_cmdRegOut_OutputPorts());
192 this->m_cmdRegOut_OutputPort[port].init();
194#if FW_OBJECT_NAMES == 1
203 this->m_cmdRegOut_OutputPort[port].setObjName(portName);
210 port < static_cast<PlatformIntType>(this->getNum_cmdResponseOut_OutputPorts());
213 this->m_cmdResponseOut_OutputPort[port].init();
215#if FW_OBJECT_NAMES == 1
224 this->m_cmdResponseOut_OutputPort[port].setObjName(portName);
231 port < static_cast<PlatformIntType>(this->getNum_eventOut_OutputPorts());
234 this->m_eventOut_OutputPort[port].init();
236#if FW_OBJECT_NAMES == 1
245 this->m_eventOut_OutputPort[port].setObjName(portName);
249#if FW_ENABLE_TEXT_LOGGING == 1
253 port < static_cast<PlatformIntType>(this->getNum_textEventOut_OutputPorts());
256 this->m_textEventOut_OutputPort[port].init();
258#if FW_OBJECT_NAMES == 1
267 this->m_textEventOut_OutputPort[port].setObjName(portName);
275 port < static_cast<PlatformIntType>(this->getNum_timeGetOut_OutputPorts());
278 this->m_timeGetOut_OutputPort[port].init();
280#if FW_OBJECT_NAMES == 1
289 this->m_timeGetOut_OutputPort[port].setObjName(portName);
296 port < static_cast<PlatformIntType>(this->getNum_tlmOut_OutputPorts());
299 this->m_tlmOut_OutputPort[port].init();
301#if FW_OBJECT_NAMES == 1
310 this->m_tlmOut_OutputPort[port].setObjName(portName);
317 port < static_cast<PlatformIntType>(this->getNum_PktSend_OutputPorts());
320 this->m_PktSend_OutputPort[port].init();
322#if FW_OBJECT_NAMES == 1
331 this->m_PktSend_OutputPort[port].setObjName(portName);
338 port < static_cast<PlatformIntType>(this->getNum_pingOut_OutputPorts());
341 this->m_pingOut_OutputPort[port].init();
343#if FW_OBJECT_NAMES == 1
352 this->m_pingOut_OutputPort[port].setObjName(portName);
358 ComponentIpcSerializableBuffer::SERIALIZATION_SIZE
73 void TlmPacketizerComponentBase :: {
…}
374 portNum < this->getNum_cmdIn_InputPorts(),
378 return &this->m_cmdIn_InputPort[portNum];
389 portNum < this->getNum_Run_InputPorts(),
393 return &this->m_Run_InputPort[portNum];
400 portNum < this->getNum_TlmRecv_InputPorts(),
404 return &this->m_TlmRecv_InputPort[portNum];
411 portNum < this->getNum_pingIn_InputPorts(),
415 return &this->m_pingIn_InputPort[portNum];
422 void TlmPacketizerComponentBase ::
423 set_cmdRegOut_OutputPort(
429 portNum < this->getNum_cmdRegOut_OutputPorts(),
433 this->m_cmdRegOut_OutputPort[portNum].addCallPort(port);
422 void TlmPacketizerComponentBase :: {
…}
436 void TlmPacketizerComponentBase ::
437 set_cmdResponseOut_OutputPort(
443 portNum < this->getNum_cmdResponseOut_OutputPorts(),
447 this->m_cmdResponseOut_OutputPort[portNum].addCallPort(port);
436 void TlmPacketizerComponentBase :: {
…}
450 void TlmPacketizerComponentBase ::
451 set_eventOut_OutputPort(
457 portNum < this->getNum_eventOut_OutputPorts(),
461 this->m_eventOut_OutputPort[portNum].addCallPort(port);
450 void TlmPacketizerComponentBase :: {
…}
464#if FW_ENABLE_TEXT_LOGGING == 1
466 void TlmPacketizerComponentBase ::
467 set_textEventOut_OutputPort(
473 portNum < this->getNum_textEventOut_OutputPorts(),
477 this->m_textEventOut_OutputPort[portNum].addCallPort(port);
482 void TlmPacketizerComponentBase ::
483 set_timeGetOut_OutputPort(
489 portNum < this->getNum_timeGetOut_OutputPorts(),
493 this->m_timeGetOut_OutputPort[portNum].addCallPort(port);
482 void TlmPacketizerComponentBase :: {
…}
496 void TlmPacketizerComponentBase ::
497 set_tlmOut_OutputPort(
503 portNum < this->getNum_tlmOut_OutputPorts(),
507 this->m_tlmOut_OutputPort[portNum].addCallPort(port);
496 void TlmPacketizerComponentBase :: {
…}
514 void TlmPacketizerComponentBase ::
515 set_PktSend_OutputPort(
521 portNum < this->getNum_PktSend_OutputPorts(),
525 this->m_PktSend_OutputPort[portNum].addCallPort(port);
514 void TlmPacketizerComponentBase :: {
…}
528 void TlmPacketizerComponentBase ::
529 set_pingOut_OutputPort(
535 portNum < this->getNum_pingOut_OutputPorts(),
539 this->m_pingOut_OutputPort[portNum].addCallPort(port);
528 void TlmPacketizerComponentBase :: {
…}
542#if FW_PORT_SERIALIZATION
548 void TlmPacketizerComponentBase ::
549 set_cmdRegOut_OutputPort(
551 Fw::InputSerializePort* port
555 portNum < this->getNum_cmdRegOut_OutputPorts(),
559 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
562 void TlmPacketizerComponentBase ::
563 set_cmdResponseOut_OutputPort(
565 Fw::InputSerializePort* port
569 portNum < this->getNum_cmdResponseOut_OutputPorts(),
573 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
576 void TlmPacketizerComponentBase ::
577 set_eventOut_OutputPort(
579 Fw::InputSerializePort* port
583 portNum < this->getNum_eventOut_OutputPorts(),
587 this->m_eventOut_OutputPort[portNum].registerSerialPort(port);
590#if FW_ENABLE_TEXT_LOGGING == 1
592 void TlmPacketizerComponentBase ::
593 set_textEventOut_OutputPort(
595 Fw::InputSerializePort* port
599 portNum < this->getNum_textEventOut_OutputPorts(),
603 this->m_textEventOut_OutputPort[portNum].registerSerialPort(port);
608 void TlmPacketizerComponentBase ::
609 set_timeGetOut_OutputPort(
611 Fw::InputSerializePort* port
615 portNum < this->getNum_timeGetOut_OutputPorts(),
619 this->m_timeGetOut_OutputPort[portNum].registerSerialPort(port);
622 void TlmPacketizerComponentBase ::
623 set_tlmOut_OutputPort(
625 Fw::InputSerializePort* port
629 portNum < this->getNum_tlmOut_OutputPorts(),
633 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
638#if FW_PORT_SERIALIZATION
644 void TlmPacketizerComponentBase ::
645 set_PktSend_OutputPort(
647 Fw::InputSerializePort* port
651 portNum < this->getNum_PktSend_OutputPorts(),
655 this->m_PktSend_OutputPort[portNum].registerSerialPort(port);
658 void TlmPacketizerComponentBase ::
659 set_pingOut_OutputPort(
661 Fw::InputSerializePort* port
665 portNum < this->getNum_pingOut_OutputPorts(),
669 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
678 void TlmPacketizerComponentBase ::
681 FW_ASSERT(this->m_cmdRegOut_OutputPort[0].isConnected());
683 this->m_cmdRegOut_OutputPort[0].invoke(
684 this->getIdBase() + OPCODE_SET_LEVEL
687 this->m_cmdRegOut_OutputPort[0].invoke(
688 this->getIdBase() + OPCODE_SEND_PKT
678 void TlmPacketizerComponentBase :: {
…}
696 TlmPacketizerComponentBase ::
697 TlmPacketizerComponentBase(
const char* compName) :
698 Fw::ActiveComponentBase(compName)
696 TlmPacketizerComponentBase :: {
…}
703 TlmPacketizerComponentBase ::
704 ~TlmPacketizerComponentBase()
703 TlmPacketizerComponentBase :: {
…}
714 getNum_cmdIn_InputPorts()
724 getNum_Run_InputPorts()
730 getNum_TlmRecv_InputPorts()
736 getNum_pingIn_InputPorts()
746 getNum_cmdRegOut_OutputPorts()
752 getNum_cmdResponseOut_OutputPorts()
758 getNum_eventOut_OutputPorts()
763#if FW_ENABLE_TEXT_LOGGING == 1
766 getNum_textEventOut_OutputPorts()
774 getNum_timeGetOut_OutputPorts()
780 getNum_tlmOut_OutputPorts()
790 getNum_PktSend_OutputPorts()
796 getNum_pingOut_OutputPorts()
805 bool TlmPacketizerComponentBase ::
809 portNum < this->getNum_cmdRegOut_OutputPorts(),
813 return this->m_cmdRegOut_OutputPort[portNum].isConnected();
805 bool TlmPacketizerComponentBase :: {
…}
816 bool TlmPacketizerComponentBase ::
820 portNum < this->getNum_cmdResponseOut_OutputPorts(),
824 return this->m_cmdResponseOut_OutputPort[portNum].isConnected();
816 bool TlmPacketizerComponentBase :: {
…}
827 bool TlmPacketizerComponentBase ::
831 portNum < this->getNum_eventOut_OutputPorts(),
835 return this->m_eventOut_OutputPort[portNum].isConnected();
827 bool TlmPacketizerComponentBase :: {
…}
838#if FW_ENABLE_TEXT_LOGGING == 1
840 bool TlmPacketizerComponentBase ::
844 portNum < this->getNum_textEventOut_OutputPorts(),
848 return this->m_textEventOut_OutputPort[portNum].isConnected();
853 bool TlmPacketizerComponentBase ::
857 portNum < this->getNum_timeGetOut_OutputPorts(),
861 return this->m_timeGetOut_OutputPort[portNum].isConnected();
853 bool TlmPacketizerComponentBase :: {
…}
864 bool TlmPacketizerComponentBase ::
868 portNum < this->getNum_tlmOut_OutputPorts(),
872 return this->m_tlmOut_OutputPort[portNum].isConnected();
864 bool TlmPacketizerComponentBase :: {
…}
879 bool TlmPacketizerComponentBase ::
883 portNum < this->getNum_PktSend_OutputPorts(),
887 return this->m_PktSend_OutputPort[portNum].isConnected();
879 bool TlmPacketizerComponentBase :: {
…}
890 bool TlmPacketizerComponentBase ::
894 portNum < this->getNum_pingOut_OutputPorts(),
898 return this->m_pingOut_OutputPort[portNum].isConnected();
890 bool TlmPacketizerComponentBase :: {
…}
907 void TlmPacketizerComponentBase ::
915 portNum < this->getNum_Run_InputPorts(),
924 ComponentIpcSerializableBuffer msg;
928 _status = msg.serialize(
937 _status = msg.serialize(portNum);
944 _status = msg.serialize(context);
907 void TlmPacketizerComponentBase :: {
…}
960 void TlmPacketizerComponentBase ::
970 portNum < this->getNum_TlmRecv_InputPorts(),
975 this->TlmRecv_handler(
960 void TlmPacketizerComponentBase :: {
…}
983 void TlmPacketizerComponentBase ::
991 portNum < this->getNum_pingIn_InputPorts(),
1000 ComponentIpcSerializableBuffer msg;
1004 _status = msg.serialize(
1013 _status = msg.serialize(portNum);
1020 _status = msg.serialize(key);
983 void TlmPacketizerComponentBase :: {
…}
1044 void TlmPacketizerComponentBase ::
1044 void TlmPacketizerComponentBase :: {
…}
1053 void TlmPacketizerComponentBase ::
1053 void TlmPacketizerComponentBase :: {
…}
1066 void TlmPacketizerComponentBase ::
1074 portNum < this->getNum_PktSend_OutputPorts(),
1077 this->m_PktSend_OutputPort[portNum].invoke(
1066 void TlmPacketizerComponentBase :: {
…}
1083 void TlmPacketizerComponentBase ::
1090 portNum < this->getNum_pingOut_OutputPorts(),
1093 this->m_pingOut_OutputPort[portNum].invoke(
1083 void TlmPacketizerComponentBase :: {
…}
1102 void TlmPacketizerComponentBase ::
1109 FW_ASSERT(this->m_cmdResponseOut_OutputPort[0].isConnected());
1110 this->m_cmdResponseOut_OutputPort[0].invoke(opCode, cmdSeq, response);
1102 void TlmPacketizerComponentBase :: {
…}
1119 void TlmPacketizerComponentBase ::
1120 SET_LEVEL_cmdHandlerBase(
1127 this->SET_LEVEL_preMsgHook(opCode,cmdSeq);
1131 ComponentIpcSerializableBuffer msg;
1144 _status = msg.serialize(port);
1150 _status = msg.serialize(opCode);
1156 _status = msg.serialize(cmdSeq);
1162 _status = msg.serialize(args);
1119 void TlmPacketizerComponentBase :: {
…}
1178 void TlmPacketizerComponentBase ::
1179 SEND_PKT_cmdHandlerBase(
1186 this->SEND_PKT_preMsgHook(opCode,cmdSeq);
1190 ComponentIpcSerializableBuffer msg;
1203 _status = msg.serialize(port);
1209 _status = msg.serialize(opCode);
1215 _status = msg.serialize(cmdSeq);
1221 _status = msg.serialize(args);
1178 void TlmPacketizerComponentBase :: {
…}
1245 void TlmPacketizerComponentBase ::
1246 SET_LEVEL_preMsgHook(
1245 void TlmPacketizerComponentBase :: {
…}
1254 void TlmPacketizerComponentBase ::
1255 SEND_PKT_preMsgHook(
1254 void TlmPacketizerComponentBase :: {
…}
1267 void TlmPacketizerComponentBase ::
1268 log_WARNING_LO_NoChan(U32 Id)
1272 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
1273 this->m_timeGetOut_OutputPort[0].invoke(_logTime);
1278 _id = this->getIdBase() + EVENTID_NOCHAN;
1281 if (this->m_eventOut_OutputPort[0].isConnected()) {
1285#if FW_AMPCS_COMPATIBLE
1294#if FW_AMPCS_COMPATIBLE
1297 static_cast<U8>(
sizeof(U32))
1310 this->m_eventOut_OutputPort[0].invoke(
1319#if FW_ENABLE_TEXT_LOGGING
1320 if (this->m_textEventOut_OutputPort[0].isConnected()) {
1321#if FW_OBJECT_NAMES == 1
1322 const char* _formatString =
1323 "(%s) %s: Telemetry ID 0x%" PRIx32
" not packetized";
1325 const char* _formatString =
1326 "%s: Telemetry ID 0x%" PRIx32
" not packetized";
1345 this->m_textEventOut_OutputPort[0].invoke(
1267 void TlmPacketizerComponentBase :: {
…}
1355 void TlmPacketizerComponentBase ::
1356 log_ACTIVITY_HI_LevelSet(U32
id)
1360 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
1361 this->m_timeGetOut_OutputPort[0].invoke(_logTime);
1366 _id = this->getIdBase() + EVENTID_LEVELSET;
1369 if (this->m_eventOut_OutputPort[0].isConnected()) {
1373#if FW_AMPCS_COMPATIBLE
1382#if FW_AMPCS_COMPATIBLE
1385 static_cast<U8>(
sizeof(U32))
1398 this->m_eventOut_OutputPort[0].invoke(
1407#if FW_ENABLE_TEXT_LOGGING
1408 if (this->m_textEventOut_OutputPort[0].isConnected()) {
1409#if FW_OBJECT_NAMES == 1
1410 const char* _formatString =
1411 "(%s) %s: Telemetry send level to %" PRIu32
"";
1413 const char* _formatString =
1414 "%s: Telemetry send level to %" PRIu32
"";
1433 this->m_textEventOut_OutputPort[0].invoke(
1355 void TlmPacketizerComponentBase :: {
…}
1443 void TlmPacketizerComponentBase ::
1444 log_WARNING_LO_MaxLevelExceed(
1451 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
1452 this->m_timeGetOut_OutputPort[0].invoke(_logTime);
1457 _id = this->getIdBase() + EVENTID_MAXLEVELEXCEED;
1460 if (this->m_eventOut_OutputPort[0].isConnected()) {
1464#if FW_AMPCS_COMPATIBLE
1473#if FW_AMPCS_COMPATIBLE
1476 static_cast<U8>(
sizeof(U32))
1489#if FW_AMPCS_COMPATIBLE
1492 static_cast<U8>(
sizeof(U32))
1505 this->m_eventOut_OutputPort[0].invoke(
1514#if FW_ENABLE_TEXT_LOGGING
1515 if (this->m_textEventOut_OutputPort[0].isConnected()) {
1516#if FW_OBJECT_NAMES == 1
1517 const char* _formatString =
1518 "(%s) %s: Requested send level %" PRIu32
" higher than max packet level of %" PRIu32
"";
1520 const char* _formatString =
1521 "%s: Requested send level %" PRIu32
" higher than max packet level of %" PRIu32
"";
1541 this->m_textEventOut_OutputPort[0].invoke(
1443 void TlmPacketizerComponentBase :: {
…}
1551 void TlmPacketizerComponentBase ::
1552 log_ACTIVITY_LO_PacketSent(U32
id)
1556 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
1557 this->m_timeGetOut_OutputPort[0].invoke(_logTime);
1562 _id = this->getIdBase() + EVENTID_PACKETSENT;
1565 if (this->m_eventOut_OutputPort[0].isConnected()) {
1569#if FW_AMPCS_COMPATIBLE
1578#if FW_AMPCS_COMPATIBLE
1581 static_cast<U8>(
sizeof(U32))
1594 this->m_eventOut_OutputPort[0].invoke(
1603#if FW_ENABLE_TEXT_LOGGING
1604 if (this->m_textEventOut_OutputPort[0].isConnected()) {
1605#if FW_OBJECT_NAMES == 1
1606 const char* _formatString =
1607 "(%s) %s: Sent packet ID %" PRIu32
"";
1609 const char* _formatString =
1610 "%s: Sent packet ID %" PRIu32
"";
1629 this->m_textEventOut_OutputPort[0].invoke(
1551 void TlmPacketizerComponentBase :: {
…}
1639 void TlmPacketizerComponentBase ::
1640 log_WARNING_LO_PacketNotFound(U32
id)
1644 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
1645 this->m_timeGetOut_OutputPort[0].invoke(_logTime);
1650 _id = this->getIdBase() + EVENTID_PACKETNOTFOUND;
1653 if (this->m_eventOut_OutputPort[0].isConnected()) {
1657#if FW_AMPCS_COMPATIBLE
1666#if FW_AMPCS_COMPATIBLE
1669 static_cast<U8>(
sizeof(U32))
1682 this->m_eventOut_OutputPort[0].invoke(
1691#if FW_ENABLE_TEXT_LOGGING
1692 if (this->m_textEventOut_OutputPort[0].isConnected()) {
1693#if FW_OBJECT_NAMES == 1
1694 const char* _formatString =
1695 "(%s) %s: Could not find packet ID %" PRIu32
"";
1697 const char* _formatString =
1698 "%s: Could not find packet ID %" PRIu32
"";
1717 this->m_textEventOut_OutputPort[0].invoke(
1639 void TlmPacketizerComponentBase :: {
…}
1731 void TlmPacketizerComponentBase ::
1737 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1739 this->m_timeGetOut_OutputPort[0].isConnected() &&
1742 this->m_timeGetOut_OutputPort[0].invoke(_tlmTime);
1754 _id = this->getIdBase() + CHANNELID_SENDLEVEL;
1756 this->m_tlmOut_OutputPort[0].invoke(
1731 void TlmPacketizerComponentBase :: {
…}
1771 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
1773 this->m_timeGetOut_OutputPort[0].invoke(_time);
1788 ComponentIpcSerializableBuffer msg;
1811 MsgTypeEnum msgType =
static_cast<MsgTypeEnum
>(desMsg);
1813 if (msgType == TLMPACKETIZER_COMPONENT_EXIT) {
1814 return MSG_DISPATCH_EXIT;
1818 deserStatus = msg.deserialize(portNum);
1829 deserStatus = msg.deserialize(context);
1847 deserStatus = msg.deserialize(key);
1853 this->pingIn_handler(
1862 case CMD_SET_LEVEL: {
1865 deserStatus = msg.deserialize(opCode);
1873 deserStatus = msg.deserialize(cmdSeq);
1881 deserStatus = msg.deserialize(args);
1894 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
1895 this->cmdResponse_out(
1907#if FW_CMD_CHECK_RESIDUAL
1909 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
1918 this->SET_LEVEL_cmdHandler(
1927 case CMD_SEND_PKT: {
1930 deserStatus = msg.deserialize(opCode);
1938 deserStatus = msg.deserialize(cmdSeq);
1946 deserStatus = msg.deserialize(args);
1959 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
1960 this->cmdResponse_out(
1972#if FW_CMD_CHECK_RESIDUAL
1974 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
1983 this->SEND_PKT_cmdHandler(
1992 return MSG_DISPATCH_ERROR;
1995 return MSG_DISPATCH_OK;
2002 void TlmPacketizerComponentBase ::
2012 TlmPacketizerComponentBase* compPtr =
static_cast<TlmPacketizerComponentBase*
>(callComp);
2014 const U32 idBase = callComp->
getIdBase();
2015 FW_ASSERT(opCode >= idBase, opCode, idBase);
2018 switch (opCode - idBase) {
2019 case OPCODE_SET_LEVEL: {
2020 compPtr->SET_LEVEL_cmdHandlerBase(
2028 case OPCODE_SEND_PKT: {
2029 compPtr->SEND_PKT_cmdHandlerBase(
2043 void TlmPacketizerComponentBase ::
2051 TlmPacketizerComponentBase* compPtr =
static_cast<TlmPacketizerComponentBase*
>(callComp);
2052 compPtr->Run_handlerBase(
2058 void TlmPacketizerComponentBase ::
2068 TlmPacketizerComponentBase* compPtr =
static_cast<TlmPacketizerComponentBase*
>(callComp);
2069 compPtr->TlmRecv_handlerBase(
2077 void TlmPacketizerComponentBase ::
2085 TlmPacketizerComponentBase* compPtr =
static_cast<TlmPacketizerComponentBase*
>(callComp);
2086 compPtr->pingIn_handlerBase(
PlatformIntType NATIVE_INT_TYPE
uint8_t U8
8-bit unsigned integer
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
PlatformUIntType NATIVE_UINT_TYPE
int PlatformIntType
DefaultTypes.hpp provides fallback defaults for the platform types.
#define PRI_PlatformIntType
@ TB_NONE
No time base has been established.
PlatformAssertArgType FwAssertArgType
#define FW_LOG_TEXT_BUFFER_SIZE
Max size of string for text log message.
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects)
@ ACTIVE_COMPONENT_EXIT
message to exit active component task
Enum representing a command response.
@ FORMAT_ERROR
Command failed to deserialize.
@ ACTIVITY_HI
Important informational events.
@ WARNING_LO
A less serious but recoverable event.
@ ACTIVITY_LO
Less important informational events.
void init()
Object initializer.
NATIVE_UINT_TYPE getBuffLeft() const
returns how much deserialization buffer is left
void resetDeser()
reset deserialization to beginning
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
@ QUEUE_OK
message sent/received okay
@ QUEUE_BLOCKING
Queue receive blocks until a message arrives.
@ QUEUE_NONBLOCKING
Queue receive always returns even if there is no message.
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.