7 #ifndef Svc_SystemResourcesComponentAc_HPP 8 #define Svc_SystemResourcesComponentAc_HPP 17 #if FW_ENABLE_TEXT_LOGGING == 1 161 #if FW_ENABLE_TEXT_LOGGING == 1 164 void set_LogText_OutputPort(
183 #if FW_PORT_SERIALIZATION 194 Fw::InputSerializePort* port
200 Fw::InputSerializePort* port
206 Fw::InputSerializePort* port
209 #if FW_ENABLE_TEXT_LOGGING == 1 212 void set_LogText_OutputPort(
214 Fw::InputSerializePort* port
222 Fw::InputSerializePort* port
228 Fw::InputSerializePort* port
252 const char* compName =
"" 301 #if FW_ENABLE_TEXT_LOGGING == 1 347 #if FW_ENABLE_TEXT_LOGGING == 1 352 bool isConnected_LogText_OutputPort(
650 static void m_p_CmdDisp_in(
665 static void m_p_run_in(
704 #if FW_ENABLE_TEXT_LOGGING == 1 void set_CmdStatus_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to CmdStatus[portNum].
Channel ID for NON_VOLATILE_FREE.
bool isConnected_CmdReg_OutputPort(FwIndexType portNum)
void tlmWrite_CPU_00(F32 arg, Fw::Time _tlmTime=Fw::Time()) const
void tlmWrite_CPU(F32 arg, Fw::Time _tlmTime=Fw::Time()) const
virtual void ENABLE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, Svc::SystemResourceEnabled enable)=0
friend class SystemResourcesComponentBaseFriend
Friend class for white-box testing.
void tlmWrite_MEMORY_USED(U64 arg, Fw::Time _tlmTime=Fw::Time()) const
void tlmWrite_NON_VOLATILE_FREE(U64 arg, Fw::Time _tlmTime=Fw::Time()) const
void tlmWrite_CPU_09(F32 arg, Fw::Time _tlmTime=Fw::Time()) const
A command to enable or disable system resource telemetry.
void set_Tlm_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to Tlm[portNum].
bool isConnected_Log_OutputPort(FwIndexType portNum)
void tlmWrite_CPU_02(F32 arg, Fw::Time _tlmTime=Fw::Time()) const
Enum representing a command response.
FwIndexType getNum_Time_OutputPorts() const
Fw::InputCmdPort * get_CmdDisp_InputPort(FwIndexType portNum)
PlatformIndexType FwIndexType
FwIndexType getNum_run_InputPorts() const
void tlmWrite_CPU_10(F32 arg, Fw::Time _tlmTime=Fw::Time()) const
void init()
Object initializer.
FwIndexType getNum_CmdReg_OutputPorts() const
float F32
32-bit floating point
SystemResourcesComponentBase(const char *compName="")
Construct SystemResourcesComponentBase object.
bool isConnected_Tlm_OutputPort(FwIndexType portNum)
void tlmWrite_CPU_13(F32 arg, Fw::Time _tlmTime=Fw::Time()) const
FwIndexType getNum_CmdStatus_OutputPorts() const
void tlmWrite_CPU_11(F32 arg, Fw::Time _tlmTime=Fw::Time()) const
Svc::InputSchedPort * get_run_InputPort(FwIndexType portNum)
virtual void run_handler(FwIndexType portNum, U32 context)=0
Handler for input port run.
virtual void unLock()
Unlock the guarded mutex.
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
void tlmWrite_CPU_14(F32 arg, Fw::Time _tlmTime=Fw::Time()) const
C++-compatible configuration header for fprime configuration.
void tlmWrite_CPU_15(F32 arg, Fw::Time _tlmTime=Fw::Time()) const
bool isConnected_CmdStatus_OutputPort(FwIndexType portNum)
void tlmWrite_CPU_01(F32 arg, Fw::Time _tlmTime=Fw::Time()) const
Auto-generated base for SystemResources component.
void tlmWrite_CPU_07(F32 arg, Fw::Time _tlmTime=Fw::Time()) const
FwIndexType getNum_Log_OutputPorts() const
void tlmWrite_CPU_04(F32 arg, Fw::Time _tlmTime=Fw::Time()) const
void ENABLE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void tlmWrite_CPU_08(F32 arg, Fw::Time _tlmTime=Fw::Time()) const
void set_Log_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to Log[portNum].
void regCommands()
Register commands with the Command Dispatcher.
virtual ~SystemResourcesComponentBase()
Destroy SystemResourcesComponentBase object.
void tlmWrite_CPU_06(F32 arg, Fw::Time _tlmTime=Fw::Time()) const
void set_CmdReg_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to CmdReg[portNum].
void tlmWrite_CPU_12(F32 arg, Fw::Time _tlmTime=Fw::Time()) const
Channel ID for MEMORY_USED.
FwIndexType getNum_CmdDisp_InputPorts() const
void tlmWrite_CPU_03(F32 arg, Fw::Time _tlmTime=Fw::Time()) const
FwIndexType getNum_Tlm_OutputPorts() const
void run_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port run.
void tlmWrite_MEMORY_TOTAL(U64 arg, Fw::Time _tlmTime=Fw::Time()) const
virtual void lock()
Lock the guarded mutex.
bool isConnected_Time_OutputPort(FwIndexType portNum)
Channel ID for MEMORY_TOTAL.
void tlmWrite_NON_VOLATILE_TOTAL(U64 arg, Fw::Time _tlmTime=Fw::Time()) const
Channel ID for NON_VOLATILE_TOTAL.
void tlmWrite_CPU_05(F32 arg, Fw::Time _tlmTime=Fw::Time()) const
void set_Time_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to Time[portNum].