7 #ifndef Svc_PassThroughRouterComponentAc_HPP 8 #define Svc_PassThroughRouterComponentAc_HPP 14 #if FW_ENABLE_TEXT_LOGGING == 1 109 #if FW_ENABLE_TEXT_LOGGING == 1 112 void set_logTextOut_OutputPort(
143 #if FW_PORT_SERIALIZATION 154 Fw::InputSerializePort* port
157 #if FW_ENABLE_TEXT_LOGGING == 1 160 void set_logTextOut_OutputPort(
162 Fw::InputSerializePort* port
170 Fw::InputSerializePort* port
175 #if FW_PORT_SERIALIZATION 186 Fw::InputSerializePort* port
192 Fw::InputSerializePort* port
205 const char* compName =
"" 244 #if FW_ENABLE_TEXT_LOGGING == 1 249 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
295 #if FW_ENABLE_TEXT_LOGGING == 1 300 bool isConnected_logTextOut_OutputPort(
410 static void m_p_allPacketsReturnIn_in(
417 static void m_p_dataIn_in(
445 #if FW_ENABLE_TEXT_LOGGING == 1 static constexpr FwIndexType getNum_dataReturnOut_OutputPorts()
friend class PassThroughRouterTester
Friend class tester implementation to support white-box testing.
bool isConnected_allPacketsOut_OutputPort(FwIndexType portNum)
Svc::InputComDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
void dataIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataIn.
friend class PassThroughRouterTesterBase
Friend class tester to support autocoded test harness.
static constexpr FwIndexType getNum_allPacketsReturnIn_InputPorts()
void init()
Object initializer.
static constexpr FwIndexType getNum_allPacketsOut_OutputPorts()
void allPacketsOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port allPacketsOut.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
void set_dataReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataReturnOut[portNum].
Fw::InputBufferSendPort * get_allPacketsReturnIn_InputPort(FwIndexType portNum)
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum)
void set_allPacketsOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to allPacketsOut[portNum].
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataReturnOut.
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
virtual void allPacketsReturnIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port allPacketsReturnIn.
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataIn.
PassThroughRouterComponentBase(const char *compName="")
Construct PassThroughRouterComponentBase object.
PlatformIndexType FwIndexType
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
bool isConnected_logOut_OutputPort(FwIndexType portNum)
Type used to pass context info between components during framing/deframing.
RateGroupDivider component implementation.
virtual ~PassThroughRouterComponentBase()
Destroy PassThroughRouterComponentBase object.
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
Auto-generated base for PassThroughRouter component.
void allPacketsReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port allPacketsReturnIn.
static constexpr FwIndexType getNum_dataIn_InputPorts()
static constexpr FwIndexType getNum_logOut_OutputPorts()