7 #ifndef Svc_BufferRepeaterComponentAc_HPP 8 #define Svc_BufferRepeaterComponentAc_HPP 18 #if FW_ENABLE_TEXT_LOGGING == 1 21 #if !FW_DIRECT_PORT_CALLS 24 #if !FW_DIRECT_PORT_CALLS 91 #if !FW_DIRECT_PORT_CALLS 108 #if !FW_DIRECT_PORT_CALLS 122 #if FW_ENABLE_TEXT_LOGGING == 1 125 void set_LogText_OutputPort(
140 #if !FW_DIRECT_PORT_CALLS 168 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 179 Fw::InputSerializePort* port
182 #if FW_ENABLE_TEXT_LOGGING == 1 185 void set_LogText_OutputPort(
187 Fw::InputSerializePort* port
195 Fw::InputSerializePort* port
200 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 211 Fw::InputSerializePort* port
217 Fw::InputSerializePort* port
230 const char* compName =
"" 262 #if FW_ENABLE_TEXT_LOGGING == 1 267 static constexpr
FwIndexType getNum_LogText_OutputPorts() {
320 #if FW_ENABLE_TEXT_LOGGING == 1 325 bool isConnected_LogText_OutputPort(
377 #if FW_DIRECT_PORT_CALLS 459 static void m_p_portIn_in(
480 #if FW_ENABLE_TEXT_LOGGING 499 #if !FW_DIRECT_PORT_CALLS 512 #if !FW_DIRECT_PORT_CALLS 523 #if FW_ENABLE_TEXT_LOGGING == 1 535 #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.
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
Soft 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].
Hard failure in allocation.