7 #ifndef Svc_FprimeRouterComponentAc_HPP 8 #define Svc_FprimeRouterComponentAc_HPP 20 #if FW_ENABLE_TEXT_LOGGING == 1 133 #if FW_ENABLE_TEXT_LOGGING == 1 136 void set_logTextOut_OutputPort(
191 #if FW_PORT_SERIALIZATION 202 Fw::InputSerializePort* port
205 #if FW_ENABLE_TEXT_LOGGING == 1 208 void set_logTextOut_OutputPort(
210 Fw::InputSerializePort* port
218 Fw::InputSerializePort* port
223 #if FW_PORT_SERIALIZATION 234 Fw::InputSerializePort* port
240 Fw::InputSerializePort* port
246 Fw::InputSerializePort* port
252 Fw::InputSerializePort* port
258 Fw::InputSerializePort* port
271 const char* compName =
"" 309 #if FW_ENABLE_TEXT_LOGGING == 1 372 #if FW_ENABLE_TEXT_LOGGING == 1 377 bool isConnected_logTextOut_OutputPort(
577 static void m_p_cmdResponseIn_in(
586 static void m_p_dataIn_in(
594 static void m_p_fileBufferReturnIn_in(
624 #if FW_ENABLE_TEXT_LOGGING == 1 bool isConnected_bufferAllocate_OutputPort(FwIndexType portNum)
bool isConnected_bufferDeallocate_OutputPort(FwIndexType portNum)
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
void commandOut_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Invoke output port commandOut.
friend class FprimeRouterTester
Friend class tester implementation to support white-box testing.
virtual ~FprimeRouterComponentBase()
Destroy FprimeRouterComponentBase object.
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.
friend class FprimeRouterTesterBase
Friend class tester to support autocoded test harness.
bool isConnected_commandOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_fileOut_OutputPorts() const
FprimeRouterComponentBase(const char *compName="")
Construct FprimeRouterComponentBase object.
FwIndexType getNum_logOut_OutputPorts() const
Fw::Buffer bufferAllocate_out(FwIndexType portNum, U32 size)
Invoke output port bufferAllocate.
void fileOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port fileOut.
Enum representing a command response.
bool isConnected_fileOut_OutputPort(FwIndexType portNum)
void bufferDeallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port bufferDeallocate.
bool isConnected_logOut_OutputPort(FwIndexType portNum)
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum)
Fw::InputCmdResponsePort * get_cmdResponseIn_InputPort(FwIndexType portNum)
void init()
Object initializer.
void set_bufferDeallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to bufferDeallocate[portNum].
FwIndexType getNum_bufferDeallocate_OutputPorts() const
An error occurred while deserializing a packet.
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
void set_bufferAllocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to bufferAllocate[portNum].
FwIndexType getNum_bufferAllocate_OutputPorts() const
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.
FwIndexType getNum_cmdResponseIn_InputPorts() const
Auto-generated base for FprimeRouter component.
void set_fileOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to fileOut[portNum].
An error occurred while serializing a com buffer.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
Svc::InputComDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
FwIndexType getNum_fileBufferReturnIn_InputPorts() const
void unknownDataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port unknownDataOut.
FwIndexType getNum_unknownDataOut_OutputPorts() const
void set_unknownDataOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to unknownDataOut[portNum].
PlatformIndexType FwIndexType
FwIndexType getNum_timeCaller_OutputPorts() const
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.
RateGroupDivider component implementation.
FwIndexType getNum_commandOut_OutputPorts() const
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataReturnOut.
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.
FwIndexType getNum_dataIn_InputPorts() const
bool isConnected_unknownDataOut_OutputPort(FwIndexType portNum)
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataIn.
FwIndexType getNum_dataReturnOut_OutputPorts() const
virtual void fileBufferReturnIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port fileBufferReturnIn.