7 #ifndef Svc_GenericHubComponentAc_HPP 8 #define Svc_GenericHubComponentAc_HPP 21 "GenericHub component requires serialization" 182 #if FW_PORT_SERIALIZATION 193 Fw::InputSerializePort* port
199 Fw::InputSerializePort* port
205 Fw::InputSerializePort* port
211 Fw::InputSerializePort* port
217 Fw::InputSerializePort* port
223 Fw::InputSerializePort* port
228 #if FW_PORT_SERIALIZATION 237 void set_portOut_OutputPort(
252 const char* compName =
"" 585 static void m_p_LogRecv_in(
595 static void m_p_TlmRecv_in(
604 static void m_p_buffersIn_in(
611 static void m_p_dataIn_in(
623 #if FW_PORT_SERIALIZATION 626 static void m_p_portIn_in(
void set_TlmSend_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to TlmSend[portNum].
FwIndexType getNum_TlmSend_OutputPorts() const
void set_dataOutAllocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to dataOutAllocate[portNum].
FwIndexType getNum_portIn_InputPorts() const
void bufferDeallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port bufferDeallocate.
FwIndexType getNum_dataIn_InputPorts() const
void set_buffersOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to buffersOut[portNum].
FwIndexType getNum_LogRecv_InputPorts() const
virtual ~GenericHubComponentBase()
Destroy GenericHubComponentBase object.
void dataIn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port dataIn.
void LogSend_out(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args)
Invoke output port LogSend.
void set_LogSend_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to LogSend[portNum].
void buffersIn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port buffersIn.
virtual void LogRecv_handler(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args)=0
Handler for input port LogRecv.
PlatformIndexType FwIndexType
FwIndexType getNum_dataInDeallocate_OutputPorts() const
friend class GenericHubComponentBaseFriend
Friend class for white-box testing.
void dataOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port dataOut.
Fw::Buffer dataOutAllocate_out(FwIndexType portNum, U32 size)
Invoke output port dataOutAllocate.
void init()
Object initializer.
Fw::SerializeStatus portOut_out(FwIndexType portNum, Fw::SerializeBufferBase &buffer)
Invoke output port portOut.
virtual void TlmRecv_handler(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)=0
Handler for input port TlmRecv.
Auto-generated base for GenericHub component.
SerializeStatus
forward declaration for string
bool isConnected_TlmSend_OutputPort(FwIndexType portNum)
Fw::InputTlmPort * get_TlmRecv_InputPort(FwIndexType portNum)
void portIn_handlerBase(FwIndexType portNum, Fw::SerializeBufferBase &buffer)
Handler base-class function for input port portIn.
Fw::InputBufferSendPort * get_buffersIn_InputPort(FwIndexType portNum)
void buffersOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port buffersOut.
bool isConnected_portOut_OutputPort(FwIndexType portNum)
void set_dataInDeallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to dataInDeallocate[portNum].
void TlmRecv_handlerBase(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)
Handler base-class function for input port TlmRecv.
Fw::InputSerializePort * get_portIn_InputPort(FwIndexType portNum)
virtual void portIn_handler(FwIndexType portNum, Fw::SerializeBufferBase &buffer)=0
Handler for input port portIn.
FwIndexType getNum_TlmRecv_InputPorts() const
bool isConnected_dataOutAllocate_OutputPort(FwIndexType portNum)
Fw::InputLogPort * get_LogRecv_InputPort(FwIndexType portNum)
FwIndexType getNum_bufferDeallocate_OutputPorts() const
bool isConnected_bufferDeallocate_OutputPort(FwIndexType portNum)
Enum representing event severity.
FwIndexType getNum_dataOut_OutputPorts() const
void set_bufferDeallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to bufferDeallocate[portNum].
C++-compatible configuration header for fprime configuration.
void TlmSend_out(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)
Invoke output port TlmSend.
Fw::InputBufferSendPort * get_dataIn_InputPort(FwIndexType portNum)
bool isConnected_buffersOut_OutputPort(FwIndexType portNum)
bool isConnected_LogSend_OutputPort(FwIndexType portNum)
FwIndexType getNum_portOut_OutputPorts() const
FwIndexType getNum_buffersOut_OutputPorts() const
void set_dataOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to dataOut[portNum].
#define FW_PORT_SERIALIZATION
for multi-note systems)
void dataInDeallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port dataInDeallocate.
GenericHubComponentBase(const char *compName="")
Construct GenericHubComponentBase object.
bool isConnected_dataInDeallocate_OutputPort(FwIndexType portNum)
virtual void buffersIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port buffersIn.
FwIndexType getNum_buffersIn_InputPorts() const
bool isConnected_dataOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_dataOutAllocate_OutputPorts() const
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port dataIn.
void LogRecv_handlerBase(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args)
Handler base-class function for input port LogRecv.
FwIndexType getNum_LogSend_OutputPorts() const