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_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)
454 static_cast<FwAssertArgType>(portNum)
457 return this->m_timeCaller_OutputPort[portNum].
isConnected();
469 static_cast<FwAssertArgType>(portNum)
472 return this->m_bufferAllocate_OutputPort[portNum].
isConnected();
480 static_cast<FwAssertArgType>(portNum)
483 return this->m_bufferDeallocate_OutputPort[portNum].
isConnected();
491 static_cast<FwAssertArgType>(portNum)
494 return this->m_comStatusOut_OutputPort[portNum].
isConnected();
502 static_cast<FwAssertArgType>(portNum)
505 return this->m_dataOut_OutputPort[portNum].
isConnected();
513 static_cast<FwAssertArgType>(portNum)
516 return this->m_dataReturnOut_OutputPort[portNum].
isConnected();
534 static_cast<FwAssertArgType>(portNum)
554 static_cast<FwAssertArgType>(portNum)
575 static_cast<FwAssertArgType>(portNum)
598 static_cast<FwAssertArgType>(portNum)
602 this->m_bufferAllocate_OutputPort[portNum].isConnected(),
603 static_cast<FwAssertArgType>(portNum)
605 return this->m_bufferAllocate_OutputPort[portNum].
invoke(
618 static_cast<FwAssertArgType>(portNum)
622 this->m_bufferDeallocate_OutputPort[portNum].isConnected(),
623 static_cast<FwAssertArgType>(portNum)
625 this->m_bufferDeallocate_OutputPort[portNum].
invoke(
638 static_cast<FwAssertArgType>(portNum)
642 this->m_comStatusOut_OutputPort[portNum].isConnected(),
643 static_cast<FwAssertArgType>(portNum)
645 this->m_comStatusOut_OutputPort[portNum].
invoke(
659 static_cast<FwAssertArgType>(portNum)
663 this->m_dataOut_OutputPort[portNum].isConnected(),
664 static_cast<FwAssertArgType>(portNum)
666 this->m_dataOut_OutputPort[portNum].
invoke(
681 static_cast<FwAssertArgType>(portNum)
685 this->m_dataReturnOut_OutputPort[portNum].isConnected(),
686 static_cast<FwAssertArgType>(portNum)
688 this->m_dataReturnOut_OutputPort[portNum].
invoke(
701 if (this->m_timeCaller_OutputPort[0].isConnected()) {
703 this->m_timeCaller_OutputPort[0].
invoke(_time);
715 void FprimeFramerComponentBase ::
730 void FprimeFramerComponentBase ::
740 compPtr->dataIn_handlerBase(
747 void FprimeFramerComponentBase ::
757 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.
virtual void comStatusIn_handler(FwIndexType portNum, Fw::Success &condition)=0
Handler for input port comStatusIn.
PlatformSizeType FwSizeType
Auto-generated base for FprimeFramer component.
void set_comStatusOut_OutputPort(FwIndexType portNum, Fw::InputSuccessConditionPort *port)
Connect port to comStatusOut[portNum].
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.
static constexpr FwIndexType getNum_comStatusIn_InputPorts()
bool isConnected_dataOut_OutputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_dataReturnOut_OutputPorts()
No time base has been established (Required)
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].
void invoke(Fw::Buffer &fwBuffer) const
Invoke a port interface.
virtual ~FprimeFramerComponentBase()
Destroy FprimeFramerComponentBase object.
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].
static constexpr FwIndexType getNum_dataReturnIn_InputPorts()
const char * toChar() const
Convert to a C-style char*.
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)
virtual void dataReturnIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataReturnIn.
void init()
Initialization function.
static constexpr FwIndexType getNum_comStatusOut_OutputPorts()
void dataReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataReturnIn.
static constexpr FwIndexType getNum_bufferAllocate_OutputPorts()
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
Fw::Buffer bufferAllocate_out(FwIndexType portNum, FwSizeType size)
Invoke output port bufferAllocate.
void set_dataReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataReturnOut[portNum].
Fw::Buffer invoke(FwSizeType size) const
Invoke a port interface.
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)
PlatformIndexType FwIndexType
static constexpr FwIndexType getNum_dataOut_OutputPorts()
static constexpr FwIndexType getNum_bufferDeallocate_OutputPorts()
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.
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
void bufferDeallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port bufferDeallocate.
void comStatusOut_out(FwIndexType portNum, Fw::Success &condition)
Invoke output port comStatusOut.
Implementation of malloc based allocator.
void init()
Initialization function.
bool isConnected_bufferAllocate_OutputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_dataIn_InputPorts()