7 #ifndef Svc_FrameAccumulatorComponentAc_HPP 8 #define Svc_FrameAccumulatorComponentAc_HPP 19 #if !FW_DIRECT_PORT_CALLS 22 #if !FW_DIRECT_PORT_CALLS 95 #if !FW_DIRECT_PORT_CALLS 119 #if !FW_DIRECT_PORT_CALLS 133 #if FW_ENABLE_TEXT_LOGGING == 1 136 void set_logTextOut_OutputPort(
151 #if !FW_DIRECT_PORT_CALLS 185 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 196 Fw::InputSerializePort* port
199 #if FW_ENABLE_TEXT_LOGGING == 1 202 void set_logTextOut_OutputPort(
204 Fw::InputSerializePort* port
212 Fw::InputSerializePort* port
217 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 228 Fw::InputSerializePort* port
234 Fw::InputSerializePort* port
240 Fw::InputSerializePort* port
253 const char* compName =
"" 292 #if FW_ENABLE_TEXT_LOGGING == 1 297 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
357 #if FW_ENABLE_TEXT_LOGGING == 1 362 bool isConnected_logTextOut_OutputPort(
429 #if FW_DIRECT_PORT_CALLS 542 static void m_p_dataIn_in(
550 static void m_p_dataReturnIn_in(
572 #if FW_ENABLE_TEXT_LOGGING 591 #if !FW_DIRECT_PORT_CALLS 607 #if !FW_DIRECT_PORT_CALLS 618 #if FW_ENABLE_TEXT_LOGGING == 1 630 #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.
A frame was detected but dropped because there was no buffer to hold it.
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()