7 #ifndef Drv_UdpComponentAc_HPP 8 #define Drv_UdpComponentAc_HPP 109 #if FW_PORT_SERIALIZATION 120 Fw::InputSerializePort* port
126 Fw::InputSerializePort* port
132 Fw::InputSerializePort* port
145 const char* compName =
"" virtual ~UdpComponentBase()
Destroy UdpComponentBase object.
FwIndexType getNum_allocate_OutputPorts() const
virtual Drv::SendStatus send_handler(FwIndexType portNum, Fw::Buffer &sendBuffer)=0
Handler for input port send.
Status associated with the received data.
bool isConnected_recv_OutputPort(FwIndexType portNum)
virtual void unLock()
Unlock the guarded mutex.
PlatformIndexType FwIndexType
void init()
Object initializer.
FwIndexType getNum_ready_OutputPorts() const
friend class UdpComponentBaseFriend
Friend class for white-box testing.
bool isConnected_deallocate_OutputPort(FwIndexType portNum)
void deallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port deallocate.
void recv_out(FwIndexType portNum, Fw::Buffer &recvBuffer, const Drv::RecvStatus &recvStatus)
Invoke output port recv.
Drv::SendStatus send_handlerBase(FwIndexType portNum, Fw::Buffer &sendBuffer)
Handler base-class function for input port send.
bool isConnected_ready_OutputPort(FwIndexType portNum)
UdpComponentBase(const char *compName="")
Construct UdpComponentBase object.
void set_deallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to deallocate[portNum].
Fw::Buffer allocate_out(FwIndexType portNum, U32 size)
Invoke output port allocate.
C++-compatible configuration header for fprime configuration.
void set_recv_OutputPort(FwIndexType portNum, Drv::InputByteStreamRecvPort *port)
Connect port to recv[portNum].
Status returned by the send call.
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
Drv::InputByteStreamSendPort * get_send_InputPort(FwIndexType portNum)
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.
FwIndexType getNum_deallocate_OutputPorts() const
virtual void lock()
Lock the guarded mutex.
FwIndexType getNum_send_InputPorts() const