10 #if FW_ENABLE_TEXT_LOGGING
32 this->m_comIn_InputPort[port].
init();
37 this->m_comIn_InputPort[port].
setPortNum(port);
39 #if FW_OBJECT_NAMES == 1
43 this->m_objName.toChar(),
46 this->m_comIn_InputPort[port].setObjName(portName.
toChar());
56 this->m_comOut_OutputPort[port].
init();
58 #if FW_OBJECT_NAMES == 1
62 this->m_objName.toChar(),
65 this->m_comOut_OutputPort[port].setObjName(portName.
toChar());
82 return &this->m_comIn_InputPort[portNum];
100 this->m_comOut_OutputPort[portNum].
addCallPort(port);
103 #if FW_PORT_SERIALIZATION
112 Fw::InputSerializePort* port
120 this->m_comOut_OutputPort[portNum].registerSerialPort(port);
131 Fw::PassiveComponentBase(compName)
174 return this->m_comOut_OutputPort[portNum].
isConnected();
219 this->m_comOut_OutputPort[portNum].
invoke(
229 void ComSplitterComponentBase ::
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
#define PRI_PlatformIntType
PlatformAssertArgType FwAssertArgType
PlatformIndexType FwIndexType
void init()
Object initializer.
const char * toChar() const
void addCallPort(InputComPort *callPort)
Register an input port.
void init()
Initialization function.
void invoke(Fw::ComBuffer &data, U32 context)
Invoke a port interface.
void format(const CHAR *formatString,...)
write formatted string to buffer
Auto-generated base for ComSplitter component.
FwIndexType getNum_comIn_InputPorts() const
Fw::InputComPort * get_comIn_InputPort(FwIndexType portNum)
bool isConnected_comOut_OutputPort(FwIndexType portNum)
void set_comOut_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to comOut[portNum].
virtual ~ComSplitterComponentBase()
Destroy ComSplitterComponentBase object.
virtual void comIn_handler(FwIndexType portNum, Fw::ComBuffer &data, U32 context)=0
Handler for input port comIn.
ComSplitterComponentBase(const char *compName="")
Construct ComSplitterComponentBase object.
void comOut_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Invoke output port comOut.
FwIndexType getNum_comOut_OutputPorts() const
void comIn_handlerBase(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Handler base-class function for input port comIn.