7 #ifndef Svc_PassThroughRouterComponentAc_HPP 8 #define Svc_PassThroughRouterComponentAc_HPP 15 #if !FW_DIRECT_PORT_CALLS 18 #if !FW_DIRECT_PORT_CALLS 79 #if !FW_DIRECT_PORT_CALLS 103 #if !FW_DIRECT_PORT_CALLS 117 #if FW_ENABLE_TEXT_LOGGING == 1 120 void set_logTextOut_OutputPort(
135 #if !FW_DIRECT_PORT_CALLS 157 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 168 Fw::InputSerializePort* port
171 #if FW_ENABLE_TEXT_LOGGING == 1 174 void set_logTextOut_OutputPort(
176 Fw::InputSerializePort* port
184 Fw::InputSerializePort* port
189 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 200 Fw::InputSerializePort* port
206 Fw::InputSerializePort* port
219 const char* compName =
"" 258 #if FW_ENABLE_TEXT_LOGGING == 1 263 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
309 #if FW_ENABLE_TEXT_LOGGING == 1 314 bool isConnected_logTextOut_OutputPort(
366 #if FW_DIRECT_PORT_CALLS 428 static void m_p_allPacketsReturnIn_in(
435 static void m_p_dataIn_in(
454 #if !FW_DIRECT_PORT_CALLS 470 #if !FW_DIRECT_PORT_CALLS 481 #if FW_ENABLE_TEXT_LOGGING == 1 493 #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