7 #ifndef Svc_GenericHubComponentAc_HPP 8 #define Svc_GenericHubComponentAc_HPP 21 "GenericHub component requires serialization" 184 #if FW_PORT_SERIALIZATION 195 Fw::InputSerializePort* port
201 Fw::InputSerializePort* port
207 Fw::InputSerializePort* port
213 Fw::InputSerializePort* port
219 Fw::InputSerializePort* port
225 Fw::InputSerializePort* port
230 #if FW_PORT_SERIALIZATION 239 void set_portOut_OutputPort(
254 const char* compName =
"" 587 static void m_p_LogRecv_in(
597 static void m_p_TlmRecv_in(
606 static void m_p_buffersIn_in(
613 static void m_p_dataIn_in(
625 #if FW_PORT_SERIALIZATION 628 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.
friend class GenericHubTester
Friend class tester implementation to support white-box testing.
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].
U32 FwChanIdType
The type of a telemetry channel identifier.
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.
FwIndexType getNum_dataInDeallocate_OutputPorts() const
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.
U32 FwEventIdType
The type of an event identifier.
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
friend class GenericHubTesterBase
Friend class tester to support autocoded test harness.
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].
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
PlatformIndexType FwIndexType
FwIndexType getNum_buffersOut_OutputPorts() const
void set_dataOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to dataOut[portNum].
RateGroupDivider component implementation.
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.
#define FW_PORT_SERIALIZATION
for multi-note systems)
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