7 #ifndef Svc_ComQueueComponentAc_HPP 8 #define Svc_ComQueueComponentAc_HPP 18 #if FW_ENABLE_TEXT_LOGGING == 1 157 #if FW_ENABLE_TEXT_LOGGING == 1 160 void set_LogText_OutputPort(
197 #if FW_PORT_SERIALIZATION 208 Fw::InputSerializePort* port
211 #if FW_ENABLE_TEXT_LOGGING == 1 214 void set_LogText_OutputPort(
216 Fw::InputSerializePort* port
224 Fw::InputSerializePort* port
230 Fw::InputSerializePort* port
235 #if FW_PORT_SERIALIZATION 246 Fw::InputSerializePort* port
252 Fw::InputSerializePort* port
265 const char* compName =
"" 313 #if FW_ENABLE_TEXT_LOGGING == 1 361 #if FW_ENABLE_TEXT_LOGGING == 1 366 bool isConnected_LogText_OutputPort(
617 static void m_p_bufferQueueIn_in(
624 static void m_p_bufferReturnIn_in(
632 static void m_p_comPacketQueueIn_in(
640 static void m_p_comStatusIn_in(
647 static void m_p_run_in(
683 #if FW_ENABLE_TEXT_LOGGING == 1 virtual void comStatusIn_handler(FwIndexType portNum, Fw::Success &condition)=0
Handler for input port comStatusIn.
virtual ~ComQueueComponentBase()
Destroy ComQueueComponentBase object.
virtual void bufferReturnIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port bufferReturnIn.
FwIndexType getNum_bufferReturnOut_OutputPorts() const
PlatformSizeType FwSizeType
void tlmWrite_buffQueueDepth(const Svc::BuffQueueDepth &arg, Fw::Time _tlmTime=Fw::Time()) const
void set_Log_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to Log[portNum].
friend class ComQueueComponentBaseFriend
Friend class for white-box testing.
FwIndexType getNum_bufferQueueIn_InputPorts() const
FwIndexType getNum_Log_OutputPorts() const
Svc::InputSchedPort * get_run_InputPort(FwIndexType portNum)
void set_bufferReturnOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to bufferReturnOut[portNum].
bool isConnected_bufferReturnOut_OutputPort(FwIndexType portNum)
Array of queue depths for Fw::Com types.
An enumeration of queue data types.
bool isConnected_Log_OutputPort(FwIndexType portNum)
void init()
Object initializer.
FwIndexType getNum_comPacketQueueIn_InputPorts() const
void comStatusIn_handlerBase(FwIndexType portNum, Fw::Success &condition)
Handler base-class function for input port comStatusIn.
Channel ID for comQueueDepth.
Channel ID for buffQueueDepth.
virtual void bufferQueueIn_preMsgHook(FwIndexType portNum, Fw::Buffer &fwBuffer)
Pre-message hook for async input port bufferQueueIn.
Svc::InputComDataWithContextPort * get_bufferReturnIn_InputPort(FwIndexType portNum)
void set_Tlm_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to Tlm[portNum].
bool isConnected_Time_OutputPort(FwIndexType portNum)
virtual void run_handler(FwIndexType portNum, U32 context)=0
Handler for input port run.
void run_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port run.
Array of queue depths for Fw::Buffer types.
virtual void run_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port run.
void log_WARNING_HI_QueueOverflow(Svc::QueueType queueType, U32 index) const
void set_Time_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to Time[portNum].
Fw::InputComPort * get_comPacketQueueIn_InputPort(FwIndexType portNum)
virtual void bufferQueueIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port bufferQueueIn.
virtual void comPacketQueueIn_handler(FwIndexType portNum, Fw::ComBuffer &data, U32 context)=0
Handler for input port comPacketQueueIn.
void comPacketQueueIn_handlerBase(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Handler base-class function for input port comPacketQueueIn.
virtual void comPacketQueueIn_preMsgHook(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Pre-message hook for async input port comPacketQueueIn.
Fw::InputBufferSendPort * get_bufferQueueIn_InputPort(FwIndexType portNum)
FwIndexType getNum_bufferReturnIn_InputPorts() const
Fw::InputSuccessConditionPort * get_comStatusIn_InputPort(FwIndexType portNum)
bool isConnected_Tlm_OutputPort(FwIndexType portNum)
FwIndexType getNum_Time_OutputPorts() const
ComQueueComponentBase(const char *compName="")
Construct ComQueueComponentBase object.
PlatformIndexType FwIndexType
void queueSend_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port queueSend.
void bufferReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port bufferReturnIn.
bool isConnected_queueSend_OutputPort(FwIndexType portNum)
FwIndexType getNum_Tlm_OutputPorts() const
FwIndexType getNum_comStatusIn_InputPorts() const
Type used to pass context info between components during framing/deframing.
void tlmWrite_comQueueDepth(const Svc::ComQueueDepth &arg, Fw::Time _tlmTime=Fw::Time()) const
RateGroupDivider component implementation.
void set_queueSend_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to queueSend[portNum].
virtual void comStatusIn_preMsgHook(FwIndexType portNum, Fw::Success &condition)
Pre-message hook for async input port comStatusIn.
friend class ComQueueTesterBase
Friend class tester to support autocoded test harness.
virtual void bufferQueueIn_overflowHook(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Overflow hook for async input port bufferQueueIn.
FwIndexType getNum_queueSend_OutputPorts() const
void bufferQueueIn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port bufferQueueIn.
Auto-generated base for ComQueue component.
void bufferReturnOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port bufferReturnOut.
FwIndexType getNum_run_InputPorts() const