7 #ifndef Svc_FileDispatcherComponentAc_HPP 8 #define Svc_FileDispatcherComponentAc_HPP 20 #if FW_ENABLE_TEXT_LOGGING == 1 163 #if FW_ENABLE_TEXT_LOGGING == 1 166 void set_logTextOut_OutputPort(
197 #if FW_PORT_SERIALIZATION 208 Fw::InputSerializePort* port
214 Fw::InputSerializePort* port
220 Fw::InputSerializePort* port
223 #if FW_ENABLE_TEXT_LOGGING == 1 226 void set_logTextOut_OutputPort(
228 Fw::InputSerializePort* port
236 Fw::InputSerializePort* port
241 #if FW_PORT_SERIALIZATION 252 Fw::InputSerializePort* port
258 Fw::InputSerializePort* port
282 const char* compName =
"" 348 #if FW_ENABLE_TEXT_LOGGING == 1 353 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
413 #if FW_ENABLE_TEXT_LOGGING == 1 418 bool isConnected_logTextOut_OutputPort(
632 static void m_p_cmdIn_in(
647 static void m_p_fileAnnounceRecv_in(
654 static void m_p_pingIn_in(
696 #if FW_ENABLE_TEXT_LOGGING == 1
void set_pingOut_OutputPort(FwIndexType portNum, Svc::InputPingPort *port)
Connect port to pingOut[portNum].
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts()
virtual void pingIn_handler(FwIndexType portNum, U32 key)=0
Handler for input port pingIn.
FwIdType FwOpcodeType
The type of a command opcode.
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts()
PlatformSizeType FwSizeType
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
friend class FileDispatcherTester
Friend class tester implementation to support white-box testing.
void fileAnnounceRecv_handlerBase(FwIndexType portNum, Fw::StringBase &file_name)
Handler base-class function for input port fileAnnounceRecv.
FileDispatcherComponentBase(const char *compName="")
Construct FileDispatcherComponentBase object.
Enum representing a command response.
void pingIn_handlerBase(FwIndexType portNum, U32 key)
Handler base-class function for input port pingIn.
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
virtual void fileAnnounceRecv_handler(FwIndexType portNum, Fw::StringBase &file_name)=0
Handler for input port fileAnnounceRecv.
void log_ACTIVITY_HI_FileDispatchState(Svc::FileDispatcherCfg::FileDispatchPort file_type, Fw::Enabled enabled) const
Log event FileDispatchState.
void set_cmdResponseOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdResponseOut[portNum].
bool isConnected_fileDispatch_OutputPort(FwIndexType portNum)
virtual void ENABLE_DISPATCH_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command ENABLE_DISPATCH.
void init()
Object initializer.
void regCommands()
Register commands with the Command Dispatcher.
static constexpr FwIndexType getNum_fileDispatch_OutputPorts()
void fileDispatch_out(FwIndexType portNum, Fw::StringBase &file_name)
Invoke output port fileDispatch.
bool isConnected_pingOut_OutputPort(FwIndexType portNum)
virtual void pingIn_preMsgHook(FwIndexType portNum, U32 key)
Pre-message hook for async input port pingIn.
bool isConnected_logOut_OutputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_logOut_OutputPorts()
static constexpr FwIndexType getNum_pingIn_InputPorts()
virtual void ENABLE_DISPATCH_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, Svc::FileDispatcherCfg::FileDispatchPort file_type, Fw::Enabled enable)=0
Handler for command ENABLE_DISPATCH.
static constexpr FwIndexType getNum_cmdIn_InputPorts()
friend class FileDispatcherTesterBase
Friend class tester to support autocoded test harness.
void ENABLE_DISPATCH_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Base-class handler function for command ENABLE_DISPATCH.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
virtual void fileAnnounceRecv_preMsgHook(FwIndexType portNum, Fw::StringBase &file_name)
Pre-message hook for async input port fileAnnounceRecv.
Enabled and disabled states.
void pingOut_out(FwIndexType portNum, U32 key)
Invoke output port pingOut.
void set_fileDispatch_OutputPort(FwIndexType portNum, Svc::InputFileDispatchPort *port)
Connect port to fileDispatch[portNum].
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
Svc::InputFileAnnouncePort * get_fileAnnounceRecv_InputPort(FwIndexType portNum)
virtual ~FileDispatcherComponentBase()
Destroy FileDispatcherComponentBase object.
PlatformIndexType FwIndexType
Auto-generated base for FileDispatcher component.
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum)
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum)
RateGroupDivider component implementation.
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
void set_cmdRegOut_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to cmdRegOut[portNum].
static constexpr FwIndexType getNum_pingOut_OutputPorts()
void log_ACTIVITY_HI_FileDispatched(const Fw::StringBase &file_name, Svc::FileDispatcherCfg::FileDispatchPort file_type) const
Log event FileDispatched.
static constexpr FwIndexType getNum_fileAnnounceRecv_InputPorts()
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)