Auto-generated base for Framer component.
More...
#include <Svc/Framer/FramerComponentAc.hpp>
|
| | FramerComponentBase (const char *compName="") |
| | Construct FramerComponentBase object.
|
| |
| virtual | ~FramerComponentBase () |
| | Destroy FramerComponentBase object.
|
| |
| FwIndexType | getNum_bufferIn_InputPorts () const |
| |
| FwIndexType | getNum_comIn_InputPorts () const |
| |
| FwIndexType | getNum_comStatusIn_InputPorts () const |
| |
| FwIndexType | getNum_bufferDeallocate_OutputPorts () const |
| |
| FwIndexType | getNum_comStatusOut_OutputPorts () const |
| |
| FwIndexType | getNum_framedAllocate_OutputPorts () const |
| |
| FwIndexType | getNum_framedOut_OutputPorts () const |
| |
| bool | isConnected_bufferDeallocate_OutputPort (FwIndexType portNum) |
| |
| bool | isConnected_comStatusOut_OutputPort (FwIndexType portNum) |
| |
| bool | isConnected_framedAllocate_OutputPort (FwIndexType portNum) |
| |
| bool | isConnected_framedOut_OutputPort (FwIndexType portNum) |
| |
| virtual void | bufferIn_handler (FwIndexType portNum, Fw::Buffer &fwBuffer)=0 |
| | Handler for input port bufferIn.
|
| |
| virtual void | comIn_handler (FwIndexType portNum, Fw::ComBuffer &data, U32 context)=0 |
| | Handler for input port comIn.
|
| |
| virtual void | comStatusIn_handler (FwIndexType portNum, Fw::Success &condition)=0 |
| | Handler for input port comStatusIn.
|
| |
| void | bufferIn_handlerBase (FwIndexType portNum, Fw::Buffer &fwBuffer) |
| | Handler base-class function for input port bufferIn.
|
| |
| void | comIn_handlerBase (FwIndexType portNum, Fw::ComBuffer &data, U32 context) |
| | Handler base-class function for input port comIn.
|
| |
| void | comStatusIn_handlerBase (FwIndexType portNum, Fw::Success &condition) |
| | Handler base-class function for input port comStatusIn.
|
| |
| void | bufferDeallocate_out (FwIndexType portNum, Fw::Buffer &fwBuffer) |
| | Invoke output port bufferDeallocate.
|
| |
| void | comStatusOut_out (FwIndexType portNum, Fw::Success &condition) |
| | Invoke output port comStatusOut.
|
| |
| Fw::Buffer | framedAllocate_out (FwIndexType portNum, U32 size) |
| | Invoke output port framedAllocate.
|
| |
| Drv::SendStatus | framedOut_out (FwIndexType portNum, Fw::Buffer &sendBuffer) |
| | Invoke output port framedOut.
|
| |
| virtual void | lock () |
| | Lock the guarded mutex.
|
| |
| virtual void | unLock () |
| | Unlock the guarded mutex.
|
| |
| | PassiveComponentBase (const char *name) |
| | Named constructor.
|
| |
| virtual | ~PassiveComponentBase () |
| | Destructor.
|
| |
| void | init (NATIVE_INT_TYPE instance) |
| | Initialization function.
|
| |
| NATIVE_INT_TYPE | getInstance () const |
| |
| | ObjBase (const char *name) |
| | ObjBase constructor.
|
| |
| virtual | ~ObjBase () |
| | Destructor.
|
| |
| void | init () |
| | Object initializer.
|
| |
Auto-generated base for Framer component.
A component for framing input for transmission to the ground
Definition at line 27 of file FramerComponentAc.hpp.
◆ anonymous enum
Enumerations for numbers of typed input ports.
| Enumerator |
|---|
| NUM_BUFFERIN_INPUT_PORTS | |
| NUM_COMIN_INPUT_PORTS | |
| NUM_COMSTATUSIN_INPUT_PORTS | |
Definition at line 45 of file FramerComponentAc.hpp.
◆ anonymous enum
Enumerations for numbers of typed output ports.
| Enumerator |
|---|
| NUM_BUFFERDEALLOCATE_OUTPUT_PORTS | |
| NUM_COMSTATUSOUT_OUTPUT_PORTS | |
| NUM_FRAMEDALLOCATE_OUTPUT_PORTS | |
| NUM_FRAMEDOUT_OUTPUT_PORTS | |
Definition at line 52 of file FramerComponentAc.hpp.
◆ FramerComponentBase()
| Svc::FramerComponentBase::FramerComponentBase |
( |
const char * |
compName = "" | ) |
|
|
protected |
◆ ~FramerComponentBase()
| Svc::FramerComponentBase::~FramerComponentBase |
( |
| ) |
|
|
protectedvirtual |
◆ bufferDeallocate_out()
Invoke output port bufferDeallocate.
- Parameters
-
| portNum | The port number |
| fwBuffer | The buffer |
Definition at line 504 of file FramerComponentAc.cpp.
◆ bufferIn_handler()
Handler for input port bufferIn.
- Parameters
-
| portNum | The port number |
| fwBuffer | The buffer |
◆ bufferIn_handlerBase()
Handler base-class function for input port bufferIn.
- Parameters
-
| portNum | The port number |
| fwBuffer | The buffer |
Definition at line 429 of file FramerComponentAc.cpp.
◆ comIn_handler()
Handler for input port comIn.
- Parameters
-
| portNum | The port number |
| data | Buffer containing packet data |
| context | Call context value; meaning chosen by user |
◆ comIn_handlerBase()
Handler base-class function for input port comIn.
- Parameters
-
| portNum | The port number |
| data | Buffer containing packet data |
| context | Call context value; meaning chosen by user |
Definition at line 454 of file FramerComponentAc.cpp.
◆ comStatusIn_handler()
Handler for input port comStatusIn.
- Parameters
-
| portNum | The port number |
| condition | Condition success/failure |
◆ comStatusIn_handlerBase()
Handler base-class function for input port comStatusIn.
- Parameters
-
| portNum | The port number |
| condition | Condition success/failure |
Definition at line 481 of file FramerComponentAc.cpp.
◆ comStatusOut_out()
Invoke output port comStatusOut.
- Parameters
-
| portNum | The port number |
| condition | Condition success/failure |
Definition at line 519 of file FramerComponentAc.cpp.
◆ framedAllocate_out()
Invoke output port framedAllocate.
- Parameters
-
| portNum | The port number |
| size | The requested size |
Definition at line 534 of file FramerComponentAc.cpp.
◆ framedOut_out()
Invoke output port framedOut.
- Parameters
-
| portNum | The port number |
| sendBuffer | Data to send |
Definition at line 549 of file FramerComponentAc.cpp.
◆ get_bufferIn_InputPort()
◆ get_comIn_InputPort()
◆ get_comStatusIn_InputPort()
Get typed input port at index
- Returns
- comStatusIn[portNum]
- Parameters
-
Definition at line 201 of file FramerComponentAc.cpp.
◆ getNum_bufferDeallocate_OutputPorts()
| FwIndexType Svc::FramerComponentBase::getNum_bufferDeallocate_OutputPorts |
( |
| ) |
const |
|
protected |
Get the number of bufferDeallocate output ports
- Returns
- The number of bufferDeallocate output ports
Definition at line 351 of file FramerComponentAc.cpp.
◆ getNum_bufferIn_InputPorts()
| FwIndexType Svc::FramerComponentBase::getNum_bufferIn_InputPorts |
( |
| ) |
const |
|
protected |
Get the number of bufferIn input ports
- Returns
- The number of bufferIn input ports
Definition at line 329 of file FramerComponentAc.cpp.
◆ getNum_comIn_InputPorts()
| FwIndexType Svc::FramerComponentBase::getNum_comIn_InputPorts |
( |
| ) |
const |
|
protected |
Get the number of comIn input ports
- Returns
- The number of comIn input ports
Definition at line 335 of file FramerComponentAc.cpp.
◆ getNum_comStatusIn_InputPorts()
| FwIndexType Svc::FramerComponentBase::getNum_comStatusIn_InputPorts |
( |
| ) |
const |
|
protected |
Get the number of comStatusIn input ports
- Returns
- The number of comStatusIn input ports
Definition at line 341 of file FramerComponentAc.cpp.
◆ getNum_comStatusOut_OutputPorts()
| FwIndexType Svc::FramerComponentBase::getNum_comStatusOut_OutputPorts |
( |
| ) |
const |
|
protected |
Get the number of comStatusOut output ports
- Returns
- The number of comStatusOut output ports
Definition at line 357 of file FramerComponentAc.cpp.
◆ getNum_framedAllocate_OutputPorts()
| FwIndexType Svc::FramerComponentBase::getNum_framedAllocate_OutputPorts |
( |
| ) |
const |
|
protected |
Get the number of framedAllocate output ports
- Returns
- The number of framedAllocate output ports
Definition at line 363 of file FramerComponentAc.cpp.
◆ getNum_framedOut_OutputPorts()
| FwIndexType Svc::FramerComponentBase::getNum_framedOut_OutputPorts |
( |
| ) |
const |
|
protected |
Get the number of framedOut output ports
- Returns
- The number of framedOut output ports
Definition at line 369 of file FramerComponentAc.cpp.
◆ init()
◆ isConnected_bufferDeallocate_OutputPort()
| bool Svc::FramerComponentBase::isConnected_bufferDeallocate_OutputPort |
( |
FwIndexType |
portNum | ) |
|
|
protected |
Check whether port bufferDeallocate is connected
- Returns
- Whether port bufferDeallocate is connected
- Parameters
-
Definition at line 379 of file FramerComponentAc.cpp.
◆ isConnected_comStatusOut_OutputPort()
| bool Svc::FramerComponentBase::isConnected_comStatusOut_OutputPort |
( |
FwIndexType |
portNum | ) |
|
|
protected |
Check whether port comStatusOut is connected
- Returns
- Whether port comStatusOut is connected
- Parameters
-
Definition at line 390 of file FramerComponentAc.cpp.
◆ isConnected_framedAllocate_OutputPort()
| bool Svc::FramerComponentBase::isConnected_framedAllocate_OutputPort |
( |
FwIndexType |
portNum | ) |
|
|
protected |
Check whether port framedAllocate is connected
- Returns
- Whether port framedAllocate is connected
- Parameters
-
Definition at line 401 of file FramerComponentAc.cpp.
◆ isConnected_framedOut_OutputPort()
| bool Svc::FramerComponentBase::isConnected_framedOut_OutputPort |
( |
FwIndexType |
portNum | ) |
|
|
protected |
Check whether port framedOut is connected
- Returns
- Whether port framedOut is connected
- Parameters
-
Definition at line 412 of file FramerComponentAc.cpp.
◆ lock()
| void Svc::FramerComponentBase::lock |
( |
| ) |
|
|
protectedvirtual |
◆ set_bufferDeallocate_OutputPort()
Connect port to bufferDeallocate[portNum].
- Parameters
-
| portNum | The port number |
| port | The input port |
Definition at line 216 of file FramerComponentAc.cpp.
◆ set_comStatusOut_OutputPort()
Connect port to comStatusOut[portNum].
- Parameters
-
| portNum | The port number |
| port | The input port |
Definition at line 230 of file FramerComponentAc.cpp.
◆ set_framedAllocate_OutputPort()
Connect port to framedAllocate[portNum].
- Parameters
-
| portNum | The port number |
| port | The input port |
Definition at line 244 of file FramerComponentAc.cpp.
◆ set_framedOut_OutputPort()
Connect port to framedOut[portNum].
- Parameters
-
| portNum | The port number |
| port | The input port |
Definition at line 258 of file FramerComponentAc.cpp.
◆ unLock()
| void Svc::FramerComponentBase::unLock |
( |
| ) |
|
|
protectedvirtual |
◆ FramerComponentBaseFriend
| friend class FramerComponentBaseFriend |
|
friend |
The documentation for this class was generated from the following files: