Auto-generated base for TcpClient component.
More...
#include <Drv/TcpClient/TcpClientComponentAc.hpp>
|
| TcpClientComponentBase (const char *compName="") |
| Construct TcpClientComponentBase object. More...
|
|
virtual | ~TcpClientComponentBase () |
| Destroy TcpClientComponentBase object. More...
|
|
FwIndexType | getNum_recvReturnIn_InputPorts () const |
|
FwIndexType | getNum_send_InputPorts () const |
|
FwIndexType | getNum_allocate_OutputPorts () const |
|
FwIndexType | getNum_deallocate_OutputPorts () const |
|
FwIndexType | getNum_ready_OutputPorts () const |
|
FwIndexType | getNum_recv_OutputPorts () const |
|
FwIndexType | getNum_sendReturnOut_OutputPorts () const |
|
bool | isConnected_allocate_OutputPort (FwIndexType portNum) |
|
bool | isConnected_deallocate_OutputPort (FwIndexType portNum) |
|
bool | isConnected_ready_OutputPort (FwIndexType portNum) |
|
bool | isConnected_recv_OutputPort (FwIndexType portNum) |
|
bool | isConnected_sendReturnOut_OutputPort (FwIndexType portNum) |
|
virtual void | recvReturnIn_handler (FwIndexType portNum, Fw::Buffer &fwBuffer)=0 |
| Handler for input port recvReturnIn. More...
|
|
virtual void | send_handler (FwIndexType portNum, Fw::Buffer &fwBuffer)=0 |
| Handler for input port send. More...
|
|
void | recvReturnIn_handlerBase (FwIndexType portNum, Fw::Buffer &fwBuffer) |
| Handler base-class function for input port recvReturnIn. More...
|
|
void | send_handlerBase (FwIndexType portNum, Fw::Buffer &fwBuffer) |
| Handler base-class function for input port send. More...
|
|
Fw::Buffer | allocate_out (FwIndexType portNum, U32 size) |
| Invoke output port allocate. More...
|
|
void | deallocate_out (FwIndexType portNum, Fw::Buffer &fwBuffer) |
| Invoke output port deallocate. More...
|
|
void | ready_out (FwIndexType portNum) |
| Invoke output port ready. More...
|
|
void | recv_out (FwIndexType portNum, Fw::Buffer &buffer, const Drv::ByteStreamStatus &status) |
| Invoke output port recv. More...
|
|
void | sendReturnOut_out (FwIndexType portNum, Fw::Buffer &buffer, const Drv::ByteStreamStatus &status) |
| Invoke output port sendReturnOut. More...
|
|
virtual void | lock () |
| Lock the guarded mutex. More...
|
|
virtual void | unLock () |
| Unlock the guarded mutex. More...
|
|
| PassiveComponentBase (const char *name) |
| Named constructor. More...
|
|
virtual | ~PassiveComponentBase () |
| Destructor. More...
|
|
void | init (FwEnumStoreType instance) |
| Initialization function. More...
|
|
FwEnumStoreType | getInstance () const |
|
| ObjBase (const char *name) |
| ObjBase constructor. More...
|
|
virtual | ~ObjBase () |
| Destructor. More...
|
|
void | init () |
| Object initializer. More...
|
|
Auto-generated base for TcpClient component.
Definition at line 24 of file TcpClientComponentAc.hpp.
◆ anonymous enum
Enumerations for numbers of typed input ports.
Enumerator |
---|
NUM_RECVRETURNIN_INPUT_PORTS | |
NUM_SEND_INPUT_PORTS | |
Definition at line 44 of file TcpClientComponentAc.hpp.
◆ anonymous enum
Enumerations for numbers of typed output ports.
Enumerator |
---|
NUM_ALLOCATE_OUTPUT_PORTS | |
NUM_DEALLOCATE_OUTPUT_PORTS | |
NUM_READY_OUTPUT_PORTS | |
NUM_RECV_OUTPUT_PORTS | |
NUM_SENDRETURNOUT_OUTPUT_PORTS | |
Definition at line 50 of file TcpClientComponentAc.hpp.
◆ TcpClientComponentBase()
Drv::TcpClientComponentBase::TcpClientComponentBase |
( |
const char * |
compName = "" | ) |
|
|
protected |
◆ ~TcpClientComponentBase()
Drv::TcpClientComponentBase::~TcpClientComponentBase |
( |
| ) |
|
|
protectedvirtual |
◆ allocate_out()
Invoke output port allocate.
- Parameters
-
portNum | The port number |
size | The requested size |
Definition at line 521 of file TcpClientComponentAc.cpp.
◆ deallocate_out()
Invoke output port deallocate.
- Parameters
-
portNum | The port number |
fwBuffer | The buffer |
Definition at line 541 of file TcpClientComponentAc.cpp.
◆ get_recvReturnIn_InputPort()
◆ get_send_InputPort()
◆ getNum_allocate_OutputPorts()
FwIndexType Drv::TcpClientComponentBase::getNum_allocate_OutputPorts |
( |
| ) |
const |
|
protected |
Get the number of allocate output ports
- Returns
- The number of allocate output ports
Definition at line 372 of file TcpClientComponentAc.cpp.
◆ getNum_deallocate_OutputPorts()
FwIndexType Drv::TcpClientComponentBase::getNum_deallocate_OutputPorts |
( |
| ) |
const |
|
protected |
Get the number of deallocate output ports
- Returns
- The number of deallocate output ports
Definition at line 378 of file TcpClientComponentAc.cpp.
◆ getNum_ready_OutputPorts()
FwIndexType Drv::TcpClientComponentBase::getNum_ready_OutputPorts |
( |
| ) |
const |
|
protected |
◆ getNum_recv_OutputPorts()
FwIndexType Drv::TcpClientComponentBase::getNum_recv_OutputPorts |
( |
| ) |
const |
|
protected |
◆ getNum_recvReturnIn_InputPorts()
FwIndexType Drv::TcpClientComponentBase::getNum_recvReturnIn_InputPorts |
( |
| ) |
const |
|
protected |
Get the number of recvReturnIn input ports
- Returns
- The number of recvReturnIn input ports
Definition at line 356 of file TcpClientComponentAc.cpp.
◆ getNum_send_InputPorts()
FwIndexType Drv::TcpClientComponentBase::getNum_send_InputPorts |
( |
| ) |
const |
|
protected |
◆ getNum_sendReturnOut_OutputPorts()
FwIndexType Drv::TcpClientComponentBase::getNum_sendReturnOut_OutputPorts |
( |
| ) |
const |
|
protected |
Get the number of sendReturnOut output ports
- Returns
- The number of sendReturnOut output ports
Definition at line 396 of file TcpClientComponentAc.cpp.
◆ init()
◆ isConnected_allocate_OutputPort()
bool Drv::TcpClientComponentBase::isConnected_allocate_OutputPort |
( |
FwIndexType |
portNum | ) |
|
|
protected |
Check whether port allocate is connected
- Returns
- Whether port allocate is connected
- Parameters
-
Definition at line 406 of file TcpClientComponentAc.cpp.
◆ isConnected_deallocate_OutputPort()
bool Drv::TcpClientComponentBase::isConnected_deallocate_OutputPort |
( |
FwIndexType |
portNum | ) |
|
|
protected |
Check whether port deallocate is connected
- Returns
- Whether port deallocate is connected
- Parameters
-
Definition at line 417 of file TcpClientComponentAc.cpp.
◆ isConnected_ready_OutputPort()
bool Drv::TcpClientComponentBase::isConnected_ready_OutputPort |
( |
FwIndexType |
portNum | ) |
|
|
protected |
Check whether port ready is connected
- Returns
- Whether port ready is connected
- Parameters
-
Definition at line 428 of file TcpClientComponentAc.cpp.
◆ isConnected_recv_OutputPort()
bool Drv::TcpClientComponentBase::isConnected_recv_OutputPort |
( |
FwIndexType |
portNum | ) |
|
|
protected |
Check whether port recv is connected
- Returns
- Whether port recv is connected
- Parameters
-
Definition at line 439 of file TcpClientComponentAc.cpp.
◆ isConnected_sendReturnOut_OutputPort()
bool Drv::TcpClientComponentBase::isConnected_sendReturnOut_OutputPort |
( |
FwIndexType |
portNum | ) |
|
|
protected |
Check whether port sendReturnOut is connected
- Returns
- Whether port sendReturnOut is connected
- Parameters
-
Definition at line 450 of file TcpClientComponentAc.cpp.
◆ lock()
void Drv::TcpClientComponentBase::lock |
( |
| ) |
|
|
protectedvirtual |
◆ ready_out()
void Drv::TcpClientComponentBase::ready_out |
( |
FwIndexType |
portNum | ) |
|
|
protected |
◆ recv_out()
◆ recvReturnIn_handler()
virtual void Drv::TcpClientComponentBase::recvReturnIn_handler |
( |
FwIndexType |
portNum, |
|
|
Fw::Buffer & |
fwBuffer |
|
) |
| |
|
protectedpure virtual |
Handler for input port recvReturnIn.
- Parameters
-
portNum | The port number |
fwBuffer | The buffer |
◆ recvReturnIn_handlerBase()
void Drv::TcpClientComponentBase::recvReturnIn_handlerBase |
( |
FwIndexType |
portNum, |
|
|
Fw::Buffer & |
fwBuffer |
|
) |
| |
|
protected |
Handler base-class function for input port recvReturnIn.
- Parameters
-
portNum | The port number |
fwBuffer | The buffer |
Definition at line 467 of file TcpClientComponentAc.cpp.
◆ send_handler()
Handler for input port send.
- Parameters
-
portNum | The port number |
fwBuffer | The buffer |
◆ send_handlerBase()
Handler base-class function for input port send.
- Parameters
-
portNum | The port number |
fwBuffer | The buffer |
Definition at line 492 of file TcpClientComponentAc.cpp.
◆ sendReturnOut_out()
◆ set_allocate_OutputPort()
Connect port to allocate[portNum].
- Parameters
-
portNum | The port number |
port | The input port |
Definition at line 201 of file TcpClientComponentAc.cpp.
◆ set_deallocate_OutputPort()
Connect port to deallocate[portNum].
- Parameters
-
portNum | The port number |
port | The input port |
Definition at line 215 of file TcpClientComponentAc.cpp.
◆ set_ready_OutputPort()
Connect port to ready[portNum].
- Parameters
-
portNum | The port number |
port | The input port |
Definition at line 229 of file TcpClientComponentAc.cpp.
◆ set_recv_OutputPort()
Connect port to recv[portNum].
- Parameters
-
portNum | The port number |
port | The input port |
Definition at line 243 of file TcpClientComponentAc.cpp.
◆ set_sendReturnOut_OutputPort()
Connect port to sendReturnOut[portNum].
- Parameters
-
portNum | The port number |
port | The input port |
Definition at line 257 of file TcpClientComponentAc.cpp.
◆ unLock()
void Drv::TcpClientComponentBase::unLock |
( |
| ) |
|
|
protectedvirtual |
◆ TcpClientTester
friend class TcpClientTester |
|
friend |
◆ TcpClientTesterBase
friend class TcpClientTesterBase |
|
friend |
The documentation for this class was generated from the following files: