7 #ifndef Svc_PassiveRateGroupComponentAc_HPP 8 #define Svc_PassiveRateGroupComponentAc_HPP 16 #if !FW_DIRECT_PORT_CALLS 19 #if !FW_DIRECT_PORT_CALLS 102 #if !FW_DIRECT_PORT_CALLS 119 #if !FW_DIRECT_PORT_CALLS 136 #if !FW_DIRECT_PORT_CALLS 170 #if !FW_DIRECT_PORT_CALLS 186 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 197 Fw::InputSerializePort* port
203 Fw::InputSerializePort* port
209 Fw::InputSerializePort* port
215 Fw::InputSerializePort* port
220 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 231 Fw::InputSerializePort* port
255 const char* compName =
"" 381 #if FW_DIRECT_PORT_CALLS 413 #if FW_DIRECT_PORT_CALLS 565 static void m_p_CmdDisp_in(
580 static void m_p_CycleIn_in(
620 #if !FW_DIRECT_PORT_CALLS 633 #if !FW_DIRECT_PORT_CALLS 646 #if !FW_DIRECT_PORT_CALLS 668 #if !FW_DIRECT_PORT_CALLS 688 bool m_first_update_MaxCycleTime =
true;
691 bool m_first_update_PortCycleTimeHWM =
true;
700 U32 m_last_MaxCycleTime = {};
void CLEAR_STATISTICS_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Channel ID for CycleTime.
Fw::InputCmdPort * get_CmdDisp_InputPort(FwIndexType portNum)
FwIdType FwOpcodeType
The type of a command opcode.
bool isConnected_RateGroupMemberOut_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_RateGroupMemberOut_OutputPorts()
void set_CmdStatus_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to CmdStatus[portNum].
void set_CmdReg_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to CmdReg[portNum].
void set_Tlm_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to Tlm[portNum].
friend class PassiveRateGroupTester
Friend class tester implementation to support white-box testing.
bool isConnected_CmdStatus_OutputPort(FwIndexType portNum) const
Enum representing a command response.
void RateGroupMemberOut_out(FwIndexType portNum, U32 context) const
Invoke output port RateGroupMemberOut.
void init()
Object initializer.
bool isConnected_Time_OutputPort(FwIndexType portNum) const
Channel ID for MaxCycleTime.
bool isConnected_CmdReg_OutputPort(FwIndexType portNum) const
void tlmWrite_CycleTime(U32 arg, Fw::Time _tlmTime=Fw::Time()) const
void set_Time_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to Time[portNum].
bool isConnected_Tlm_OutputPort(FwIndexType portNum) const
FwIdType FwChanIdType
The type of a telemetry channel identifier.
static constexpr FwIndexType getNum_CmdDisp_InputPorts()
virtual void CLEAR_STATISTICS_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
virtual ~PassiveRateGroupComponentBase()
Destroy PassiveRateGroupComponentBase object.
PassiveRateGroupComponentBase(const char *compName="")
Construct PassiveRateGroupComponentBase object.
Auto-generated base for PassiveRateGroup component.
void tlmWrite_MaxCycleTime(U32 arg, Fw::Time _tlmTime=Fw::Time())
static constexpr FwIndexType getNum_Time_OutputPorts()
static constexpr FwIndexType getNum_CmdReg_OutputPorts()
void tlmWrite_PortCycleTimeHWM(const Svc::PassiveRateGroup_CycleTime &arg, Fw::Time _tlmTime=Fw::Time())
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
Clear max cycle time and port cycle time high water marks (cycle count is not cleared) ...
friend class PassiveRateGroupTesterBase
Friend class tester to support autocoded test harness.
void tlmWrite_CycleCount(U32 arg, Fw::Time _tlmTime=Fw::Time()) const
PlatformIndexType FwIndexType
Channel ID for PortCycleTimeHWM.
static constexpr FwIndexType getNum_CmdStatus_OutputPorts()
void set_RateGroupMemberOut_OutputPort(FwIndexType portNum, Svc::InputSchedPort *port)
Connect port to RateGroupMemberOut[portNum].
Channel ID for PortCycleTime.
virtual void CycleIn_handler(FwIndexType portNum, Os::RawTime &cycleStart)=0
Handler for input port CycleIn.
void CmdDisp_handlerBase(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Handler base-class function for input port CmdDisp.
RateGroupDivider component implementation.
static constexpr FwIndexType getNum_Tlm_OutputPorts()
void CycleIn_handlerBase(FwIndexType portNum, Os::RawTime &cycleStart)
Handler base-class function for input port CycleIn.
Channel ID for CycleCount.
void tlmWrite(FwChanIdType id, Fw::TlmBuffer &_tlmBuff, Fw::Time _tlmTime=Fw::Time()) const
void tlmWrite_PortCycleTime(const Svc::PassiveRateGroup_CycleTime &arg, Fw::Time _tlmTime=Fw::Time()) const
Write telemetry channel PortCycleTime.
static constexpr FwIndexType getNum_CycleIn_InputPorts()
Svc::InputCyclePort * get_CycleIn_InputPort(FwIndexType portNum)
void regCommands()
Register commands with the Command Dispatcher.