7 #ifndef Svc_TlmPacketizerComponentAc_HPP 8 #define Svc_TlmPacketizerComponentAc_HPP 21 #if FW_ENABLE_TEXT_LOGGING == 1 191 #if FW_ENABLE_TEXT_LOGGING == 1 194 void set_textEventOut_OutputPort(
231 #if FW_PORT_SERIALIZATION 242 Fw::InputSerializePort* port
248 Fw::InputSerializePort* port
254 Fw::InputSerializePort* port
257 #if FW_ENABLE_TEXT_LOGGING == 1 260 void set_textEventOut_OutputPort(
262 Fw::InputSerializePort* port
270 Fw::InputSerializePort* port
276 Fw::InputSerializePort* port
281 #if FW_PORT_SERIALIZATION 292 Fw::InputSerializePort* port
298 Fw::InputSerializePort* port
322 const char* compName =
"" 386 #if FW_ENABLE_TEXT_LOGGING == 1 391 FwIndexType getNum_textEventOut_OutputPorts()
const;
448 #if FW_ENABLE_TEXT_LOGGING == 1 453 bool isConnected_textEventOut_OutputPort(
776 static void m_p_cmdIn_in(
791 static void m_p_Run_in(
809 static void m_p_TlmRecv_in(
818 static void m_p_pingIn_in(
866 #if FW_ENABLE_TEXT_LOGGING == 1
void SEND_PKT_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
FwIndexType getNum_cmdRegOut_OutputPorts() const
friend class TlmPacketizerTesterBase
Friend class tester to support autocoded test harness.
void set_PktSend_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to PktSend[portNum].
FwIdType FwOpcodeType
The type of a command opcode.
void pingIn_handlerBase(FwIndexType portNum, U32 key)
Handler base-class function for input port pingIn.
PlatformSizeType FwSizeType
FwIndexType getNum_Run_InputPorts() const
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
FwIndexType getNum_pingIn_InputPorts() const
virtual void TlmRecv_handler(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)=0
Handler for input port TlmRecv.
void Run_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port Run.
void log_WARNING_LO_NoChan(FwChanIdType Id) const
void TlmRecv_handlerBase(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)
Handler base-class function for input port TlmRecv.
FwIndexType getNum_eventOut_OutputPorts() const
void PktSend_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Invoke output port PktSend.
Force a packet to be sent.
bool isConnected_tlmOut_OutputPort(FwIndexType portNum)
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
Enum representing a command response.
virtual void pingIn_preMsgHook(FwIndexType portNum, U32 key)
Pre-message hook for async input port pingIn.
virtual void SET_LEVEL_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, FwChanIdType level)=0
FwIndexType getNum_timeGetOut_OutputPorts() const
virtual ~TlmPacketizerComponentBase()
Destroy TlmPacketizerComponentBase object.
void set_pingOut_OutputPort(FwIndexType portNum, Svc::InputPingPort *port)
Connect port to pingOut[portNum].
void init()
Object initializer.
void tlmWrite_SendLevel(FwChanIdType arg, Fw::Time _tlmTime=Fw::Time()) const
Telemetry channel is not part of a telemetry packet.
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
Fw::InputTlmGetPort * get_TlmGet_InputPort(FwIndexType portNum)
virtual void Run_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port Run.
FwIdType FwChanIdType
The type of a telemetry channel identifier.
FwIndexType getNum_TlmGet_InputPorts() const
void log_WARNING_LO_PacketNotFound(U32 id) const
virtual void pingIn_handler(FwIndexType portNum, U32 key)=0
Handler for input port pingIn.
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum)
void set_eventOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to eventOut[portNum].
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
friend class TlmPacketizerTester
Friend class tester implementation to support white-box testing.
Fw::TlmValid TlmGet_handlerBase(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)
Handler base-class function for input port TlmGet.
virtual void Run_handler(FwIndexType portNum, U32 context)=0
Handler for input port Run.
Telemetry send level set.
virtual void SEND_PKT_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U32 id)=0
Couldn't find the packet to send.
void log_WARNING_LO_MaxLevelExceed(FwChanIdType level, FwChanIdType max) const
Telemetry send level set.
FwIndexType getNum_TlmRecv_InputPorts() const
FwIndexType getNum_cmdResponseOut_OutputPorts() const
PlatformIndexType FwIndexType
TlmPacketizerComponentBase(const char *compName="")
Construct TlmPacketizerComponentBase object.
void log_ACTIVITY_HI_LevelSet(FwChanIdType id) const
void set_timeGetOut_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeGetOut[portNum].
Channel ID for SendLevel.
virtual void SEND_PKT_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command SEND_PKT.
FwIndexType getNum_cmdIn_InputPorts() const
RateGroupDivider component implementation.
bool isConnected_PktSend_OutputPort(FwIndexType portNum)
Svc::InputSchedPort * get_Run_InputPort(FwIndexType portNum)
bool isConnected_pingOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_PktSend_OutputPorts() const
Fw::InputTlmPort * get_TlmRecv_InputPort(FwIndexType portNum)
FwIndexType getNum_tlmOut_OutputPorts() const
bool isConnected_timeGetOut_OutputPort(FwIndexType portNum)
void regCommands()
Register commands with the Command Dispatcher.
bool isConnected_eventOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_pingOut_OutputPorts() const
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum)
void log_ACTIVITY_LO_PacketSent(U32 id) const
void SET_LEVEL_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Set telemetry send level.
virtual void SET_LEVEL_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command SET_LEVEL.
void set_cmdResponseOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdResponseOut[portNum].
void pingOut_out(FwIndexType portNum, U32 key)
Invoke output port pingOut.
virtual Fw::TlmValid TlmGet_handler(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)=0
Handler for input port TlmGet.
void set_cmdRegOut_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to cmdRegOut[portNum].
Auto-generated base for TlmPacketizer component.