9 #if FW_ENABLE_TEXT_LOGGING 32 this->m_comStatusIn_InputPort[port].
init();
37 this->m_comStatusIn_InputPort[port].
setPortNum(port);
39 #if FW_OBJECT_NAMES == 1 43 this->m_objName.toChar(),
46 this->m_comStatusIn_InputPort[port].setObjName(portName.
toChar());
56 this->m_dataIn_InputPort[port].
init();
61 this->m_dataIn_InputPort[port].
setPortNum(port);
63 #if FW_OBJECT_NAMES == 1 67 this->m_objName.toChar(),
70 this->m_dataIn_InputPort[port].setObjName(portName.
toChar());
80 this->m_dataReturnIn_InputPort[port].
init();
85 this->m_dataReturnIn_InputPort[port].
setPortNum(port);
87 #if FW_OBJECT_NAMES == 1 91 this->m_objName.toChar(),
94 this->m_dataReturnIn_InputPort[port].setObjName(portName.
toChar());
104 this->m_comStatusOut_OutputPort[port].
init();
106 #if FW_OBJECT_NAMES == 1 110 this->m_objName.toChar(),
113 this->m_comStatusOut_OutputPort[port].setObjName(portName.
toChar());
123 this->m_dataOut_OutputPort[port].
init();
125 #if FW_OBJECT_NAMES == 1 129 this->m_objName.toChar(),
132 this->m_dataOut_OutputPort[port].setObjName(portName.
toChar());
142 this->m_dataReturnOut_OutputPort[port].
init();
144 #if FW_OBJECT_NAMES == 1 148 this->m_objName.toChar(),
151 this->m_dataReturnOut_OutputPort[port].setObjName(portName.
toChar());
165 static_cast<FwAssertArgType>(portNum)
168 return &this->m_comStatusIn_InputPort[portNum];
176 static_cast<FwAssertArgType>(portNum)
179 return &this->m_dataIn_InputPort[portNum];
187 static_cast<FwAssertArgType>(portNum)
190 return &this->m_dataReturnIn_InputPort[portNum];
205 static_cast<FwAssertArgType>(portNum)
208 this->m_comStatusOut_OutputPort[portNum].
addCallPort(port);
219 static_cast<FwAssertArgType>(portNum)
222 this->m_dataOut_OutputPort[portNum].
addCallPort(port);
233 static_cast<FwAssertArgType>(portNum)
236 this->m_dataReturnOut_OutputPort[portNum].
addCallPort(port);
239 #if FW_PORT_SERIALIZATION 248 Fw::InputSerializePort* port
253 static_cast<FwAssertArgType>(portNum)
256 this->m_comStatusOut_OutputPort[portNum].registerSerialPort(port);
262 Fw::InputSerializePort* port
267 static_cast<FwAssertArgType>(portNum)
270 this->m_dataOut_OutputPort[portNum].registerSerialPort(port);
276 Fw::InputSerializePort* port
281 static_cast<FwAssertArgType>(portNum)
284 this->m_dataReturnOut_OutputPort[portNum].registerSerialPort(port);
295 Fw::PassiveComponentBase(compName)
315 static_cast<FwAssertArgType>(portNum)
318 return this->m_comStatusOut_OutputPort[portNum].
isConnected();
326 static_cast<FwAssertArgType>(portNum)
329 return this->m_dataOut_OutputPort[portNum].
isConnected();
337 static_cast<FwAssertArgType>(portNum)
340 return this->m_dataReturnOut_OutputPort[portNum].
isConnected();
358 static_cast<FwAssertArgType>(portNum)
378 static_cast<FwAssertArgType>(portNum)
399 static_cast<FwAssertArgType>(portNum)
422 static_cast<FwAssertArgType>(portNum)
426 this->m_comStatusOut_OutputPort[portNum].isConnected(),
427 static_cast<FwAssertArgType>(portNum)
429 this->m_comStatusOut_OutputPort[portNum].
invoke(
443 static_cast<FwAssertArgType>(portNum)
447 this->m_dataOut_OutputPort[portNum].isConnected(),
448 static_cast<FwAssertArgType>(portNum)
450 this->m_dataOut_OutputPort[portNum].
invoke(
465 static_cast<FwAssertArgType>(portNum)
469 this->m_dataReturnOut_OutputPort[portNum].isConnected(),
470 static_cast<FwAssertArgType>(portNum)
472 this->m_dataReturnOut_OutputPort[portNum].
invoke(
482 void ComRetryComponentBase ::
497 void ComRetryComponentBase ::
507 compPtr->dataIn_handlerBase(
514 void ComRetryComponentBase ::
524 compPtr->dataReturnIn_handlerBase(
bool isConnected_comStatusOut_OutputPort(FwIndexType portNum)
Auto-generated base for ComRetry component.
virtual void dataReturnIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataReturnIn.
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum)
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataReturnOut.
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataOut.
void set_dataReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataReturnOut[portNum].
static constexpr FwIndexType getNum_comStatusIn_InputPorts()
void addCallPort(InputSuccessConditionPort *callPort)
Register an input port.
void addCallPort(InputComDataWithContextPort *callPort)
Register an input port.
static constexpr FwIndexType getNum_dataIn_InputPorts()
void init()
Object initializer.
static constexpr FwIndexType getNum_dataOut_OutputPorts()
void addCallComp(Fw::PassiveComponentBase *callComp, CompFuncPtr funcPtr)
Register a component.
void set_dataOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataOut[portNum].
void set_comStatusOut_OutputPort(FwIndexType portNum, Fw::InputSuccessConditionPort *port)
Connect port to comStatusOut[portNum].
static constexpr FwIndexType getNum_dataReturnIn_InputPorts()
virtual ~ComRetryComponentBase()
Destroy ComRetryComponentBase object.
const char * toChar() const
Convert to a C-style char*.
void invoke(Fw::Success &condition) const
Invoke a port interface.
void invoke(Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke a port interface.
void init()
Initialization function.
static constexpr FwIndexType getNum_comStatusOut_OutputPorts()
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataIn.
void init()
Initialization function.
bool isConnected_dataOut_OutputPort(FwIndexType portNum)
Fw::InputSuccessConditionPort * get_comStatusIn_InputPort(FwIndexType portNum)
void comStatusIn_handlerBase(FwIndexType portNum, Fw::Success &condition)
Handler base-class function for input port comStatusIn.
PlatformIndexType FwIndexType
Type used to pass context info between components during framing/deframing.
RateGroupDivider component implementation.
ComRetryComponentBase(const char *compName="")
Construct ComRetryComponentBase object.
Svc::InputComDataWithContextPort * get_dataReturnIn_InputPort(FwIndexType portNum)
Implementation of malloc based allocator.
void comStatusOut_out(FwIndexType portNum, Fw::Success &condition)
Invoke output port comStatusOut.
static constexpr FwIndexType getNum_dataReturnOut_OutputPorts()
void init()
Initialization function.
void dataIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataIn.
virtual void comStatusIn_handler(FwIndexType portNum, Fw::Success &condition)=0
Handler for input port comStatusIn.
Svc::InputComDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
void dataReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataReturnIn.