7 #ifndef Svc_PassThroughRouterComponentAc_HPP 8 #define Svc_PassThroughRouterComponentAc_HPP 14 #if FW_ENABLE_TEXT_LOGGING == 1 17 #if !FW_DIRECT_PORT_CALLS 20 #if !FW_DIRECT_PORT_CALLS 81 #if !FW_DIRECT_PORT_CALLS 105 #if !FW_DIRECT_PORT_CALLS 119 #if FW_ENABLE_TEXT_LOGGING == 1 122 void set_logTextOut_OutputPort(
137 #if !FW_DIRECT_PORT_CALLS 159 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 170 Fw::InputSerializePort* port
173 #if FW_ENABLE_TEXT_LOGGING == 1 176 void set_logTextOut_OutputPort(
178 Fw::InputSerializePort* port
186 Fw::InputSerializePort* port
191 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 202 Fw::InputSerializePort* port
208 Fw::InputSerializePort* port
221 const char* compName =
"" 260 #if FW_ENABLE_TEXT_LOGGING == 1 265 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
311 #if FW_ENABLE_TEXT_LOGGING == 1 316 bool isConnected_logTextOut_OutputPort(
368 #if FW_DIRECT_PORT_CALLS 430 static void m_p_allPacketsReturnIn_in(
437 static void m_p_dataIn_in(
456 #if !FW_DIRECT_PORT_CALLS 472 #if !FW_DIRECT_PORT_CALLS 483 #if FW_ENABLE_TEXT_LOGGING == 1 495 #if !FW_DIRECT_PORT_CALLS static constexpr FwIndexType getNum_dataReturnOut_OutputPorts()
friend class PassThroughRouterTester
Friend class tester implementation to support white-box testing.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum) const
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 set_dataReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataReturnOut[portNum].
Fw::InputBufferSendPort * get_allPacketsReturnIn_InputPort(FwIndexType portNum)
bool isConnected_allPacketsOut_OutputPort(FwIndexType portNum) const
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataReturnOut.
void set_allPacketsOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to allPacketsOut[portNum].
void allPacketsOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port allPacketsOut.
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].
Type used to pass context info between components during framing/deframing.
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum) const
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()
bool isConnected_logOut_OutputPort(FwIndexType portNum) const