7 #ifndef Svc_CmdSplitterComponentAc_HPP 8 #define Svc_CmdSplitterComponentAc_HPP 14 #if !FW_DIRECT_PORT_CALLS 17 #if !FW_DIRECT_PORT_CALLS 70 #if !FW_DIRECT_PORT_CALLS 94 #if !FW_DIRECT_PORT_CALLS 122 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 133 Fw::InputSerializePort* port
139 Fw::InputSerializePort* port
145 Fw::InputSerializePort* port
158 const char* compName =
"" 259 #if FW_DIRECT_PORT_CALLS 321 static void m_p_CmdBuff_in(
329 static void m_p_seqCmdStatus_in(
337 #if !FW_DIRECT_PORT_CALLS 353 #if !FW_DIRECT_PORT_CALLS FwIdType FwOpcodeType
The type of a command opcode.
Fw::InputCmdResponsePort * get_seqCmdStatus_InputPort(FwIndexType portNum)
CmdSplitterComponentBase(const char *compName="")
Construct CmdSplitterComponentBase object.
Enum representing a command response.
virtual ~CmdSplitterComponentBase()
Destroy CmdSplitterComponentBase object.
static constexpr FwIndexType getNum_RemoteCmd_OutputPorts()
static constexpr FwIndexType getNum_forwardSeqCmdStatus_OutputPorts()
virtual void CmdBuff_handler(FwIndexType portNum, Fw::ComBuffer &data, U32 context)=0
Handler for input port CmdBuff.
bool isConnected_forwardSeqCmdStatus_OutputPort(FwIndexType portNum) const
void forwardSeqCmdStatus_out(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke output port forwardSeqCmdStatus.
void init()
Object initializer.
void set_LocalCmd_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to LocalCmd[portNum].
void set_RemoteCmd_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to RemoteCmd[portNum].
Auto-generated base for CmdSplitter component.
friend class CmdSplitterTesterBase
Friend class tester to support autocoded test harness.
void CmdBuff_handlerBase(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Handler base-class function for input port CmdBuff.
static constexpr FwIndexType getNum_seqCmdStatus_InputPorts()
Fw::InputComPort * get_CmdBuff_InputPort(FwIndexType portNum)
bool isConnected_LocalCmd_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_CmdBuff_InputPorts()
void set_forwardSeqCmdStatus_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to forwardSeqCmdStatus[portNum].
void RemoteCmd_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context) const
Invoke output port RemoteCmd.
PlatformIndexType FwIndexType
void LocalCmd_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context) const
Invoke output port LocalCmd.
RateGroupDivider component implementation.
friend class CmdSplitterTester
Friend class tester implementation to support white-box testing.
bool isConnected_RemoteCmd_OutputPort(FwIndexType portNum) const
virtual void seqCmdStatus_handler(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)=0
Handler for input port seqCmdStatus.
void seqCmdStatus_handlerBase(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
Handler base-class function for input port seqCmdStatus.
static constexpr FwIndexType getNum_LocalCmd_OutputPorts()