7 #ifndef Svc_FprimeDeframerComponentAc_HPP 8 #define Svc_FprimeDeframerComponentAc_HPP 17 #if !FW_DIRECT_PORT_CALLS 20 #if !FW_DIRECT_PORT_CALLS 92 #if !FW_DIRECT_PORT_CALLS 116 #if !FW_DIRECT_PORT_CALLS 130 #if FW_ENABLE_TEXT_LOGGING == 1 133 void set_logTextOut_OutputPort(
148 #if !FW_DIRECT_PORT_CALLS 170 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 181 Fw::InputSerializePort* port
184 #if FW_ENABLE_TEXT_LOGGING == 1 187 void set_logTextOut_OutputPort(
189 Fw::InputSerializePort* port
197 Fw::InputSerializePort* port
202 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 213 Fw::InputSerializePort* port
219 Fw::InputSerializePort* port
232 const char* compName =
"" 271 #if FW_ENABLE_TEXT_LOGGING == 1 276 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
322 #if FW_ENABLE_TEXT_LOGGING == 1 327 bool isConnected_logTextOut_OutputPort(
380 #if FW_DIRECT_PORT_CALLS 490 static void m_p_dataIn_in(
498 static void m_p_dataReturnIn_in(
520 #if FW_ENABLE_TEXT_LOGGING 539 #if !FW_DIRECT_PORT_CALLS 555 #if !FW_DIRECT_PORT_CALLS 566 #if FW_ENABLE_TEXT_LOGGING == 1 578 #if !FW_DIRECT_PORT_CALLS bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_dataReturnOut_OutputPorts()
void set_dataOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataOut[portNum].
void log_WARNING_HI_InvalidBufferReceived() const
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.
An invalid frame was received (not enough data to contain a valid FwPacketDescriptor type) ...
bool isConnected_timeCaller_OutputPort(FwIndexType portNum) const
FwIdType FwEventIdType
The type of an event identifier.
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 (checksum mismatch)
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataOut.
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()
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataReturnOut.
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].
Enum representing event severity.
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.
bool isConnected_dataOut_OutputPort(FwIndexType portNum) const
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
An invalid frame was received (length is wrong)
Type used to pass context info between components during framing/deframing.
RateGroupDivider component implementation.
bool isConnected_logOut_OutputPort(FwIndexType portNum) const
Svc::InputComDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
An invalid frame was received (too short to be a frame)
An invalid frame was received (start word is wrong)
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()