10 #if FW_ENABLE_TEXT_LOGGING
19 BUFFERSENDIN_BUFFERSEND,
32 class ComponentIpcSerializableBuffer :
47 return sizeof(m_buff);
54 const U8* getBuffAddr()
const {
60 U8 m_buff[SERIALIZATION_SIZE];
84 this->m_bufferSendIn_InputPort[port].
init();
89 this->m_bufferSendIn_InputPort[port].
setPortNum(port);
91 #if FW_OBJECT_NAMES == 1
95 this->m_objName.toChar(),
98 this->m_bufferSendIn_InputPort[port].setObjName(portName.
toChar());
108 this->m_pingIn_InputPort[port].
init();
113 this->m_pingIn_InputPort[port].
setPortNum(port);
115 #if FW_OBJECT_NAMES == 1
119 this->m_objName.toChar(),
122 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
126 #if FW_ENABLE_TEXT_LOGGING == 1
130 port < static_cast<FwIndexType>(this->getNum_LogText_OutputPorts());
133 this->m_LogText_OutputPort[port].
init();
135 #if FW_OBJECT_NAMES == 1
139 this->m_objName.toChar(),
142 this->m_LogText_OutputPort[port].setObjName(portName.
toChar());
153 this->m_eventOut_OutputPort[port].
init();
155 #if FW_OBJECT_NAMES == 1
159 this->m_objName.toChar(),
162 this->m_eventOut_OutputPort[port].setObjName(portName.
toChar());
172 this->m_timeCaller_OutputPort[port].
init();
174 #if FW_OBJECT_NAMES == 1
178 this->m_objName.toChar(),
181 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
191 this->m_tlmOut_OutputPort[port].
init();
193 #if FW_OBJECT_NAMES == 1
197 this->m_objName.toChar(),
200 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
210 this->m_bufferSendOut_OutputPort[port].
init();
212 #if FW_OBJECT_NAMES == 1
216 this->m_objName.toChar(),
219 this->m_bufferSendOut_OutputPort[port].setObjName(portName.
toChar());
229 this->m_pingOut_OutputPort[port].
init();
231 #if FW_OBJECT_NAMES == 1
235 this->m_objName.toChar(),
238 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
244 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
264 return &this->m_bufferSendIn_InputPort[portNum];
275 return &this->m_pingIn_InputPort[portNum];
282 #if FW_ENABLE_TEXT_LOGGING == 1
284 void FileUplinkComponentBase ::
285 set_LogText_OutputPort(
291 portNum < this->getNum_LogText_OutputPorts(),
295 this->m_LogText_OutputPort[portNum].addCallPort(port);
311 this->m_eventOut_OutputPort[portNum].
addCallPort(port);
325 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
339 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
357 this->m_bufferSendOut_OutputPort[portNum].
addCallPort(port);
371 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
374 #if FW_PORT_SERIALIZATION
380 #if FW_ENABLE_TEXT_LOGGING == 1
382 void FileUplinkComponentBase ::
383 set_LogText_OutputPort(
385 Fw::InputSerializePort* port
389 portNum < this->getNum_LogText_OutputPorts(),
393 this->m_LogText_OutputPort[portNum].registerSerialPort(port);
401 Fw::InputSerializePort* port
409 this->m_eventOut_OutputPort[portNum].registerSerialPort(port);
415 Fw::InputSerializePort* port
423 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
429 Fw::InputSerializePort* port
437 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
442 #if FW_PORT_SERIALIZATION
451 Fw::InputSerializePort* port
459 this->m_bufferSendOut_OutputPort[portNum].registerSerialPort(port);
465 Fw::InputSerializePort* port
473 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
484 Fw::ActiveComponentBase(compName)
486 this->m_FileWriteErrorThrottle = 0;
487 this->m_InvalidReceiveModeThrottle = 0;
488 this->m_PacketOutOfBoundsThrottle = 0;
489 this->m_PacketOutOfOrderThrottle = 0;
518 #if FW_ENABLE_TEXT_LOGGING == 1
521 getNum_LogText_OutputPorts()
const
566 #if FW_ENABLE_TEXT_LOGGING == 1
568 bool FileUplinkComponentBase ::
569 isConnected_LogText_OutputPort(
FwIndexType portNum)
572 portNum < this->getNum_LogText_OutputPorts(),
576 return this->m_LogText_OutputPort[portNum].isConnected();
589 return this->m_eventOut_OutputPort[portNum].
isConnected();
600 return this->m_timeCaller_OutputPort[portNum].
isConnected();
611 return this->m_tlmOut_OutputPort[portNum].
isConnected();
626 return this->m_bufferSendOut_OutputPort[portNum].
isConnected();
637 return this->m_pingOut_OutputPort[portNum].
isConnected();
663 ComponentIpcSerializableBuffer msg;
667 _status = msg.serialize(
676 _status = msg.serialize(portNum);
683 _status = msg.serialize(fwBuffer);
716 ComponentIpcSerializableBuffer msg;
720 _status = msg.serialize(
729 _status = msg.serialize(portNum);
736 _status = msg.serialize(key);
792 this->m_bufferSendOut_OutputPort[portNum].
invoke(
807 this->m_pingOut_OutputPort[portNum].
invoke(
825 if (this->m_timeCaller_OutputPort[0].isConnected()) {
826 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
834 if (this->m_eventOut_OutputPort[0].isConnected()) {
838 #if FW_AMPCS_COMPATIBLE
853 #if FW_AMPCS_COMPATIBLE
856 static_cast<U8>(
sizeof(U32))
869 #if FW_AMPCS_COMPATIBLE
872 static_cast<U8>(
sizeof(U32))
885 this->m_eventOut_OutputPort[0].
invoke(
894 #if FW_ENABLE_TEXT_LOGGING
895 if (this->m_LogText_OutputPort[0].isConnected()) {
896 #if FW_OBJECT_NAMES == 1
897 const char* _formatString =
898 "(%s) %s: Bad checksum value during receipt of file %s: computed 0x%" PRIx32
", read 0x%" PRIx32
"";
900 const char* _formatString =
901 "%s: Bad checksum value during receipt of file %s: computed 0x%" PRIx32
", read 0x%" PRIx32
"";
908 this->m_objName.toChar(),
916 this->m_LogText_OutputPort[0].invoke(
931 if (this->m_timeCaller_OutputPort[0].isConnected()) {
932 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
940 if (this->m_eventOut_OutputPort[0].isConnected()) {
944 #if FW_AMPCS_COMPATIBLE
959 this->m_eventOut_OutputPort[0].
invoke(
968 #if FW_ENABLE_TEXT_LOGGING
969 if (this->m_LogText_OutputPort[0].isConnected()) {
970 #if FW_OBJECT_NAMES == 1
971 const char* _formatString =
972 "(%s) %s: Could not open file %s";
974 const char* _formatString =
975 "%s: Could not open file %s";
982 this->m_objName.toChar(),
988 this->m_LogText_OutputPort[0].invoke(
1003 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1004 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
1012 if (this->m_eventOut_OutputPort[0].isConnected()) {
1016 #if FW_AMPCS_COMPATIBLE
1031 this->m_eventOut_OutputPort[0].
invoke(
1040 #if FW_ENABLE_TEXT_LOGGING
1041 if (this->m_LogText_OutputPort[0].isConnected()) {
1042 #if FW_OBJECT_NAMES == 1
1043 const char* _formatString =
1044 "(%s) %s: Received file %s";
1046 const char* _formatString =
1047 "%s: Received file %s";
1054 this->m_objName.toChar(),
1060 this->m_LogText_OutputPort[0].invoke(
1078 this->m_FileWriteErrorThrottle++;
1083 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1084 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
1092 if (this->m_eventOut_OutputPort[0].isConnected()) {
1096 #if FW_AMPCS_COMPATIBLE
1111 this->m_eventOut_OutputPort[0].
invoke(
1120 #if FW_ENABLE_TEXT_LOGGING
1121 if (this->m_LogText_OutputPort[0].isConnected()) {
1122 #if FW_OBJECT_NAMES == 1
1123 const char* _formatString =
1124 "(%s) %s: Could not write to file %s";
1126 const char* _formatString =
1127 "%s: Could not write to file %s";
1134 this->m_objName.toChar(),
1140 this->m_LogText_OutputPort[0].invoke(
1161 this->m_InvalidReceiveModeThrottle++;
1166 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1167 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
1175 if (this->m_eventOut_OutputPort[0].isConnected()) {
1179 #if FW_AMPCS_COMPATIBLE
1188 #if FW_AMPCS_COMPATIBLE
1191 static_cast<U8>(
sizeof(U32))
1198 _status = _logBuff.
serialize(packetType);
1204 #if FW_AMPCS_COMPATIBLE
1207 static_cast<U8>(
sizeof(U32))
1220 this->m_eventOut_OutputPort[0].
invoke(
1229 #if FW_ENABLE_TEXT_LOGGING
1230 if (this->m_LogText_OutputPort[0].isConnected()) {
1231 #if FW_OBJECT_NAMES == 1
1232 const char* _formatString =
1233 "(%s) %s: Packet type %" PRIu32
" received in mode %" PRIu32
"";
1235 const char* _formatString =
1236 "%s: Packet type %" PRIu32
" received in mode %" PRIu32
"";
1243 this->m_objName.toChar(),
1245 "InvalidReceiveMode ",
1250 this->m_LogText_OutputPort[0].invoke(
1271 this->m_PacketOutOfBoundsThrottle++;
1276 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1277 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
1285 if (this->m_eventOut_OutputPort[0].isConnected()) {
1289 #if FW_AMPCS_COMPATIBLE
1298 #if FW_AMPCS_COMPATIBLE
1301 static_cast<U8>(
sizeof(U32))
1308 _status = _logBuff.
serialize(packetIndex);
1320 this->m_eventOut_OutputPort[0].
invoke(
1329 #if FW_ENABLE_TEXT_LOGGING
1330 if (this->m_LogText_OutputPort[0].isConnected()) {
1331 #if FW_OBJECT_NAMES == 1
1332 const char* _formatString =
1333 "(%s) %s: Packet %" PRIu32
" out of bounds for file %s";
1335 const char* _formatString =
1336 "%s: Packet %" PRIu32
" out of bounds for file %s";
1343 this->m_objName.toChar(),
1345 "PacketOutOfBounds ",
1350 this->m_LogText_OutputPort[0].invoke(
1371 this->m_PacketOutOfOrderThrottle++;
1376 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1377 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
1385 if (this->m_eventOut_OutputPort[0].isConnected()) {
1389 #if FW_AMPCS_COMPATIBLE
1398 #if FW_AMPCS_COMPATIBLE
1401 static_cast<U8>(
sizeof(U32))
1408 _status = _logBuff.
serialize(packetIndex);
1414 #if FW_AMPCS_COMPATIBLE
1417 static_cast<U8>(
sizeof(U32))
1424 _status = _logBuff.
serialize(lastPacketIndex);
1430 this->m_eventOut_OutputPort[0].
invoke(
1439 #if FW_ENABLE_TEXT_LOGGING
1440 if (this->m_LogText_OutputPort[0].isConnected()) {
1441 #if FW_OBJECT_NAMES == 1
1442 const char* _formatString =
1443 "(%s) %s: Received packet %" PRIu32
" after packet %" PRIu32
"";
1445 const char* _formatString =
1446 "%s: Received packet %" PRIu32
" after packet %" PRIu32
"";
1453 this->m_objName.toChar(),
1455 "PacketOutOfOrder ",
1460 this->m_LogText_OutputPort[0].invoke(
1475 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1476 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
1484 if (this->m_eventOut_OutputPort[0].isConnected()) {
1487 #if FW_AMPCS_COMPATIBLE
1497 this->m_eventOut_OutputPort[0].
invoke(
1506 #if FW_ENABLE_TEXT_LOGGING
1507 if (this->m_LogText_OutputPort[0].isConnected()) {
1508 #if FW_OBJECT_NAMES == 1
1509 const char* _formatString =
1510 "(%s) %s: Received CANCEL packet";
1512 const char* _formatString =
1513 "%s: Received CANCEL packet";
1520 this->m_objName.toChar(),
1525 this->m_LogText_OutputPort[0].invoke(
1540 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1541 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
1549 if (this->m_eventOut_OutputPort[0].isConnected()) {
1553 #if FW_AMPCS_COMPATIBLE
1562 #if FW_AMPCS_COMPATIBLE
1565 static_cast<U8>(
sizeof(I32))
1578 this->m_eventOut_OutputPort[0].
invoke(
1587 #if FW_ENABLE_TEXT_LOGGING
1588 if (this->m_LogText_OutputPort[0].isConnected()) {
1589 #if FW_OBJECT_NAMES == 1
1590 const char* _formatString =
1591 "(%s) %s: Unable to decode file packet. Status: %" PRIi32
"";
1593 const char* _formatString =
1594 "%s: Unable to decode file packet. Status: %" PRIi32
"";
1601 this->m_objName.toChar(),
1607 this->m_LogText_OutputPort[0].invoke(
1625 this->m_FileWriteErrorThrottle = 0;
1632 this->m_InvalidReceiveModeThrottle = 0;
1639 this->m_PacketOutOfBoundsThrottle = 0;
1646 this->m_PacketOutOfOrderThrottle = 0;
1659 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1661 this->m_timeCaller_OutputPort[0].isConnected() &&
1664 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1678 this->m_tlmOut_OutputPort[0].
invoke(
1692 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1694 this->m_timeCaller_OutputPort[0].isConnected() &&
1697 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1711 this->m_tlmOut_OutputPort[0].
invoke(
1725 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1727 this->m_timeCaller_OutputPort[0].isConnected() &&
1730 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1744 this->m_tlmOut_OutputPort[0].
invoke(
1759 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1761 this->m_timeCaller_OutputPort[0].
invoke(_time);
1776 ComponentIpcSerializableBuffer msg;
1799 MsgTypeEnum msgType =
static_cast<MsgTypeEnum
>(desMsg);
1801 if (msgType == FILEUPLINK_COMPONENT_EXIT) {
1806 deserStatus = msg.deserialize(portNum);
1814 case BUFFERSENDIN_BUFFERSEND: {
1835 deserStatus = msg.deserialize(key);
1860 void FileUplinkComponentBase ::
1861 m_p_bufferSendIn_in(
1869 compPtr->bufferSendIn_handlerBase(
1875 void FileUplinkComponentBase ::
1884 compPtr->pingIn_handlerBase(
#define FW_MIN(a, b)
MIN macro.
uint8_t U8
8-bit unsigned integer
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
#define PRI_PlatformIntType
@ TB_NONE
No time base has been established.
PlatformAssertArgType FwAssertArgType
PlatformSizeType FwSizeType
#define FW_LOG_STRING_MAX_SIZE
Max size of log string parameter type.
PlatformQueuePriorityType FwQueuePriorityType
PlatformIndexType FwIndexType
#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
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
@ WARNING_HI
A serious but recoverable event.
@ ACTIVITY_HI
Important informational events.
void init()
Object initializer.
const char * toChar() const
void addCallPort(InputBufferSendPort *callPort)
Register an input port.
void invoke(Fw::Buffer &fwBuffer)
Invoke a port interface.
void init()
Initialization function.
void init()
Initialization function.
void invoke(FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args)
Invoke a port interface.
void addCallPort(InputLogPort *callPort)
Register an input port.
void addCallPort(InputTimePort *callPort)
Register an input port.
void invoke(Fw::Time &time)
Invoke a port interface.
void init()
Initialization function.
void addCallPort(InputTlmPort *callPort)
Register an input port.
void init()
Initialization function.
void invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)
Invoke a port interface.
Os::Queue::Status createQueue(FwSizeType depth, FwSizeType msgSize)
Os::Queue m_queue
queue object for active component
@ MSG_DISPATCH_OK
Dispatch was normal.
@ MSG_DISPATCH_EXIT
A message was sent requesting an exit of the loop.
@ MSG_DISPATCH_ERROR
Errors dispatching messages.
NATIVE_UINT_TYPE SizeType
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
virtual const CHAR * toChar() const =0
void format(const CHAR *formatString,...)
write formatted string to buffer
virtual SerializeStatus serialize(SerializeBufferBase &buffer) const
serialization function
Status send(const U8 *buffer, FwSizeType size, FwQueuePriorityType priority, BlockingType blockType) override
send a message into the queue through delegate
Status receive(U8 *destination, FwSizeType capacity, BlockingType blockType, FwSizeType &actualSize, FwQueuePriorityType &priority) override
receive a message from the queue through delegate
@ BLOCKING
Message will block until space is available.
@ NONBLOCKING
Message will return with status when space is unavailable.
Status
status returned from the queue send function
@ OP_OK
message sent/received okay
void set_eventOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to eventOut[portNum].
void log_WARNING_HI_DecodeError(I32 status)
@ CHANNELID_FILESRECEIVED
Channel ID for FilesReceived.
@ CHANNELID_WARNINGS
Channel ID for Warnings.
@ CHANNELID_PACKETSRECEIVED
Channel ID for PacketsReceived.
void log_ACTIVITY_HI_UplinkCanceled()
void log_WARNING_HI_FileWriteError(const Fw::StringBase &fileName)
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
bool isConnected_tlmOut_OutputPort(FwIndexType portNum)
void pingOut_out(FwIndexType portNum, U32 key)
Invoke output port pingOut.
void set_pingOut_OutputPort(FwIndexType portNum, Svc::InputPingPort *port)
Connect port to pingOut[portNum].
@ EVENTID_UPLINKCANCELED
The File Uplink component received a CANCEL packet.
@ EVENTID_FILEOPENERROR
An error occurred opening a file.
@ EVENTID_FILEWRITEERROR
An error occurred writing to a file.
@ EVENTID_FILERECEIVED
The File Uplink component successfully received a file.
@ EVENTID_BADCHECKSUM
During receipt of a file, the computed checksum value did not match the stored value.
@ EVENTID_INVALIDRECEIVEMODE
The File Uplink component received a packet with a type that was invalid for the current receive mode...
@ EVENTID_PACKETOUTOFORDER
The File Uplink component encountered an out-of-order packet during file receipt.
@ EVENTID_DECODEERROR
Error decoding file packet.
@ EVENTID_PACKETOUTOFBOUNDS
During receipt of a file, the File Uplink component encountered a packet with offset and size out of ...
void log_WARNING_HI_FileWriteError_ThrottleClear()
Reset throttle value for FileWriteError.
FileUplinkComponentBase(const char *compName="")
Construct FileUplinkComponentBase object.
void bufferSendIn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port bufferSendIn.
void log_WARNING_HI_FileOpenError(const Fw::StringBase &fileName)
bool isConnected_pingOut_OutputPort(FwIndexType portNum)
virtual void pingIn_preMsgHook(FwIndexType portNum, U32 key)
Pre-message hook for async input port pingIn.
FwIndexType getNum_eventOut_OutputPorts() const
void pingIn_handlerBase(FwIndexType portNum, U32 key)
Handler base-class function for input port pingIn.
void log_WARNING_HI_PacketOutOfOrder_ThrottleClear()
Reset throttle value for PacketOutOfOrder.
FwIndexType getNum_bufferSendOut_OutputPorts() const
FwIndexType getNum_pingIn_InputPorts() const
virtual void bufferSendIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port bufferSendIn.
void tlmWrite_Warnings(U32 arg, Fw::Time _tlmTime=Fw::Time())
virtual ~FileUplinkComponentBase()
Destroy FileUplinkComponentBase object.
void log_WARNING_HI_PacketOutOfBounds(U32 packetIndex, const Fw::StringBase &fileName)
void tlmWrite_PacketsReceived(U32 arg, Fw::Time _tlmTime=Fw::Time())
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
bool isConnected_bufferSendOut_OutputPort(FwIndexType portNum)
void log_WARNING_HI_PacketOutOfBounds_ThrottleClear()
Reset throttle value for PacketOutOfBounds.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
Fw::InputBufferSendPort * get_bufferSendIn_InputPort(FwIndexType portNum)
void tlmWrite_FilesReceived(U32 arg, Fw::Time _tlmTime=Fw::Time())
void log_WARNING_HI_BadChecksum(const Fw::StringBase &fileName, U32 computed, U32 read)
FwIndexType getNum_tlmOut_OutputPorts() const
FwIndexType getNum_timeCaller_OutputPorts() const
void bufferSendOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port bufferSendOut.
@ EVENTID_INVALIDRECEIVEMODE_THROTTLE
Throttle reset count for InvalidReceiveMode.
@ EVENTID_PACKETOUTOFBOUNDS_THROTTLE
Throttle reset count for PacketOutOfBounds.
@ EVENTID_FILEWRITEERROR_THROTTLE
Throttle reset count for FileWriteError.
@ EVENTID_PACKETOUTOFORDER_THROTTLE
Throttle reset count for PacketOutOfOrder.
void log_WARNING_HI_PacketOutOfOrder(U32 packetIndex, U32 lastPacketIndex)
FwIndexType getNum_bufferSendIn_InputPorts() const
virtual void bufferSendIn_preMsgHook(FwIndexType portNum, Fw::Buffer &fwBuffer)
Pre-message hook for async input port bufferSendIn.
void log_WARNING_HI_InvalidReceiveMode_ThrottleClear()
Reset throttle value for InvalidReceiveMode.
void log_ACTIVITY_HI_FileReceived(const Fw::StringBase &fileName)
void set_bufferSendOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to bufferSendOut[portNum].
FwIndexType getNum_pingOut_OutputPorts() const
void log_WARNING_HI_InvalidReceiveMode(U32 packetType, U32 mode)
virtual void pingIn_handler(FwIndexType portNum, U32 key)=0
Handler for input port pingIn.
bool isConnected_eventOut_OutputPort(FwIndexType portNum)
void invoke(U32 key)
Invoke a port interface.
void init()
Initialization function.
void addCallPort(InputPingPort *callPort)
Register an input port.
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.
@ OP_OK
Operation succeeded.