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)
630 #if FW_ENABLE_TEXT_LOGGING == 1 633 getNum_logTextOut_OutputPorts()
const 695 static_cast<FwAssertArgType>(portNum)
698 return this->m_logOut_OutputPort[portNum].
isConnected();
701 #if FW_ENABLE_TEXT_LOGGING == 1 703 bool TmFramerComponentBase ::
704 isConnected_logTextOut_OutputPort(
FwIndexType portNum)
707 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
708 static_cast<FwAssertArgType>(portNum)
711 return this->m_logTextOut_OutputPort[portNum].isConnected();
721 static_cast<FwAssertArgType>(portNum)
724 return this->m_prmGetOut_OutputPort[portNum].
isConnected();
732 static_cast<FwAssertArgType>(portNum)
735 return this->m_prmSetOut_OutputPort[portNum].
isConnected();
743 static_cast<FwAssertArgType>(portNum)
746 return this->m_timeCaller_OutputPort[portNum].
isConnected();
754 static_cast<FwAssertArgType>(portNum)
757 return this->m_tlmOut_OutputPort[portNum].
isConnected();
769 static_cast<FwAssertArgType>(portNum)
772 return this->m_comStatusOut_OutputPort[portNum].
isConnected();
780 static_cast<FwAssertArgType>(portNum)
783 return this->m_dataOut_OutputPort[portNum].
isConnected();
791 static_cast<FwAssertArgType>(portNum)
794 return this->m_dataReturnOut_OutputPort[portNum].
isConnected();
812 static_cast<FwAssertArgType>(portNum)
832 static_cast<FwAssertArgType>(portNum)
853 static_cast<FwAssertArgType>(portNum)
876 static_cast<FwAssertArgType>(portNum)
880 this->m_comStatusOut_OutputPort[portNum].isConnected(),
881 static_cast<FwAssertArgType>(portNum)
883 this->m_comStatusOut_OutputPort[portNum].
invoke(
897 static_cast<FwAssertArgType>(portNum)
901 this->m_dataOut_OutputPort[portNum].isConnected(),
902 static_cast<FwAssertArgType>(portNum)
904 this->m_dataOut_OutputPort[portNum].
invoke(
919 static_cast<FwAssertArgType>(portNum)
923 this->m_dataReturnOut_OutputPort[portNum].isConnected(),
924 static_cast<FwAssertArgType>(portNum)
926 this->m_dataReturnOut_OutputPort[portNum].
invoke(
939 if (this->m_timeCaller_OutputPort[0].isConnected()) {
941 this->m_timeCaller_OutputPort[0].
invoke(_time);
953 void TmFramerComponentBase ::
968 void TmFramerComponentBase ::
978 compPtr->dataIn_handlerBase(
985 void TmFramerComponentBase ::
995 compPtr->dataReturnIn_handlerBase(
FwIndexType getNum_dataOut_OutputPorts() const
void addCallPort(InputTimePort *callPort)
Register an input port.
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum)
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataOut.
FwIndexType getNum_logOut_OutputPorts() const
void set_prmGetOut_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to prmGetOut[portNum].
bool isConnected_comStatusOut_OutputPort(FwIndexType portNum)
void addCallPort(InputPrmSetPort *callPort)
Register an input port.
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataIn.
void set_dataReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataReturnOut[portNum].
bool isConnected_prmSetOut_OutputPort(FwIndexType portNum)
void init()
Initialization function.
bool isConnected_logOut_OutputPort(FwIndexType portNum)
void addCallPort(InputSuccessConditionPort *callPort)
Register an input port.
FwIndexType getNum_tlmOut_OutputPorts() const
void init()
Initialization function.
Svc::InputComDataWithContextPort * get_dataIn_InputPort(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.
virtual void comStatusIn_handler(FwIndexType portNum, Fw::Success &condition)=0
Handler for input port comStatusIn.
TmFramerComponentBase(const char *compName="")
Construct TmFramerComponentBase object.
Fw::InputSuccessConditionPort * get_comStatusIn_InputPort(FwIndexType portNum)
void set_dataOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataOut[portNum].
void init()
Initialization function.
FwIndexType getNum_comStatusOut_OutputPorts() const
void addCallComp(Fw::PassiveComponentBase *callComp, CompFuncPtr funcPtr)
Register a component.
void invoke(Fw::Time &time) const
Invoke a port interface.
FwIndexType getNum_comStatusIn_InputPorts() const
const char * toChar() const
FwIndexType getNum_timeCaller_OutputPorts() const
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 dataReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataReturnIn.
void init()
Initialization function.
FwIndexType getNum_dataReturnIn_InputPorts() const
virtual ~TmFramerComponentBase()
Destroy TmFramerComponentBase object.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
void init()
Initialization function.
void comStatusOut_out(FwIndexType portNum, Fw::Success &condition)
Invoke output port comStatusOut.
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
void init()
Initialization function.
FwIndexType getNum_prmSetOut_OutputPorts() const
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
void set_prmSetOut_OutputPort(FwIndexType portNum, Fw::InputPrmSetPort *port)
Connect port to prmSetOut[portNum].
No time base has been established.
PlatformIndexType FwIndexType
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
void addCallPort(InputLogPort *callPort)
Register an input port.
Type used to pass context info between components during framing/deframing.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
RateGroupDivider component implementation.
FwIndexType getNum_dataReturnOut_OutputPorts() const
Svc::InputComDataWithContextPort * get_dataReturnIn_InputPort(FwIndexType portNum)
FwIndexType getNum_prmGetOut_OutputPorts() const
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
bool isConnected_prmGetOut_OutputPort(FwIndexType portNum)
void dataIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataIn.
void comStatusIn_handlerBase(FwIndexType portNum, Fw::Success &condition)
Handler base-class function for input port comStatusIn.
void set_comStatusOut_OutputPort(FwIndexType portNum, Fw::InputSuccessConditionPort *port)
Connect port to comStatusOut[portNum].
void init()
Initialization function.
Auto-generated base for TmFramer component.
void init()
Initialization function.
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataReturnOut.
FwIndexType getNum_dataIn_InputPorts() const
virtual void dataReturnIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataReturnIn.
bool isConnected_dataOut_OutputPort(FwIndexType portNum)
bool isConnected_tlmOut_OutputPort(FwIndexType portNum)