7 #ifndef Svc_FprimeDeframerComponentAc_HPP 8 #define Svc_FprimeDeframerComponentAc_HPP 16 #if FW_ENABLE_TEXT_LOGGING == 1 121 #if FW_ENABLE_TEXT_LOGGING == 1 124 void set_logTextOut_OutputPort(
155 #if FW_PORT_SERIALIZATION 166 Fw::InputSerializePort* port
169 #if FW_ENABLE_TEXT_LOGGING == 1 172 void set_logTextOut_OutputPort(
174 Fw::InputSerializePort* port
182 Fw::InputSerializePort* port
187 #if FW_PORT_SERIALIZATION 198 Fw::InputSerializePort* port
204 Fw::InputSerializePort* port
217 const char* compName =
"" 250 #if FW_ENABLE_TEXT_LOGGING == 1 293 #if FW_ENABLE_TEXT_LOGGING == 1 298 bool isConnected_logTextOut_OutputPort(
452 static void m_p_dataIn_in(
460 static void m_p_dataReturnIn_in(
488 #if FW_ENABLE_TEXT_LOGGING == 1 bool isConnected_logOut_OutputPort(FwIndexType portNum)
void set_dataOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataOut[portNum].
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataReturnOut.
void log_WARNING_HI_InvalidBufferReceived() const
FwIndexType getNum_timeCaller_OutputPorts() const
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_dataIn_InputPorts() const
void log_WARNING_HI_InvalidLengthReceived() const
An invalid frame was received (checksum mismatch)
An invalid frame was received (too short to be a frame)
Svc::InputComDataWithContextPort * get_dataReturnIn_InputPort(FwIndexType portNum)
void init()
Object initializer.
bool isConnected_dataOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_dataReturnIn_InputPorts() const
FprimeDeframerComponentBase(const char *compName="")
Construct FprimeDeframerComponentBase object.
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataIn.
void log_WARNING_HI_InvalidStartWord() const
virtual void dataReturnIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataReturnIn.
FwIndexType getNum_dataReturnOut_OutputPorts() const
Auto-generated base for FprimeDeframer component.
FwIndexType getNum_logOut_OutputPorts() const
friend class FprimeDeframerTester
Friend class tester implementation to support white-box testing.
friend class FprimeDeframerTesterBase
Friend class tester to support autocoded test harness.
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
FwIndexType getNum_dataOut_OutputPorts() const
An invalid frame was received (start word is wrong)
virtual ~FprimeDeframerComponentBase()
Destroy FprimeDeframerComponentBase object.
virtual void lock()
Lock the guarded mutex.
void dataReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataReturnIn.
void dataIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataIn.
PlatformIndexType FwIndexType
void log_WARNING_HI_InvalidChecksum() const
Type used to pass context info between components during framing/deframing.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
RateGroupDivider component implementation.
Svc::InputComDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataOut.
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
void set_dataReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataReturnOut[portNum].
virtual void unLock()
Unlock the guarded mutex.
An invalid frame was received (length is wrong)