10 #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_timeCaller_OutputPort[port].
init();
106 #if FW_OBJECT_NAMES == 1 110 this->m_objName.toChar(),
113 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
123 this->m_bufferAllocate_OutputPort[port].
init();
125 #if FW_OBJECT_NAMES == 1 129 this->m_objName.toChar(),
132 this->m_bufferAllocate_OutputPort[port].setObjName(portName.
toChar());
142 this->m_bufferDeallocate_OutputPort[port].
init();
144 #if FW_OBJECT_NAMES == 1 148 this->m_objName.toChar(),
151 this->m_bufferDeallocate_OutputPort[port].setObjName(portName.
toChar());
161 this->m_comStatusOut_OutputPort[port].
init();
163 #if FW_OBJECT_NAMES == 1 167 this->m_objName.toChar(),
170 this->m_comStatusOut_OutputPort[port].setObjName(portName.
toChar());
180 this->m_dataOut_OutputPort[port].
init();
182 #if FW_OBJECT_NAMES == 1 186 this->m_objName.toChar(),
189 this->m_dataOut_OutputPort[port].setObjName(portName.
toChar());
199 this->m_dataReturnOut_OutputPort[port].
init();
201 #if FW_OBJECT_NAMES == 1 205 this->m_objName.toChar(),
208 this->m_dataReturnOut_OutputPort[port].setObjName(portName.
toChar());
222 static_cast<FwAssertArgType>(portNum)
225 return &this->m_comStatusIn_InputPort[portNum];
233 static_cast<FwAssertArgType>(portNum)
236 return &this->m_dataIn_InputPort[portNum];
244 static_cast<FwAssertArgType>(portNum)
247 return &this->m_dataReturnIn_InputPort[portNum];
262 static_cast<FwAssertArgType>(portNum)
265 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
280 static_cast<FwAssertArgType>(portNum)
283 this->m_bufferAllocate_OutputPort[portNum].
addCallPort(port);
294 static_cast<FwAssertArgType>(portNum)
297 this->m_bufferDeallocate_OutputPort[portNum].
addCallPort(port);
308 static_cast<FwAssertArgType>(portNum)
311 this->m_comStatusOut_OutputPort[portNum].
addCallPort(port);
322 static_cast<FwAssertArgType>(portNum)
325 this->m_dataOut_OutputPort[portNum].
addCallPort(port);
336 static_cast<FwAssertArgType>(portNum)
339 this->m_dataReturnOut_OutputPort[portNum].
addCallPort(port);
342 #if FW_PORT_SERIALIZATION 351 Fw::InputSerializePort* port
356 static_cast<FwAssertArgType>(portNum)
359 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
364 #if FW_PORT_SERIALIZATION 373 Fw::InputSerializePort* port
378 static_cast<FwAssertArgType>(portNum)
381 this->m_bufferDeallocate_OutputPort[portNum].registerSerialPort(port);
387 Fw::InputSerializePort* port
392 static_cast<FwAssertArgType>(portNum)
395 this->m_comStatusOut_OutputPort[portNum].registerSerialPort(port);
401 Fw::InputSerializePort* port
406 static_cast<FwAssertArgType>(portNum)
409 this->m_dataOut_OutputPort[portNum].registerSerialPort(port);
415 Fw::InputSerializePort* port
420 static_cast<FwAssertArgType>(portNum)
423 this->m_dataReturnOut_OutputPort[portNum].registerSerialPort(port);
434 Fw::PassiveComponentBase(compName)
520 static_cast<FwAssertArgType>(portNum)
523 return this->m_timeCaller_OutputPort[portNum].
isConnected();
535 static_cast<FwAssertArgType>(portNum)
538 return this->m_bufferAllocate_OutputPort[portNum].
isConnected();
546 static_cast<FwAssertArgType>(portNum)
549 return this->m_bufferDeallocate_OutputPort[portNum].
isConnected();
557 static_cast<FwAssertArgType>(portNum)
560 return this->m_comStatusOut_OutputPort[portNum].
isConnected();
568 static_cast<FwAssertArgType>(portNum)
571 return this->m_dataOut_OutputPort[portNum].
isConnected();
579 static_cast<FwAssertArgType>(portNum)
582 return this->m_dataReturnOut_OutputPort[portNum].
isConnected();
600 static_cast<FwAssertArgType>(portNum)
620 static_cast<FwAssertArgType>(portNum)
641 static_cast<FwAssertArgType>(portNum)
664 static_cast<FwAssertArgType>(portNum)
668 this->m_bufferAllocate_OutputPort[portNum].isConnected(),
669 static_cast<FwAssertArgType>(portNum)
671 return this->m_bufferAllocate_OutputPort[portNum].
invoke(
684 static_cast<FwAssertArgType>(portNum)
688 this->m_bufferDeallocate_OutputPort[portNum].isConnected(),
689 static_cast<FwAssertArgType>(portNum)
691 this->m_bufferDeallocate_OutputPort[portNum].
invoke(
704 static_cast<FwAssertArgType>(portNum)
708 this->m_comStatusOut_OutputPort[portNum].isConnected(),
709 static_cast<FwAssertArgType>(portNum)
711 this->m_comStatusOut_OutputPort[portNum].
invoke(
725 static_cast<FwAssertArgType>(portNum)
729 this->m_dataOut_OutputPort[portNum].isConnected(),
730 static_cast<FwAssertArgType>(portNum)
732 this->m_dataOut_OutputPort[portNum].
invoke(
747 static_cast<FwAssertArgType>(portNum)
751 this->m_dataReturnOut_OutputPort[portNum].isConnected(),
752 static_cast<FwAssertArgType>(portNum)
754 this->m_dataReturnOut_OutputPort[portNum].
invoke(
767 if (this->m_timeCaller_OutputPort[0].isConnected()) {
769 this->m_timeCaller_OutputPort[0].
invoke(_time);
781 void FprimeFramerComponentBase ::
796 void FprimeFramerComponentBase ::
806 compPtr->dataIn_handlerBase(
813 void FprimeFramerComponentBase ::
823 compPtr->dataReturnIn_handlerBase(
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
void addCallPort(InputTimePort *callPort)
Register an input port.
FwIndexType getNum_comStatusOut_OutputPorts() const
virtual void comStatusIn_handler(FwIndexType portNum, Fw::Success &condition)=0
Handler for input port comStatusIn.
FwIndexType getNum_dataIn_InputPorts() const
Auto-generated base for FprimeFramer component.
void set_comStatusOut_OutputPort(FwIndexType portNum, Fw::InputSuccessConditionPort *port)
Connect port to comStatusOut[portNum].
Fw::Buffer invoke(U32 size) const
Invoke a port interface.
void comStatusIn_handlerBase(FwIndexType portNum, Fw::Success &condition)
Handler base-class function for input port comStatusIn.
void dataIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataIn.
bool isConnected_dataOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_dataReturnOut_OutputPorts() const
void addCallPort(InputSuccessConditionPort *callPort)
Register an input port.
Svc::InputComDataWithContextPort * get_dataReturnIn_InputPort(FwIndexType portNum)
Fw::InputSuccessConditionPort * get_comStatusIn_InputPort(FwIndexType portNum)
Svc::InputComDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
void addCallPort(InputComDataWithContextPort *callPort)
Register an input port.
void init()
Object initializer.
void addCallPort(InputBufferGetPort *callPort)
Register an input port.
void set_dataOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataOut[portNum].
void init()
Initialization function.
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataOut.
void addCallComp(Fw::PassiveComponentBase *callComp, CompFuncPtr funcPtr)
Register a component.
void set_bufferDeallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to bufferDeallocate[portNum].
FwIndexType getNum_dataReturnIn_InputPorts() const
void invoke(Fw::Buffer &fwBuffer) const
Invoke a port interface.
virtual ~FprimeFramerComponentBase()
Destroy FprimeFramerComponentBase object.
FwIndexType getNum_comStatusIn_InputPorts() const
void addCallPort(InputBufferSendPort *callPort)
Register an input port.
void invoke(Fw::Time &time) const
Invoke a port interface.
void set_bufferAllocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to bufferAllocate[portNum].
const char * toChar() const
No time base has been established.
void invoke(Fw::Success &condition) const
Invoke a port interface.
bool isConnected_bufferDeallocate_OutputPort(FwIndexType portNum)
void invoke(Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke a port interface.
bool isConnected_comStatusOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_dataOut_OutputPorts() const
virtual void dataReturnIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataReturnIn.
void init()
Initialization function.
FwIndexType getNum_bufferAllocate_OutputPorts() const
void dataReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataReturnIn.
FwIndexType getNum_bufferDeallocate_OutputPorts() const
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
void set_dataReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataReturnOut[portNum].
void init()
Initialization function.
void init()
Initialization function.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataReturnOut.
FprimeFramerComponentBase(const char *compName="")
Construct FprimeFramerComponentBase object.
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_timeCaller_OutputPorts() const
PlatformIndexType FwIndexType
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
Fw::Buffer bufferAllocate_out(FwIndexType portNum, U32 size)
Invoke output port bufferAllocate.
Type used to pass context info between components during framing/deframing.
void init()
Initialization function.
RateGroupDivider component implementation.
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataIn.
void bufferDeallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port bufferDeallocate.
void comStatusOut_out(FwIndexType portNum, Fw::Success &condition)
Invoke output port comStatusOut.
void init()
Initialization function.
bool isConnected_bufferAllocate_OutputPort(FwIndexType portNum)