Auto-generated base for CmdSplitter component.
More...
#include <Svc/CmdSplitter/CmdSplitterComponentAc.hpp>
|
| CmdSplitterComponentBase (const char *compName="") |
| Construct CmdSplitterComponentBase object.
|
|
virtual | ~CmdSplitterComponentBase () |
| Destroy CmdSplitterComponentBase object.
|
|
FwIndexType | getNum_CmdBuff_InputPorts () const |
|
FwIndexType | getNum_seqCmdStatus_InputPorts () const |
|
FwIndexType | getNum_LocalCmd_OutputPorts () const |
|
FwIndexType | getNum_RemoteCmd_OutputPorts () const |
|
FwIndexType | getNum_forwardSeqCmdStatus_OutputPorts () const |
|
bool | isConnected_LocalCmd_OutputPort (FwIndexType portNum) |
|
bool | isConnected_RemoteCmd_OutputPort (FwIndexType portNum) |
|
bool | isConnected_forwardSeqCmdStatus_OutputPort (FwIndexType portNum) |
|
virtual void | CmdBuff_handler (FwIndexType portNum, Fw::ComBuffer &data, U32 context)=0 |
| Handler for input port CmdBuff.
|
|
virtual void | seqCmdStatus_handler (FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)=0 |
| Handler for input port seqCmdStatus.
|
|
void | CmdBuff_handlerBase (FwIndexType portNum, Fw::ComBuffer &data, U32 context) |
| Handler base-class function for input port CmdBuff.
|
|
void | seqCmdStatus_handlerBase (FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) |
| Handler base-class function for input port seqCmdStatus.
|
|
void | LocalCmd_out (FwIndexType portNum, Fw::ComBuffer &data, U32 context) |
| Invoke output port LocalCmd.
|
|
void | RemoteCmd_out (FwIndexType portNum, Fw::ComBuffer &data, U32 context) |
| Invoke output port RemoteCmd.
|
|
void | forwardSeqCmdStatus_out (FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) |
| Invoke output port forwardSeqCmdStatus.
|
|
| 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 CmdSplitter component.
A component for splitting incoming commands to local or remote
Definition at line 23 of file CmdSplitterComponentAc.hpp.
◆ anonymous enum
Enumerations for numbers of typed input ports.
Enumerator |
---|
NUM_CMDBUFF_INPUT_PORTS | |
NUM_SEQCMDSTATUS_INPUT_PORTS | |
Definition at line 41 of file CmdSplitterComponentAc.hpp.
◆ anonymous enum
Enumerations for numbers of typed output ports.
Enumerator |
---|
NUM_LOCALCMD_OUTPUT_PORTS | |
NUM_REMOTECMD_OUTPUT_PORTS | |
NUM_FORWARDSEQCMDSTATUS_OUTPUT_PORTS | |
Definition at line 47 of file CmdSplitterComponentAc.hpp.
◆ CmdSplitterComponentBase()
Svc::CmdSplitterComponentBase::CmdSplitterComponentBase |
( |
const char * |
compName = "" | ) |
|
|
protected |
◆ ~CmdSplitterComponentBase()
Svc::CmdSplitterComponentBase::~CmdSplitterComponentBase |
( |
| ) |
|
|
protectedvirtual |
◆ CmdBuff_handler()
Handler for input port CmdBuff.
- Parameters
-
portNum | The port number |
data | Buffer containing packet data |
context | Call context value; meaning chosen by user |
◆ CmdBuff_handlerBase()
Handler base-class function for input port CmdBuff.
- Parameters
-
portNum | The port number |
data | Buffer containing packet data |
context | Call context value; meaning chosen by user |
Definition at line 352 of file CmdSplitterComponentAc.cpp.
◆ forwardSeqCmdStatus_out()
Invoke output port forwardSeqCmdStatus.
- Parameters
-
portNum | The port number |
opCode | Command Op Code |
cmdSeq | Command Sequence |
response | The command response argument |
Definition at line 434 of file CmdSplitterComponentAc.cpp.
◆ get_CmdBuff_InputPort()
◆ get_seqCmdStatus_InputPort()
◆ getNum_CmdBuff_InputPorts()
FwIndexType Svc::CmdSplitterComponentBase::getNum_CmdBuff_InputPorts |
( |
| ) |
const |
|
protected |
◆ getNum_forwardSeqCmdStatus_OutputPorts()
FwIndexType Svc::CmdSplitterComponentBase::getNum_forwardSeqCmdStatus_OutputPorts |
( |
| ) |
const |
|
protected |
Get the number of forwardSeqCmdStatus output ports
- Returns
- The number of forwardSeqCmdStatus output ports
Definition at line 303 of file CmdSplitterComponentAc.cpp.
◆ getNum_LocalCmd_OutputPorts()
FwIndexType Svc::CmdSplitterComponentBase::getNum_LocalCmd_OutputPorts |
( |
| ) |
const |
|
protected |
◆ getNum_RemoteCmd_OutputPorts()
FwIndexType Svc::CmdSplitterComponentBase::getNum_RemoteCmd_OutputPorts |
( |
| ) |
const |
|
protected |
◆ getNum_seqCmdStatus_InputPorts()
FwIndexType Svc::CmdSplitterComponentBase::getNum_seqCmdStatus_InputPorts |
( |
| ) |
const |
|
protected |
Get the number of seqCmdStatus input ports
- Returns
- The number of seqCmdStatus input ports
Definition at line 281 of file CmdSplitterComponentAc.cpp.
◆ init()
◆ isConnected_forwardSeqCmdStatus_OutputPort()
bool Svc::CmdSplitterComponentBase::isConnected_forwardSeqCmdStatus_OutputPort |
( |
FwIndexType |
portNum | ) |
|
|
protected |
Check whether port forwardSeqCmdStatus is connected
- Returns
- Whether port forwardSeqCmdStatus is connected
- Parameters
-
Definition at line 335 of file CmdSplitterComponentAc.cpp.
◆ isConnected_LocalCmd_OutputPort()
bool Svc::CmdSplitterComponentBase::isConnected_LocalCmd_OutputPort |
( |
FwIndexType |
portNum | ) |
|
|
protected |
Check whether port LocalCmd is connected
- Returns
- Whether port LocalCmd is connected
- Parameters
-
Definition at line 313 of file CmdSplitterComponentAc.cpp.
◆ isConnected_RemoteCmd_OutputPort()
bool Svc::CmdSplitterComponentBase::isConnected_RemoteCmd_OutputPort |
( |
FwIndexType |
portNum | ) |
|
|
protected |
Check whether port RemoteCmd is connected
- Returns
- Whether port RemoteCmd is connected
- Parameters
-
Definition at line 324 of file CmdSplitterComponentAc.cpp.
◆ LocalCmd_out()
Invoke output port LocalCmd.
- Parameters
-
portNum | The port number |
data | Buffer containing packet data |
context | Call context value; meaning chosen by user |
Definition at line 400 of file CmdSplitterComponentAc.cpp.
◆ RemoteCmd_out()
Invoke output port RemoteCmd.
- Parameters
-
portNum | The port number |
data | Buffer containing packet data |
context | Call context value; meaning chosen by user |
Definition at line 417 of file CmdSplitterComponentAc.cpp.
◆ seqCmdStatus_handler()
Handler for input port seqCmdStatus.
- Parameters
-
portNum | The port number |
opCode | Command Op Code |
cmdSeq | Command Sequence |
response | The command response argument |
◆ seqCmdStatus_handlerBase()
Handler base-class function for input port seqCmdStatus.
- Parameters
-
portNum | The port number |
opCode | Command Op Code |
cmdSeq | Command Sequence |
response | The command response argument |
Definition at line 373 of file CmdSplitterComponentAc.cpp.
◆ set_forwardSeqCmdStatus_OutputPort()
Connect port to forwardSeqCmdStatus[portNum].
- Parameters
-
portNum | The port number |
port | The input port |
Definition at line 190 of file CmdSplitterComponentAc.cpp.
◆ set_LocalCmd_OutputPort()
Connect port to LocalCmd[portNum].
- Parameters
-
portNum | The port number |
port | The input port |
Definition at line 162 of file CmdSplitterComponentAc.cpp.
◆ set_RemoteCmd_OutputPort()
Connect port to RemoteCmd[portNum].
- Parameters
-
portNum | The port number |
port | The input port |
Definition at line 176 of file CmdSplitterComponentAc.cpp.
◆ CmdSplitterComponentBaseFriend
friend class CmdSplitterComponentBaseFriend |
|
friend |
The documentation for this class was generated from the following files: