7 #ifndef Svc_BufferRepeaterComponentAc_HPP
8 #define Svc_BufferRepeaterComponentAc_HPP
16 #if FW_ENABLE_TEXT_LOGGING == 1
107 #if FW_ENABLE_TEXT_LOGGING == 1
110 void set_LogText_OutputPort(
147 #if FW_PORT_SERIALIZATION
158 Fw::InputSerializePort* port
161 #if FW_ENABLE_TEXT_LOGGING == 1
164 void set_LogText_OutputPort(
166 Fw::InputSerializePort* port
174 Fw::InputSerializePort* port
179 #if FW_PORT_SERIALIZATION
190 Fw::InputSerializePort* port
196 Fw::InputSerializePort* port
209 const char* compName =
""
237 #if FW_ENABLE_TEXT_LOGGING == 1
285 #if FW_ENABLE_TEXT_LOGGING == 1
290 bool isConnected_LogText_OutputPort(
420 static void m_p_portIn_in(
444 #if FW_ENABLE_TEXT_LOGGING == 1
PlatformIndexType FwIndexType
C++-compatible configuration header for fprime configuration.
void init()
Object initializer.
Auto-generated base for BufferRepeater component.
FwIndexType getNum_portOut_OutputPorts() const
void log_WARNING_HI_AllocationSoftFailure(I32 port, U32 size)
FwIndexType getNum_Time_OutputPorts() const
@ EVENTID_ALLOCATIONHARDFAILURE
Hard failure in allocation.
@ EVENTID_ALLOCATIONSOFTFAILURE
Soft failure in allocation.
bool isConnected_deallocate_OutputPort(FwIndexType portNum)
virtual ~BufferRepeaterComponentBase()
Destroy BufferRepeaterComponentBase object.
void set_deallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to deallocate[portNum].
bool isConnected_allocate_OutputPort(FwIndexType portNum)
BufferRepeaterComponentBase(const char *compName="")
Construct BufferRepeaterComponentBase object.
@ NUM_LOGTEXT_OUTPUT_PORTS
Fw::Buffer allocate_out(FwIndexType portNum, U32 size)
Invoke output port allocate.
bool isConnected_portOut_OutputPort(FwIndexType portNum)
void set_Log_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to Log[portNum].
FwIndexType getNum_Log_OutputPorts() const
void set_allocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to allocate[portNum].
Fw::InputBufferSendPort * get_portIn_InputPort(FwIndexType portNum)
void log_FATAL_AllocationHardFailure(I32 port, U32 size)
FwIndexType getNum_deallocate_OutputPorts() const
@ NUM_PORTOUT_OUTPUT_PORTS
@ NUM_DEALLOCATE_OUTPUT_PORTS
@ NUM_ALLOCATE_OUTPUT_PORTS
FwIndexType getNum_allocate_OutputPorts() const
virtual void portIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port portIn.
bool isConnected_Log_OutputPort(FwIndexType portNum)
void deallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port deallocate.
void portOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port portOut.
FwIndexType getNum_portIn_InputPorts() const
void set_Time_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to Time[portNum].
void portIn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port portIn.
bool isConnected_Time_OutputPort(FwIndexType portNum)
void set_portOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to portOut[portNum].
friend class BufferRepeaterComponentBaseFriend
Friend class for white-box testing.