7 #ifndef Svc_FprimeDeframerComponentAc_HPP 8 #define Svc_FprimeDeframerComponentAc_HPP 16 #if FW_ENABLE_TEXT_LOGGING == 1 122 #if FW_ENABLE_TEXT_LOGGING == 1 125 void set_logTextOut_OutputPort(
156 #if FW_PORT_SERIALIZATION 167 Fw::InputSerializePort* port
170 #if FW_ENABLE_TEXT_LOGGING == 1 173 void set_logTextOut_OutputPort(
175 Fw::InputSerializePort* port
183 Fw::InputSerializePort* port
188 #if FW_PORT_SERIALIZATION 199 Fw::InputSerializePort* port
205 Fw::InputSerializePort* port
218 const char* compName =
"" 257 #if FW_ENABLE_TEXT_LOGGING == 1 262 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
308 #if FW_ENABLE_TEXT_LOGGING == 1 313 bool isConnected_logTextOut_OutputPort(
472 static void m_p_dataIn_in(
480 static void m_p_dataReturnIn_in(
508 #if FW_ENABLE_TEXT_LOGGING == 1
bool isConnected_logOut_OutputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_dataReturnOut_OutputPorts()
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
An invalid frame was received (length is wrong)
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_logOut_OutputPorts()
void log_WARNING_HI_InvalidLengthReceived() const
void log_WARNING_LO_PayloadTooShort() const
Svc::InputComDataWithContextPort * get_dataReturnIn_InputPort(FwIndexType portNum)
void init()
Object initializer.
bool isConnected_dataOut_OutputPort(FwIndexType portNum)
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.
An invalid frame was received (too short to be a frame)
An invalid frame was received (not enough data to contain a valid FwPacketDescriptor type) ...
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.
static constexpr FwIndexType getNum_dataIn_InputPorts()
Auto-generated base for FprimeDeframer component.
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].
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
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.
An invalid frame was received (start word is wrong)
Svc::InputComDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataOut.
An invalid frame was received (checksum mismatch)
static constexpr FwIndexType getNum_dataReturnIn_InputPorts()
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.
static constexpr FwIndexType getNum_dataOut_OutputPorts()