7 #ifndef Svc_BufferRepeaterComponentAc_HPP 8 #define Svc_BufferRepeaterComponentAc_HPP 18 #if FW_ENABLE_TEXT_LOGGING == 1 112 #if FW_ENABLE_TEXT_LOGGING == 1 115 void set_LogText_OutputPort(
152 #if FW_PORT_SERIALIZATION 163 Fw::InputSerializePort* port
166 #if FW_ENABLE_TEXT_LOGGING == 1 169 void set_LogText_OutputPort(
171 Fw::InputSerializePort* port
179 Fw::InputSerializePort* port
184 #if FW_PORT_SERIALIZATION 195 Fw::InputSerializePort* port
201 Fw::InputSerializePort* port
214 const char* compName =
"" 246 #if FW_ENABLE_TEXT_LOGGING == 1 251 static constexpr
FwIndexType getNum_LogText_OutputPorts() {
304 #if FW_ENABLE_TEXT_LOGGING == 1 309 bool isConnected_LogText_OutputPort(
439 static void m_p_portIn_in(
463 #if FW_ENABLE_TEXT_LOGGING == 1
static constexpr FwIndexType getNum_portIn_InputPorts()
PlatformSizeType FwSizeType
bool isConnected_deallocate_OutputPort(FwIndexType portNum)
Soft failure in allocation.
void set_Time_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to Time[portNum].
void portOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port portOut.
void log_WARNING_HI_AllocationSoftFailure(I32 port, FwSizeType size) const
static constexpr FwIndexType getNum_portOut_OutputPorts()
void init()
Object initializer.
bool isConnected_allocate_OutputPort(FwIndexType portNum)
friend class BufferRepeaterTester
Friend class tester implementation to support white-box testing.
static constexpr FwIndexType getNum_allocate_OutputPorts()
BufferRepeaterComponentBase(const char *compName="")
Construct BufferRepeaterComponentBase object.
virtual void portIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port portIn.
void set_portOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to portOut[portNum].
static constexpr FwIndexType getNum_Time_OutputPorts()
bool isConnected_Time_OutputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_deallocate_OutputPorts()
bool isConnected_Log_OutputPort(FwIndexType portNum)
Fw::InputBufferSendPort * get_portIn_InputPort(FwIndexType portNum)
virtual ~BufferRepeaterComponentBase()
Destroy BufferRepeaterComponentBase object.
friend class BufferRepeaterTesterBase
Friend class tester to support autocoded test harness.
void set_Log_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to Log[portNum].
void portIn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port portIn.
bool isConnected_portOut_OutputPort(FwIndexType portNum)
void set_deallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to deallocate[portNum].
void log_FATAL_AllocationHardFailure(I32 port, FwSizeType size) const
PlatformIndexType FwIndexType
static constexpr FwIndexType getNum_Log_OutputPorts()
RateGroupDivider component implementation.
Auto-generated base for BufferRepeater component.
void set_allocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to allocate[portNum].
Hard failure in allocation.
Fw::Buffer allocate_out(FwIndexType portNum, FwSizeType size)
Invoke output port allocate.
void deallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port deallocate.