![]() |
F´ Flight Software - C/C++ Documentation devel
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Svc/CmdSplitter/CmdSplitter.hpp>
Public Member Functions | |
| CmdSplitter (const char *const compName) | |
| ~CmdSplitter () | |
| void | configure (const FwOpcodeType remoteBaseOpcode) |
Public Member Functions inherited from Svc::CmdSplitterComponentBase | |
| void | init (NATIVE_INT_TYPE instance=0) |
| Initialize CmdSplitterComponentBase object. | |
| Fw::InputComPort * | get_CmdBuff_InputPort (NATIVE_INT_TYPE portNum) |
| Fw::InputCmdResponsePort * | get_seqCmdStatus_InputPort (NATIVE_INT_TYPE portNum) |
| void | set_LocalCmd_OutputPort (NATIVE_INT_TYPE portNum, Fw::InputComPort *port) |
| Connect port to LocalCmd[portNum]. | |
| void | set_RemoteCmd_OutputPort (NATIVE_INT_TYPE portNum, Fw::InputComPort *port) |
| Connect port to RemoteCmd[portNum]. | |
| void | set_forwardSeqCmdStatus_OutputPort (NATIVE_INT_TYPE portNum, Fw::InputCmdResponsePort *port) |
| Connect port to forwardSeqCmdStatus[portNum]. | |
Public Member Functions inherited from Fw::PassiveComponentBase | |
| void | setIdBase (const U32) |
| Set the ID base. | |
| U32 | getIdBase () const |
Additional Inherited Members | |
Protected Types inherited from Svc::CmdSplitterComponentBase | |
| enum | { NUM_CMDBUFF_INPUT_PORTS = 5 , NUM_SEQCMDSTATUS_INPUT_PORTS = 5 } |
| Enumerations for numbers of typed input ports. More... | |
| enum | { NUM_LOCALCMD_OUTPUT_PORTS = 5 , NUM_REMOTECMD_OUTPUT_PORTS = 5 , NUM_FORWARDSEQCMDSTATUS_OUTPUT_PORTS = 5 } |
| Enumerations for numbers of typed output ports. More... | |
Protected Member Functions inherited from Svc::CmdSplitterComponentBase | |
| CmdSplitterComponentBase (const char *compName="") | |
| Construct CmdSplitterComponentBase object. | |
| virtual | ~CmdSplitterComponentBase () |
| Destroy CmdSplitterComponentBase object. | |
| NATIVE_INT_TYPE | getNum_CmdBuff_InputPorts () const |
| NATIVE_INT_TYPE | getNum_seqCmdStatus_InputPorts () const |
| NATIVE_INT_TYPE | getNum_LocalCmd_OutputPorts () const |
| NATIVE_INT_TYPE | getNum_RemoteCmd_OutputPorts () const |
| NATIVE_INT_TYPE | getNum_forwardSeqCmdStatus_OutputPorts () const |
| bool | isConnected_LocalCmd_OutputPort (NATIVE_INT_TYPE portNum) |
| bool | isConnected_RemoteCmd_OutputPort (NATIVE_INT_TYPE portNum) |
| bool | isConnected_forwardSeqCmdStatus_OutputPort (NATIVE_INT_TYPE portNum) |
| void | CmdBuff_handlerBase (NATIVE_INT_TYPE portNum, Fw::ComBuffer &data, U32 context) |
| Handler base-class function for input port CmdBuff. | |
| void | seqCmdStatus_handlerBase (NATIVE_INT_TYPE portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) |
| Handler base-class function for input port seqCmdStatus. | |
| void | LocalCmd_out (NATIVE_INT_TYPE portNum, Fw::ComBuffer &data, U32 context) |
| Invoke output port LocalCmd. | |
| void | RemoteCmd_out (NATIVE_INT_TYPE portNum, Fw::ComBuffer &data, U32 context) |
| Invoke output port RemoteCmd. | |
| void | forwardSeqCmdStatus_out (NATIVE_INT_TYPE portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) |
| Invoke output port forwardSeqCmdStatus. | |
Protected Member Functions inherited from Fw::PassiveComponentBase | |
| PassiveComponentBase (const char *name) | |
| Named constructor. | |
| virtual | ~PassiveComponentBase () |
| Destructor. | |
| void | init (NATIVE_INT_TYPE instance) |
| Initialization function. | |
| NATIVE_INT_TYPE | getInstance () const |
Protected Member Functions inherited from Fw::ObjBase | |
| ObjBase (const char *name) | |
| ObjBase constructor. | |
| virtual | ~ObjBase () |
| Destructor. | |
| void | init () |
| Object initializer. | |
Definition at line 15 of file CmdSplitter.hpp.
| Svc::CmdSplitter::CmdSplitter | ( | const char *const | compName | ) |
Construct object CmdSplitter
| compName | The component name |
Definition at line 19 of file CmdSplitter.cpp.
| Svc::CmdSplitter::~CmdSplitter | ( | ) |
Destroy object CmdSplitter
Definition at line 21 of file CmdSplitter.cpp.
| void Svc::CmdSplitter::configure | ( | const FwOpcodeType | remoteBaseOpcode | ) |
Configure this splitter
| remoteBaseOpcode | Base remote opcode |
Definition at line 23 of file CmdSplitter.cpp.