Auto-generated base for Udp component.
More...
#include <Drv/Udp/UdpComponentAc.hpp>
|
| UdpComponentBase (const char *compName="") |
| Construct UdpComponentBase object. More...
|
|
virtual | ~UdpComponentBase () |
| Destroy UdpComponentBase 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 Udp component.
Definition at line 24 of file UdpComponentAc.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 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 | |
NUM_SENDRETURNOUT_OUTPUT_PORTS | |
Definition at line 50 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 521 of file UdpComponentAc.cpp.
◆ deallocate_out()
Invoke output port deallocate.
- Parameters
-
portNum | The port number |
fwBuffer | The buffer |
Definition at line 541 of file UdpComponentAc.cpp.
◆ get_recvReturnIn_InputPort()
Get typed input port at index
- Returns
- recvReturnIn[portNum]
- Parameters
-
Definition at line 175 of file UdpComponentAc.cpp.
◆ get_send_InputPort()
Get typed input port at index
- Returns
- send[portNum]
- Parameters
-
Definition at line 186 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 372 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 378 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 384 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 390 of file UdpComponentAc.cpp.
◆ getNum_recvReturnIn_InputPorts()
FwIndexType Drv::UdpComponentBase::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 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 362 of file UdpComponentAc.cpp.
◆ getNum_sendReturnOut_OutputPorts()
FwIndexType Drv::UdpComponentBase::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 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 406 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 417 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 428 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 439 of file UdpComponentAc.cpp.
◆ isConnected_sendReturnOut_OutputPort()
bool Drv::UdpComponentBase::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 UdpComponentAc.cpp.
◆ lock()
void Drv::UdpComponentBase::lock |
( |
| ) |
|
|
protectedvirtual |
◆ ready_out()
void Drv::UdpComponentBase::ready_out |
( |
FwIndexType |
portNum | ) |
|
|
protected |
◆ recv_out()
◆ recvReturnIn_handler()
Handler for input port recvReturnIn.
- Parameters
-
portNum | The port number |
fwBuffer | The buffer |
◆ recvReturnIn_handlerBase()
Handler base-class function for input port recvReturnIn.
- Parameters
-
portNum | The port number |
fwBuffer | The buffer |
Definition at line 467 of file UdpComponentAc.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 UdpComponentAc.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 UdpComponentAc.cpp.
◆ set_deallocate_OutputPort()
Connect port to deallocate[portNum].
- Parameters
-
portNum | The port number |
port | The input port |
Definition at line 215 of file UdpComponentAc.cpp.
◆ set_ready_OutputPort()
Connect port to ready[portNum].
- Parameters
-
portNum | The port number |
port | The input port |
Definition at line 229 of file UdpComponentAc.cpp.
◆ set_recv_OutputPort()
Connect port to recv[portNum].
- Parameters
-
portNum | The port number |
port | The input port |
Definition at line 243 of file UdpComponentAc.cpp.
◆ set_sendReturnOut_OutputPort()
Connect port to sendReturnOut[portNum].
- Parameters
-
portNum | The port number |
port | The input port |
Definition at line 257 of file UdpComponentAc.cpp.
◆ unLock()
void Drv::UdpComponentBase::unLock |
( |
| ) |
|
|
protectedvirtual |
◆ UdpTester
Friend class tester implementation to support white-box testing.
Definition at line 35 of file UdpComponentAc.hpp.
◆ UdpTesterBase
friend class UdpTesterBase |
|
friend |
Friend class tester to support autocoded test harness.
Definition at line 33 of file UdpComponentAc.hpp.
The documentation for this class was generated from the following files: