9 #if FW_ENABLE_TEXT_LOGGING 34 this->m_comStatusIn_InputPort[port].
init();
39 this->m_comStatusIn_InputPort[port].
setPortNum(port);
41 #if FW_OBJECT_NAMES == 1 45 this->m_objName.toChar(),
48 this->m_comStatusIn_InputPort[port].setObjName(portName.
toChar());
58 this->m_dataIn_InputPort[port].
init();
63 this->m_dataIn_InputPort[port].
setPortNum(port);
65 #if FW_OBJECT_NAMES == 1 69 this->m_objName.toChar(),
72 this->m_dataIn_InputPort[port].setObjName(portName.
toChar());
82 this->m_dataReturnIn_InputPort[port].
init();
87 this->m_dataReturnIn_InputPort[port].
setPortNum(port);
89 #if FW_OBJECT_NAMES == 1 93 this->m_objName.toChar(),
96 this->m_dataReturnIn_InputPort[port].setObjName(portName.
toChar());
106 this->m_logOut_OutputPort[port].
init();
108 #if FW_OBJECT_NAMES == 1 112 this->m_objName.toChar(),
115 this->m_logOut_OutputPort[port].setObjName(portName.
toChar());
119 #if FW_ENABLE_TEXT_LOGGING == 1 123 port < static_cast<FwIndexType>(this->getNum_logTextOut_OutputPorts());
126 this->m_logTextOut_OutputPort[port].
init();
128 #if FW_OBJECT_NAMES == 1 132 this->m_objName.toChar(),
135 this->m_logTextOut_OutputPort[port].setObjName(portName.
toChar());
146 this->m_prmGetOut_OutputPort[port].
init();
148 #if FW_OBJECT_NAMES == 1 152 this->m_objName.toChar(),
155 this->m_prmGetOut_OutputPort[port].setObjName(portName.
toChar());
165 this->m_prmSetOut_OutputPort[port].
init();
167 #if FW_OBJECT_NAMES == 1 171 this->m_objName.toChar(),
174 this->m_prmSetOut_OutputPort[port].setObjName(portName.
toChar());
184 this->m_timeCaller_OutputPort[port].
init();
186 #if FW_OBJECT_NAMES == 1 190 this->m_objName.toChar(),
193 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
203 this->m_tlmOut_OutputPort[port].
init();
205 #if FW_OBJECT_NAMES == 1 209 this->m_objName.toChar(),
212 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
222 this->m_comStatusOut_OutputPort[port].
init();
224 #if FW_OBJECT_NAMES == 1 228 this->m_objName.toChar(),
231 this->m_comStatusOut_OutputPort[port].setObjName(portName.
toChar());
241 this->m_dataOut_OutputPort[port].
init();
243 #if FW_OBJECT_NAMES == 1 247 this->m_objName.toChar(),
250 this->m_dataOut_OutputPort[port].setObjName(portName.
toChar());
260 this->m_dataReturnOut_OutputPort[port].
init();
262 #if FW_OBJECT_NAMES == 1 266 this->m_objName.toChar(),
269 this->m_dataReturnOut_OutputPort[port].setObjName(portName.
toChar());
283 static_cast<FwAssertArgType>(portNum)
286 return &this->m_comStatusIn_InputPort[portNum];
294 static_cast<FwAssertArgType>(portNum)
297 return &this->m_dataIn_InputPort[portNum];
305 static_cast<FwAssertArgType>(portNum)
308 return &this->m_dataReturnIn_InputPort[portNum];
323 static_cast<FwAssertArgType>(portNum)
326 this->m_logOut_OutputPort[portNum].
addCallPort(port);
329 #if FW_ENABLE_TEXT_LOGGING == 1 331 void TmFramerComponentBase ::
332 set_logTextOut_OutputPort(
338 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
339 static_cast<FwAssertArgType>(portNum)
342 this->m_logTextOut_OutputPort[portNum].addCallPort(port);
355 static_cast<FwAssertArgType>(portNum)
358 this->m_prmGetOut_OutputPort[portNum].
addCallPort(port);
369 static_cast<FwAssertArgType>(portNum)
372 this->m_prmSetOut_OutputPort[portNum].
addCallPort(port);
383 static_cast<FwAssertArgType>(portNum)
386 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
397 static_cast<FwAssertArgType>(portNum)
400 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
415 static_cast<FwAssertArgType>(portNum)
418 this->m_comStatusOut_OutputPort[portNum].
addCallPort(port);
429 static_cast<FwAssertArgType>(portNum)
432 this->m_dataOut_OutputPort[portNum].
addCallPort(port);
443 static_cast<FwAssertArgType>(portNum)
446 this->m_dataReturnOut_OutputPort[portNum].
addCallPort(port);
449 #if FW_PORT_SERIALIZATION 458 Fw::InputSerializePort* port
463 static_cast<FwAssertArgType>(portNum)
466 this->m_logOut_OutputPort[portNum].registerSerialPort(port);
469 #if FW_ENABLE_TEXT_LOGGING == 1 471 void TmFramerComponentBase ::
472 set_logTextOut_OutputPort(
474 Fw::InputSerializePort* port
478 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
479 static_cast<FwAssertArgType>(portNum)
482 this->m_logTextOut_OutputPort[portNum].registerSerialPort(port);
490 Fw::InputSerializePort* port
495 static_cast<FwAssertArgType>(portNum)
498 this->m_prmSetOut_OutputPort[portNum].registerSerialPort(port);
504 Fw::InputSerializePort* port
509 static_cast<FwAssertArgType>(portNum)
512 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
518 Fw::InputSerializePort* port
523 static_cast<FwAssertArgType>(portNum)
526 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
531 #if FW_PORT_SERIALIZATION 540 Fw::InputSerializePort* port
545 static_cast<FwAssertArgType>(portNum)
548 this->m_comStatusOut_OutputPort[portNum].registerSerialPort(port);
554 Fw::InputSerializePort* port
559 static_cast<FwAssertArgType>(portNum)
562 this->m_dataOut_OutputPort[portNum].registerSerialPort(port);
568 Fw::InputSerializePort* port
573 static_cast<FwAssertArgType>(portNum)
576 this->m_dataReturnOut_OutputPort[portNum].registerSerialPort(port);
587 Fw::PassiveComponentBase(compName)
607 static_cast<FwAssertArgType>(portNum)
610 return this->m_logOut_OutputPort[portNum].
isConnected();
613 #if FW_ENABLE_TEXT_LOGGING == 1 615 bool TmFramerComponentBase ::
616 isConnected_logTextOut_OutputPort(
FwIndexType portNum)
619 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
620 static_cast<FwAssertArgType>(portNum)
623 return this->m_logTextOut_OutputPort[portNum].isConnected();
633 static_cast<FwAssertArgType>(portNum)
636 return this->m_prmGetOut_OutputPort[portNum].
isConnected();
644 static_cast<FwAssertArgType>(portNum)
647 return this->m_prmSetOut_OutputPort[portNum].
isConnected();
655 static_cast<FwAssertArgType>(portNum)
658 return this->m_timeCaller_OutputPort[portNum].
isConnected();
666 static_cast<FwAssertArgType>(portNum)
669 return this->m_tlmOut_OutputPort[portNum].
isConnected();
681 static_cast<FwAssertArgType>(portNum)
684 return this->m_comStatusOut_OutputPort[portNum].
isConnected();
692 static_cast<FwAssertArgType>(portNum)
695 return this->m_dataOut_OutputPort[portNum].
isConnected();
703 static_cast<FwAssertArgType>(portNum)
706 return this->m_dataReturnOut_OutputPort[portNum].
isConnected();
724 static_cast<FwAssertArgType>(portNum)
744 static_cast<FwAssertArgType>(portNum)
765 static_cast<FwAssertArgType>(portNum)
788 static_cast<FwAssertArgType>(portNum)
792 this->m_comStatusOut_OutputPort[portNum].isConnected(),
793 static_cast<FwAssertArgType>(portNum)
795 this->m_comStatusOut_OutputPort[portNum].
invoke(
809 static_cast<FwAssertArgType>(portNum)
813 this->m_dataOut_OutputPort[portNum].isConnected(),
814 static_cast<FwAssertArgType>(portNum)
816 this->m_dataOut_OutputPort[portNum].
invoke(
831 static_cast<FwAssertArgType>(portNum)
835 this->m_dataReturnOut_OutputPort[portNum].isConnected(),
836 static_cast<FwAssertArgType>(portNum)
838 this->m_dataReturnOut_OutputPort[portNum].
invoke(
851 if (this->m_timeCaller_OutputPort[0].isConnected()) {
853 this->m_timeCaller_OutputPort[0].
invoke(_time);
865 void TmFramerComponentBase ::
880 void TmFramerComponentBase ::
890 compPtr->dataIn_handlerBase(
897 void TmFramerComponentBase ::
907 compPtr->dataReturnIn_handlerBase(
static constexpr FwIndexType getNum_dataReturnOut_OutputPorts()
void addCallPort(InputTimePort *callPort)
Register an input port.
virtual void comStatusIn_handler(FwIndexType portNum, Fw::Success &condition)=0
Handler for input port comStatusIn.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
void set_dataReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataReturnOut[portNum].
void set_dataOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataOut[portNum].
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataIn.
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataReturnOut.
Fw::InputSuccessConditionPort * get_comStatusIn_InputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_dataIn_InputPorts()
bool isConnected_prmSetOut_OutputPort(FwIndexType portNum)
void dataReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataReturnIn.
virtual void dataReturnIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataReturnIn.
static constexpr FwIndexType getNum_prmSetOut_OutputPorts()
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum)
void addCallPort(InputPrmSetPort *callPort)
Register an input port.
void set_prmSetOut_OutputPort(FwIndexType portNum, Fw::InputPrmSetPort *port)
Connect port to prmSetOut[portNum].
void init()
Initialization function.
virtual ~TmFramerComponentBase()
Destroy TmFramerComponentBase object.
No time base has been established (Required)
Svc::InputComDataWithContextPort * get_dataReturnIn_InputPort(FwIndexType portNum)
void addCallPort(InputSuccessConditionPort *callPort)
Register an input port.
void comStatusOut_out(FwIndexType portNum, Fw::Success &condition)
Invoke output port comStatusOut.
void init()
Initialization function.
bool isConnected_comStatusOut_OutputPort(FwIndexType portNum)
void addCallPort(InputComDataWithContextPort *callPort)
Register an input port.
void addCallPort(InputTlmPort *callPort)
Register an input port.
void addCallPort(InputPrmGetPort *callPort)
Register an input port.
void init()
Object initializer.
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
bool isConnected_logOut_OutputPort(FwIndexType portNum)
TmFramerComponentBase(const char *compName="")
Construct TmFramerComponentBase object.
void init()
Initialization function.
void addCallComp(Fw::PassiveComponentBase *callComp, CompFuncPtr funcPtr)
Register a component.
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
static constexpr FwIndexType getNum_comStatusIn_InputPorts()
void invoke(Fw::Time &time) const
Invoke a port interface.
const char * toChar() const
Convert to a C-style char*.
bool isConnected_dataOut_OutputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_comStatusOut_OutputPorts()
void invoke(Fw::Success &condition) const
Invoke a port interface.
void invoke(Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke a port interface.
static constexpr FwIndexType getNum_logOut_OutputPorts()
void dataIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataIn.
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
void init()
Initialization function.
void set_prmGetOut_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to prmGetOut[portNum].
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
void init()
Initialization function.
static constexpr FwIndexType getNum_prmGetOut_OutputPorts()
Svc::InputComDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
void init()
Initialization function.
static constexpr FwIndexType getNum_dataReturnIn_InputPorts()
Auto-generated base for TmFramer component.
void set_comStatusOut_OutputPort(FwIndexType portNum, Fw::InputSuccessConditionPort *port)
Connect port to comStatusOut[portNum].
PlatformIndexType FwIndexType
bool isConnected_prmGetOut_OutputPort(FwIndexType portNum)
void addCallPort(InputLogPort *callPort)
Register an input port.
Type used to pass context info between components during framing/deframing.
RateGroupDivider component implementation.
bool isConnected_tlmOut_OutputPort(FwIndexType portNum)
Implementation of malloc based allocator.
void init()
Initialization function.
void init()
Initialization function.
static constexpr FwIndexType getNum_dataOut_OutputPorts()
static constexpr FwIndexType getNum_tlmOut_OutputPorts()
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataOut.
void comStatusIn_handlerBase(FwIndexType portNum, Fw::Success &condition)
Handler base-class function for input port comStatusIn.