7 #ifndef Svc_FprimeRouterComponentAc_HPP 8 #define Svc_FprimeRouterComponentAc_HPP 18 #if FW_ENABLE_TEXT_LOGGING == 1 118 #if FW_ENABLE_TEXT_LOGGING == 1 121 void set_logTextOut_OutputPort(
164 #if FW_PORT_SERIALIZATION 175 Fw::InputSerializePort* port
178 #if FW_ENABLE_TEXT_LOGGING == 1 181 void set_logTextOut_OutputPort(
183 Fw::InputSerializePort* port
191 Fw::InputSerializePort* port
196 #if FW_PORT_SERIALIZATION 207 Fw::InputSerializePort* port
213 Fw::InputSerializePort* port
219 Fw::InputSerializePort* port
225 Fw::InputSerializePort* port
238 const char* compName =
"" 271 #if FW_ENABLE_TEXT_LOGGING == 1 324 #if FW_ENABLE_TEXT_LOGGING == 1 329 bool isConnected_logTextOut_OutputPort(
490 static void m_p_cmdResponseIn_in(
499 static void m_p_dataIn_in(
527 #if FW_ENABLE_TEXT_LOGGING == 1 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.
virtual ~FprimeRouterComponentBase()
Destroy FprimeRouterComponentBase object.
void dataIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, Fw::Buffer &context)
Handler base-class function for input port dataIn.
bool isConnected_commandOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_fileOut_OutputPorts() const
FprimeRouterComponentBase(const char *compName="")
Construct FprimeRouterComponentBase object.
An error occurred while serializing a com buffer.
FwIndexType getNum_logOut_OutputPorts() const
An error occurred while deserializing a packet.
void fileOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port fileOut.
Enum representing a command response.
bool isConnected_fileOut_OutputPort(FwIndexType portNum)
PlatformIndexType FwIndexType
void bufferDeallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port bufferDeallocate.
bool isConnected_logOut_OutputPort(FwIndexType portNum)
Fw::InputCmdResponsePort * get_cmdResponseIn_InputPort(FwIndexType portNum)
void set_unknownDataOut_OutputPort(FwIndexType portNum, Fw::InputDataWithContextPort *port)
Connect port to unknownDataOut[portNum].
void init()
Object initializer.
void set_bufferDeallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to bufferDeallocate[portNum].
FwIndexType getNum_bufferDeallocate_OutputPorts() const
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[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
friend class FprimeRouterComponentBaseFriend
Friend class for white-box testing.
Auto-generated base for FprimeRouter component.
void set_fileOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to fileOut[portNum].
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
C++-compatible configuration header for fprime configuration.
FwIndexType getNum_unknownDataOut_OutputPorts() const
Fw::InputDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
void unknownDataOut_out(FwIndexType portNum, Fw::Buffer &data, Fw::Buffer &context)
Invoke output port unknownDataOut.
FwIndexType getNum_timeCaller_OutputPorts() const
void log_WARNING_HI_DeserializationError(U32 status) const
void log_WARNING_HI_SerializationError(U32 status) const
FwIndexType getNum_commandOut_OutputPorts() const
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.
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &data, Fw::Buffer &context)=0
Handler for input port dataIn.
FwIndexType getNum_dataIn_InputPorts() const
bool isConnected_unknownDataOut_OutputPort(FwIndexType portNum)