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
59 return sizeof(m_buff);
66 const U8* getBuffAddr()
const {
72 U8 m_buff[SERIALIZATION_SIZE];
90 #if !FW_DIRECT_PORT_CALLS 97 this->m_CmdDisp_InputPort[port].
init();
102 this->m_CmdDisp_InputPort[port].
setPortNum(port);
104 #if FW_OBJECT_NAMES == 1 108 this->m_objName.toChar(),
111 this->m_CmdDisp_InputPort[port].setObjName(portName.
toChar());
116 #if !FW_DIRECT_PORT_CALLS 123 this->m_LogRecv_InputPort[port].
init();
128 this->m_LogRecv_InputPort[port].
setPortNum(port);
130 #if FW_OBJECT_NAMES == 1 134 this->m_objName.toChar(),
137 this->m_LogRecv_InputPort[port].setObjName(portName.
toChar());
142 #if !FW_DIRECT_PORT_CALLS 149 this->m_pingIn_InputPort[port].
init();
154 this->m_pingIn_InputPort[port].
setPortNum(port);
156 #if FW_OBJECT_NAMES == 1 160 this->m_objName.toChar(),
163 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
168 #if !FW_DIRECT_PORT_CALLS 175 this->m_run_InputPort[port].
init();
182 #if FW_OBJECT_NAMES == 1 186 this->m_objName.toChar(),
189 this->m_run_InputPort[port].setObjName(portName.
toChar());
194 #if !FW_DIRECT_PORT_CALLS 201 this->m_CmdReg_OutputPort[port].
init();
203 #if FW_OBJECT_NAMES == 1 207 this->m_objName.toChar(),
210 this->m_CmdReg_OutputPort[port].setObjName(portName.
toChar());
215 #if !FW_DIRECT_PORT_CALLS 222 this->m_CmdStatus_OutputPort[port].
init();
224 #if FW_OBJECT_NAMES == 1 228 this->m_objName.toChar(),
231 this->m_CmdStatus_OutputPort[port].setObjName(portName.
toChar());
236 #if !FW_DIRECT_PORT_CALLS 243 this->m_Log_OutputPort[port].
init();
245 #if FW_OBJECT_NAMES == 1 249 this->m_objName.toChar(),
252 this->m_Log_OutputPort[port].setObjName(portName.
toChar());
257 #if !FW_DIRECT_PORT_CALLS && FW_ENABLE_TEXT_LOGGING 261 port < static_cast<FwIndexType>(this->getNum_LogText_OutputPorts());
264 this->m_LogText_OutputPort[port].
init();
266 #if FW_OBJECT_NAMES == 1 270 this->m_objName.toChar(),
273 this->m_LogText_OutputPort[port].setObjName(portName.
toChar());
278 #if !FW_DIRECT_PORT_CALLS 285 this->m_Time_OutputPort[port].
init();
287 #if FW_OBJECT_NAMES == 1 291 this->m_objName.toChar(),
294 this->m_Time_OutputPort[port].setObjName(portName.
toChar());
299 #if !FW_DIRECT_PORT_CALLS 306 this->m_Tlm_OutputPort[port].
init();
308 #if FW_OBJECT_NAMES == 1 312 this->m_objName.toChar(),
315 this->m_Tlm_OutputPort[port].setObjName(portName.
toChar());
320 #if !FW_DIRECT_PORT_CALLS 327 this->m_FatalAnnounce_OutputPort[port].
init();
329 #if FW_OBJECT_NAMES == 1 333 this->m_objName.toChar(),
336 this->m_FatalAnnounce_OutputPort[port].setObjName(portName.
toChar());
341 #if !FW_DIRECT_PORT_CALLS 348 this->m_PktSend_OutputPort[port].
init();
350 #if FW_OBJECT_NAMES == 1 354 this->m_objName.toChar(),
357 this->m_PktSend_OutputPort[port].setObjName(portName.
toChar());
362 #if !FW_DIRECT_PORT_CALLS 369 this->m_pingOut_OutputPort[port].
init();
371 #if FW_OBJECT_NAMES == 1 375 this->m_objName.toChar(),
378 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
386 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
390 static_cast<FwAssertArgType>(qStat)
394 #if !FW_DIRECT_PORT_CALLS 405 static_cast<FwAssertArgType>(portNum)
408 return &this->m_CmdDisp_InputPort[portNum];
413 #if !FW_DIRECT_PORT_CALLS 424 static_cast<FwAssertArgType>(portNum)
427 return &this->m_LogRecv_InputPort[portNum];
435 static_cast<FwAssertArgType>(portNum)
438 return &this->m_pingIn_InputPort[portNum];
446 static_cast<FwAssertArgType>(portNum)
449 return &this->m_run_InputPort[portNum];
454 #if !FW_DIRECT_PORT_CALLS 468 static_cast<FwAssertArgType>(portNum)
471 this->m_CmdReg_OutputPort[portNum].
addCallPort(port);
482 static_cast<FwAssertArgType>(portNum)
485 this->m_CmdStatus_OutputPort[portNum].
addCallPort(port);
496 static_cast<FwAssertArgType>(portNum)
502 #if FW_ENABLE_TEXT_LOGGING == 1 504 void EventManagerComponentBase ::
505 set_LogText_OutputPort(
511 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
512 static_cast<FwAssertArgType>(portNum)
515 this->m_LogText_OutputPort[portNum].addCallPort(port);
528 static_cast<FwAssertArgType>(portNum)
531 this->m_Time_OutputPort[portNum].
addCallPort(port);
542 static_cast<FwAssertArgType>(portNum)
550 #if !FW_DIRECT_PORT_CALLS 564 static_cast<FwAssertArgType>(portNum)
567 this->m_FatalAnnounce_OutputPort[portNum].
addCallPort(port);
578 static_cast<FwAssertArgType>(portNum)
581 this->m_PktSend_OutputPort[portNum].
addCallPort(port);
592 static_cast<FwAssertArgType>(portNum)
595 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
600 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 609 Fw::InputSerializePort* port
614 static_cast<FwAssertArgType>(portNum)
617 this->m_CmdReg_OutputPort[portNum].registerSerialPort(port);
623 Fw::InputSerializePort* port
628 static_cast<FwAssertArgType>(portNum)
631 this->m_CmdStatus_OutputPort[portNum].registerSerialPort(port);
637 Fw::InputSerializePort* port
642 static_cast<FwAssertArgType>(portNum)
645 this->m_Log_OutputPort[portNum].registerSerialPort(port);
648 #if FW_ENABLE_TEXT_LOGGING == 1 650 void EventManagerComponentBase ::
651 set_LogText_OutputPort(
653 Fw::InputSerializePort* port
657 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
658 static_cast<FwAssertArgType>(portNum)
661 this->m_LogText_OutputPort[portNum].registerSerialPort(port);
669 Fw::InputSerializePort* port
674 static_cast<FwAssertArgType>(portNum)
677 this->m_Time_OutputPort[portNum].registerSerialPort(port);
683 Fw::InputSerializePort* port
688 static_cast<FwAssertArgType>(portNum)
691 this->m_Tlm_OutputPort[portNum].registerSerialPort(port);
696 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 705 Fw::InputSerializePort* port
710 static_cast<FwAssertArgType>(portNum)
713 this->m_FatalAnnounce_OutputPort[portNum].registerSerialPort(port);
719 Fw::InputSerializePort* port
724 static_cast<FwAssertArgType>(portNum)
727 this->m_PktSend_OutputPort[portNum].registerSerialPort(port);
733 Fw::InputSerializePort* port
738 static_cast<FwAssertArgType>(portNum)
741 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
777 Fw::ActiveComponentBase(compName)
788 #if !FW_DIRECT_PORT_CALLS 799 static_cast<FwAssertArgType>(portNum)
802 return this->m_CmdReg_OutputPort[portNum].
isConnected();
810 static_cast<FwAssertArgType>(portNum)
813 return this->m_CmdStatus_OutputPort[portNum].
isConnected();
821 static_cast<FwAssertArgType>(portNum)
824 return this->m_Log_OutputPort[portNum].
isConnected();
827 #if FW_ENABLE_TEXT_LOGGING == 1 829 bool EventManagerComponentBase ::
830 isConnected_LogText_OutputPort(
FwIndexType portNum)
const 833 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
834 static_cast<FwAssertArgType>(portNum)
837 return this->m_LogText_OutputPort[portNum].isConnected();
847 static_cast<FwAssertArgType>(portNum)
850 return this->m_Time_OutputPort[portNum].
isConnected();
858 static_cast<FwAssertArgType>(portNum)
861 return this->m_Tlm_OutputPort[portNum].
isConnected();
866 #if !FW_DIRECT_PORT_CALLS 877 static_cast<FwAssertArgType>(portNum)
880 return this->m_FatalAnnounce_OutputPort[portNum].
isConnected();
888 static_cast<FwAssertArgType>(portNum)
891 return this->m_PktSend_OutputPort[portNum].
isConnected();
899 static_cast<FwAssertArgType>(portNum)
902 return this->m_pingOut_OutputPort[portNum].
isConnected();
923 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
926 switch (opCode - idBase) {
977 static_cast<FwAssertArgType>(portNum)
999 static_cast<FwAssertArgType>(portNum)
1007 ComponentIpcSerializableBuffer msg;
1011 _status = msg.serializeFrom(
1012 static_cast<FwEnumStoreType>(PINGIN_PING)
1016 static_cast<FwAssertArgType>(_status)
1020 _status = msg.serializeFrom(portNum);
1023 static_cast<FwAssertArgType>(_status)
1027 _status = msg.serializeFrom(key);
1030 static_cast<FwAssertArgType>(_status)
1039 static_cast<FwAssertArgType>(qStatus)
1052 static_cast<FwAssertArgType>(portNum)
1060 ComponentIpcSerializableBuffer msg;
1064 _status = msg.serializeFrom(
1065 static_cast<FwEnumStoreType>(RUN_SCHED)
1069 static_cast<FwAssertArgType>(_status)
1073 _status = msg.serializeFrom(portNum);
1076 static_cast<FwAssertArgType>(_status)
1080 _status = msg.serializeFrom(context);
1083 static_cast<FwAssertArgType>(_status)
1090 if (qStatus == Os::Queue::Status::FULL) {
1097 static_cast<FwAssertArgType>(qStatus)
1127 #if !FW_DIRECT_PORT_CALLS 1141 static_cast<FwAssertArgType>(portNum)
1145 this->m_FatalAnnounce_OutputPort[portNum].isConnected(),
1146 static_cast<FwAssertArgType>(portNum)
1148 this->m_FatalAnnounce_OutputPort[portNum].
invoke(
1162 static_cast<FwAssertArgType>(portNum)
1166 this->m_PktSend_OutputPort[portNum].isConnected(),
1167 static_cast<FwAssertArgType>(portNum)
1169 this->m_PktSend_OutputPort[portNum].
invoke(
1183 static_cast<FwAssertArgType>(portNum)
1187 this->m_pingOut_OutputPort[portNum].isConnected(),
1188 static_cast<FwAssertArgType>(portNum)
1190 this->m_pingOut_OutputPort[portNum].
invoke(
1209 ComponentIpcSerializableBuffer msg;
1213 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(INT_IF_LOQQUEUE));
1216 static_cast<FwAssertArgType>(_status)
1220 _status = msg.serializeFrom(static_cast<FwIndexType>(0));
1223 static_cast<FwAssertArgType>(_status)
1226 _status = msg.serializeFrom(
id);
1229 static_cast<FwAssertArgType>(_status)
1232 _status = msg.serializeFrom(timeTag);
1235 static_cast<FwAssertArgType>(_status)
1238 _status = msg.serializeFrom(severity);
1241 static_cast<FwAssertArgType>(_status)
1244 _status = msg.serializeFrom(args);
1247 static_cast<FwAssertArgType>(_status)
1254 if (qStatus == Os::Queue::Status::FULL) {
1261 static_cast<FwAssertArgType>(qStatus)
1277 this->CmdStatus_out(0, opCode, cmdSeq, response);
1303 this->CmdStatus_out(
1317 this->CmdStatus_out(
1327 #if FW_CMD_CHECK_RESIDUAL 1332 this->CmdStatus_out(
1362 ComponentIpcSerializableBuffer msg;
1366 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SET_ID_FILTER));
1369 static_cast<FwAssertArgType>(_status)
1375 _status = msg.serializeFrom(port);
1378 static_cast<FwAssertArgType>(_status)
1381 _status = msg.serializeFrom(opCode);
1384 static_cast<FwAssertArgType>(_status)
1387 _status = msg.serializeFrom(cmdSeq);
1390 static_cast<FwAssertArgType>(_status)
1393 _status = msg.serializeFrom(args);
1396 static_cast<FwAssertArgType>(_status)
1405 static_cast<FwAssertArgType>(qStatus)
1421 ComponentIpcSerializableBuffer msg;
1425 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_DUMP_FILTER_STATE));
1428 static_cast<FwAssertArgType>(_status)
1434 _status = msg.serializeFrom(port);
1437 static_cast<FwAssertArgType>(_status)
1440 _status = msg.serializeFrom(opCode);
1443 static_cast<FwAssertArgType>(_status)
1446 _status = msg.serializeFrom(cmdSeq);
1449 static_cast<FwAssertArgType>(_status)
1452 _status = msg.serializeFrom(args);
1455 static_cast<FwAssertArgType>(_status)
1464 static_cast<FwAssertArgType>(qStatus)
1511 this->Time_out(0, _logTime);
1521 #if FW_AMPCS_COMPATIBLE 1526 static_cast<FwAssertArgType>(_status)
1530 #if FW_AMPCS_COMPATIBLE 1537 static_cast<FwAssertArgType>(_status)
1543 static_cast<FwAssertArgType>(_status)
1546 #if FW_AMPCS_COMPATIBLE 1549 static_cast<U8>(
sizeof(
U8))
1553 static_cast<FwAssertArgType>(_status)
1559 static_cast<FwAssertArgType>(_status)
1572 #if FW_ENABLE_TEXT_LOGGING 1573 if (this->isConnected_LogText_OutputPort(0)) {
1574 #if FW_OBJECT_NAMES == 1 1575 const char* _formatString =
1576 "(%s) %s: %s filter state. %d";
1578 const char* _formatString =
1579 "%s: %s filter state. %d";
1583 severity.toString(severityStr);
1586 (void) _logString.
format(
1589 this->m_objName.toChar(),
1591 "SEVERITY_FILTER_STATE ",
1613 this->Time_out(0, _logTime);
1623 #if FW_AMPCS_COMPATIBLE 1628 static_cast<FwAssertArgType>(_status)
1632 #if FW_AMPCS_COMPATIBLE 1639 static_cast<FwAssertArgType>(_status)
1645 static_cast<FwAssertArgType>(_status)
1658 #if FW_ENABLE_TEXT_LOGGING 1659 if (this->isConnected_LogText_OutputPort(0)) {
1660 #if FW_OBJECT_NAMES == 1 1661 const char* _formatString =
1662 "(%s) %s: ID %" PRIu32
" is filtered.";
1664 const char* _formatString =
1665 "%s: ID %" PRIu32
" is filtered.";
1669 (void) _logString.
format(
1672 this->m_objName.toChar(),
1674 "ID_FILTER_ENABLED ",
1695 this->Time_out(0, _logTime);
1705 #if FW_AMPCS_COMPATIBLE 1710 static_cast<FwAssertArgType>(_status)
1714 #if FW_AMPCS_COMPATIBLE 1721 static_cast<FwAssertArgType>(_status)
1727 static_cast<FwAssertArgType>(_status)
1740 #if FW_ENABLE_TEXT_LOGGING 1741 if (this->isConnected_LogText_OutputPort(0)) {
1742 #if FW_OBJECT_NAMES == 1 1743 const char* _formatString =
1744 "(%s) %s: ID filter list is full. Cannot filter %" PRIu32
" .";
1746 const char* _formatString =
1747 "%s: ID filter list is full. Cannot filter %" PRIu32
" .";
1751 (void) _logString.
format(
1754 this->m_objName.toChar(),
1756 "ID_FILTER_LIST_FULL ",
1777 this->Time_out(0, _logTime);
1787 #if FW_AMPCS_COMPATIBLE 1792 static_cast<FwAssertArgType>(_status)
1796 #if FW_AMPCS_COMPATIBLE 1803 static_cast<FwAssertArgType>(_status)
1809 static_cast<FwAssertArgType>(_status)
1822 #if FW_ENABLE_TEXT_LOGGING 1823 if (this->isConnected_LogText_OutputPort(0)) {
1824 #if FW_OBJECT_NAMES == 1 1825 const char* _formatString =
1826 "(%s) %s: ID filter ID %" PRIu32
" removed.";
1828 const char* _formatString =
1829 "%s: ID filter ID %" PRIu32
" removed.";
1833 (void) _logString.
format(
1836 this->m_objName.toChar(),
1838 "ID_FILTER_REMOVED ",
1859 this->Time_out(0, _logTime);
1869 #if FW_AMPCS_COMPATIBLE 1874 static_cast<FwAssertArgType>(_status)
1878 #if FW_AMPCS_COMPATIBLE 1885 static_cast<FwAssertArgType>(_status)
1891 static_cast<FwAssertArgType>(_status)
1904 #if FW_ENABLE_TEXT_LOGGING 1905 if (this->isConnected_LogText_OutputPort(0)) {
1906 #if FW_OBJECT_NAMES == 1 1907 const char* _formatString =
1908 "(%s) %s: ID filter ID %" PRIu32
" not found.";
1910 const char* _formatString =
1911 "%s: ID filter ID %" PRIu32
" not found.";
1915 (void) _logString.
format(
1918 this->m_objName.toChar(),
1920 "ID_FILTER_NOT_FOUND ",
1951 this->Time_out(0, _tlmTime);
1977 if (not this->m_first_update_EventsDropped) {
1979 if (arg == this->m_last_EventsDropped) {
1983 this->m_last_EventsDropped = arg;
1987 this->m_first_update_EventsDropped =
false;
1988 this->m_last_EventsDropped = arg;
1996 static_cast<FwAssertArgType>(_stat)
2016 this->Time_out(0, _time);
2031 ComponentIpcSerializableBuffer _msg;
2041 static_cast<FwAssertArgType>(_msgStatus)
2051 static_cast<FwAssertArgType>(_deserStatus)
2054 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
2056 if (_msgType == EVENTMANAGER_COMPONENT_EXIT) {
2061 _deserStatus = _msg.deserializeTo(portNum);
2064 static_cast<FwAssertArgType>(_deserStatus)
2072 _deserStatus = _msg.deserializeTo(key);
2075 static_cast<FwAssertArgType>(_deserStatus)
2090 _deserStatus = _msg.deserializeTo(context);
2093 static_cast<FwAssertArgType>(_deserStatus)
2105 case CMD_SET_ID_FILTER: {
2108 _deserStatus = _msg.deserializeTo(_opCode);
2111 static_cast<FwAssertArgType>(_deserStatus)
2116 _deserStatus = _msg.deserializeTo(_cmdSeq);
2119 static_cast<FwAssertArgType>(_deserStatus)
2124 _deserStatus = _msg.deserializeTo(args);
2127 static_cast<FwAssertArgType>(_deserStatus)
2165 #if FW_CMD_CHECK_RESIDUAL 2186 case CMD_DUMP_FILTER_STATE: {
2189 _deserStatus = _msg.deserializeTo(_opCode);
2192 static_cast<FwAssertArgType>(_deserStatus)
2197 _deserStatus = _msg.deserializeTo(_cmdSeq);
2200 static_cast<FwAssertArgType>(_deserStatus)
2205 _deserStatus = _msg.deserializeTo(args);
2208 static_cast<FwAssertArgType>(_deserStatus)
2216 #if FW_CMD_CHECK_RESIDUAL 2233 case INT_IF_LOQQUEUE: {
2235 _deserStatus = _msg.deserializeTo(
id);
2240 static_cast<FwAssertArgType>(_deserStatus)
2244 _deserStatus = _msg.deserializeTo(timeTag);
2249 static_cast<FwAssertArgType>(_deserStatus)
2253 _deserStatus = _msg.deserializeTo(severity);
2258 static_cast<FwAssertArgType>(_deserStatus)
2262 _deserStatus = _msg.deserializeTo(args);
2267 static_cast<FwAssertArgType>(_deserStatus)
2273 _msg.getDeserializeSizeLeft() == 0,
2299 void EventManagerComponentBase ::
2310 compPtr->CmdDisp_handlerBase(
2322 void EventManagerComponentBase ::
2334 compPtr->LogRecv_handlerBase(
2343 void EventManagerComponentBase ::
2352 compPtr->pingIn_handlerBase(
2358 void EventManagerComponentBase ::
2367 compPtr->run_handlerBase(
2373 #if !FW_DIRECT_PORT_CALLS 2379 void EventManagerComponentBase ::
2387 static_cast<FwAssertArgType>(portNum)
2391 this->m_CmdReg_OutputPort[portNum].isConnected(),
2392 static_cast<FwAssertArgType>(portNum)
2394 this->m_CmdReg_OutputPort[portNum].
invoke(
2399 void EventManagerComponentBase ::
2409 static_cast<FwAssertArgType>(portNum)
2413 this->m_CmdStatus_OutputPort[portNum].isConnected(),
2414 static_cast<FwAssertArgType>(portNum)
2416 this->m_CmdStatus_OutputPort[portNum].
invoke(
2423 void EventManagerComponentBase ::
2434 static_cast<FwAssertArgType>(portNum)
2438 this->m_Log_OutputPort[portNum].isConnected(),
2439 static_cast<FwAssertArgType>(portNum)
2441 this->m_Log_OutputPort[portNum].
invoke(
2449 #if FW_ENABLE_TEXT_LOGGING 2451 void EventManagerComponentBase ::
2461 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
2462 static_cast<FwAssertArgType>(portNum)
2466 this->m_LogText_OutputPort[portNum].isConnected(),
2467 static_cast<FwAssertArgType>(portNum)
2469 this->m_LogText_OutputPort[portNum].invoke(
2479 void EventManagerComponentBase ::
2487 static_cast<FwAssertArgType>(portNum)
2491 this->m_Time_OutputPort[portNum].isConnected(),
2492 static_cast<FwAssertArgType>(portNum)
2494 this->m_Time_OutputPort[portNum].
invoke(
2499 void EventManagerComponentBase ::
2509 static_cast<FwAssertArgType>(portNum)
2513 this->m_Tlm_OutputPort[portNum].isConnected(),
2514 static_cast<FwAssertArgType>(portNum)
2516 this->m_Tlm_OutputPort[portNum].
invoke(
Channel ID for EventsDropped.
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.
SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG) override
Serialize an 8-bit unsigned integer value.
message to exit active component task
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
Status
status returned from the queue send function
BYTE pingInPortSize[Svc::PingPortBuffer::CAPACITY]
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()
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)
void addCallPort(InputCmdRegPort *callPort)
Register an input port.
The size of the serial representation.
void set_PktSend_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to PktSend[portNum].
Svc::InputSchedPort * get_run_InputPort(FwIndexType portNum)
size when serialized: buffer + stored size
Os::Queue m_queue
queue object for active component
Dump the filter states via events.
void addCallPort(InputTlmPort *callPort)
Register an input port.
The size of the serial representation.
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()
Attempted to add ID to full ID filter ID.
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.
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()
Removed an ID from the filter.
static constexpr FwIndexType getNum_PktSend_OutputPorts()
void invoke(Fw::Time &time) const
Invoke a port connection.
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.
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)
Dump severity filter state.
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
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
SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG) override
Deserialize an 8-bit unsigned integer value.
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.
Set filter for reporting events. Events are not stored in component.
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