7 #ifndef Svc_ActiveLoggerComponentAc_HPP 8 #define Svc_ActiveLoggerComponentAc_HPP 21 #if FW_ENABLE_TEXT_LOGGING == 1 169 #if FW_ENABLE_TEXT_LOGGING == 1 172 void set_LogText_OutputPort(
209 #if FW_PORT_SERIALIZATION 220 Fw::InputSerializePort* port
226 Fw::InputSerializePort* port
232 Fw::InputSerializePort* port
235 #if FW_ENABLE_TEXT_LOGGING == 1 238 void set_LogText_OutputPort(
240 Fw::InputSerializePort* port
248 Fw::InputSerializePort* port
253 #if FW_PORT_SERIALIZATION 264 Fw::InputSerializePort* port
270 Fw::InputSerializePort* port
276 Fw::InputSerializePort* port
300 const char* compName =
"" 354 #if FW_ENABLE_TEXT_LOGGING == 1 416 #if FW_ENABLE_TEXT_LOGGING == 1 421 bool isConnected_LogText_OutputPort(
747 static void m_p_CmdDisp_in(
762 static void m_p_LogRecv_in(
772 static void m_p_pingIn_in(
814 #if FW_ENABLE_TEXT_LOGGING == 1
friend class ActiveLoggerComponentBaseFriend
Friend class for white-box testing.
void set_CmdReg_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to CmdReg[portNum].
Dump the filter states via events.
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.
void FatalAnnounce_out(FwIndexType portNum, FwEventIdType Id)
Invoke output port FatalAnnounce.
virtual ~ActiveLoggerComponentBase()
Destroy ActiveLoggerComponentBase object.
PlatformSizeType FwSizeType
void set_CmdStatus_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to CmdStatus[portNum].
void set_PktSend_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to PktSend[portNum].
void SET_EVENT_FILTER_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
FwIndexType getNum_Log_OutputPorts() const
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
void DUMP_FILTER_STATE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void loqQueue_internalInterfaceInvoke(FwEventIdType id, const Fw::Time &timeTag, const Fw::LogSeverity &severity, const Fw::LogBuffer &args)
Internal interface base-class function for loqQueue.
FwIndexType getNum_FatalAnnounce_OutputPorts() const
Auto-generated base for ActiveLogger component.
Enum representing a command response.
bool isConnected_pingOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_PktSend_OutputPorts() const
bool isConnected_Log_OutputPort(FwIndexType portNum)
PlatformIndexType FwIndexType
void PktSend_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Invoke output port PktSend.
void pingOut_out(FwIndexType portNum, U32 key)
Invoke output port pingOut.
void init()
Object initializer.
virtual void pingIn_handler(FwIndexType portNum, U32 key)=0
Handler for input port pingIn.
void log_WARNING_LO_ID_FILTER_LIST_FULL(U32 ID) const
virtual void pingIn_preMsgHook(FwIndexType portNum, U32 key)
Pre-message hook for async input port pingIn.
void set_Time_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to Time[portNum].
FwIndexType getNum_CmdReg_OutputPorts() const
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
ActiveLoggerComponentBase(const char *compName="")
Construct ActiveLoggerComponentBase object.
bool isConnected_CmdReg_OutputPort(FwIndexType portNum)
virtual void loqQueue_internalInterfaceHandler(FwEventIdType id, const Fw::Time &timeTag, const Fw::LogSeverity &severity, const Fw::LogBuffer &args)=0
Internal interface handler for loqQueue.
Set filter for reporting events. Events are not stored in component.
virtual void SET_EVENT_FILTER_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, Svc::ActiveLogger_FilterSeverity filterLevel, Svc::ActiveLogger_Enabled filterEnabled)=0
void log_ACTIVITY_LO_SEVERITY_FILTER_STATE(Svc::ActiveLogger_FilterSeverity severity, bool enabled) const
FwIndexType getNum_CmdDisp_InputPorts() const
Dump severity filter state.
Fw::InputCmdPort * get_CmdDisp_InputPort(FwIndexType portNum)
void set_FatalAnnounce_OutputPort(FwIndexType portNum, Svc::InputFatalEventPort *port)
Connect port to FatalAnnounce[portNum].
Enum representing event severity.
virtual void LogRecv_handler(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args)=0
Handler for input port LogRecv.
FwIndexType getNum_CmdStatus_OutputPorts() const
FwIndexType getNum_pingOut_OutputPorts() const
Fw::InputLogPort * get_LogRecv_InputPort(FwIndexType portNum)
C++-compatible configuration header for fprime configuration.
Attempted to add ID to full ID filter ID.
FwIndexType getNum_pingIn_InputPorts() const
virtual void DUMP_FILTER_STATE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command DUMP_FILTER_STATE.
virtual void SET_ID_FILTER_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U32 ID, Svc::ActiveLogger_Enabled idFilterEnabled)=0
void set_Log_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to Log[portNum].
void pingIn_handlerBase(FwIndexType portNum, U32 key)
Handler base-class function for input port pingIn.
void SET_ID_FILTER_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void set_pingOut_OutputPort(FwIndexType portNum, Svc::InputPingPort *port)
Connect port to pingOut[portNum].
bool isConnected_CmdStatus_OutputPort(FwIndexType portNum)
FwIndexType getNum_LogRecv_InputPorts() const
bool isConnected_Time_OutputPort(FwIndexType portNum)
FwIndexType getNum_Time_OutputPorts() const
Enabled and disabled state.
virtual void SET_ID_FILTER_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command SET_ID_FILTER.
void regCommands()
Register commands with the Command Dispatcher.
Removed an ID from the filter.
bool isConnected_FatalAnnounce_OutputPort(FwIndexType portNum)
void log_WARNING_LO_ID_FILTER_NOT_FOUND(U32 ID) const
bool isConnected_PktSend_OutputPort(FwIndexType portNum)
virtual void DUMP_FILTER_STATE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
void log_ACTIVITY_HI_ID_FILTER_REMOVED(U32 ID) const
void log_ACTIVITY_HI_ID_FILTER_ENABLED(U32 ID) const