F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
Svc::CmdSplitter Class Reference

#include <Svc/CmdSplitter/CmdSplitter.hpp>

Inheritance diagram for Svc::CmdSplitter:
Svc::CmdSplitterComponentBase Fw::PassiveComponentBase Fw::ObjBase

Public Member Functions

 CmdSplitter (const char *const compName)
 
 ~CmdSplitter ()
 
void configure (const FwOpcodeType remoteBaseOpcode)
 
- Public Member Functions inherited from Svc::CmdSplitterComponentBase
void init (FwEnumStoreType instance=0)
 Initialize CmdSplitterComponentBase object. More...
 
Fw::InputComPortget_CmdBuff_InputPort (FwIndexType portNum)
 
Fw::InputCmdResponsePortget_seqCmdStatus_InputPort (FwIndexType portNum)
 
void set_LocalCmd_OutputPort (FwIndexType portNum, Fw::InputComPort *port)
 Connect port to LocalCmd[portNum]. More...
 
void set_RemoteCmd_OutputPort (FwIndexType portNum, Fw::InputComPort *port)
 Connect port to RemoteCmd[portNum]. More...
 
void set_forwardSeqCmdStatus_OutputPort (FwIndexType portNum, Fw::InputCmdResponsePort *port)
 Connect port to forwardSeqCmdStatus[portNum]. More...
 
- Public Member Functions inherited from Fw::PassiveComponentBase
void setIdBase (const U32)
 Set the ID base. More...
 
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. More...
 
virtual ~CmdSplitterComponentBase ()
 Destroy CmdSplitterComponentBase object. More...
 
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)
 
void CmdBuff_handlerBase (FwIndexType portNum, Fw::ComBuffer &data, U32 context)
 Handler base-class function for input port CmdBuff. More...
 
void seqCmdStatus_handlerBase (FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
 Handler base-class function for input port seqCmdStatus. More...
 
void LocalCmd_out (FwIndexType portNum, Fw::ComBuffer &data, U32 context)
 Invoke output port LocalCmd. More...
 
void RemoteCmd_out (FwIndexType portNum, Fw::ComBuffer &data, U32 context)
 Invoke output port RemoteCmd. More...
 
void forwardSeqCmdStatus_out (FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
 Invoke output port forwardSeqCmdStatus. More...
 
- Protected Member Functions inherited from Fw::PassiveComponentBase
 PassiveComponentBase (const char *name)
 Named constructor. More...
 
virtual ~PassiveComponentBase ()
 Destructor. More...
 
void init (NATIVE_INT_TYPE instance)
 Initialization function. More...
 
NATIVE_INT_TYPE getInstance () const
 
- Protected Member Functions inherited from Fw::ObjBase
 ObjBase (const char *name)
 ObjBase constructor. More...
 
virtual ~ObjBase ()
 Destructor. More...
 
void init ()
 Object initializer. More...
 

Detailed Description

Definition at line 15 of file CmdSplitter.hpp.

Constructor & Destructor Documentation

◆ CmdSplitter()

Svc::CmdSplitter::CmdSplitter ( const char *const  compName)

Construct object CmdSplitter

Parameters
compNameThe component name

Definition at line 19 of file CmdSplitter.cpp.

◆ ~CmdSplitter()

Svc::CmdSplitter::~CmdSplitter ( )

Destroy object CmdSplitter

Definition at line 21 of file CmdSplitter.cpp.

Member Function Documentation

◆ configure()

void Svc::CmdSplitter::configure ( const FwOpcodeType  remoteBaseOpcode)

Configure this splitter

Parameters
remoteBaseOpcodeBase remote opcode

Definition at line 23 of file CmdSplitter.cpp.


The documentation for this class was generated from the following files: