11#if FW_ENABLE_TEXT_LOGGING
22 CMD_DUMP_FILTER_STATE,
32 BYTE loqQueueIntIfSize[
42 class ComponentIpcSerializableBuffer :
57 return sizeof(m_buff);
64 const U8* getBuffAddr()
const {
70 U8 m_buff[SERIALIZATION_SIZE];
79 void ActiveLoggerComponentBase ::
91 port < static_cast<PlatformIntType>(this->getNum_CmdDisp_InputPorts());
94 this->m_CmdDisp_InputPort[port].init();
95 this->m_CmdDisp_InputPort[port].addCallComp(
99 this->m_CmdDisp_InputPort[port].setPortNum(port);
101#if FW_OBJECT_NAMES == 1
108 char portName[2*FW_OBJ_NAME_MAX_SIZE];
116 this->m_CmdDisp_InputPort[port].setObjName(portName);
123 port < static_cast<PlatformIntType>(this->getNum_LogRecv_InputPorts());
126 this->m_LogRecv_InputPort[port].init();
127 this->m_LogRecv_InputPort[port].addCallComp(
131 this->m_LogRecv_InputPort[port].setPortNum(port);
133#if FW_OBJECT_NAMES == 1
140 char portName[2*FW_OBJ_NAME_MAX_SIZE];
148 this->m_LogRecv_InputPort[port].setObjName(portName);
155 port < static_cast<PlatformIntType>(this->getNum_pingIn_InputPorts());
158 this->m_pingIn_InputPort[port].init();
159 this->m_pingIn_InputPort[port].addCallComp(
163 this->m_pingIn_InputPort[port].setPortNum(port);
165#if FW_OBJECT_NAMES == 1
172 char portName[2*FW_OBJ_NAME_MAX_SIZE];
180 this->m_pingIn_InputPort[port].setObjName(portName);
187 port < static_cast<PlatformIntType>(this->getNum_CmdReg_OutputPorts());
190 this->m_CmdReg_OutputPort[port].init();
192#if FW_OBJECT_NAMES == 1
199 char portName[2*FW_OBJ_NAME_MAX_SIZE];
207 this->m_CmdReg_OutputPort[port].setObjName(portName);
214 port < static_cast<PlatformIntType>(this->getNum_CmdStatus_OutputPorts());
217 this->m_CmdStatus_OutputPort[port].init();
219#if FW_OBJECT_NAMES == 1
226 char portName[2*FW_OBJ_NAME_MAX_SIZE];
234 this->m_CmdStatus_OutputPort[port].setObjName(portName);
241 port < static_cast<PlatformIntType>(this->getNum_Log_OutputPorts());
244 this->m_Log_OutputPort[port].init();
246#if FW_OBJECT_NAMES == 1
253 char portName[2*FW_OBJ_NAME_MAX_SIZE];
261 this->m_Log_OutputPort[port].setObjName(portName);
265#if FW_ENABLE_TEXT_LOGGING == 1
269 port < static_cast<PlatformIntType>(this->getNum_LogText_OutputPorts());
272 this->m_LogText_OutputPort[port].init();
274#if FW_OBJECT_NAMES == 1
281 char portName[2*FW_OBJ_NAME_MAX_SIZE];
289 this->m_LogText_OutputPort[port].setObjName(portName);
297 port < static_cast<PlatformIntType>(this->getNum_Time_OutputPorts());
300 this->m_Time_OutputPort[port].init();
302#if FW_OBJECT_NAMES == 1
309 char portName[2*FW_OBJ_NAME_MAX_SIZE];
317 this->m_Time_OutputPort[port].setObjName(portName);
324 port < static_cast<PlatformIntType>(this->getNum_FatalAnnounce_OutputPorts());
327 this->m_FatalAnnounce_OutputPort[port].init();
329#if FW_OBJECT_NAMES == 1
336 char portName[2*FW_OBJ_NAME_MAX_SIZE];
344 this->m_FatalAnnounce_OutputPort[port].setObjName(portName);
351 port < static_cast<PlatformIntType>(this->getNum_PktSend_OutputPorts());
354 this->m_PktSend_OutputPort[port].init();
356#if FW_OBJECT_NAMES == 1
363 char portName[2*FW_OBJ_NAME_MAX_SIZE];
371 this->m_PktSend_OutputPort[port].setObjName(portName);
378 port < static_cast<PlatformIntType>(this->getNum_pingOut_OutputPorts());
381 this->m_pingOut_OutputPort[port].init();
383#if FW_OBJECT_NAMES == 1
390 char portName[2*FW_OBJ_NAME_MAX_SIZE];
398 this->m_pingOut_OutputPort[port].setObjName(portName);
404 ComponentIpcSerializableBuffer::SERIALIZATION_SIZE
79 void ActiveLoggerComponentBase :: {
…}
420 portNum < this->getNum_CmdDisp_InputPorts(),
424 return &this->m_CmdDisp_InputPort[portNum];
435 portNum < this->getNum_LogRecv_InputPorts(),
439 return &this->m_LogRecv_InputPort[portNum];
446 portNum < this->getNum_pingIn_InputPorts(),
450 return &this->m_pingIn_InputPort[portNum];
457 void ActiveLoggerComponentBase ::
458 set_CmdReg_OutputPort(
464 portNum < this->getNum_CmdReg_OutputPorts(),
468 this->m_CmdReg_OutputPort[portNum].addCallPort(port);
457 void ActiveLoggerComponentBase :: {
…}
471 void ActiveLoggerComponentBase ::
472 set_CmdStatus_OutputPort(
478 portNum < this->getNum_CmdStatus_OutputPorts(),
482 this->m_CmdStatus_OutputPort[portNum].addCallPort(port);
471 void ActiveLoggerComponentBase :: {
…}
485 void ActiveLoggerComponentBase ::
492 portNum < this->getNum_Log_OutputPorts(),
496 this->m_Log_OutputPort[portNum].addCallPort(port);
485 void ActiveLoggerComponentBase :: {
…}
499#if FW_ENABLE_TEXT_LOGGING == 1
501 void ActiveLoggerComponentBase ::
502 set_LogText_OutputPort(
508 portNum < this->getNum_LogText_OutputPorts(),
512 this->m_LogText_OutputPort[portNum].addCallPort(port);
517 void ActiveLoggerComponentBase ::
524 portNum < this->getNum_Time_OutputPorts(),
528 this->m_Time_OutputPort[portNum].addCallPort(port);
517 void ActiveLoggerComponentBase :: {
…}
535 void ActiveLoggerComponentBase ::
536 set_FatalAnnounce_OutputPort(
542 portNum < this->getNum_FatalAnnounce_OutputPorts(),
546 this->m_FatalAnnounce_OutputPort[portNum].addCallPort(port);
535 void ActiveLoggerComponentBase :: {
…}
549 void ActiveLoggerComponentBase ::
550 set_PktSend_OutputPort(
556 portNum < this->getNum_PktSend_OutputPorts(),
560 this->m_PktSend_OutputPort[portNum].addCallPort(port);
549 void ActiveLoggerComponentBase :: {
…}
563 void ActiveLoggerComponentBase ::
564 set_pingOut_OutputPort(
570 portNum < this->getNum_pingOut_OutputPorts(),
574 this->m_pingOut_OutputPort[portNum].addCallPort(port);
563 void ActiveLoggerComponentBase :: {
…}
577#if FW_PORT_SERIALIZATION
583 void ActiveLoggerComponentBase ::
584 set_CmdReg_OutputPort(
586 Fw::InputSerializePort* port
590 portNum < this->getNum_CmdReg_OutputPorts(),
594 this->m_CmdReg_OutputPort[portNum].registerSerialPort(port);
597 void ActiveLoggerComponentBase ::
598 set_CmdStatus_OutputPort(
600 Fw::InputSerializePort* port
604 portNum < this->getNum_CmdStatus_OutputPorts(),
608 this->m_CmdStatus_OutputPort[portNum].registerSerialPort(port);
611 void ActiveLoggerComponentBase ::
614 Fw::InputSerializePort* port
618 portNum < this->getNum_Log_OutputPorts(),
622 this->m_Log_OutputPort[portNum].registerSerialPort(port);
625#if FW_ENABLE_TEXT_LOGGING == 1
627 void ActiveLoggerComponentBase ::
628 set_LogText_OutputPort(
630 Fw::InputSerializePort* port
634 portNum < this->getNum_LogText_OutputPorts(),
638 this->m_LogText_OutputPort[portNum].registerSerialPort(port);
643 void ActiveLoggerComponentBase ::
646 Fw::InputSerializePort* port
650 portNum < this->getNum_Time_OutputPorts(),
654 this->m_Time_OutputPort[portNum].registerSerialPort(port);
659#if FW_PORT_SERIALIZATION
665 void ActiveLoggerComponentBase ::
666 set_FatalAnnounce_OutputPort(
668 Fw::InputSerializePort* port
672 portNum < this->getNum_FatalAnnounce_OutputPorts(),
676 this->m_FatalAnnounce_OutputPort[portNum].registerSerialPort(port);
679 void ActiveLoggerComponentBase ::
680 set_PktSend_OutputPort(
682 Fw::InputSerializePort* port
686 portNum < this->getNum_PktSend_OutputPorts(),
690 this->m_PktSend_OutputPort[portNum].registerSerialPort(port);
693 void ActiveLoggerComponentBase ::
694 set_pingOut_OutputPort(
696 Fw::InputSerializePort* port
700 portNum < this->getNum_pingOut_OutputPorts(),
704 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
713 void ActiveLoggerComponentBase ::
716 FW_ASSERT(this->m_CmdReg_OutputPort[0].isConnected());
718 this->m_CmdReg_OutputPort[0].invoke(
719 this->getIdBase() + OPCODE_SET_EVENT_FILTER
722 this->m_CmdReg_OutputPort[0].invoke(
723 this->getIdBase() + OPCODE_SET_ID_FILTER
726 this->m_CmdReg_OutputPort[0].invoke(
727 this->getIdBase() + OPCODE_DUMP_FILTER_STATE
713 void ActiveLoggerComponentBase :: {
…}
735 ActiveLoggerComponentBase ::
736 ActiveLoggerComponentBase(
const char* compName) :
737 Fw::ActiveComponentBase(compName)
735 ActiveLoggerComponentBase :: {
…}
742 ActiveLoggerComponentBase ::
743 ~ActiveLoggerComponentBase()
742 ActiveLoggerComponentBase :: {
…}
753 getNum_CmdDisp_InputPorts()
const
763 getNum_LogRecv_InputPorts()
const
769 getNum_pingIn_InputPorts()
const
779 getNum_CmdReg_OutputPorts()
const
785 getNum_CmdStatus_OutputPorts()
const
791 getNum_Log_OutputPorts()
const
796#if FW_ENABLE_TEXT_LOGGING == 1
799 getNum_LogText_OutputPorts()
const
807 getNum_Time_OutputPorts()
const
817 getNum_FatalAnnounce_OutputPorts()
const
823 getNum_PktSend_OutputPorts()
const
829 getNum_pingOut_OutputPorts()
const
838 bool ActiveLoggerComponentBase ::
842 portNum < this->getNum_CmdReg_OutputPorts(),
846 return this->m_CmdReg_OutputPort[portNum].isConnected();
838 bool ActiveLoggerComponentBase :: {
…}
849 bool ActiveLoggerComponentBase ::
853 portNum < this->getNum_CmdStatus_OutputPorts(),
857 return this->m_CmdStatus_OutputPort[portNum].isConnected();
849 bool ActiveLoggerComponentBase :: {
…}
860 bool ActiveLoggerComponentBase ::
864 portNum < this->getNum_Log_OutputPorts(),
868 return this->m_Log_OutputPort[portNum].isConnected();
860 bool ActiveLoggerComponentBase :: {
…}
871#if FW_ENABLE_TEXT_LOGGING == 1
873 bool ActiveLoggerComponentBase ::
877 portNum < this->getNum_LogText_OutputPorts(),
881 return this->m_LogText_OutputPort[portNum].isConnected();
886 bool ActiveLoggerComponentBase ::
890 portNum < this->getNum_Time_OutputPorts(),
894 return this->m_Time_OutputPort[portNum].isConnected();
886 bool ActiveLoggerComponentBase :: {
…}
901 bool ActiveLoggerComponentBase ::
905 portNum < this->getNum_FatalAnnounce_OutputPorts(),
909 return this->m_FatalAnnounce_OutputPort[portNum].isConnected();
901 bool ActiveLoggerComponentBase :: {
…}
912 bool ActiveLoggerComponentBase ::
916 portNum < this->getNum_PktSend_OutputPorts(),
920 return this->m_PktSend_OutputPort[portNum].isConnected();
912 bool ActiveLoggerComponentBase :: {
…}
923 bool ActiveLoggerComponentBase ::
927 portNum < this->getNum_pingOut_OutputPorts(),
931 return this->m_pingOut_OutputPort[portNum].isConnected();
923 bool ActiveLoggerComponentBase :: {
…}
940 void ActiveLoggerComponentBase ::
951 portNum < this->getNum_LogRecv_InputPorts(),
956 this->LogRecv_handler(
940 void ActiveLoggerComponentBase :: {
…}
965 void ActiveLoggerComponentBase ::
973 portNum < this->getNum_pingIn_InputPorts(),
982 ComponentIpcSerializableBuffer msg;
986 _status = msg.serialize(
995 _status = msg.serialize(portNum);
1002 _status = msg.serialize(key);
965 void ActiveLoggerComponentBase :: {
…}
1026 void ActiveLoggerComponentBase ::
1026 void ActiveLoggerComponentBase :: {
…}
1039 void ActiveLoggerComponentBase ::
1046 portNum < this->getNum_FatalAnnounce_OutputPorts(),
1049 this->m_FatalAnnounce_OutputPort[portNum].invoke(
1039 void ActiveLoggerComponentBase :: {
…}
1054 void ActiveLoggerComponentBase ::
1062 portNum < this->getNum_PktSend_OutputPorts(),
1065 this->m_PktSend_OutputPort[portNum].invoke(
1054 void ActiveLoggerComponentBase :: {
…}
1071 void ActiveLoggerComponentBase ::
1078 portNum < this->getNum_pingOut_OutputPorts(),
1081 this->m_pingOut_OutputPort[portNum].invoke(
1071 void ActiveLoggerComponentBase :: {
…}
1090 void ActiveLoggerComponentBase ::
1091 loqQueue_internalInterfaceInvoke(
1098 ComponentIpcSerializableBuffer msg;
1102 _status = msg.serialize(
static_cast<NATIVE_INT_TYPE>(INT_IF_LOQQUEUE));
1115 _status = msg.serialize(
id);
1121 _status = msg.serialize(timeTag);
1127 _status = msg.serialize(severity);
1133 _status = msg.serialize(args);
1144 this->incNumMsgDropped();
1090 void ActiveLoggerComponentBase :: {
…}
1158 void ActiveLoggerComponentBase ::
1165 FW_ASSERT(this->m_CmdStatus_OutputPort[0].isConnected());
1166 this->m_CmdStatus_OutputPort[0].invoke(opCode, cmdSeq, response);
1158 void ActiveLoggerComponentBase :: {
…}
1175 void ActiveLoggerComponentBase ::
1176 SET_EVENT_FILTER_cmdHandlerBase(
1191 if (this->m_CmdStatus_OutputPort[0].isConnected()) {
1192 this->m_CmdStatus_OutputPort[0].invoke(
1204 if (this->m_CmdStatus_OutputPort[0].isConnected()) {
1205 this->m_CmdStatus_OutputPort[0].invoke(
1214#if FW_CMD_CHECK_RESIDUAL
1218 if (this->m_CmdStatus_OutputPort[0].isConnected()) {
1219 this->m_CmdStatus_OutputPort[0].invoke(
1229 this->SET_EVENT_FILTER_cmdHandler(
1175 void ActiveLoggerComponentBase :: {
…}
1236 void ActiveLoggerComponentBase ::
1237 SET_ID_FILTER_cmdHandlerBase(
1244 this->SET_ID_FILTER_preMsgHook(opCode,cmdSeq);
1248 ComponentIpcSerializableBuffer msg;
1252 _status = msg.serialize(
static_cast<NATIVE_INT_TYPE>(CMD_SET_ID_FILTER));
1261 _status = msg.serialize(port);
1267 _status = msg.serialize(opCode);
1273 _status = msg.serialize(cmdSeq);
1279 _status = msg.serialize(args);
1236 void ActiveLoggerComponentBase :: {
…}
1295 void ActiveLoggerComponentBase ::
1296 DUMP_FILTER_STATE_cmdHandlerBase(
1303 this->DUMP_FILTER_STATE_preMsgHook(opCode,cmdSeq);
1307 ComponentIpcSerializableBuffer msg;
1311 _status = msg.serialize(
static_cast<NATIVE_INT_TYPE>(CMD_DUMP_FILTER_STATE));
1320 _status = msg.serialize(port);
1326 _status = msg.serialize(opCode);
1332 _status = msg.serialize(cmdSeq);
1338 _status = msg.serialize(args);
1295 void ActiveLoggerComponentBase :: {
…}
1362 void ActiveLoggerComponentBase ::
1363 SET_ID_FILTER_preMsgHook(
1362 void ActiveLoggerComponentBase :: {
…}
1373 void ActiveLoggerComponentBase ::
1374 DUMP_FILTER_STATE_preMsgHook(
1373 void ActiveLoggerComponentBase :: {
…}
1388 void ActiveLoggerComponentBase ::
1389 log_ACTIVITY_LO_SEVERITY_FILTER_STATE(
1396 if (this->m_Time_OutputPort[0].isConnected()) {
1397 this->m_Time_OutputPort[0].invoke(_logTime);
1402 _id = this->getIdBase() + EVENTID_SEVERITY_FILTER_STATE;
1405 if (this->m_Log_OutputPort[0].isConnected()) {
1409#if FW_AMPCS_COMPATIBLE
1418#if FW_AMPCS_COMPATIBLE
1434#if FW_AMPCS_COMPATIBLE
1437 static_cast<U8>(
sizeof(
U8))
1450 this->m_Log_OutputPort[0].invoke(
1459#if FW_ENABLE_TEXT_LOGGING
1460 if (this->m_LogText_OutputPort[0].isConnected()) {
1461#if FW_OBJECT_NAMES == 1
1462 const char* _formatString =
1463 "(%s) %s: %s filter state. %d";
1465 const char* _formatString =
1466 "%s: %s filter state. %d";
1472 severity.toString(severityStr);
1481 "SEVERITY_FILTER_STATE ",
1489 this->m_LogText_OutputPort[0].invoke(
1388 void ActiveLoggerComponentBase :: {
…}
1499 void ActiveLoggerComponentBase ::
1500 log_ACTIVITY_HI_ID_FILTER_ENABLED(U32 ID)
1504 if (this->m_Time_OutputPort[0].isConnected()) {
1505 this->m_Time_OutputPort[0].invoke(_logTime);
1510 _id = this->getIdBase() + EVENTID_ID_FILTER_ENABLED;
1513 if (this->m_Log_OutputPort[0].isConnected()) {
1517#if FW_AMPCS_COMPATIBLE
1526#if FW_AMPCS_COMPATIBLE
1529 static_cast<U8>(
sizeof(U32))
1542 this->m_Log_OutputPort[0].invoke(
1551#if FW_ENABLE_TEXT_LOGGING
1552 if (this->m_LogText_OutputPort[0].isConnected()) {
1553#if FW_OBJECT_NAMES == 1
1554 const char* _formatString =
1555 "(%s) %s: ID %" PRIu32
" is filtered.";
1557 const char* _formatString =
1558 "%s: ID %" PRIu32
" is filtered.";
1570 "ID_FILTER_ENABLED ",
1577 this->m_LogText_OutputPort[0].invoke(
1499 void ActiveLoggerComponentBase :: {
…}
1587 void ActiveLoggerComponentBase ::
1588 log_WARNING_LO_ID_FILTER_LIST_FULL(U32 ID)
1592 if (this->m_Time_OutputPort[0].isConnected()) {
1593 this->m_Time_OutputPort[0].invoke(_logTime);
1598 _id = this->getIdBase() + EVENTID_ID_FILTER_LIST_FULL;
1601 if (this->m_Log_OutputPort[0].isConnected()) {
1605#if FW_AMPCS_COMPATIBLE
1614#if FW_AMPCS_COMPATIBLE
1617 static_cast<U8>(
sizeof(U32))
1630 this->m_Log_OutputPort[0].invoke(
1639#if FW_ENABLE_TEXT_LOGGING
1640 if (this->m_LogText_OutputPort[0].isConnected()) {
1641#if FW_OBJECT_NAMES == 1
1642 const char* _formatString =
1643 "(%s) %s: ID filter list is full. Cannot filter %" PRIu32
" .";
1645 const char* _formatString =
1646 "%s: ID filter list is full. Cannot filter %" PRIu32
" .";
1658 "ID_FILTER_LIST_FULL ",
1665 this->m_LogText_OutputPort[0].invoke(
1587 void ActiveLoggerComponentBase :: {
…}
1675 void ActiveLoggerComponentBase ::
1676 log_ACTIVITY_HI_ID_FILTER_REMOVED(U32 ID)
1680 if (this->m_Time_OutputPort[0].isConnected()) {
1681 this->m_Time_OutputPort[0].invoke(_logTime);
1686 _id = this->getIdBase() + EVENTID_ID_FILTER_REMOVED;
1689 if (this->m_Log_OutputPort[0].isConnected()) {
1693#if FW_AMPCS_COMPATIBLE
1702#if FW_AMPCS_COMPATIBLE
1705 static_cast<U8>(
sizeof(U32))
1718 this->m_Log_OutputPort[0].invoke(
1727#if FW_ENABLE_TEXT_LOGGING
1728 if (this->m_LogText_OutputPort[0].isConnected()) {
1729#if FW_OBJECT_NAMES == 1
1730 const char* _formatString =
1731 "(%s) %s: ID filter ID %" PRIu32
" removed.";
1733 const char* _formatString =
1734 "%s: ID filter ID %" PRIu32
" removed.";
1746 "ID_FILTER_REMOVED ",
1753 this->m_LogText_OutputPort[0].invoke(
1675 void ActiveLoggerComponentBase :: {
…}
1763 void ActiveLoggerComponentBase ::
1764 log_WARNING_LO_ID_FILTER_NOT_FOUND(U32 ID)
1768 if (this->m_Time_OutputPort[0].isConnected()) {
1769 this->m_Time_OutputPort[0].invoke(_logTime);
1774 _id = this->getIdBase() + EVENTID_ID_FILTER_NOT_FOUND;
1777 if (this->m_Log_OutputPort[0].isConnected()) {
1781#if FW_AMPCS_COMPATIBLE
1790#if FW_AMPCS_COMPATIBLE
1793 static_cast<U8>(
sizeof(U32))
1806 this->m_Log_OutputPort[0].invoke(
1815#if FW_ENABLE_TEXT_LOGGING
1816 if (this->m_LogText_OutputPort[0].isConnected()) {
1817#if FW_OBJECT_NAMES == 1
1818 const char* _formatString =
1819 "(%s) %s: ID filter ID %" PRIu32
" not found.";
1821 const char* _formatString =
1822 "%s: ID filter ID %" PRIu32
" not found.";
1834 "ID_FILTER_NOT_FOUND ",
1841 this->m_LogText_OutputPort[0].invoke(
1763 void ActiveLoggerComponentBase :: {
…}
1858 if (this->m_Time_OutputPort[0].isConnected()) {
1860 this->m_Time_OutputPort[0].invoke(_time);
1875 ComponentIpcSerializableBuffer msg;
1898 MsgTypeEnum msgType =
static_cast<MsgTypeEnum
>(desMsg);
1900 if (msgType == ACTIVELOGGER_COMPONENT_EXIT) {
1901 return MSG_DISPATCH_EXIT;
1905 deserStatus = msg.deserialize(portNum);
1916 deserStatus = msg.deserialize(key);
1922 this->pingIn_handler(
1931 case CMD_SET_ID_FILTER: {
1934 deserStatus = msg.deserialize(opCode);
1942 deserStatus = msg.deserialize(cmdSeq);
1950 deserStatus = msg.deserialize(args);
1963 if (this->m_CmdStatus_OutputPort[0].isConnected()) {
1964 this->cmdResponse_out(
1978 if (this->m_CmdStatus_OutputPort[0].isConnected()) {
1979 this->cmdResponse_out(
1991#if FW_CMD_CHECK_RESIDUAL
1993 if (this->m_CmdStatus_OutputPort[0].isConnected()) {
2002 this->SET_ID_FILTER_cmdHandler(
2012 case CMD_DUMP_FILTER_STATE: {
2015 deserStatus = msg.deserialize(opCode);
2023 deserStatus = msg.deserialize(cmdSeq);
2031 deserStatus = msg.deserialize(args);
2042#if FW_CMD_CHECK_RESIDUAL
2044 if (this->m_CmdStatus_OutputPort[0].isConnected()) {
2053 this->DUMP_FILTER_STATE_cmdHandler(opCode, cmdSeq);
2059 case INT_IF_LOQQUEUE: {
2061 deserStatus = msg.deserialize(
id);
2070 deserStatus = msg.deserialize(timeTag);
2079 deserStatus = msg.deserialize(severity);
2088 deserStatus = msg.deserialize(args);
2099 msg.getBuffLeft() == 0,
2104 this->loqQueue_internalInterfaceHandler(
2115 return MSG_DISPATCH_ERROR;
2118 return MSG_DISPATCH_OK;
2125 void ActiveLoggerComponentBase ::
2135 ActiveLoggerComponentBase* compPtr =
static_cast<ActiveLoggerComponentBase*
>(callComp);
2137 const U32 idBase = callComp->
getIdBase();
2138 FW_ASSERT(opCode >= idBase, opCode, idBase);
2141 switch (opCode - idBase) {
2142 case OPCODE_SET_EVENT_FILTER: {
2143 compPtr->SET_EVENT_FILTER_cmdHandlerBase(
2151 case OPCODE_SET_ID_FILTER: {
2152 compPtr->SET_ID_FILTER_cmdHandlerBase(
2160 case OPCODE_DUMP_FILTER_STATE: {
2161 compPtr->DUMP_FILTER_STATE_cmdHandlerBase(
2175 void ActiveLoggerComponentBase ::
2186 ActiveLoggerComponentBase* compPtr =
static_cast<ActiveLoggerComponentBase*
>(callComp);
2187 compPtr->LogRecv_handlerBase(
2196 void ActiveLoggerComponentBase ::
2204 ActiveLoggerComponentBase* compPtr =
static_cast<ActiveLoggerComponentBase*
>(callComp);
2205 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.
Enum representing event severity.
@ SERIALIZED_SIZE
The size of the serial representation.
@ 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
const char * toChar() const
gets char buffer
@ QUEUE_OK
message sent/received okay
@ QUEUE_FULL
queue was full when attempting to send a message
@ QUEUE_BLOCKING
Queue receive blocks until a message arrives.
@ QUEUE_NONBLOCKING
Queue receive always returns even if there is no message.
Enabled and disabled state.
@ SERIALIZED_SIZE
The size of the serial representation.
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.