7 #ifndef Svc_FprimeRouterComponentAc_HPP 8 #define Svc_FprimeRouterComponentAc_HPP 19 #if FW_ENABLE_TEXT_LOGGING == 1 22 #if !FW_DIRECT_PORT_CALLS 25 #if !FW_DIRECT_PORT_CALLS 95 #if !FW_DIRECT_PORT_CALLS 126 #if !FW_DIRECT_PORT_CALLS 140 #if FW_ENABLE_TEXT_LOGGING == 1 143 void set_logTextOut_OutputPort(
158 #if !FW_DIRECT_PORT_CALLS 192 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 203 Fw::InputSerializePort* port
206 #if FW_ENABLE_TEXT_LOGGING == 1 209 void set_logTextOut_OutputPort(
211 Fw::InputSerializePort* port
219 Fw::InputSerializePort* port
224 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 235 Fw::InputSerializePort* port
241 Fw::InputSerializePort* port
247 Fw::InputSerializePort* port
253 Fw::InputSerializePort* port
266 const char* compName =
"" 312 #if FW_ENABLE_TEXT_LOGGING == 1 317 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
377 #if FW_ENABLE_TEXT_LOGGING == 1 382 bool isConnected_logTextOut_OutputPort(
456 #if FW_DIRECT_PORT_CALLS 560 static void m_p_cmdResponseIn_in(
569 static void m_p_dataIn_in(
577 static void m_p_fileBufferReturnIn_in(
598 #if FW_ENABLE_TEXT_LOGGING 617 #if !FW_DIRECT_PORT_CALLS 636 #if !FW_DIRECT_PORT_CALLS 647 #if FW_ENABLE_TEXT_LOGGING == 1 659 #if !FW_DIRECT_PORT_CALLS void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
friend class FprimeRouterTester
Friend class tester implementation to support white-box testing.
static constexpr FwIndexType getNum_dataIn_InputPorts()
virtual ~FprimeRouterComponentBase()
Destroy FprimeRouterComponentBase object.
static constexpr FwIndexType getNum_fileBufferReturnIn_InputPorts()
FwIdType FwOpcodeType
The type of a command opcode.
void dataIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataIn.
void fileBufferReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port fileBufferReturnIn.
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum) const
void unknownDataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port unknownDataOut.
friend class FprimeRouterTesterBase
Friend class tester to support autocoded test harness.
bool isConnected_commandOut_OutputPort(FwIndexType portNum) const
bool isConnected_timeCaller_OutputPort(FwIndexType portNum) const
FprimeRouterComponentBase(const char *compName="")
Construct FprimeRouterComponentBase object.
static constexpr FwIndexType getNum_unknownDataOut_OutputPorts()
void fileOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port fileOut.
Enum representing a command response.
void commandOut_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context) const
Invoke output port commandOut.
Fw::InputCmdResponsePort * get_cmdResponseIn_InputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_commandOut_OutputPorts()
void init()
Object initializer.
FwIdType FwEventIdType
The type of an event identifier.
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
Fw::InputBufferSendPort * get_fileBufferReturnIn_InputPort(FwIndexType portNum)
void set_dataReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataReturnOut[portNum].
void cmdResponseIn_handlerBase(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
Handler base-class function for input port cmdResponseIn.
An error occurred while deserializing a packet.
static constexpr FwIndexType getNum_dataReturnOut_OutputPorts()
Auto-generated base for FprimeRouter component.
Enum representing event severity.
void set_fileOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to fileOut[portNum].
Svc::InputComDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_logOut_OutputPorts()
static constexpr FwIndexType getNum_fileOut_OutputPorts()
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataReturnOut.
void set_unknownDataOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to unknownDataOut[portNum].
bool isConnected_unknownDataOut_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_cmdResponseIn_InputPorts()
PlatformIndexType FwIndexType
void log_WARNING_HI_DeserializationError(U32 status) const
void log_WARNING_HI_SerializationError(U32 status) const
Type used to pass context info between components during framing/deframing.
bool isConnected_fileOut_OutputPort(FwIndexType portNum) const
RateGroupDivider component implementation.
void set_commandOut_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to commandOut[portNum].
virtual void cmdResponseIn_handler(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)=0
Handler for input port cmdResponseIn.
bool isConnected_logOut_OutputPort(FwIndexType portNum) const
An error occurred while serializing a com buffer.
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataIn.
virtual void fileBufferReturnIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port fileBufferReturnIn.