9 #if FW_ENABLE_TEXT_LOGGING 22 CMD_DUMP_FILTER_STATE,
33 BYTE loqQueueIntIfSize[
43 class ComponentIpcSerializableBuffer :
53 MAX_DATA_SIZE =
sizeof(BuffUnion),
55 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
58 ComponentIpcSerializableBuffer() :
Fw::LinearBufferBase(m_buff, sizeof(m_buff)) {
64 U8 m_buff[SERIALIZATION_SIZE];
82 #if !FW_DIRECT_PORT_CALLS 89 this->m_CmdDisp_InputPort[port].
init();
94 this->m_CmdDisp_InputPort[port].
setPortNum(port);
96 #if FW_OBJECT_NAMES == 1 100 this->m_objName.toChar(),
103 this->m_CmdDisp_InputPort[port].setObjName(portName.
toChar());
108 #if !FW_DIRECT_PORT_CALLS 115 this->m_LogRecv_InputPort[port].
init();
120 this->m_LogRecv_InputPort[port].
setPortNum(port);
122 #if FW_OBJECT_NAMES == 1 126 this->m_objName.toChar(),
129 this->m_LogRecv_InputPort[port].setObjName(portName.
toChar());
134 #if !FW_DIRECT_PORT_CALLS 141 this->m_pingIn_InputPort[port].
init();
146 this->m_pingIn_InputPort[port].
setPortNum(port);
148 #if FW_OBJECT_NAMES == 1 152 this->m_objName.toChar(),
155 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
160 #if !FW_DIRECT_PORT_CALLS 167 this->m_run_InputPort[port].
init();
174 #if FW_OBJECT_NAMES == 1 178 this->m_objName.toChar(),
181 this->m_run_InputPort[port].setObjName(portName.
toChar());
186 #if !FW_DIRECT_PORT_CALLS 193 this->m_CmdReg_OutputPort[port].
init();
195 #if FW_OBJECT_NAMES == 1 199 this->m_objName.toChar(),
202 this->m_CmdReg_OutputPort[port].setObjName(portName.
toChar());
207 #if !FW_DIRECT_PORT_CALLS 214 this->m_CmdStatus_OutputPort[port].
init();
216 #if FW_OBJECT_NAMES == 1 220 this->m_objName.toChar(),
223 this->m_CmdStatus_OutputPort[port].setObjName(portName.
toChar());
228 #if !FW_DIRECT_PORT_CALLS 235 this->m_Log_OutputPort[port].
init();
237 #if FW_OBJECT_NAMES == 1 241 this->m_objName.toChar(),
244 this->m_Log_OutputPort[port].setObjName(portName.
toChar());
249 #if !FW_DIRECT_PORT_CALLS && FW_ENABLE_TEXT_LOGGING 253 port < static_cast<FwIndexType>(this->getNum_LogText_OutputPorts());
256 this->m_LogText_OutputPort[port].
init();
258 #if FW_OBJECT_NAMES == 1 262 this->m_objName.toChar(),
265 this->m_LogText_OutputPort[port].setObjName(portName.
toChar());
270 #if !FW_DIRECT_PORT_CALLS 277 this->m_Time_OutputPort[port].
init();
279 #if FW_OBJECT_NAMES == 1 283 this->m_objName.toChar(),
286 this->m_Time_OutputPort[port].setObjName(portName.
toChar());
291 #if !FW_DIRECT_PORT_CALLS 298 this->m_Tlm_OutputPort[port].
init();
300 #if FW_OBJECT_NAMES == 1 304 this->m_objName.toChar(),
307 this->m_Tlm_OutputPort[port].setObjName(portName.
toChar());
312 #if !FW_DIRECT_PORT_CALLS 319 this->m_FatalAnnounce_OutputPort[port].
init();
321 #if FW_OBJECT_NAMES == 1 325 this->m_objName.toChar(),
328 this->m_FatalAnnounce_OutputPort[port].setObjName(portName.
toChar());
333 #if !FW_DIRECT_PORT_CALLS 340 this->m_PktSend_OutputPort[port].
init();
342 #if FW_OBJECT_NAMES == 1 346 this->m_objName.toChar(),
349 this->m_PktSend_OutputPort[port].setObjName(portName.
toChar());
354 #if !FW_DIRECT_PORT_CALLS 361 this->m_pingOut_OutputPort[port].
init();
363 #if FW_OBJECT_NAMES == 1 367 this->m_objName.toChar(),
370 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
378 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
382 static_cast<FwAssertArgType>(qStat)
386 #if !FW_DIRECT_PORT_CALLS 397 static_cast<FwAssertArgType>(portNum)
400 return &this->m_CmdDisp_InputPort[portNum];
405 #if !FW_DIRECT_PORT_CALLS 416 static_cast<FwAssertArgType>(portNum)
419 return &this->m_LogRecv_InputPort[portNum];
427 static_cast<FwAssertArgType>(portNum)
430 return &this->m_pingIn_InputPort[portNum];
438 static_cast<FwAssertArgType>(portNum)
441 return &this->m_run_InputPort[portNum];
446 #if !FW_DIRECT_PORT_CALLS 460 static_cast<FwAssertArgType>(portNum)
463 this->m_CmdReg_OutputPort[portNum].
addCallPort(port);
474 static_cast<FwAssertArgType>(portNum)
477 this->m_CmdStatus_OutputPort[portNum].
addCallPort(port);
488 static_cast<FwAssertArgType>(portNum)
494 #if FW_ENABLE_TEXT_LOGGING == 1 496 void EventManagerComponentBase ::
497 set_LogText_OutputPort(
503 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
504 static_cast<FwAssertArgType>(portNum)
507 this->m_LogText_OutputPort[portNum].addCallPort(port);
520 static_cast<FwAssertArgType>(portNum)
523 this->m_Time_OutputPort[portNum].
addCallPort(port);
534 static_cast<FwAssertArgType>(portNum)
542 #if !FW_DIRECT_PORT_CALLS 556 static_cast<FwAssertArgType>(portNum)
559 this->m_FatalAnnounce_OutputPort[portNum].
addCallPort(port);
570 static_cast<FwAssertArgType>(portNum)
573 this->m_PktSend_OutputPort[portNum].
addCallPort(port);
584 static_cast<FwAssertArgType>(portNum)
587 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
592 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 601 Fw::InputSerializePort* port
606 static_cast<FwAssertArgType>(portNum)
609 this->m_CmdReg_OutputPort[portNum].registerSerialPort(port);
615 Fw::InputSerializePort* port
620 static_cast<FwAssertArgType>(portNum)
623 this->m_CmdStatus_OutputPort[portNum].registerSerialPort(port);
629 Fw::InputSerializePort* port
634 static_cast<FwAssertArgType>(portNum)
637 this->m_Log_OutputPort[portNum].registerSerialPort(port);
640 #if FW_ENABLE_TEXT_LOGGING == 1 642 void EventManagerComponentBase ::
643 set_LogText_OutputPort(
645 Fw::InputSerializePort* port
649 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
650 static_cast<FwAssertArgType>(portNum)
653 this->m_LogText_OutputPort[portNum].registerSerialPort(port);
661 Fw::InputSerializePort* port
666 static_cast<FwAssertArgType>(portNum)
669 this->m_Time_OutputPort[portNum].registerSerialPort(port);
675 Fw::InputSerializePort* port
680 static_cast<FwAssertArgType>(portNum)
683 this->m_Tlm_OutputPort[portNum].registerSerialPort(port);
688 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 697 Fw::InputSerializePort* port
702 static_cast<FwAssertArgType>(portNum)
705 this->m_FatalAnnounce_OutputPort[portNum].registerSerialPort(port);
711 Fw::InputSerializePort* port
716 static_cast<FwAssertArgType>(portNum)
719 this->m_PktSend_OutputPort[portNum].registerSerialPort(port);
725 Fw::InputSerializePort* port
730 static_cast<FwAssertArgType>(portNum)
733 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
769 Fw::ActiveComponentBase(compName)
780 #if !FW_DIRECT_PORT_CALLS 791 static_cast<FwAssertArgType>(portNum)
794 return this->m_CmdReg_OutputPort[portNum].
isConnected();
802 static_cast<FwAssertArgType>(portNum)
805 return this->m_CmdStatus_OutputPort[portNum].
isConnected();
813 static_cast<FwAssertArgType>(portNum)
816 return this->m_Log_OutputPort[portNum].
isConnected();
819 #if FW_ENABLE_TEXT_LOGGING == 1 821 bool EventManagerComponentBase ::
822 isConnected_LogText_OutputPort(
FwIndexType portNum)
const 825 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
826 static_cast<FwAssertArgType>(portNum)
829 return this->m_LogText_OutputPort[portNum].isConnected();
839 static_cast<FwAssertArgType>(portNum)
842 return this->m_Time_OutputPort[portNum].
isConnected();
850 static_cast<FwAssertArgType>(portNum)
853 return this->m_Tlm_OutputPort[portNum].
isConnected();
858 #if !FW_DIRECT_PORT_CALLS 869 static_cast<FwAssertArgType>(portNum)
872 return this->m_FatalAnnounce_OutputPort[portNum].
isConnected();
880 static_cast<FwAssertArgType>(portNum)
883 return this->m_PktSend_OutputPort[portNum].
isConnected();
891 static_cast<FwAssertArgType>(portNum)
894 return this->m_pingOut_OutputPort[portNum].
isConnected();
915 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
918 switch (opCode - idBase) {
969 static_cast<FwAssertArgType>(portNum)
991 static_cast<FwAssertArgType>(portNum)
999 ComponentIpcSerializableBuffer msg;
1003 _status = msg.serializeFrom(
1004 static_cast<FwEnumStoreType>(PINGIN_PING)
1008 static_cast<FwAssertArgType>(_status)
1012 _status = msg.serializeFrom(portNum);
1015 static_cast<FwAssertArgType>(_status)
1019 _status = msg.serializeFrom(key);
1022 static_cast<FwAssertArgType>(_status)
1029 if (qStatus == Os::Queue::Status::FULL) {
1036 static_cast<FwAssertArgType>(qStatus)
1049 static_cast<FwAssertArgType>(portNum)
1057 ComponentIpcSerializableBuffer msg;
1061 _status = msg.serializeFrom(
1062 static_cast<FwEnumStoreType>(RUN_SCHED)
1066 static_cast<FwAssertArgType>(_status)
1070 _status = msg.serializeFrom(portNum);
1073 static_cast<FwAssertArgType>(_status)
1077 _status = msg.serializeFrom(context);
1080 static_cast<FwAssertArgType>(_status)
1087 if (qStatus == Os::Queue::Status::FULL) {
1094 static_cast<FwAssertArgType>(qStatus)
1124 #if !FW_DIRECT_PORT_CALLS 1138 static_cast<FwAssertArgType>(portNum)
1142 this->m_FatalAnnounce_OutputPort[portNum].isConnected(),
1143 static_cast<FwAssertArgType>(portNum)
1145 this->m_FatalAnnounce_OutputPort[portNum].
invoke(
1159 static_cast<FwAssertArgType>(portNum)
1163 this->m_PktSend_OutputPort[portNum].isConnected(),
1164 static_cast<FwAssertArgType>(portNum)
1166 this->m_PktSend_OutputPort[portNum].
invoke(
1180 static_cast<FwAssertArgType>(portNum)
1184 this->m_pingOut_OutputPort[portNum].isConnected(),
1185 static_cast<FwAssertArgType>(portNum)
1187 this->m_pingOut_OutputPort[portNum].
invoke(
1206 ComponentIpcSerializableBuffer msg;
1210 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_LOQQUEUE));
1213 static_cast<FwAssertArgType>(_status)
1217 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
1220 static_cast<FwAssertArgType>(_status)
1223 _status = msg.serializeFrom(
id);
1226 static_cast<FwAssertArgType>(_status)
1229 _status = msg.serializeFrom(timeTag);
1232 static_cast<FwAssertArgType>(_status)
1235 _status = msg.serializeFrom(severity);
1238 static_cast<FwAssertArgType>(_status)
1241 _status = msg.serializeFrom(args);
1244 static_cast<FwAssertArgType>(_status)
1251 if (qStatus == Os::Queue::Status::FULL) {
1258 static_cast<FwAssertArgType>(qStatus)
1274 this->CmdStatus_out(0, opCode, cmdSeq, response);
1300 this->CmdStatus_out(
1314 this->CmdStatus_out(
1324 #if FW_CMD_CHECK_RESIDUAL 1329 this->CmdStatus_out(
1359 ComponentIpcSerializableBuffer msg;
1363 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SET_ID_FILTER));
1366 static_cast<FwAssertArgType>(_status)
1372 _status = msg.serializeFrom(port);
1375 static_cast<FwAssertArgType>(_status)
1378 _status = msg.serializeFrom(opCode);
1381 static_cast<FwAssertArgType>(_status)
1384 _status = msg.serializeFrom(cmdSeq);
1387 static_cast<FwAssertArgType>(_status)
1390 _status = msg.serializeFrom(args);
1393 static_cast<FwAssertArgType>(_status)
1402 static_cast<FwAssertArgType>(qStatus)
1418 ComponentIpcSerializableBuffer msg;
1422 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_DUMP_FILTER_STATE));
1425 static_cast<FwAssertArgType>(_status)
1431 _status = msg.serializeFrom(port);
1434 static_cast<FwAssertArgType>(_status)
1437 _status = msg.serializeFrom(opCode);
1440 static_cast<FwAssertArgType>(_status)
1443 _status = msg.serializeFrom(cmdSeq);
1446 static_cast<FwAssertArgType>(_status)
1449 _status = msg.serializeFrom(args);
1452 static_cast<FwAssertArgType>(_status)
1461 static_cast<FwAssertArgType>(qStatus)
1508 this->Time_out(0, _logTime);
1518 #if FW_AMPCS_COMPATIBLE 1523 static_cast<FwAssertArgType>(_status)
1527 #if FW_AMPCS_COMPATIBLE 1534 static_cast<FwAssertArgType>(_status)
1540 static_cast<FwAssertArgType>(_status)
1543 #if FW_AMPCS_COMPATIBLE 1546 static_cast<U8>(
sizeof(
U8))
1550 static_cast<FwAssertArgType>(_status)
1556 static_cast<FwAssertArgType>(_status)
1569 #if FW_ENABLE_TEXT_LOGGING 1570 if (this->isConnected_LogText_OutputPort(0)) {
1571 #if FW_OBJECT_NAMES == 1 1572 const char* _formatString =
1573 "(%s) %s: %s filter state. %d";
1575 const char* _formatString =
1576 "%s: %s filter state. %d";
1580 severity.toString(severityStr);
1583 (void) _logString.
format(
1586 this->m_objName.toChar(),
1588 "SEVERITY_FILTER_STATE ",
1610 this->Time_out(0, _logTime);
1620 #if FW_AMPCS_COMPATIBLE 1625 static_cast<FwAssertArgType>(_status)
1629 #if FW_AMPCS_COMPATIBLE 1636 static_cast<FwAssertArgType>(_status)
1642 static_cast<FwAssertArgType>(_status)
1655 #if FW_ENABLE_TEXT_LOGGING 1656 if (this->isConnected_LogText_OutputPort(0)) {
1657 #if FW_OBJECT_NAMES == 1 1658 const char* _formatString =
1659 "(%s) %s: ID %" PRIu32
" is filtered.";
1661 const char* _formatString =
1662 "%s: ID %" PRIu32
" is filtered.";
1666 (void) _logString.
format(
1669 this->m_objName.toChar(),
1671 "ID_FILTER_ENABLED ",
1692 this->Time_out(0, _logTime);
1702 #if FW_AMPCS_COMPATIBLE 1707 static_cast<FwAssertArgType>(_status)
1711 #if FW_AMPCS_COMPATIBLE 1718 static_cast<FwAssertArgType>(_status)
1724 static_cast<FwAssertArgType>(_status)
1737 #if FW_ENABLE_TEXT_LOGGING 1738 if (this->isConnected_LogText_OutputPort(0)) {
1739 #if FW_OBJECT_NAMES == 1 1740 const char* _formatString =
1741 "(%s) %s: ID filter list is full. Cannot filter %" PRIu32
" .";
1743 const char* _formatString =
1744 "%s: ID filter list is full. Cannot filter %" PRIu32
" .";
1748 (void) _logString.
format(
1751 this->m_objName.toChar(),
1753 "ID_FILTER_LIST_FULL ",
1774 this->Time_out(0, _logTime);
1784 #if FW_AMPCS_COMPATIBLE 1789 static_cast<FwAssertArgType>(_status)
1793 #if FW_AMPCS_COMPATIBLE 1800 static_cast<FwAssertArgType>(_status)
1806 static_cast<FwAssertArgType>(_status)
1819 #if FW_ENABLE_TEXT_LOGGING 1820 if (this->isConnected_LogText_OutputPort(0)) {
1821 #if FW_OBJECT_NAMES == 1 1822 const char* _formatString =
1823 "(%s) %s: ID filter ID %" PRIu32
" removed.";
1825 const char* _formatString =
1826 "%s: ID filter ID %" PRIu32
" removed.";
1830 (void) _logString.
format(
1833 this->m_objName.toChar(),
1835 "ID_FILTER_REMOVED ",
1856 this->Time_out(0, _logTime);
1866 #if FW_AMPCS_COMPATIBLE 1871 static_cast<FwAssertArgType>(_status)
1875 #if FW_AMPCS_COMPATIBLE 1882 static_cast<FwAssertArgType>(_status)
1888 static_cast<FwAssertArgType>(_status)
1901 #if FW_ENABLE_TEXT_LOGGING 1902 if (this->isConnected_LogText_OutputPort(0)) {
1903 #if FW_OBJECT_NAMES == 1 1904 const char* _formatString =
1905 "(%s) %s: ID filter ID %" PRIu32
" not found.";
1907 const char* _formatString =
1908 "%s: ID filter ID %" PRIu32
" not found.";
1912 (void) _logString.
format(
1915 this->m_objName.toChar(),
1917 "ID_FILTER_NOT_FOUND ",
1948 this->Time_out(0, _tlmTime);
1974 if (not this->m_first_update_EventsDropped) {
1976 if (arg == this->m_last_EventsDropped) {
1980 this->m_last_EventsDropped = arg;
1984 this->m_first_update_EventsDropped =
false;
1985 this->m_last_EventsDropped = arg;
1993 static_cast<FwAssertArgType>(_stat)
2013 this->Time_out(0, _time);
2028 ComponentIpcSerializableBuffer _msg;
2038 static_cast<FwAssertArgType>(_msgStatus)
2048 static_cast<FwAssertArgType>(_deserStatus)
2051 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
2053 if (_msgType == EVENTMANAGER_COMPONENT_EXIT) {
2058 _deserStatus = _msg.deserializeTo(portNum);
2061 static_cast<FwAssertArgType>(_deserStatus)
2069 _deserStatus = _msg.deserializeTo(key);
2072 static_cast<FwAssertArgType>(_deserStatus)
2087 _deserStatus = _msg.deserializeTo(context);
2090 static_cast<FwAssertArgType>(_deserStatus)
2102 case CMD_SET_ID_FILTER: {
2105 _deserStatus = _msg.deserializeTo(_opCode);
2108 static_cast<FwAssertArgType>(_deserStatus)
2113 _deserStatus = _msg.deserializeTo(_cmdSeq);
2116 static_cast<FwAssertArgType>(_deserStatus)
2121 _deserStatus = _msg.deserializeTo(args);
2124 static_cast<FwAssertArgType>(_deserStatus)
2162 #if FW_CMD_CHECK_RESIDUAL 2183 case CMD_DUMP_FILTER_STATE: {
2186 _deserStatus = _msg.deserializeTo(_opCode);
2189 static_cast<FwAssertArgType>(_deserStatus)
2194 _deserStatus = _msg.deserializeTo(_cmdSeq);
2197 static_cast<FwAssertArgType>(_deserStatus)
2202 _deserStatus = _msg.deserializeTo(args);
2205 static_cast<FwAssertArgType>(_deserStatus)
2213 #if FW_CMD_CHECK_RESIDUAL 2230 case INT_IF_LOQQUEUE: {
2232 _deserStatus = _msg.deserializeTo(
id);
2237 static_cast<FwAssertArgType>(_deserStatus)
2241 _deserStatus = _msg.deserializeTo(timeTag);
2246 static_cast<FwAssertArgType>(_deserStatus)
2250 _deserStatus = _msg.deserializeTo(severity);
2255 static_cast<FwAssertArgType>(_deserStatus)
2259 _deserStatus = _msg.deserializeTo(args);
2264 static_cast<FwAssertArgType>(_deserStatus)
2270 _msg.getDeserializeSizeLeft() == 0,
2296 void EventManagerComponentBase ::
2307 compPtr->CmdDisp_handlerBase(
2319 void EventManagerComponentBase ::
2331 compPtr->LogRecv_handlerBase(
2340 void EventManagerComponentBase ::
2349 compPtr->pingIn_handlerBase(
2355 void EventManagerComponentBase ::
2364 compPtr->run_handlerBase(
2370 #if !FW_DIRECT_PORT_CALLS 2376 void EventManagerComponentBase ::
2384 static_cast<FwAssertArgType>(portNum)
2388 this->m_CmdReg_OutputPort[portNum].isConnected(),
2389 static_cast<FwAssertArgType>(portNum)
2391 this->m_CmdReg_OutputPort[portNum].
invoke(
2396 void EventManagerComponentBase ::
2406 static_cast<FwAssertArgType>(portNum)
2410 this->m_CmdStatus_OutputPort[portNum].isConnected(),
2411 static_cast<FwAssertArgType>(portNum)
2413 this->m_CmdStatus_OutputPort[portNum].
invoke(
2420 void EventManagerComponentBase ::
2431 static_cast<FwAssertArgType>(portNum)
2435 this->m_Log_OutputPort[portNum].isConnected(),
2436 static_cast<FwAssertArgType>(portNum)
2438 this->m_Log_OutputPort[portNum].
invoke(
2446 #if FW_ENABLE_TEXT_LOGGING 2448 void EventManagerComponentBase ::
2458 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
2459 static_cast<FwAssertArgType>(portNum)
2463 this->m_LogText_OutputPort[portNum].isConnected(),
2464 static_cast<FwAssertArgType>(portNum)
2466 this->m_LogText_OutputPort[portNum].invoke(
2476 void EventManagerComponentBase ::
2484 static_cast<FwAssertArgType>(portNum)
2488 this->m_Time_OutputPort[portNum].isConnected(),
2489 static_cast<FwAssertArgType>(portNum)
2491 this->m_Time_OutputPort[portNum].
invoke(
2496 void EventManagerComponentBase ::
2506 static_cast<FwAssertArgType>(portNum)
2510 this->m_Tlm_OutputPort[portNum].isConnected(),
2511 static_cast<FwAssertArgType>(portNum)
2513 this->m_Tlm_OutputPort[portNum].
invoke(
Serialization/Deserialization operation was successful.
void run_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port run.
void addCallPort(InputTimePort *callPort)
Register an input port.
void log_ACTIVITY_LO_SEVERITY_FILTER_STATE(const Svc::EventManager_FilterSeverity &severity, bool enabled) const
static constexpr FwIndexType getNum_Tlm_OutputPorts()
virtual void run_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port run.
void invoke(Fw::ComBuffer &data, U32 context) const
Invoke a port connection.
void tlmWrite_EventsDropped(FwSizeType arg, Fw::Time _tlmTime=Fw::Time())
void set_CmdReg_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to CmdReg[portNum].
void init()
Initialization function.
static constexpr FwSizeType CAPACITY
virtual void SET_EVENT_FILTER_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Svc::EventManager_FilterSeverity &filterLevel, const Svc::EventManager_Enabled &filterEnabled)=0
void pingIn_handlerBase(FwIndexType portNum, U32 key)
Handler base-class function for input port pingIn.
Enabled and disabled state.
void LogRecv_handlerBase(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args)
Handler base-class function for input port LogRecv.
FwIdType FwOpcodeType
The type of a command opcode.
Channel ID for EventsDropped.
FwIdType getIdBase() const
PlatformSizeType FwSizeType
Status receive(U8 *destination, FwSizeType capacity, BlockingType blockType, FwSizeType &actualSize, FwQueuePriorityType &priority) override
receive a message from the queue through delegate
Set filter for reporting events. Events are not stored in component.
Status
status returned from the queue send function
BYTE pingInPortSize[Svc::PingPortBuffer::CAPACITY]
SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG) override
Deserialize an 8-bit unsigned integer value.
bool isConnected_CmdStatus_OutputPort(FwIndexType portNum) const
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
void invoke(U32 key) const
Invoke a port connection.
bool isConnected_PktSend_OutputPort(FwIndexType portNum) const
bool isConnected_FatalAnnounce_OutputPort(FwIndexType portNum) const
bool isConnected_Tlm_OutputPort(FwIndexType portNum) const
void set_pingOut_OutputPort(FwIndexType portNum, Svc::InputPingPort *port)
Connect port to pingOut[portNum].
static constexpr FwIndexType getNum_CmdReg_OutputPorts()
void CmdDisp_handlerBase(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Handler base-class function for input port CmdDisp.
static constexpr FwIndexType getNum_LogRecv_InputPorts()
The size of the serial representation.
Fw::InputCmdPort * get_CmdDisp_InputPort(FwIndexType portNum)
void init()
Initialization function.
Enum representing a command response.
static constexpr FwIndexType getNum_pingOut_OutputPorts()
void invoke(FwEventIdType Id) const
Invoke a port connection.
No time base has been established (Required)
SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG) override
Serialize an 8-bit unsigned integer value.
void addCallPort(InputCmdRegPort *callPort)
Register an input port.
void set_PktSend_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to PktSend[portNum].
Svc::InputSchedPort * get_run_InputPort(FwIndexType portNum)
Os::Queue m_queue
queue object for active component
void addCallPort(InputTlmPort *callPort)
Register an input port.
void init()
Object initializer.
static constexpr FwIndexType getNum_CmdStatus_OutputPorts()
void regCommands()
Register commands with the Command Dispatcher.
SerializeStatus
forward declaration for string
Message will block until space is available.
static constexpr FwIndexType getNum_pingIn_InputPorts()
FwIdType FwEventIdType
The type of an event identifier.
void invoke(FwOpcodeType opCode) const
Invoke a port connection.
static constexpr FwSizeType CAPACITY
void SET_EVENT_FILTER_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void addCallPort(InputFatalEventPort *callPort)
Register an input port.
void log_ACTIVITY_HI_ID_FILTER_ENABLED(FwEventIdType ID) const
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects) ...
virtual void SET_ID_FILTER_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command SET_ID_FILTER.
virtual void DUMP_FILTER_STATE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command DUMP_FILTER_STATE.
void init()
Initialization function.
Attempted to add ID to full ID filter ID.
Dump severity filter state.
void set_Tlm_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to Tlm[portNum].
Less important informational events.
Os::Queue::Status createQueue(FwSizeType depth, FwSizeType msgSize)
void log_WARNING_LO_ID_FILTER_LIST_FULL(FwEventIdType ID) const
void tlmWrite(FwChanIdType id, Fw::TlmBuffer &_tlmBuff, Fw::Time _tlmTime=Fw::Time()) const
A less serious but recoverable event.
bool isConnected_Log_OutputPort(FwIndexType portNum) const
void init()
Initialization function.
static constexpr FwIndexType getNum_FatalAnnounce_OutputPorts()
size when serialized: buffer + stored size
static constexpr FwIndexType getNum_PktSend_OutputPorts()
The size of the serial representation.
void invoke(Fw::Time &time) const
Invoke a port connection.
Dump the filter states via events.
Serializable::SizeType getDeserializeSizeLeft() const override
Get remaining deserialization buffer size.
void set_Time_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to Time[portNum].
void invoke(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke a port connection.
FwIdType FwChanIdType
The type of a telemetry channel identifier.
void pingOut_out(FwIndexType portNum, U32 key) const
Invoke output port pingOut.
void addCallPort(InputPingPort *callPort)
Register an input port.
static constexpr FwIndexType getNum_run_InputPorts()
Status send(const U8 *buffer, FwSizeType size, FwQueuePriorityType priority, BlockingType blockType) override
send a message into the queue through delegate
void FatalAnnounce_out(FwIndexType portNum, FwEventIdType Id) const
Invoke output port FatalAnnounce.
void resetDeser() override
Reset deserialization pointer to beginning of buffer.
Errors dispatching messages.
void invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke a port connection.
const char * toChar() const
Convert to a C-style char*.
Enum representing event severity.
bool isConnected_Time_OutputPort(FwIndexType portNum) const
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
void init()
Initialization function.
uint8_t U8
8-bit unsigned integer
void set_Log_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to Log[portNum].
void log_WARNING_LO_ID_FILTER_NOT_FOUND(FwEventIdType ID) const
bool isConnected_CmdReg_OutputPort(FwIndexType portNum) const
void loqQueue_internalInterfaceInvoke(FwEventIdType id, const Fw::Time &timeTag, const Fw::LogSeverity &severity, const Fw::LogBuffer &args)
Internal interface base-class function for loqQueue.
Command failed to deserialize.
PlatformQueuePriorityType FwQueuePriorityType
The type of queue priorities used.
virtual void pingIn_preMsgHook(FwIndexType portNum, U32 key)
Pre-message hook for async input port pingIn.
Important informational events.
virtual void run_handler(FwIndexType portNum, U32 context)=0
Handler for input port run.
void invoke(FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args) const
Invoke a port connection.
void set_CmdStatus_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to CmdStatus[portNum].
void SET_ID_FILTER_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
virtual void LogRecv_handler(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args)=0
Handler for input port LogRecv.
message to exit active component task
A message was sent requesting an exit of the loop.
virtual void pingIn_handler(FwIndexType portNum, U32 key)=0
Handler for input port pingIn.
PlatformIndexType FwIndexType
void DUMP_FILTER_STATE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void addCallPort(InputLogPort *callPort)
Register an input port.
virtual void DUMP_FILTER_STATE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
void init()
Initialization function.
void incNumMsgDropped()
increment the number of messages dropped
Removed an ID from the filter.
static constexpr FwIndexType getNum_Time_OutputPorts()
static constexpr FwIndexType getNum_CmdDisp_InputPorts()
virtual void loqQueue_internalInterfaceHandler(FwEventIdType id, const Fw::Time &timeTag, const Fw::LogSeverity &severity, const Fw::LogBuffer &args)=0
Internal interface handler for loqQueue.
RateGroupDivider component implementation.
bool isConnected_pingOut_OutputPort(FwIndexType portNum) const
message sent/received okay
static constexpr FwIndexType getNum_Log_OutputPorts()
void addCallPort(InputComPort *callPort)
Register an input port.
void PktSend_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context) const
Invoke output port PktSend.
Message will return with status when space is unavailable.
void init()
Initialization function.
Implementation of malloc based allocator.
virtual ~EventManagerComponentBase()
Destroy EventManagerComponentBase object.
void init()
Initialization function.
EventManagerComponentBase(const char *compName="")
Construct EventManagerComponentBase object.
void set_FatalAnnounce_OutputPort(FwIndexType portNum, Svc::InputFatalEventPort *port)
Connect port to FatalAnnounce[portNum].
Fw::InputLogPort * get_LogRecv_InputPort(FwIndexType portNum)
static constexpr FwSizeType CAPACITY
void log_ACTIVITY_HI_ID_FILTER_REMOVED(FwEventIdType ID) const
PlatformAssertArgType FwAssertArgType
The type of arguments to assert functions.
void addCallPort(InputCmdResponsePort *callPort)
Register an input port.
BYTE cmdPortSize[Fw::CmdPortBuffer::CAPACITY]
virtual void SET_ID_FILTER_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, FwEventIdType ID, const Svc::EventManager_Enabled &idFilterEnabled)=0