7 #ifndef Drv_UdpComponentAc_HPP 8 #define Drv_UdpComponentAc_HPP 110 #if FW_PORT_SERIALIZATION 121 Fw::InputSerializePort* port
127 Fw::InputSerializePort* port
133 Fw::InputSerializePort* port
146 const char* compName =
"" 302 static void m_p_send_in(
virtual ~UdpComponentBase()
Destroy UdpComponentBase object.
void send_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port send.
void recv_out(FwIndexType portNum, Fw::Buffer &buffer, const Drv::ByteStreamStatus &status)
Invoke output port recv.
FwIndexType getNum_allocate_OutputPorts() const
void set_dataReturnOut_OutputPort(FwIndexType portNum, Drv::InputByteStreamDataPort *port)
Connect port to dataReturnOut[portNum].
friend class UdpTesterBase
Friend class tester to support autocoded test harness.
bool isConnected_recv_OutputPort(FwIndexType portNum)
void set_recv_OutputPort(FwIndexType portNum, Drv::InputByteStreamDataPort *port)
Connect port to recv[portNum].
virtual void unLock()
Unlock the guarded mutex.
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &buffer, const Drv::ByteStreamStatus &status)
Invoke output port dataReturnOut.
void init()
Object initializer.
FwIndexType getNum_ready_OutputPorts() const
friend class UdpComponentBaseFriend
Friend class for white-box testing.
Status returned by the send call.
FwIndexType getNum_dataReturnOut_OutputPorts() const
bool isConnected_ready_OutputPort(FwIndexType portNum)
UdpComponentBase(const char *compName="")
Construct UdpComponentBase object.
virtual void send_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port send.
Fw::InputBufferSendPort * get_send_InputPort(FwIndexType portNum)
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum)
Fw::Buffer allocate_out(FwIndexType portNum, U32 size)
Invoke output port allocate.
void set_allocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to allocate[portNum].
bool isConnected_allocate_OutputPort(FwIndexType portNum)
FwIndexType getNum_recv_OutputPorts() const
PlatformIndexType FwIndexType
void set_ready_OutputPort(FwIndexType portNum, Drv::InputByteStreamReadyPort *port)
Connect port to ready[portNum].
Auto-generated base for Udp component.
void ready_out(FwIndexType portNum)
Invoke output port ready.
virtual void lock()
Lock the guarded mutex.
FwIndexType getNum_send_InputPorts() const