7 #ifndef Svc_EventManagerComponentAc_HPP 8 #define Svc_EventManagerComponentAc_HPP 24 #if !FW_DIRECT_PORT_CALLS 27 #if !FW_DIRECT_PORT_CALLS 130 #if !FW_DIRECT_PORT_CALLS 147 #if !FW_DIRECT_PORT_CALLS 178 #if !FW_DIRECT_PORT_CALLS 204 #if FW_ENABLE_TEXT_LOGGING == 1 207 void set_LogText_OutputPort(
228 #if !FW_DIRECT_PORT_CALLS 256 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 267 Fw::InputSerializePort* port
273 Fw::InputSerializePort* port
279 Fw::InputSerializePort* port
282 #if FW_ENABLE_TEXT_LOGGING == 1 285 void set_LogText_OutputPort(
287 Fw::InputSerializePort* port
295 Fw::InputSerializePort* port
301 Fw::InputSerializePort* port
306 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 317 Fw::InputSerializePort* port
323 Fw::InputSerializePort* port
329 Fw::InputSerializePort* port
353 const char* compName =
"" 426 #if FW_ENABLE_TEXT_LOGGING == 1 431 static constexpr
FwIndexType getNum_LogText_OutputPorts() {
505 #if FW_ENABLE_TEXT_LOGGING == 1 510 bool isConnected_LogText_OutputPort(
557 #if FW_DIRECT_PORT_CALLS 604 #if FW_DIRECT_PORT_CALLS 915 static void m_p_CmdDisp_in(
930 static void m_p_LogRecv_in(
940 static void m_p_pingIn_in(
947 static void m_p_run_in(
982 #if FW_ENABLE_TEXT_LOGGING 1009 #if !FW_DIRECT_PORT_CALLS 1022 #if !FW_DIRECT_PORT_CALLS 1041 #if !FW_DIRECT_PORT_CALLS 1058 #if FW_ENABLE_TEXT_LOGGING == 1 1073 #if !FW_DIRECT_PORT_CALLS 1099 bool m_first_update_EventsDropped =
true;
friend class EventManagerTesterBase
Friend class tester to support autocoded test harness.
void run_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port run.
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 tlmWrite_EventsDropped(FwSizeType arg, Fw::Time _tlmTime=Fw::Time())
void set_CmdReg_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to CmdReg[portNum].
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.
PlatformSizeType FwSizeType
Attempted to add ID to full ID filter ID.
bool isConnected_CmdStatus_OutputPort(FwIndexType portNum) const
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
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)
Enum representing a command response.
static constexpr FwIndexType getNum_pingOut_OutputPorts()
void set_PktSend_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to PktSend[portNum].
Svc::InputSchedPort * get_run_InputPort(FwIndexType portNum)
void init()
Object initializer.
static constexpr FwIndexType getNum_CmdStatus_OutputPorts()
void regCommands()
Register commands with the Command Dispatcher.
static constexpr FwIndexType getNum_pingIn_InputPorts()
FwIdType FwEventIdType
The type of an event identifier.
void SET_EVENT_FILTER_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void log_ACTIVITY_HI_ID_FILTER_ENABLED(FwEventIdType ID) const
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 set_Tlm_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to Tlm[portNum].
void log_WARNING_LO_ID_FILTER_LIST_FULL(FwEventIdType ID) const
void tlmWrite(FwChanIdType id, Fw::TlmBuffer &_tlmBuff, Fw::Time _tlmTime=Fw::Time()) const
bool isConnected_Log_OutputPort(FwIndexType portNum) const
friend class EventManagerTester
Friend class tester implementation to support white-box testing.
static constexpr FwIndexType getNum_FatalAnnounce_OutputPorts()
static constexpr FwIndexType getNum_PktSend_OutputPorts()
void set_Time_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to Time[portNum].
FwIdType FwChanIdType
The type of a telemetry channel identifier.
void pingOut_out(FwIndexType portNum, U32 key) const
Invoke output port pingOut.
static constexpr FwIndexType getNum_run_InputPorts()
void FatalAnnounce_out(FwIndexType portNum, FwEventIdType Id) const
Invoke output port FatalAnnounce.
Auto-generated base for EventManager component.
Dump the filter states via events.
Channel ID for EventsDropped.
Enum representing event severity.
bool isConnected_Time_OutputPort(FwIndexType portNum) const
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.
virtual void pingIn_preMsgHook(FwIndexType portNum, U32 key)
Pre-message hook for async input port pingIn.
virtual void run_handler(FwIndexType portNum, U32 context)=0
Handler for input port run.
Dump severity filter state.
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.
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)
virtual void DUMP_FILTER_STATE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
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
static constexpr FwIndexType getNum_Log_OutputPorts()
Removed an ID from the filter.
void PktSend_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context) const
Invoke output port PktSend.
Set filter for reporting events. Events are not stored in component.
virtual ~EventManagerComponentBase()
Destroy EventManagerComponentBase object.
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)
void log_ACTIVITY_HI_ID_FILTER_REMOVED(FwEventIdType ID) const
virtual void SET_ID_FILTER_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, FwEventIdType ID, const Svc::EventManager_Enabled &idFilterEnabled)=0