7 #ifndef Svc_FrameAccumulatorComponentAc_HPP 8 #define Svc_FrameAccumulatorComponentAc_HPP 18 #if FW_ENABLE_TEXT_LOGGING == 1 21 #if !FW_DIRECT_PORT_CALLS 24 #if !FW_DIRECT_PORT_CALLS 97 #if !FW_DIRECT_PORT_CALLS 121 #if !FW_DIRECT_PORT_CALLS 135 #if FW_ENABLE_TEXT_LOGGING == 1 138 void set_logTextOut_OutputPort(
153 #if !FW_DIRECT_PORT_CALLS 187 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 198 Fw::InputSerializePort* port
201 #if FW_ENABLE_TEXT_LOGGING == 1 204 void set_logTextOut_OutputPort(
206 Fw::InputSerializePort* port
214 Fw::InputSerializePort* port
219 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 230 Fw::InputSerializePort* port
236 Fw::InputSerializePort* port
242 Fw::InputSerializePort* port
255 const char* compName =
"" 294 #if FW_ENABLE_TEXT_LOGGING == 1 299 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
359 #if FW_ENABLE_TEXT_LOGGING == 1 364 bool isConnected_logTextOut_OutputPort(
431 #if FW_DIRECT_PORT_CALLS 544 static void m_p_dataIn_in(
552 static void m_p_dataReturnIn_in(
574 #if FW_ENABLE_TEXT_LOGGING 593 #if !FW_DIRECT_PORT_CALLS 609 #if !FW_DIRECT_PORT_CALLS 620 #if FW_ENABLE_TEXT_LOGGING == 1 632 #if !FW_DIRECT_PORT_CALLS bool isConnected_bufferAllocate_OutputPort(FwIndexType portNum) const
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataOut.
bool isConnected_logOut_OutputPort(FwIndexType portNum) const
virtual void unLock()
Unlock the guarded mutex.
bool isConnected_dataOut_OutputPort(FwIndexType portNum) const
PlatformSizeType FwSizeType
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataReturnOut.
void set_dataOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataOut[portNum].
An error occurred while deserializing a packet.
void set_bufferAllocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to bufferAllocate[portNum].
static constexpr FwIndexType getNum_dataIn_InputPorts()
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
bool isConnected_bufferDeallocate_OutputPort(FwIndexType portNum) const
void init()
Object initializer.
friend class FrameAccumulatorTester
Friend class tester implementation to support white-box testing.
static constexpr FwIndexType getNum_bufferDeallocate_OutputPorts()
FwIdType FwEventIdType
The type of an event identifier.
static constexpr FwIndexType getNum_bufferAllocate_OutputPorts()
void log_WARNING_HI_NoBufferAvailable() const
void set_dataReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataReturnOut[portNum].
void dataIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataIn.
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataIn.
static constexpr FwIndexType getNum_dataOut_OutputPorts()
virtual void dataReturnIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataReturnIn.
Enum representing event severity.
void bufferDeallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port bufferDeallocate.
static constexpr FwIndexType getNum_logOut_OutputPorts()
void log_WARNING_HI_FrameDetectionValidFrameDropped() const
virtual void lock()
Lock the guarded mutex.
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
void log_WARNING_HI_FrameDetectionSizeError(FwSizeType size_out) const
PlatformIndexType FwIndexType
void dataReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataReturnIn.
Fw::Buffer bufferAllocate_out(FwIndexType portNum, FwSizeType size) const
Invoke output port bufferAllocate.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum) const
Type used to pass context info between components during framing/deframing.
Auto-generated base for FrameAccumulator component.
RateGroupDivider component implementation.
void set_bufferDeallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to bufferDeallocate[portNum].
FrameAccumulatorComponentBase(const char *compName="")
Construct FrameAccumulatorComponentBase object.
Svc::InputComDataWithContextPort * get_dataReturnIn_InputPort(FwIndexType portNum)
friend class FrameAccumulatorTesterBase
Friend class tester to support autocoded test harness.
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum) const
Svc::InputComDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
virtual ~FrameAccumulatorComponentBase()
Destroy FrameAccumulatorComponentBase object.
static constexpr FwIndexType getNum_dataReturnOut_OutputPorts()
static constexpr FwIndexType getNum_dataReturnIn_InputPorts()
A frame was detected but dropped because there was no buffer to hold it.