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
110 this->m_CmdDisp_InputPort[port].setObjName(portName);
117 port < static_cast<PlatformIntType>(this->getNum_LogRecv_InputPorts());
120 this->m_LogRecv_InputPort[port].init();
121 this->m_LogRecv_InputPort[port].addCallComp(
125 this->m_LogRecv_InputPort[port].setPortNum(port);
127#if FW_OBJECT_NAMES == 1
136 this->m_LogRecv_InputPort[port].setObjName(portName);
143 port < static_cast<PlatformIntType>(this->getNum_pingIn_InputPorts());
146 this->m_pingIn_InputPort[port].init();
147 this->m_pingIn_InputPort[port].addCallComp(
151 this->m_pingIn_InputPort[port].setPortNum(port);
153#if FW_OBJECT_NAMES == 1
162 this->m_pingIn_InputPort[port].setObjName(portName);
169 port < static_cast<PlatformIntType>(this->getNum_CmdReg_OutputPorts());
172 this->m_CmdReg_OutputPort[port].init();
174#if FW_OBJECT_NAMES == 1
183 this->m_CmdReg_OutputPort[port].setObjName(portName);
190 port < static_cast<PlatformIntType>(this->getNum_CmdStatus_OutputPorts());
193 this->m_CmdStatus_OutputPort[port].init();
195#if FW_OBJECT_NAMES == 1
204 this->m_CmdStatus_OutputPort[port].setObjName(portName);
211 port < static_cast<PlatformIntType>(this->getNum_Log_OutputPorts());
214 this->m_Log_OutputPort[port].init();
216#if FW_OBJECT_NAMES == 1
225 this->m_Log_OutputPort[port].setObjName(portName);
229#if FW_ENABLE_TEXT_LOGGING == 1
233 port < static_cast<PlatformIntType>(this->getNum_LogText_OutputPorts());
236 this->m_LogText_OutputPort[port].init();
238#if FW_OBJECT_NAMES == 1
247 this->m_LogText_OutputPort[port].setObjName(portName);
255 port < static_cast<PlatformIntType>(this->getNum_Time_OutputPorts());
258 this->m_Time_OutputPort[port].init();
260#if FW_OBJECT_NAMES == 1
269 this->m_Time_OutputPort[port].setObjName(portName);
276 port < static_cast<PlatformIntType>(this->getNum_FatalAnnounce_OutputPorts());
279 this->m_FatalAnnounce_OutputPort[port].init();
281#if FW_OBJECT_NAMES == 1
290 this->m_FatalAnnounce_OutputPort[port].setObjName(portName);
297 port < static_cast<PlatformIntType>(this->getNum_PktSend_OutputPorts());
300 this->m_PktSend_OutputPort[port].init();
302#if FW_OBJECT_NAMES == 1
311 this->m_PktSend_OutputPort[port].setObjName(portName);
318 port < static_cast<PlatformIntType>(this->getNum_pingOut_OutputPorts());
321 this->m_pingOut_OutputPort[port].init();
323#if FW_OBJECT_NAMES == 1
332 this->m_pingOut_OutputPort[port].setObjName(portName);
338 ComponentIpcSerializableBuffer::SERIALIZATION_SIZE
79 void ActiveLoggerComponentBase :: {
…}
354 portNum < this->getNum_CmdDisp_InputPorts(),
358 return &this->m_CmdDisp_InputPort[portNum];
369 portNum < this->getNum_LogRecv_InputPorts(),
373 return &this->m_LogRecv_InputPort[portNum];
380 portNum < this->getNum_pingIn_InputPorts(),
384 return &this->m_pingIn_InputPort[portNum];
391 void ActiveLoggerComponentBase ::
392 set_CmdReg_OutputPort(
398 portNum < this->getNum_CmdReg_OutputPorts(),
402 this->m_CmdReg_OutputPort[portNum].addCallPort(port);
391 void ActiveLoggerComponentBase :: {
…}
405 void ActiveLoggerComponentBase ::
406 set_CmdStatus_OutputPort(
412 portNum < this->getNum_CmdStatus_OutputPorts(),
416 this->m_CmdStatus_OutputPort[portNum].addCallPort(port);
405 void ActiveLoggerComponentBase :: {
…}
419 void ActiveLoggerComponentBase ::
426 portNum < this->getNum_Log_OutputPorts(),
430 this->m_Log_OutputPort[portNum].addCallPort(port);
419 void ActiveLoggerComponentBase :: {
…}
433#if FW_ENABLE_TEXT_LOGGING == 1
435 void ActiveLoggerComponentBase ::
436 set_LogText_OutputPort(
442 portNum < this->getNum_LogText_OutputPorts(),
446 this->m_LogText_OutputPort[portNum].addCallPort(port);
451 void ActiveLoggerComponentBase ::
458 portNum < this->getNum_Time_OutputPorts(),
462 this->m_Time_OutputPort[portNum].addCallPort(port);
451 void ActiveLoggerComponentBase :: {
…}
469 void ActiveLoggerComponentBase ::
470 set_FatalAnnounce_OutputPort(
476 portNum < this->getNum_FatalAnnounce_OutputPorts(),
480 this->m_FatalAnnounce_OutputPort[portNum].addCallPort(port);
469 void ActiveLoggerComponentBase :: {
…}
483 void ActiveLoggerComponentBase ::
484 set_PktSend_OutputPort(
490 portNum < this->getNum_PktSend_OutputPorts(),
494 this->m_PktSend_OutputPort[portNum].addCallPort(port);
483 void ActiveLoggerComponentBase :: {
…}
497 void ActiveLoggerComponentBase ::
498 set_pingOut_OutputPort(
504 portNum < this->getNum_pingOut_OutputPorts(),
508 this->m_pingOut_OutputPort[portNum].addCallPort(port);
497 void ActiveLoggerComponentBase :: {
…}
511#if FW_PORT_SERIALIZATION
517 void ActiveLoggerComponentBase ::
518 set_CmdReg_OutputPort(
520 Fw::InputSerializePort* port
524 portNum < this->getNum_CmdReg_OutputPorts(),
528 this->m_CmdReg_OutputPort[portNum].registerSerialPort(port);
531 void ActiveLoggerComponentBase ::
532 set_CmdStatus_OutputPort(
534 Fw::InputSerializePort* port
538 portNum < this->getNum_CmdStatus_OutputPorts(),
542 this->m_CmdStatus_OutputPort[portNum].registerSerialPort(port);
545 void ActiveLoggerComponentBase ::
548 Fw::InputSerializePort* port
552 portNum < this->getNum_Log_OutputPorts(),
556 this->m_Log_OutputPort[portNum].registerSerialPort(port);
559#if FW_ENABLE_TEXT_LOGGING == 1
561 void ActiveLoggerComponentBase ::
562 set_LogText_OutputPort(
564 Fw::InputSerializePort* port
568 portNum < this->getNum_LogText_OutputPorts(),
572 this->m_LogText_OutputPort[portNum].registerSerialPort(port);
577 void ActiveLoggerComponentBase ::
580 Fw::InputSerializePort* port
584 portNum < this->getNum_Time_OutputPorts(),
588 this->m_Time_OutputPort[portNum].registerSerialPort(port);
593#if FW_PORT_SERIALIZATION
599 void ActiveLoggerComponentBase ::
600 set_FatalAnnounce_OutputPort(
602 Fw::InputSerializePort* port
606 portNum < this->getNum_FatalAnnounce_OutputPorts(),
610 this->m_FatalAnnounce_OutputPort[portNum].registerSerialPort(port);
613 void ActiveLoggerComponentBase ::
614 set_PktSend_OutputPort(
616 Fw::InputSerializePort* port
620 portNum < this->getNum_PktSend_OutputPorts(),
624 this->m_PktSend_OutputPort[portNum].registerSerialPort(port);
627 void ActiveLoggerComponentBase ::
628 set_pingOut_OutputPort(
630 Fw::InputSerializePort* port
634 portNum < this->getNum_pingOut_OutputPorts(),
638 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
647 void ActiveLoggerComponentBase ::
650 FW_ASSERT(this->m_CmdReg_OutputPort[0].isConnected());
652 this->m_CmdReg_OutputPort[0].invoke(
653 this->getIdBase() + OPCODE_SET_EVENT_FILTER
656 this->m_CmdReg_OutputPort[0].invoke(
657 this->getIdBase() + OPCODE_SET_ID_FILTER
660 this->m_CmdReg_OutputPort[0].invoke(
661 this->getIdBase() + OPCODE_DUMP_FILTER_STATE
647 void ActiveLoggerComponentBase :: {
…}
669 ActiveLoggerComponentBase ::
670 ActiveLoggerComponentBase(
const char* compName) :
671 Fw::ActiveComponentBase(compName)
669 ActiveLoggerComponentBase :: {
…}
676 ActiveLoggerComponentBase ::
677 ~ActiveLoggerComponentBase()
676 ActiveLoggerComponentBase :: {
…}
687 getNum_CmdDisp_InputPorts()
const
697 getNum_LogRecv_InputPorts()
const
703 getNum_pingIn_InputPorts()
const
713 getNum_CmdReg_OutputPorts()
const
719 getNum_CmdStatus_OutputPorts()
const
725 getNum_Log_OutputPorts()
const
730#if FW_ENABLE_TEXT_LOGGING == 1
733 getNum_LogText_OutputPorts()
const
741 getNum_Time_OutputPorts()
const
751 getNum_FatalAnnounce_OutputPorts()
const
757 getNum_PktSend_OutputPorts()
const
763 getNum_pingOut_OutputPorts()
const
772 bool ActiveLoggerComponentBase ::
776 portNum < this->getNum_CmdReg_OutputPorts(),
780 return this->m_CmdReg_OutputPort[portNum].isConnected();
772 bool ActiveLoggerComponentBase :: {
…}
783 bool ActiveLoggerComponentBase ::
787 portNum < this->getNum_CmdStatus_OutputPorts(),
791 return this->m_CmdStatus_OutputPort[portNum].isConnected();
783 bool ActiveLoggerComponentBase :: {
…}
794 bool ActiveLoggerComponentBase ::
798 portNum < this->getNum_Log_OutputPorts(),
802 return this->m_Log_OutputPort[portNum].isConnected();
794 bool ActiveLoggerComponentBase :: {
…}
805#if FW_ENABLE_TEXT_LOGGING == 1
807 bool ActiveLoggerComponentBase ::
811 portNum < this->getNum_LogText_OutputPorts(),
815 return this->m_LogText_OutputPort[portNum].isConnected();
820 bool ActiveLoggerComponentBase ::
824 portNum < this->getNum_Time_OutputPorts(),
828 return this->m_Time_OutputPort[portNum].isConnected();
820 bool ActiveLoggerComponentBase :: {
…}
835 bool ActiveLoggerComponentBase ::
839 portNum < this->getNum_FatalAnnounce_OutputPorts(),
843 return this->m_FatalAnnounce_OutputPort[portNum].isConnected();
835 bool ActiveLoggerComponentBase :: {
…}
846 bool ActiveLoggerComponentBase ::
850 portNum < this->getNum_PktSend_OutputPorts(),
854 return this->m_PktSend_OutputPort[portNum].isConnected();
846 bool ActiveLoggerComponentBase :: {
…}
857 bool ActiveLoggerComponentBase ::
861 portNum < this->getNum_pingOut_OutputPorts(),
865 return this->m_pingOut_OutputPort[portNum].isConnected();
857 bool ActiveLoggerComponentBase :: {
…}
874 void ActiveLoggerComponentBase ::
885 portNum < this->getNum_LogRecv_InputPorts(),
890 this->LogRecv_handler(
874 void ActiveLoggerComponentBase :: {
…}
899 void ActiveLoggerComponentBase ::
907 portNum < this->getNum_pingIn_InputPorts(),
916 ComponentIpcSerializableBuffer msg;
920 _status = msg.serialize(
929 _status = msg.serialize(portNum);
936 _status = msg.serialize(key);
899 void ActiveLoggerComponentBase :: {
…}
960 void ActiveLoggerComponentBase ::
960 void ActiveLoggerComponentBase :: {
…}
973 void ActiveLoggerComponentBase ::
980 portNum < this->getNum_FatalAnnounce_OutputPorts(),
983 this->m_FatalAnnounce_OutputPort[portNum].invoke(
973 void ActiveLoggerComponentBase :: {
…}
988 void ActiveLoggerComponentBase ::
996 portNum < this->getNum_PktSend_OutputPorts(),
999 this->m_PktSend_OutputPort[portNum].invoke(
988 void ActiveLoggerComponentBase :: {
…}
1005 void ActiveLoggerComponentBase ::
1012 portNum < this->getNum_pingOut_OutputPorts(),
1015 this->m_pingOut_OutputPort[portNum].invoke(
1005 void ActiveLoggerComponentBase :: {
…}
1024 void ActiveLoggerComponentBase ::
1025 loqQueue_internalInterfaceInvoke(
1032 ComponentIpcSerializableBuffer msg;
1036 _status = msg.serialize(
static_cast<NATIVE_INT_TYPE>(INT_IF_LOQQUEUE));
1049 _status = msg.serialize(
id);
1055 _status = msg.serialize(timeTag);
1061 _status = msg.serialize(severity);
1067 _status = msg.serialize(args);
1078 this->incNumMsgDropped();
1024 void ActiveLoggerComponentBase :: {
…}
1092 void ActiveLoggerComponentBase ::
1099 FW_ASSERT(this->m_CmdStatus_OutputPort[0].isConnected());
1100 this->m_CmdStatus_OutputPort[0].invoke(opCode, cmdSeq, response);
1092 void ActiveLoggerComponentBase :: {
…}
1109 void ActiveLoggerComponentBase ::
1110 SET_EVENT_FILTER_cmdHandlerBase(
1125 if (this->m_CmdStatus_OutputPort[0].isConnected()) {
1126 this->m_CmdStatus_OutputPort[0].invoke(
1138 if (this->m_CmdStatus_OutputPort[0].isConnected()) {
1139 this->m_CmdStatus_OutputPort[0].invoke(
1148#if FW_CMD_CHECK_RESIDUAL
1152 if (this->m_CmdStatus_OutputPort[0].isConnected()) {
1153 this->m_CmdStatus_OutputPort[0].invoke(
1163 this->SET_EVENT_FILTER_cmdHandler(
1109 void ActiveLoggerComponentBase :: {
…}
1170 void ActiveLoggerComponentBase ::
1171 SET_ID_FILTER_cmdHandlerBase(
1178 this->SET_ID_FILTER_preMsgHook(opCode,cmdSeq);
1182 ComponentIpcSerializableBuffer msg;
1186 _status = msg.serialize(
static_cast<NATIVE_INT_TYPE>(CMD_SET_ID_FILTER));
1195 _status = msg.serialize(port);
1201 _status = msg.serialize(opCode);
1207 _status = msg.serialize(cmdSeq);
1213 _status = msg.serialize(args);
1170 void ActiveLoggerComponentBase :: {
…}
1229 void ActiveLoggerComponentBase ::
1230 DUMP_FILTER_STATE_cmdHandlerBase(
1237 this->DUMP_FILTER_STATE_preMsgHook(opCode,cmdSeq);
1241 ComponentIpcSerializableBuffer msg;
1245 _status = msg.serialize(
static_cast<NATIVE_INT_TYPE>(CMD_DUMP_FILTER_STATE));
1254 _status = msg.serialize(port);
1260 _status = msg.serialize(opCode);
1266 _status = msg.serialize(cmdSeq);
1272 _status = msg.serialize(args);
1229 void ActiveLoggerComponentBase :: {
…}
1296 void ActiveLoggerComponentBase ::
1297 SET_ID_FILTER_preMsgHook(
1296 void ActiveLoggerComponentBase :: {
…}
1305 void ActiveLoggerComponentBase ::
1306 DUMP_FILTER_STATE_preMsgHook(
1305 void ActiveLoggerComponentBase :: {
…}
1318 void ActiveLoggerComponentBase ::
1319 log_ACTIVITY_LO_SEVERITY_FILTER_STATE(
1326 if (this->m_Time_OutputPort[0].isConnected()) {
1327 this->m_Time_OutputPort[0].invoke(_logTime);
1332 _id = this->getIdBase() + EVENTID_SEVERITY_FILTER_STATE;
1335 if (this->m_Log_OutputPort[0].isConnected()) {
1339#if FW_AMPCS_COMPATIBLE
1348#if FW_AMPCS_COMPATIBLE
1364#if FW_AMPCS_COMPATIBLE
1367 static_cast<U8>(
sizeof(
U8))
1380 this->m_Log_OutputPort[0].invoke(
1389#if FW_ENABLE_TEXT_LOGGING
1390 if (this->m_LogText_OutputPort[0].isConnected()) {
1391#if FW_OBJECT_NAMES == 1
1392 const char* _formatString =
1393 "(%s) %s: %s filter state. %d";
1395 const char* _formatString =
1396 "%s: %s filter state. %d";
1402 severity.toString(severityStr);
1411 "SEVERITY_FILTER_STATE ",
1419 this->m_LogText_OutputPort[0].invoke(
1318 void ActiveLoggerComponentBase :: {
…}
1429 void ActiveLoggerComponentBase ::
1430 log_ACTIVITY_HI_ID_FILTER_ENABLED(U32 ID)
1434 if (this->m_Time_OutputPort[0].isConnected()) {
1435 this->m_Time_OutputPort[0].invoke(_logTime);
1440 _id = this->getIdBase() + EVENTID_ID_FILTER_ENABLED;
1443 if (this->m_Log_OutputPort[0].isConnected()) {
1447#if FW_AMPCS_COMPATIBLE
1456#if FW_AMPCS_COMPATIBLE
1459 static_cast<U8>(
sizeof(U32))
1472 this->m_Log_OutputPort[0].invoke(
1481#if FW_ENABLE_TEXT_LOGGING
1482 if (this->m_LogText_OutputPort[0].isConnected()) {
1483#if FW_OBJECT_NAMES == 1
1484 const char* _formatString =
1485 "(%s) %s: ID %" PRIu32
" is filtered.";
1487 const char* _formatString =
1488 "%s: ID %" PRIu32
" is filtered.";
1500 "ID_FILTER_ENABLED ",
1507 this->m_LogText_OutputPort[0].invoke(
1429 void ActiveLoggerComponentBase :: {
…}
1517 void ActiveLoggerComponentBase ::
1518 log_WARNING_LO_ID_FILTER_LIST_FULL(U32 ID)
1522 if (this->m_Time_OutputPort[0].isConnected()) {
1523 this->m_Time_OutputPort[0].invoke(_logTime);
1528 _id = this->getIdBase() + EVENTID_ID_FILTER_LIST_FULL;
1531 if (this->m_Log_OutputPort[0].isConnected()) {
1535#if FW_AMPCS_COMPATIBLE
1544#if FW_AMPCS_COMPATIBLE
1547 static_cast<U8>(
sizeof(U32))
1560 this->m_Log_OutputPort[0].invoke(
1569#if FW_ENABLE_TEXT_LOGGING
1570 if (this->m_LogText_OutputPort[0].isConnected()) {
1571#if FW_OBJECT_NAMES == 1
1572 const char* _formatString =
1573 "(%s) %s: ID filter list is full. Cannot filter %" PRIu32
" .";
1575 const char* _formatString =
1576 "%s: ID filter list is full. Cannot filter %" PRIu32
" .";
1588 "ID_FILTER_LIST_FULL ",
1595 this->m_LogText_OutputPort[0].invoke(
1517 void ActiveLoggerComponentBase :: {
…}
1605 void ActiveLoggerComponentBase ::
1606 log_ACTIVITY_HI_ID_FILTER_REMOVED(U32 ID)
1610 if (this->m_Time_OutputPort[0].isConnected()) {
1611 this->m_Time_OutputPort[0].invoke(_logTime);
1616 _id = this->getIdBase() + EVENTID_ID_FILTER_REMOVED;
1619 if (this->m_Log_OutputPort[0].isConnected()) {
1623#if FW_AMPCS_COMPATIBLE
1632#if FW_AMPCS_COMPATIBLE
1635 static_cast<U8>(
sizeof(U32))
1648 this->m_Log_OutputPort[0].invoke(
1657#if FW_ENABLE_TEXT_LOGGING
1658 if (this->m_LogText_OutputPort[0].isConnected()) {
1659#if FW_OBJECT_NAMES == 1
1660 const char* _formatString =
1661 "(%s) %s: ID filter ID %" PRIu32
" removed.";
1663 const char* _formatString =
1664 "%s: ID filter ID %" PRIu32
" removed.";
1676 "ID_FILTER_REMOVED ",
1683 this->m_LogText_OutputPort[0].invoke(
1605 void ActiveLoggerComponentBase :: {
…}
1693 void ActiveLoggerComponentBase ::
1694 log_WARNING_LO_ID_FILTER_NOT_FOUND(U32 ID)
1698 if (this->m_Time_OutputPort[0].isConnected()) {
1699 this->m_Time_OutputPort[0].invoke(_logTime);
1704 _id = this->getIdBase() + EVENTID_ID_FILTER_NOT_FOUND;
1707 if (this->m_Log_OutputPort[0].isConnected()) {
1711#if FW_AMPCS_COMPATIBLE
1720#if FW_AMPCS_COMPATIBLE
1723 static_cast<U8>(
sizeof(U32))
1736 this->m_Log_OutputPort[0].invoke(
1745#if FW_ENABLE_TEXT_LOGGING
1746 if (this->m_LogText_OutputPort[0].isConnected()) {
1747#if FW_OBJECT_NAMES == 1
1748 const char* _formatString =
1749 "(%s) %s: ID filter ID %" PRIu32
" not found.";
1751 const char* _formatString =
1752 "%s: ID filter ID %" PRIu32
" not found.";
1764 "ID_FILTER_NOT_FOUND ",
1771 this->m_LogText_OutputPort[0].invoke(
1693 void ActiveLoggerComponentBase :: {
…}
1788 if (this->m_Time_OutputPort[0].isConnected()) {
1790 this->m_Time_OutputPort[0].invoke(_time);
1805 ComponentIpcSerializableBuffer msg;
1828 MsgTypeEnum msgType =
static_cast<MsgTypeEnum
>(desMsg);
1830 if (msgType == ACTIVELOGGER_COMPONENT_EXIT) {
1831 return MSG_DISPATCH_EXIT;
1835 deserStatus = msg.deserialize(portNum);
1846 deserStatus = msg.deserialize(key);
1852 this->pingIn_handler(
1861 case CMD_SET_ID_FILTER: {
1864 deserStatus = msg.deserialize(opCode);
1872 deserStatus = msg.deserialize(cmdSeq);
1880 deserStatus = msg.deserialize(args);
1893 if (this->m_CmdStatus_OutputPort[0].isConnected()) {
1894 this->cmdResponse_out(
1908 if (this->m_CmdStatus_OutputPort[0].isConnected()) {
1909 this->cmdResponse_out(
1921#if FW_CMD_CHECK_RESIDUAL
1923 if (this->m_CmdStatus_OutputPort[0].isConnected()) {
1932 this->SET_ID_FILTER_cmdHandler(
1942 case CMD_DUMP_FILTER_STATE: {
1945 deserStatus = msg.deserialize(opCode);
1953 deserStatus = msg.deserialize(cmdSeq);
1961 deserStatus = msg.deserialize(args);
1972#if FW_CMD_CHECK_RESIDUAL
1974 if (this->m_CmdStatus_OutputPort[0].isConnected()) {
1983 this->DUMP_FILTER_STATE_cmdHandler(opCode, cmdSeq);
1989 case INT_IF_LOQQUEUE: {
1991 deserStatus = msg.deserialize(
id);
2000 deserStatus = msg.deserialize(timeTag);
2009 deserStatus = msg.deserialize(severity);
2018 deserStatus = msg.deserialize(args);
2029 msg.getBuffLeft() == 0,
2034 this->loqQueue_internalInterfaceHandler(
2045 return MSG_DISPATCH_ERROR;
2048 return MSG_DISPATCH_OK;
2055 void ActiveLoggerComponentBase ::
2065 ActiveLoggerComponentBase* compPtr =
static_cast<ActiveLoggerComponentBase*
>(callComp);
2067 const U32 idBase = callComp->
getIdBase();
2068 FW_ASSERT(opCode >= idBase, opCode, idBase);
2071 switch (opCode - idBase) {
2072 case OPCODE_SET_EVENT_FILTER: {
2073 compPtr->SET_EVENT_FILTER_cmdHandlerBase(
2081 case OPCODE_SET_ID_FILTER: {
2082 compPtr->SET_ID_FILTER_cmdHandlerBase(
2090 case OPCODE_DUMP_FILTER_STATE: {
2091 compPtr->DUMP_FILTER_STATE_cmdHandlerBase(
2105 void ActiveLoggerComponentBase ::
2116 ActiveLoggerComponentBase* compPtr =
static_cast<ActiveLoggerComponentBase*
>(callComp);
2117 compPtr->LogRecv_handlerBase(
2126 void ActiveLoggerComponentBase ::
2134 ActiveLoggerComponentBase* compPtr =
static_cast<ActiveLoggerComponentBase*
>(callComp);
2135 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.
@ ACTIVITY_HI
Important informational events.
@ WARNING_LO
A less serious but recoverable event.
@ ACTIVITY_LO
Less important informational events.
@ SERIALIZED_SIZE
The size of the serial representation.
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.