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 =
"" 296 #if FW_ENABLE_TEXT_LOGGING == 1 301 static constexpr
FwIndexType getNum_LogText_OutputPorts() {
341 #if FW_ENABLE_TEXT_LOGGING == 1 346 bool isConnected_LogText_OutputPort(
471 static void m_p_CmdDisp_in(
486 static void m_p_setEpoch_in(
494 static void m_p_timeGetPort_in(
536 #if FW_ENABLE_TEXT_LOGGING == 1 static constexpr FwIndexType getNum_setEpoch_InputPorts()
static constexpr FwIndexType getNum_EventOut_OutputPorts()
Svc::InputOsTimeEpochPort * get_setEpoch_InputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_CmdDisp_InputPorts()
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
static constexpr FwIndexType getNum_CmdStatus_OutputPorts()
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.
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.
static constexpr FwIndexType getNum_timeGetPort_InputPorts()
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.
An error occurred while attempting to set the current time.
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.
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
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.
RateGroupDivider component implementation.
virtual void timeGetPort_handler(FwIndexType portNum, Fw::Time &time)=0
Handler for input port timeGetPort.
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.
static constexpr FwIndexType getNum_CmdReg_OutputPorts()