7 #ifndef Drv_TcpClientComponentAc_HPP 8 #define Drv_TcpClientComponentAc_HPP 119 #if FW_PORT_SERIALIZATION 130 Fw::InputSerializePort* port
136 Fw::InputSerializePort* port
142 Fw::InputSerializePort* port
155 const char* compName =
"" 327 static void m_p_recvReturnIn_in(
bool isConnected_deallocate_OutputPort(FwIndexType portNum)
virtual void lock()
Lock the guarded mutex.
void set_allocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to allocate[portNum].
PlatformSizeType FwSizeType
virtual Drv::ByteStreamStatus send_handler(FwIndexType portNum, Fw::Buffer &sendBuffer)=0
Handler for input port send.
Auto-generated base for TcpClient component.
FwIndexType getNum_recv_OutputPorts() const
void set_ready_OutputPort(FwIndexType portNum, Drv::InputByteStreamReadyPort *port)
Connect port to ready[portNum].
void recv_out(FwIndexType portNum, Fw::Buffer &buffer, const Drv::ByteStreamStatus &status)
Invoke output port recv.
friend class TcpClientTester
Friend class tester implementation to support white-box testing.
void init()
Object initializer.
void recvReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port recvReturnIn.
TcpClientComponentBase(const char *compName="")
Construct TcpClientComponentBase object.
virtual ~TcpClientComponentBase()
Destroy TcpClientComponentBase object.
FwIndexType getNum_deallocate_OutputPorts() const
Status returned by the send call.
Drv::ByteStreamStatus send_handlerBase(FwIndexType portNum, Fw::Buffer &sendBuffer)
Handler base-class function for input port send.
Drv::InputByteStreamSendPort * get_send_InputPort(FwIndexType portNum)
Fw::Buffer allocate_out(FwIndexType portNum, FwSizeType size)
Invoke output port allocate.
FwIndexType getNum_send_InputPorts() const
Fw::InputBufferSendPort * get_recvReturnIn_InputPort(FwIndexType portNum)
virtual void recvReturnIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port recvReturnIn.
virtual void unLock()
Unlock the guarded mutex.
void set_recv_OutputPort(FwIndexType portNum, Drv::InputByteStreamDataPort *port)
Connect port to recv[portNum].
void set_deallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to deallocate[portNum].
bool isConnected_recv_OutputPort(FwIndexType portNum)
void deallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port deallocate.
PlatformIndexType FwIndexType
FwIndexType getNum_recvReturnIn_InputPorts() const
FwIndexType getNum_allocate_OutputPorts() const
FwIndexType getNum_ready_OutputPorts() const
bool isConnected_ready_OutputPort(FwIndexType portNum)
friend class TcpClientTesterBase
Friend class tester to support autocoded test harness.
void ready_out(FwIndexType portNum)
Invoke output port ready.
bool isConnected_allocate_OutputPort(FwIndexType portNum)