7 #ifndef Svc_BufferRepeaterComponentAc_HPP 8 #define Svc_BufferRepeaterComponentAc_HPP 19 #if !FW_DIRECT_PORT_CALLS 22 #if !FW_DIRECT_PORT_CALLS 89 #if !FW_DIRECT_PORT_CALLS 106 #if !FW_DIRECT_PORT_CALLS 120 #if FW_ENABLE_TEXT_LOGGING == 1 123 void set_LogText_OutputPort(
138 #if !FW_DIRECT_PORT_CALLS 166 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 177 Fw::InputSerializePort* port
180 #if FW_ENABLE_TEXT_LOGGING == 1 183 void set_LogText_OutputPort(
185 Fw::InputSerializePort* port
193 Fw::InputSerializePort* port
198 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 209 Fw::InputSerializePort* port
215 Fw::InputSerializePort* port
228 const char* compName =
"" 260 #if FW_ENABLE_TEXT_LOGGING == 1 265 static constexpr
FwIndexType getNum_LogText_OutputPorts() {
318 #if FW_ENABLE_TEXT_LOGGING == 1 323 bool isConnected_LogText_OutputPort(
375 #if FW_DIRECT_PORT_CALLS 457 static void m_p_portIn_in(
478 #if FW_ENABLE_TEXT_LOGGING 497 #if !FW_DIRECT_PORT_CALLS 510 #if !FW_DIRECT_PORT_CALLS 521 #if FW_ENABLE_TEXT_LOGGING == 1 533 #if !FW_DIRECT_PORT_CALLS bool isConnected_portOut_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_portIn_InputPorts()
PlatformSizeType FwSizeType
bool isConnected_Time_OutputPort(FwIndexType portNum) const
void set_Time_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to Time[portNum].
void log_WARNING_HI_AllocationSoftFailure(I32 port, FwSizeType size) const
static constexpr FwIndexType getNum_portOut_OutputPorts()
void init()
Object initializer.
void portOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port portOut.
friend class BufferRepeaterTester
Friend class tester implementation to support white-box testing.
Soft failure in allocation.
static constexpr FwIndexType getNum_allocate_OutputPorts()
FwIdType FwEventIdType
The type of an event identifier.
BufferRepeaterComponentBase(const char *compName="")
Construct BufferRepeaterComponentBase object.
virtual void portIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port portIn.
bool isConnected_Log_OutputPort(FwIndexType portNum) const
Hard failure in allocation.
void set_portOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to portOut[portNum].
static constexpr FwIndexType getNum_Time_OutputPorts()
static constexpr FwIndexType getNum_deallocate_OutputPorts()
Fw::InputBufferSendPort * get_portIn_InputPort(FwIndexType portNum)
Enum representing event severity.
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.
void set_deallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to deallocate[portNum].
Fw::Buffer allocate_out(FwIndexType portNum, FwSizeType size) const
Invoke output port allocate.
void log_FATAL_AllocationHardFailure(I32 port, FwSizeType size) const
PlatformIndexType FwIndexType
static constexpr FwIndexType getNum_Log_OutputPorts()
bool isConnected_deallocate_OutputPort(FwIndexType portNum) const
RateGroupDivider component implementation.
void deallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port deallocate.
Auto-generated base for BufferRepeater component.
bool isConnected_allocate_OutputPort(FwIndexType portNum) const
void set_allocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to allocate[portNum].