Auto-generated base for Udp component.
More...
#include <Drv/Udp/UdpComponentAc.hpp>
Auto-generated base for Udp component.
Definition at line 25 of file UdpComponentAc.hpp.
◆ anonymous enum
Enumerations for numbers of typed input ports.
Enumerator |
---|
NUM_SEND_INPUT_PORTS | |
Definition at line 43 of file UdpComponentAc.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 | |
Definition at line 48 of file UdpComponentAc.hpp.
◆ UdpComponentBase()
Drv::UdpComponentBase::UdpComponentBase |
( |
const char * |
compName = "" | ) |
|
|
protected |
◆ ~UdpComponentBase()
Drv::UdpComponentBase::~UdpComponentBase |
( |
| ) |
|
|
protectedvirtual |
◆ allocate_out()
Invoke output port allocate.
- Parameters
-
portNum | The port number |
size | The requested size |
Definition at line 394 of file UdpComponentAc.cpp.
◆ deallocate_out()
Invoke output port deallocate.
- Parameters
-
portNum | The port number |
fwBuffer | The buffer |
Definition at line 409 of file UdpComponentAc.cpp.
◆ get_send_InputPort()
Get typed input port at index
- Returns
- send[portNum]
- Parameters
-
Definition at line 131 of file UdpComponentAc.cpp.
◆ getNum_allocate_OutputPorts()
FwIndexType Drv::UdpComponentBase::getNum_allocate_OutputPorts |
( |
| ) |
const |
|
protected |
Get the number of allocate output ports
- Returns
- The number of allocate output ports
Definition at line 283 of file UdpComponentAc.cpp.
◆ getNum_deallocate_OutputPorts()
FwIndexType Drv::UdpComponentBase::getNum_deallocate_OutputPorts |
( |
| ) |
const |
|
protected |
Get the number of deallocate output ports
- Returns
- The number of deallocate output ports
Definition at line 289 of file UdpComponentAc.cpp.
◆ getNum_ready_OutputPorts()
FwIndexType Drv::UdpComponentBase::getNum_ready_OutputPorts |
( |
| ) |
const |
|
protected |
Get the number of ready output ports
- Returns
- The number of ready output ports
Definition at line 295 of file UdpComponentAc.cpp.
◆ getNum_recv_OutputPorts()
FwIndexType Drv::UdpComponentBase::getNum_recv_OutputPorts |
( |
| ) |
const |
|
protected |
Get the number of recv output ports
- Returns
- The number of recv output ports
Definition at line 301 of file UdpComponentAc.cpp.
◆ getNum_send_InputPorts()
FwIndexType Drv::UdpComponentBase::getNum_send_InputPorts |
( |
| ) |
const |
|
protected |
Get the number of send input ports
- Returns
- The number of send input ports
Definition at line 273 of file UdpComponentAc.cpp.
◆ init()
◆ isConnected_allocate_OutputPort()
bool Drv::UdpComponentBase::isConnected_allocate_OutputPort |
( |
FwIndexType |
portNum | ) |
|
|
protected |
Check whether port allocate is connected
- Returns
- Whether port allocate is connected
- Parameters
-
Definition at line 311 of file UdpComponentAc.cpp.
◆ isConnected_deallocate_OutputPort()
bool Drv::UdpComponentBase::isConnected_deallocate_OutputPort |
( |
FwIndexType |
portNum | ) |
|
|
protected |
Check whether port deallocate is connected
- Returns
- Whether port deallocate is connected
- Parameters
-
Definition at line 322 of file UdpComponentAc.cpp.
◆ isConnected_ready_OutputPort()
bool Drv::UdpComponentBase::isConnected_ready_OutputPort |
( |
FwIndexType |
portNum | ) |
|
|
protected |
Check whether port ready is connected
- Returns
- Whether port ready is connected
- Parameters
-
Definition at line 333 of file UdpComponentAc.cpp.
◆ isConnected_recv_OutputPort()
bool Drv::UdpComponentBase::isConnected_recv_OutputPort |
( |
FwIndexType |
portNum | ) |
|
|
protected |
Check whether port recv is connected
- Returns
- Whether port recv is connected
- Parameters
-
Definition at line 344 of file UdpComponentAc.cpp.
◆ lock()
void Drv::UdpComponentBase::lock |
( |
| ) |
|
|
protectedvirtual |
◆ ready_out()
void Drv::UdpComponentBase::ready_out |
( |
FwIndexType |
portNum | ) |
|
|
protected |
◆ recv_out()
◆ send_handler()
Handler for input port send.
- Parameters
-
portNum | The port number |
sendBuffer | Data to send |
◆ send_handlerBase()
Handler base-class function for input port send.
- Parameters
-
portNum | The port number |
sendBuffer | Data to send |
Definition at line 361 of file UdpComponentAc.cpp.
◆ set_allocate_OutputPort()
Connect port to allocate[portNum].
- Parameters
-
portNum | The port number |
port | The input port |
Definition at line 146 of file UdpComponentAc.cpp.
◆ set_deallocate_OutputPort()
Connect port to deallocate[portNum].
- Parameters
-
portNum | The port number |
port | The input port |
Definition at line 160 of file UdpComponentAc.cpp.
◆ set_ready_OutputPort()
Connect port to ready[portNum].
- Parameters
-
portNum | The port number |
port | The input port |
Definition at line 174 of file UdpComponentAc.cpp.
◆ set_recv_OutputPort()
Connect port to recv[portNum].
- Parameters
-
portNum | The port number |
port | The input port |
Definition at line 188 of file UdpComponentAc.cpp.
◆ unLock()
void Drv::UdpComponentBase::unLock |
( |
| ) |
|
|
protectedvirtual |
◆ UdpComponentBaseFriend
friend class UdpComponentBaseFriend |
|
friend |
The documentation for this class was generated from the following files: