7 #ifndef Svc_FprimeDeframerComponentAc_HPP 8 #define Svc_FprimeDeframerComponentAc_HPP 16 #if FW_ENABLE_TEXT_LOGGING == 1 19 #if !FW_DIRECT_PORT_CALLS 22 #if !FW_DIRECT_PORT_CALLS 94 #if !FW_DIRECT_PORT_CALLS 118 #if !FW_DIRECT_PORT_CALLS 132 #if FW_ENABLE_TEXT_LOGGING == 1 135 void set_logTextOut_OutputPort(
150 #if !FW_DIRECT_PORT_CALLS 172 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 183 Fw::InputSerializePort* port
186 #if FW_ENABLE_TEXT_LOGGING == 1 189 void set_logTextOut_OutputPort(
191 Fw::InputSerializePort* port
199 Fw::InputSerializePort* port
204 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 215 Fw::InputSerializePort* port
221 Fw::InputSerializePort* port
234 const char* compName =
"" 273 #if FW_ENABLE_TEXT_LOGGING == 1 278 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
324 #if FW_ENABLE_TEXT_LOGGING == 1 329 bool isConnected_logTextOut_OutputPort(
382 #if FW_DIRECT_PORT_CALLS 492 static void m_p_dataIn_in(
500 static void m_p_dataReturnIn_in(
522 #if FW_ENABLE_TEXT_LOGGING 541 #if !FW_DIRECT_PORT_CALLS 557 #if !FW_DIRECT_PORT_CALLS 568 #if FW_ENABLE_TEXT_LOGGING == 1 580 #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()