7 #ifndef Svc_ComLoggerComponentAc_HPP 8 #define Svc_ComLoggerComponentAc_HPP 19 #if FW_ENABLE_TEXT_LOGGING == 1 145 #if FW_ENABLE_TEXT_LOGGING == 1 148 void set_LogText_OutputPort(
191 #if FW_PORT_SERIALIZATION 199 #if FW_ENABLE_TEXT_LOGGING == 1 202 void set_LogText_OutputPort(
204 Fw::InputSerializePort* port
212 Fw::InputSerializePort* port
218 Fw::InputSerializePort* port
224 Fw::InputSerializePort* port
230 Fw::InputSerializePort* port
235 #if FW_PORT_SERIALIZATION 246 Fw::InputSerializePort* port
270 const char* compName =
"" 309 #if FW_ENABLE_TEXT_LOGGING == 1 355 #if FW_ENABLE_TEXT_LOGGING == 1 360 bool isConnected_LogText_OutputPort(
621 static void m_p_cmdIn_in(
636 static void m_p_comIn_in(
644 static void m_p_pingIn_in(
677 #if FW_ENABLE_TEXT_LOGGING == 1 void set_pingOut_OutputPort(FwIndexType portNum, Svc::InputPingPort *port)
Connect port to pingOut[portNum].
Forces a close of the currently opened file.
ComLoggerComponentBase(const char *compName="")
Construct ComLoggerComponentBase object.
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
virtual void comIn_preMsgHook(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Pre-message hook for async input port comIn.
void log_WARNING_LO_FileNotInitialized()
Log event FileNotInitialized.
void log_DIAGNOSTIC_FileClosed(const Fw::StringBase &file) const
bool isConnected_pingOut_OutputPort(FwIndexType portNum)
virtual void pingIn_handler(FwIndexType portNum, U32 key)=0
Handler for input port pingIn.
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
PlatformSizeType FwSizeType
The ComLogger encountered an error opening a file.
FwIndexType getNum_cmdResponseOut_OutputPorts() const
Enum representing a command response.
void regCommands()
Register commands with the Command Dispatcher.
void pingOut_out(FwIndexType portNum, U32 key)
Invoke output port pingOut.
PlatformIndexType FwIndexType
void init()
Object initializer.
void set_cmdRegOut_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to cmdRegOut[portNum].
The ComLogger encountered an error writing to a file.
FwIndexType getNum_pingOut_OutputPorts() const
bool isConnected_logOut_OutputPort(FwIndexType portNum)
The ComLogger successfully closed a file on command.
virtual void CloseFile_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CloseFile.
void log_WARNING_HI_FileOpenError(U32 errornum, const Fw::StringBase &file) const
void log_WARNING_LO_FileNotInitialized_ThrottleClear()
Reset throttle value for FileNotInitialized.
void CloseFile_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Throttle reset count for FileNotInitialized.
FwIndexType getNum_pingIn_InputPorts() const
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
Fw::InputComPort * get_comIn_InputPort(FwIndexType portNum)
void log_WARNING_HI_FileWriteError(U32 errornum, U32 bytesWritten, U32 bytesToWrite, const Fw::StringBase &file) const
virtual ~ComLoggerComponentBase()
Destroy ComLoggerComponentBase object.
virtual void pingIn_preMsgHook(FwIndexType portNum, U32 key)
Pre-message hook for async input port pingIn.
void set_cmdResponseOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdResponseOut[portNum].
C++-compatible configuration header for fprime configuration.
FwIndexType getNum_cmdIn_InputPorts() const
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
FwIndexType getNum_comIn_InputPorts() const
void log_WARNING_LO_FileValidationError(const Fw::StringBase &validationFile, const Fw::StringBase &file, U32 status) const
void pingIn_handlerBase(FwIndexType portNum, U32 key)
Handler base-class function for input port pingIn.
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum)
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum)
virtual void comIn_handler(FwIndexType portNum, Fw::ComBuffer &data, U32 context)=0
Handler for input port comIn.
FwIndexType getNum_timeCaller_OutputPorts() const
FwIndexType getNum_logOut_OutputPorts() const
void comIn_handlerBase(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Handler base-class function for input port comIn.
FwIndexType getNum_cmdRegOut_OutputPorts() const
virtual void CloseFile_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
friend class ComLoggerComponentBaseFriend
Friend class for white-box testing.
Auto-generated base for ComLogger component.
The ComLogger encountered an error writing the validation file.