7 #ifndef Svc_Ccsds_TmFramerComponentAc_HPP 8 #define Svc_Ccsds_TmFramerComponentAc_HPP 14 #if !FW_DIRECT_PORT_CALLS 17 #if !FW_DIRECT_PORT_CALLS 89 #if !FW_DIRECT_PORT_CALLS 120 #if !FW_DIRECT_PORT_CALLS 134 #if FW_ENABLE_TEXT_LOGGING == 1 137 void set_logTextOut_OutputPort(
170 #if !FW_DIRECT_PORT_CALLS 198 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 209 Fw::InputSerializePort* port
212 #if FW_ENABLE_TEXT_LOGGING == 1 215 void set_logTextOut_OutputPort(
217 Fw::InputSerializePort* port
225 Fw::InputSerializePort* port
231 Fw::InputSerializePort* port
237 Fw::InputSerializePort* port
242 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 253 Fw::InputSerializePort* port
259 Fw::InputSerializePort* port
265 Fw::InputSerializePort* port
278 const char* compName =
"" 324 #if FW_ENABLE_TEXT_LOGGING == 1 329 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
403 #if FW_ENABLE_TEXT_LOGGING == 1 408 bool isConnected_logTextOut_OutputPort(
495 #if FW_DIRECT_PORT_CALLS 571 static void m_p_comStatusIn_in(
578 static void m_p_dataIn_in(
586 static void m_p_dataReturnIn_in(
605 #if !FW_DIRECT_PORT_CALLS 624 #if !FW_DIRECT_PORT_CALLS 635 #if FW_ENABLE_TEXT_LOGGING == 1 656 #if !FW_DIRECT_PORT_CALLS
static constexpr FwIndexType getNum_dataReturnOut_OutputPorts()
virtual void comStatusIn_handler(FwIndexType portNum, Fw::Success &condition)=0
Handler for input port comStatusIn.
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.
Fw::InputSuccessConditionPort * get_comStatusIn_InputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_dataIn_InputPorts()
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()
void set_prmSetOut_OutputPort(FwIndexType portNum, Fw::InputPrmSetPort *port)
Connect port to prmSetOut[portNum].
bool isConnected_timeCaller_OutputPort(FwIndexType portNum) const
virtual ~TmFramerComponentBase()
Destroy TmFramerComponentBase object.
Svc::InputComDataWithContextPort * get_dataReturnIn_InputPort(FwIndexType portNum)
friend class TmFramerTesterBase
Friend class tester to support autocoded test harness.
void init()
Object initializer.
friend class TmFramerTester
Friend class tester implementation to support white-box testing.
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
TmFramerComponentBase(const char *compName="")
Construct TmFramerComponentBase object.
void comStatusOut_out(FwIndexType portNum, Fw::Success &condition) const
Invoke output port comStatusOut.
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataOut.
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
static constexpr FwIndexType getNum_comStatusIn_InputPorts()
bool isConnected_comStatusOut_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_comStatusOut_OutputPorts()
static constexpr FwIndexType getNum_logOut_OutputPorts()
bool isConnected_tlmOut_OutputPort(FwIndexType portNum) const
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 set_prmGetOut_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to prmGetOut[portNum].
static constexpr FwIndexType getNum_prmGetOut_OutputPorts()
Svc::InputComDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataReturnOut.
static constexpr FwIndexType getNum_dataReturnIn_InputPorts()
bool isConnected_prmSetOut_OutputPort(FwIndexType portNum) const
Auto-generated base for TmFramer component.
bool isConnected_dataOut_OutputPort(FwIndexType portNum) const
void set_comStatusOut_OutputPort(FwIndexType portNum, Fw::InputSuccessConditionPort *port)
Connect port to comStatusOut[portNum].
PlatformIndexType FwIndexType
Type used to pass context info between components during framing/deframing.
RateGroupDivider component implementation.
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum) const
bool isConnected_prmGetOut_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_dataOut_OutputPorts()
static constexpr FwIndexType getNum_tlmOut_OutputPorts()
void comStatusIn_handlerBase(FwIndexType portNum, Fw::Success &condition)
Handler base-class function for input port comStatusIn.
bool isConnected_logOut_OutputPort(FwIndexType portNum) const