7 #ifndef Svc_EventManagerComponentAc_HPP 8 #define Svc_EventManagerComponentAc_HPP 23 #if FW_ENABLE_TEXT_LOGGING == 1 26 #if !FW_DIRECT_PORT_CALLS 29 #if !FW_DIRECT_PORT_CALLS 121 #if !FW_DIRECT_PORT_CALLS 138 #if !FW_DIRECT_PORT_CALLS 162 #if !FW_DIRECT_PORT_CALLS 188 #if FW_ENABLE_TEXT_LOGGING == 1 191 void set_LogText_OutputPort(
206 #if !FW_DIRECT_PORT_CALLS 234 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 245 Fw::InputSerializePort* port
251 Fw::InputSerializePort* port
257 Fw::InputSerializePort* port
260 #if FW_ENABLE_TEXT_LOGGING == 1 263 void set_LogText_OutputPort(
265 Fw::InputSerializePort* port
273 Fw::InputSerializePort* port
278 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 289 Fw::InputSerializePort* port
295 Fw::InputSerializePort* port
301 Fw::InputSerializePort* port
325 const char* compName =
"" 391 #if FW_ENABLE_TEXT_LOGGING == 1 396 static constexpr
FwIndexType getNum_LogText_OutputPorts() {
463 #if FW_ENABLE_TEXT_LOGGING == 1 468 bool isConnected_LogText_OutputPort(
508 #if FW_DIRECT_PORT_CALLS 549 #if FW_DIRECT_PORT_CALLS 818 static void m_p_CmdDisp_in(
833 static void m_p_LogRecv_in(
843 static void m_p_pingIn_in(
878 #if FW_ENABLE_TEXT_LOGGING 897 #if !FW_DIRECT_PORT_CALLS 910 #if !FW_DIRECT_PORT_CALLS 926 #if !FW_DIRECT_PORT_CALLS 943 #if FW_ENABLE_TEXT_LOGGING == 1 955 #if !FW_DIRECT_PORT_CALLS friend class EventManagerTesterBase
Friend class tester to support autocoded test harness.
void set_CmdReg_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to CmdReg[portNum].
void pingIn_handlerBase(FwIndexType portNum, U32 key)
Handler base-class function for input port pingIn.
Attempted to add ID to full ID filter ID.
Enabled and disabled state.
Removed an ID from the filter.
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
bool isConnected_CmdStatus_OutputPort(FwIndexType portNum) const
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
Dump the filter states via events.
bool isConnected_PktSend_OutputPort(FwIndexType portNum) const
bool isConnected_FatalAnnounce_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].
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)
Dump severity filter state.
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 log_WARNING_LO_ID_FILTER_LIST_FULL(FwEventIdType ID) 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].
void pingOut_out(FwIndexType portNum, U32 key) const
Invoke output port pingOut.
void FatalAnnounce_out(FwIndexType portNum, FwEventIdType Id) const
Invoke output port FatalAnnounce.
Auto-generated base for EventManager component.
Enum representing event severity.
bool isConnected_Time_OutputPort(FwIndexType portNum) const
virtual void SET_EVENT_FILTER_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, Svc::EventManager_FilterSeverity filterLevel, Svc::EventManager_Enabled filterEnabled)=0
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.
Set filter for reporting events. Events are not stored in component.
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()
void log_ACTIVITY_LO_SEVERITY_FILTER_STATE(Svc::EventManager_FilterSeverity severity, bool enabled) const
void PktSend_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context) const
Invoke output port PktSend.
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, Svc::EventManager_Enabled idFilterEnabled)=0