7 #ifndef Svc_FprimeFramerComponentAc_HPP 8 #define Svc_FprimeFramerComponentAc_HPP 19 #if !FW_DIRECT_PORT_CALLS 22 #if !FW_DIRECT_PORT_CALLS 98 #if !FW_DIRECT_PORT_CALLS 129 #if !FW_DIRECT_PORT_CALLS 143 #if FW_ENABLE_TEXT_LOGGING == 1 146 void set_logTextOut_OutputPort(
161 #if !FW_DIRECT_PORT_CALLS 201 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 212 Fw::InputSerializePort* port
215 #if FW_ENABLE_TEXT_LOGGING == 1 218 void set_logTextOut_OutputPort(
220 Fw::InputSerializePort* port
228 Fw::InputSerializePort* port
233 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 244 Fw::InputSerializePort* port
250 Fw::InputSerializePort* port
256 Fw::InputSerializePort* port
262 Fw::InputSerializePort* port
275 const char* compName =
"" 321 #if FW_ENABLE_TEXT_LOGGING == 1 326 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
393 #if FW_ENABLE_TEXT_LOGGING == 1 398 bool isConnected_logTextOut_OutputPort(
478 #if FW_DIRECT_PORT_CALLS 586 static void m_p_comStatusIn_in(
593 static void m_p_dataIn_in(
601 static void m_p_dataReturnIn_in(
623 #if FW_ENABLE_TEXT_LOGGING 642 #if !FW_DIRECT_PORT_CALLS 661 #if !FW_DIRECT_PORT_CALLS 672 #if FW_ENABLE_TEXT_LOGGING == 1 684 #if !FW_DIRECT_PORT_CALLS 716 std::atomic<FwIndexType> m_NoBufferAvailableThrottle;
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
void log_WARNING_HI_NoBufferAvailable()
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum) const
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataOut.
virtual void comStatusIn_handler(FwIndexType portNum, Fw::Success &condition)=0
Handler for input port comStatusIn.
PlatformSizeType FwSizeType
bool isConnected_dataOut_OutputPort(FwIndexType portNum) const
Auto-generated base for FprimeFramer component.
void set_comStatusOut_OutputPort(FwIndexType portNum, Fw::InputSuccessConditionPort *port)
Connect port to comStatusOut[portNum].
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
void log_WARNING_HI_NoBufferAvailable_ThrottleClear()
Reset throttle value for NoBufferAvailable.
void comStatusIn_handlerBase(FwIndexType portNum, Fw::Success &condition)
Handler base-class function for input port comStatusIn.
void dataIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataIn.
static constexpr FwIndexType getNum_comStatusIn_InputPorts()
static constexpr FwIndexType getNum_dataReturnOut_OutputPorts()
friend class FprimeFramerTester
Friend class tester implementation to support white-box testing.
static constexpr FwIndexType getNum_logOut_OutputPorts()
bool isConnected_bufferDeallocate_OutputPort(FwIndexType portNum) const
Svc::InputComDataWithContextPort * get_dataReturnIn_InputPort(FwIndexType portNum)
Fw::InputSuccessConditionPort * get_comStatusIn_InputPort(FwIndexType portNum)
Svc::InputComDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
void init()
Object initializer.
void set_dataOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataOut[portNum].
Fw::Buffer bufferAllocate_out(FwIndexType portNum, FwSizeType size) const
Invoke output port bufferAllocate.
FwIdType FwEventIdType
The type of an event identifier.
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataReturnOut.
void set_bufferDeallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to bufferDeallocate[portNum].
bool isConnected_timeCaller_OutputPort(FwIndexType portNum) const
virtual ~FprimeFramerComponentBase()
Destroy FprimeFramerComponentBase object.
void comStatusOut_out(FwIndexType portNum, Fw::Success &condition) const
Invoke output port comStatusOut.
void set_bufferAllocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to bufferAllocate[portNum].
static constexpr FwIndexType getNum_dataReturnIn_InputPorts()
bool isConnected_logOut_OutputPort(FwIndexType portNum) const
virtual void dataReturnIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataReturnIn.
static constexpr FwIndexType getNum_comStatusOut_OutputPorts()
Enum representing event severity.
bool isConnected_bufferAllocate_OutputPort(FwIndexType portNum) const
void dataReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataReturnIn.
static constexpr FwIndexType getNum_bufferAllocate_OutputPorts()
Throttle reset count for NoBufferAvailable.
void set_dataReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataReturnOut[portNum].
friend class FprimeFramerTesterBase
Friend class tester to support autocoded test harness.
No buffer was available to hold the frame, which was dropped.
FprimeFramerComponentBase(const char *compName="")
Construct FprimeFramerComponentBase object.
PlatformIndexType FwIndexType
static constexpr FwIndexType getNum_dataOut_OutputPorts()
static constexpr FwIndexType getNum_bufferDeallocate_OutputPorts()
Type used to pass context info between components during framing/deframing.
RateGroupDivider component implementation.
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataIn.
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
void bufferDeallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port bufferDeallocate.
bool isConnected_comStatusOut_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_dataIn_InputPorts()