7 #ifndef Svc_OsTimeComponentAc_HPP 8 #define Svc_OsTimeComponentAc_HPP 20 #if FW_ENABLE_TEXT_LOGGING == 1 151 #if FW_ENABLE_TEXT_LOGGING == 1 154 void set_LogText_OutputPort(
167 #if FW_PORT_SERIALIZATION 178 Fw::InputSerializePort* port
184 Fw::InputSerializePort* port
190 Fw::InputSerializePort* port
193 #if FW_ENABLE_TEXT_LOGGING == 1 196 void set_LogText_OutputPort(
198 Fw::InputSerializePort* port
206 Fw::InputSerializePort* port
230 const char* compName =
"" 284 #if FW_ENABLE_TEXT_LOGGING == 1 325 #if FW_ENABLE_TEXT_LOGGING == 1 330 bool isConnected_LogText_OutputPort(
455 static void m_p_CmdDisp_in(
470 static void m_p_setEpoch_in(
478 static void m_p_timeGetPort_in(
520 #if FW_ENABLE_TEXT_LOGGING == 1 FwIndexType getNum_CmdStatus_OutputPorts() const
Svc::InputOsTimeEpochPort * get_setEpoch_InputPort(FwIndexType portNum)
bool isConnected_CmdReg_OutputPort(FwIndexType portNum)
FwIdType FwOpcodeType
The type of a command opcode.
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
virtual void SetCurrentTime_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U32 seconds_now)=0
Handler for command SetCurrentTime.
void set_CmdStatus_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to CmdStatus[portNum].
Fw::InputCmdPort * get_CmdDisp_InputPort(FwIndexType portNum)
void log_WARNING_HI_SetCurrentTimeError(U32 status) const
Enum representing a command response.
void set_CmdReg_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to CmdReg[portNum].
virtual void setEpoch_handler(FwIndexType portNum, const Fw::Time &fw_time, const Os::RawTime &os_time)=0
Handler for input port setEpoch.
FwIndexType getNum_CmdReg_OutputPorts() const
bool isConnected_EventOut_OutputPort(FwIndexType portNum)
void init()
Object initializer.
void setEpoch_handlerBase(FwIndexType portNum, const Fw::Time &fw_time, const Os::RawTime &os_time)
Handler base-class function for input port setEpoch.
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
void SetCurrentTime_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Base-class handler function for command SetCurrentTime.
FwIndexType getNum_CmdDisp_InputPorts() const
FwIndexType getNum_timeCaller_OutputPorts() const
FwIndexType getNum_setEpoch_InputPorts() const
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
void timeGetPort_handlerBase(FwIndexType portNum, Fw::Time &time)
Handler base-class function for input port timeGetPort.
bool isConnected_CmdStatus_OutputPort(FwIndexType portNum)
Auto-generated base for OsTime component.
PlatformIndexType FwIndexType
friend class OsTimeTesterBase
Friend class tester to support autocoded test harness.
void set_EventOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to EventOut[portNum].
virtual ~OsTimeComponentBase()
Destroy OsTimeComponentBase object.
An error occurred while attempting to set the current time.
RateGroupDivider component implementation.
virtual void timeGetPort_handler(FwIndexType portNum, Fw::Time &time)=0
Handler for input port timeGetPort.
FwIndexType getNum_timeGetPort_InputPorts() const
Fw::InputTimePort * get_timeGetPort_InputPort(FwIndexType portNum)
void regCommands()
Register commands with the Command Dispatcher.
friend class OsTimeTester
Friend class tester implementation to support white-box testing.
OsTimeComponentBase(const char *compName="")
Construct OsTimeComponentBase object.
FwIndexType getNum_EventOut_OutputPorts() const