11#if FW_ENABLE_TEXT_LOGGING
20 BUFFERSENDIN_BUFFERSEND,
32 class ComponentIpcSerializableBuffer :
47 return sizeof(m_buff);
54 const U8* getBuffAddr()
const {
60 U8 m_buff[SERIALIZATION_SIZE];
69 void FileUplinkComponentBase ::
81 port < static_cast<PlatformIntType>(this->getNum_bufferSendIn_InputPorts());
84 this->m_bufferSendIn_InputPort[port].init();
85 this->m_bufferSendIn_InputPort[port].addCallComp(
89 this->m_bufferSendIn_InputPort[port].setPortNum(port);
91#if FW_OBJECT_NAMES == 1
100 this->m_bufferSendIn_InputPort[port].setObjName(portName);
107 port < static_cast<PlatformIntType>(this->getNum_pingIn_InputPorts());
110 this->m_pingIn_InputPort[port].init();
111 this->m_pingIn_InputPort[port].addCallComp(
115 this->m_pingIn_InputPort[port].setPortNum(port);
117#if FW_OBJECT_NAMES == 1
126 this->m_pingIn_InputPort[port].setObjName(portName);
130#if FW_ENABLE_TEXT_LOGGING == 1
134 port < static_cast<PlatformIntType>(this->getNum_LogText_OutputPorts());
137 this->m_LogText_OutputPort[port].init();
139#if FW_OBJECT_NAMES == 1
148 this->m_LogText_OutputPort[port].setObjName(portName);
156 port < static_cast<PlatformIntType>(this->getNum_eventOut_OutputPorts());
159 this->m_eventOut_OutputPort[port].init();
161#if FW_OBJECT_NAMES == 1
170 this->m_eventOut_OutputPort[port].setObjName(portName);
177 port < static_cast<PlatformIntType>(this->getNum_timeCaller_OutputPorts());
180 this->m_timeCaller_OutputPort[port].init();
182#if FW_OBJECT_NAMES == 1
191 this->m_timeCaller_OutputPort[port].setObjName(portName);
198 port < static_cast<PlatformIntType>(this->getNum_tlmOut_OutputPorts());
201 this->m_tlmOut_OutputPort[port].init();
203#if FW_OBJECT_NAMES == 1
212 this->m_tlmOut_OutputPort[port].setObjName(portName);
219 port < static_cast<PlatformIntType>(this->getNum_bufferSendOut_OutputPorts());
222 this->m_bufferSendOut_OutputPort[port].init();
224#if FW_OBJECT_NAMES == 1
233 this->m_bufferSendOut_OutputPort[port].setObjName(portName);
240 port < static_cast<PlatformIntType>(this->getNum_pingOut_OutputPorts());
243 this->m_pingOut_OutputPort[port].init();
245#if FW_OBJECT_NAMES == 1
254 this->m_pingOut_OutputPort[port].setObjName(portName);
260 ComponentIpcSerializableBuffer::SERIALIZATION_SIZE
69 void FileUplinkComponentBase :: {
…}
276 portNum < this->getNum_bufferSendIn_InputPorts(),
280 return &this->m_bufferSendIn_InputPort[portNum];
287 portNum < this->getNum_pingIn_InputPorts(),
291 return &this->m_pingIn_InputPort[portNum];
298#if FW_ENABLE_TEXT_LOGGING == 1
300 void FileUplinkComponentBase ::
301 set_LogText_OutputPort(
307 portNum < this->getNum_LogText_OutputPorts(),
311 this->m_LogText_OutputPort[portNum].addCallPort(port);
316 void FileUplinkComponentBase ::
317 set_eventOut_OutputPort(
323 portNum < this->getNum_eventOut_OutputPorts(),
327 this->m_eventOut_OutputPort[portNum].addCallPort(port);
316 void FileUplinkComponentBase :: {
…}
330 void FileUplinkComponentBase ::
331 set_timeCaller_OutputPort(
337 portNum < this->getNum_timeCaller_OutputPorts(),
341 this->m_timeCaller_OutputPort[portNum].addCallPort(port);
330 void FileUplinkComponentBase :: {
…}
344 void FileUplinkComponentBase ::
345 set_tlmOut_OutputPort(
351 portNum < this->getNum_tlmOut_OutputPorts(),
355 this->m_tlmOut_OutputPort[portNum].addCallPort(port);
344 void FileUplinkComponentBase :: {
…}
362 void FileUplinkComponentBase ::
363 set_bufferSendOut_OutputPort(
369 portNum < this->getNum_bufferSendOut_OutputPorts(),
373 this->m_bufferSendOut_OutputPort[portNum].addCallPort(port);
362 void FileUplinkComponentBase :: {
…}
376 void FileUplinkComponentBase ::
377 set_pingOut_OutputPort(
383 portNum < this->getNum_pingOut_OutputPorts(),
387 this->m_pingOut_OutputPort[portNum].addCallPort(port);
376 void FileUplinkComponentBase :: {
…}
390#if FW_PORT_SERIALIZATION
396#if FW_ENABLE_TEXT_LOGGING == 1
398 void FileUplinkComponentBase ::
399 set_LogText_OutputPort(
401 Fw::InputSerializePort* port
405 portNum < this->getNum_LogText_OutputPorts(),
409 this->m_LogText_OutputPort[portNum].registerSerialPort(port);
414 void FileUplinkComponentBase ::
415 set_eventOut_OutputPort(
417 Fw::InputSerializePort* port
421 portNum < this->getNum_eventOut_OutputPorts(),
425 this->m_eventOut_OutputPort[portNum].registerSerialPort(port);
428 void FileUplinkComponentBase ::
429 set_timeCaller_OutputPort(
431 Fw::InputSerializePort* port
435 portNum < this->getNum_timeCaller_OutputPorts(),
439 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
442 void FileUplinkComponentBase ::
443 set_tlmOut_OutputPort(
445 Fw::InputSerializePort* port
449 portNum < this->getNum_tlmOut_OutputPorts(),
453 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
458#if FW_PORT_SERIALIZATION
464 void FileUplinkComponentBase ::
465 set_bufferSendOut_OutputPort(
467 Fw::InputSerializePort* port
471 portNum < this->getNum_bufferSendOut_OutputPorts(),
475 this->m_bufferSendOut_OutputPort[portNum].registerSerialPort(port);
478 void FileUplinkComponentBase ::
479 set_pingOut_OutputPort(
481 Fw::InputSerializePort* port
485 portNum < this->getNum_pingOut_OutputPorts(),
489 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
498 FileUplinkComponentBase ::
499 FileUplinkComponentBase(
const char* compName) :
500 Fw::ActiveComponentBase(compName)
502 this->m_FileWriteErrorThrottle = 0;
503 this->m_InvalidReceiveModeThrottle = 0;
504 this->m_PacketOutOfBoundsThrottle = 0;
505 this->m_PacketOutOfOrderThrottle = 0;
498 FileUplinkComponentBase :: {
…}
508 FileUplinkComponentBase ::
509 ~FileUplinkComponentBase()
508 FileUplinkComponentBase :: {
…}
519 getNum_bufferSendIn_InputPorts()
525 getNum_pingIn_InputPorts()
534#if FW_ENABLE_TEXT_LOGGING == 1
537 getNum_LogText_OutputPorts()
545 getNum_eventOut_OutputPorts()
551 getNum_timeCaller_OutputPorts()
557 getNum_tlmOut_OutputPorts()
567 getNum_bufferSendOut_OutputPorts()
573 getNum_pingOut_OutputPorts()
582#if FW_ENABLE_TEXT_LOGGING == 1
584 bool FileUplinkComponentBase ::
588 portNum < this->getNum_LogText_OutputPorts(),
592 return this->m_LogText_OutputPort[portNum].isConnected();
597 bool FileUplinkComponentBase ::
601 portNum < this->getNum_eventOut_OutputPorts(),
605 return this->m_eventOut_OutputPort[portNum].isConnected();
597 bool FileUplinkComponentBase :: {
…}
608 bool FileUplinkComponentBase ::
612 portNum < this->getNum_timeCaller_OutputPorts(),
616 return this->m_timeCaller_OutputPort[portNum].isConnected();
608 bool FileUplinkComponentBase :: {
…}
619 bool FileUplinkComponentBase ::
623 portNum < this->getNum_tlmOut_OutputPorts(),
627 return this->m_tlmOut_OutputPort[portNum].isConnected();
619 bool FileUplinkComponentBase :: {
…}
634 bool FileUplinkComponentBase ::
638 portNum < this->getNum_bufferSendOut_OutputPorts(),
642 return this->m_bufferSendOut_OutputPort[portNum].isConnected();
634 bool FileUplinkComponentBase :: {
…}
645 bool FileUplinkComponentBase ::
649 portNum < this->getNum_pingOut_OutputPorts(),
653 return this->m_pingOut_OutputPort[portNum].isConnected();
645 bool FileUplinkComponentBase :: {
…}
662 void FileUplinkComponentBase ::
663 bufferSendIn_handlerBase(
670 portNum < this->getNum_bufferSendIn_InputPorts(),
675 bufferSendIn_preMsgHook(
679 ComponentIpcSerializableBuffer msg;
683 _status = msg.serialize(
692 _status = msg.serialize(portNum);
699 _status = msg.serialize(fwBuffer);
662 void FileUplinkComponentBase :: {
…}
715 void FileUplinkComponentBase ::
723 portNum < this->getNum_pingIn_InputPorts(),
732 ComponentIpcSerializableBuffer msg;
736 _status = msg.serialize(
745 _status = msg.serialize(portNum);
752 _status = msg.serialize(key);
715 void FileUplinkComponentBase :: {
…}
776 void FileUplinkComponentBase ::
777 bufferSendIn_preMsgHook(
776 void FileUplinkComponentBase :: {
…}
785 void FileUplinkComponentBase ::
785 void FileUplinkComponentBase :: {
…}
798 void FileUplinkComponentBase ::
805 portNum < this->getNum_bufferSendOut_OutputPorts(),
808 this->m_bufferSendOut_OutputPort[portNum].invoke(
798 void FileUplinkComponentBase :: {
…}
813 void FileUplinkComponentBase ::
820 portNum < this->getNum_pingOut_OutputPorts(),
823 this->m_pingOut_OutputPort[portNum].invoke(
813 void FileUplinkComponentBase :: {
…}
832 void FileUplinkComponentBase ::
833 log_WARNING_HI_BadChecksum(
841 if (this->m_timeCaller_OutputPort[0].isConnected()) {
842 this->m_timeCaller_OutputPort[0].invoke(_logTime);
847 _id = this->getIdBase() + EVENTID_BADCHECKSUM;
850 if (this->m_eventOut_OutputPort[0].isConnected()) {
854#if FW_AMPCS_COMPATIBLE
863 _status = fileName.
serialize(_logBuff, 40);
869#if FW_AMPCS_COMPATIBLE
872 static_cast<U8>(
sizeof(U32))
885#if FW_AMPCS_COMPATIBLE
888 static_cast<U8>(
sizeof(U32))
901 this->m_eventOut_OutputPort[0].invoke(
910#if FW_ENABLE_TEXT_LOGGING
911 if (this->m_LogText_OutputPort[0].isConnected()) {
912#if FW_OBJECT_NAMES == 1
913 const char* _formatString =
914 "(%s) %s: Bad checksum value during receipt of file %s: computed 0x%" PRIx32
", read 0x%" PRIx32
"";
916 const char* _formatString =
917 "%s: Bad checksum value during receipt of file %s: computed 0x%" PRIx32
", read 0x%" PRIx32
"";
938 this->m_LogText_OutputPort[0].invoke(
832 void FileUplinkComponentBase :: {
…}
948 void FileUplinkComponentBase ::
953 if (this->m_timeCaller_OutputPort[0].isConnected()) {
954 this->m_timeCaller_OutputPort[0].invoke(_logTime);
959 _id = this->getIdBase() + EVENTID_FILEOPENERROR;
962 if (this->m_eventOut_OutputPort[0].isConnected()) {
966#if FW_AMPCS_COMPATIBLE
975 _status = fileName.
serialize(_logBuff, 40);
981 this->m_eventOut_OutputPort[0].invoke(
990#if FW_ENABLE_TEXT_LOGGING
991 if (this->m_LogText_OutputPort[0].isConnected()) {
992#if FW_OBJECT_NAMES == 1
993 const char* _formatString =
994 "(%s) %s: Could not open file %s";
996 const char* _formatString =
997 "%s: Could not open file %s";
1016 this->m_LogText_OutputPort[0].invoke(
948 void FileUplinkComponentBase :: {
…}
1026 void FileUplinkComponentBase ::
1031 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1032 this->m_timeCaller_OutputPort[0].invoke(_logTime);
1037 _id = this->getIdBase() + EVENTID_FILERECEIVED;
1040 if (this->m_eventOut_OutputPort[0].isConnected()) {
1044#if FW_AMPCS_COMPATIBLE
1053 _status = fileName.
serialize(_logBuff, 40);
1059 this->m_eventOut_OutputPort[0].invoke(
1068#if FW_ENABLE_TEXT_LOGGING
1069 if (this->m_LogText_OutputPort[0].isConnected()) {
1070#if FW_OBJECT_NAMES == 1
1071 const char* _formatString =
1072 "(%s) %s: Received file %s";
1074 const char* _formatString =
1075 "%s: Received file %s";
1094 this->m_LogText_OutputPort[0].invoke(
1026 void FileUplinkComponentBase :: {
…}
1104 void FileUplinkComponentBase ::
1108 if (this->m_FileWriteErrorThrottle >= EVENTID_FILEWRITEERROR_THROTTLE) {
1112 this->m_FileWriteErrorThrottle++;
1117 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1118 this->m_timeCaller_OutputPort[0].invoke(_logTime);
1123 _id = this->getIdBase() + EVENTID_FILEWRITEERROR;
1126 if (this->m_eventOut_OutputPort[0].isConnected()) {
1130#if FW_AMPCS_COMPATIBLE
1139 _status = fileName.
serialize(_logBuff, 40);
1145 this->m_eventOut_OutputPort[0].invoke(
1154#if FW_ENABLE_TEXT_LOGGING
1155 if (this->m_LogText_OutputPort[0].isConnected()) {
1156#if FW_OBJECT_NAMES == 1
1157 const char* _formatString =
1158 "(%s) %s: Could not write to file %s";
1160 const char* _formatString =
1161 "%s: Could not write to file %s";
1180 this->m_LogText_OutputPort[0].invoke(
1104 void FileUplinkComponentBase :: {
…}
1190 void FileUplinkComponentBase ::
1191 log_WARNING_HI_InvalidReceiveMode(
1197 if (this->m_InvalidReceiveModeThrottle >= EVENTID_INVALIDRECEIVEMODE_THROTTLE) {
1201 this->m_InvalidReceiveModeThrottle++;
1206 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1207 this->m_timeCaller_OutputPort[0].invoke(_logTime);
1212 _id = this->getIdBase() + EVENTID_INVALIDRECEIVEMODE;
1215 if (this->m_eventOut_OutputPort[0].isConnected()) {
1219#if FW_AMPCS_COMPATIBLE
1228#if FW_AMPCS_COMPATIBLE
1231 static_cast<U8>(
sizeof(U32))
1238 _status = _logBuff.
serialize(packetType);
1244#if FW_AMPCS_COMPATIBLE
1247 static_cast<U8>(
sizeof(U32))
1260 this->m_eventOut_OutputPort[0].invoke(
1269#if FW_ENABLE_TEXT_LOGGING
1270 if (this->m_LogText_OutputPort[0].isConnected()) {
1271#if FW_OBJECT_NAMES == 1
1272 const char* _formatString =
1273 "(%s) %s: Packet type %" PRIu32
" received in mode %" PRIu32
"";
1275 const char* _formatString =
1276 "%s: Packet type %" PRIu32
" received in mode %" PRIu32
"";
1288 "InvalidReceiveMode ",
1296 this->m_LogText_OutputPort[0].invoke(
1190 void FileUplinkComponentBase :: {
…}
1306 void FileUplinkComponentBase ::
1307 log_WARNING_HI_PacketOutOfBounds(
1313 if (this->m_PacketOutOfBoundsThrottle >= EVENTID_PACKETOUTOFBOUNDS_THROTTLE) {
1317 this->m_PacketOutOfBoundsThrottle++;
1322 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1323 this->m_timeCaller_OutputPort[0].invoke(_logTime);
1328 _id = this->getIdBase() + EVENTID_PACKETOUTOFBOUNDS;
1331 if (this->m_eventOut_OutputPort[0].isConnected()) {
1335#if FW_AMPCS_COMPATIBLE
1344#if FW_AMPCS_COMPATIBLE
1347 static_cast<U8>(
sizeof(U32))
1354 _status = _logBuff.
serialize(packetIndex);
1360 _status = fileName.
serialize(_logBuff, 40);
1366 this->m_eventOut_OutputPort[0].invoke(
1375#if FW_ENABLE_TEXT_LOGGING
1376 if (this->m_LogText_OutputPort[0].isConnected()) {
1377#if FW_OBJECT_NAMES == 1
1378 const char* _formatString =
1379 "(%s) %s: Packet %" PRIu32
" out of bounds for file %s";
1381 const char* _formatString =
1382 "%s: Packet %" PRIu32
" out of bounds for file %s";
1394 "PacketOutOfBounds ",
1402 this->m_LogText_OutputPort[0].invoke(
1306 void FileUplinkComponentBase :: {
…}
1412 void FileUplinkComponentBase ::
1413 log_WARNING_HI_PacketOutOfOrder(
1419 if (this->m_PacketOutOfOrderThrottle >= EVENTID_PACKETOUTOFORDER_THROTTLE) {
1423 this->m_PacketOutOfOrderThrottle++;
1428 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1429 this->m_timeCaller_OutputPort[0].invoke(_logTime);
1434 _id = this->getIdBase() + EVENTID_PACKETOUTOFORDER;
1437 if (this->m_eventOut_OutputPort[0].isConnected()) {
1441#if FW_AMPCS_COMPATIBLE
1450#if FW_AMPCS_COMPATIBLE
1453 static_cast<U8>(
sizeof(U32))
1460 _status = _logBuff.
serialize(packetIndex);
1466#if FW_AMPCS_COMPATIBLE
1469 static_cast<U8>(
sizeof(U32))
1476 _status = _logBuff.
serialize(lastPacketIndex);
1482 this->m_eventOut_OutputPort[0].invoke(
1491#if FW_ENABLE_TEXT_LOGGING
1492 if (this->m_LogText_OutputPort[0].isConnected()) {
1493#if FW_OBJECT_NAMES == 1
1494 const char* _formatString =
1495 "(%s) %s: Received packet %" PRIu32
" after packet %" PRIu32
"";
1497 const char* _formatString =
1498 "%s: Received packet %" PRIu32
" after packet %" PRIu32
"";
1510 "PacketOutOfOrder ",
1518 this->m_LogText_OutputPort[0].invoke(
1412 void FileUplinkComponentBase :: {
…}
1528 void FileUplinkComponentBase ::
1529 log_ACTIVITY_HI_UplinkCanceled()
1533 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1534 this->m_timeCaller_OutputPort[0].invoke(_logTime);
1539 _id = this->getIdBase() + EVENTID_UPLINKCANCELED;
1542 if (this->m_eventOut_OutputPort[0].isConnected()) {
1545#if FW_AMPCS_COMPATIBLE
1555 this->m_eventOut_OutputPort[0].invoke(
1564#if FW_ENABLE_TEXT_LOGGING
1565 if (this->m_LogText_OutputPort[0].isConnected()) {
1566#if FW_OBJECT_NAMES == 1
1567 const char* _formatString =
1568 "(%s) %s: Received CANCEL packet";
1570 const char* _formatString =
1571 "%s: Received CANCEL packet";
1589 this->m_LogText_OutputPort[0].invoke(
1528 void FileUplinkComponentBase :: {
…}
1599 void FileUplinkComponentBase ::
1600 log_WARNING_HI_DecodeError(I32 status)
1604 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1605 this->m_timeCaller_OutputPort[0].invoke(_logTime);
1610 _id = this->getIdBase() + EVENTID_DECODEERROR;
1613 if (this->m_eventOut_OutputPort[0].isConnected()) {
1617#if FW_AMPCS_COMPATIBLE
1626#if FW_AMPCS_COMPATIBLE
1629 static_cast<U8>(
sizeof(I32))
1642 this->m_eventOut_OutputPort[0].invoke(
1651#if FW_ENABLE_TEXT_LOGGING
1652 if (this->m_LogText_OutputPort[0].isConnected()) {
1653#if FW_OBJECT_NAMES == 1
1654 const char* _formatString =
1655 "(%s) %s: Unable to decode file packet. Status: %" PRIi32
"";
1657 const char* _formatString =
1658 "%s: Unable to decode file packet. Status: %" PRIi32
"";
1677 this->m_LogText_OutputPort[0].invoke(
1599 void FileUplinkComponentBase :: {
…}
1691 void FileUplinkComponentBase ::
1692 log_WARNING_HI_FileWriteError_ThrottleClear()
1695 this->m_FileWriteErrorThrottle = 0;
1691 void FileUplinkComponentBase :: {
…}
1698 void FileUplinkComponentBase ::
1699 log_WARNING_HI_InvalidReceiveMode_ThrottleClear()
1702 this->m_InvalidReceiveModeThrottle = 0;
1698 void FileUplinkComponentBase :: {
…}
1705 void FileUplinkComponentBase ::
1706 log_WARNING_HI_PacketOutOfBounds_ThrottleClear()
1709 this->m_PacketOutOfBoundsThrottle = 0;
1705 void FileUplinkComponentBase :: {
…}
1712 void FileUplinkComponentBase ::
1713 log_WARNING_HI_PacketOutOfOrder_ThrottleClear()
1716 this->m_PacketOutOfOrderThrottle = 0;
1712 void FileUplinkComponentBase :: {
…}
1723 void FileUplinkComponentBase ::
1724 tlmWrite_FilesReceived(
1729 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1731 this->m_timeCaller_OutputPort[0].isConnected() &&
1734 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1746 _id = this->getIdBase() + CHANNELID_FILESRECEIVED;
1748 this->m_tlmOut_OutputPort[0].invoke(
1723 void FileUplinkComponentBase :: {
…}
1756 void FileUplinkComponentBase ::
1757 tlmWrite_PacketsReceived(
1762 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1764 this->m_timeCaller_OutputPort[0].isConnected() &&
1767 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1779 _id = this->getIdBase() + CHANNELID_PACKETSRECEIVED;
1781 this->m_tlmOut_OutputPort[0].invoke(
1756 void FileUplinkComponentBase :: {
…}
1789 void FileUplinkComponentBase ::
1795 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1797 this->m_timeCaller_OutputPort[0].isConnected() &&
1800 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1812 _id = this->getIdBase() + CHANNELID_WARNINGS;
1814 this->m_tlmOut_OutputPort[0].invoke(
1789 void FileUplinkComponentBase :: {
…}
1829 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1831 this->m_timeCaller_OutputPort[0].invoke(_time);
1846 ComponentIpcSerializableBuffer msg;
1869 MsgTypeEnum msgType =
static_cast<MsgTypeEnum
>(desMsg);
1871 if (msgType == FILEUPLINK_COMPONENT_EXIT) {
1872 return MSG_DISPATCH_EXIT;
1876 deserStatus = msg.deserialize(portNum);
1884 case BUFFERSENDIN_BUFFERSEND: {
1887 deserStatus = msg.deserialize(fwBuffer);
1893 this->bufferSendIn_handler(
1905 deserStatus = msg.deserialize(key);
1911 this->pingIn_handler(
1920 return MSG_DISPATCH_ERROR;
1923 return MSG_DISPATCH_OK;
1930 void FileUplinkComponentBase ::
1931 m_p_bufferSendIn_in(
1938 FileUplinkComponentBase* compPtr =
static_cast<FileUplinkComponentBase*
>(callComp);
1939 compPtr->bufferSendIn_handlerBase(
1945 void FileUplinkComponentBase ::
1953 FileUplinkComponentBase* compPtr =
static_cast<FileUplinkComponentBase*
>(callComp);
1954 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
@ WARNING_HI
A serious but recoverable event.
@ ACTIVITY_HI
Important informational events.
const char * toChar() const override
SerializeStatus serialize(SerializeBufferBase &buffer) const override
serialization function
void init()
Object initializer.
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.