 |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
|
Go to the documentation of this file. 1 #ifndef SDK_SYSTEM_TIME_INTERFACE_H_
11 #define SDK_SYSTEM_TIME_INTERFACE_H_
41 SDKTime& local_time)
const throw() = 0;
45 SDKTime& utc_time)
const throw() = 0;
48 const SDKTime& current_time)
throw() = 0;
63 #endif // SDK_SYSTEM_TIME_INTERFACE_H_
SystemTimeProperties
System time properties.
Definition: system_time_interface.h:22
Object generic properties interface.
virtual SDKResult SDK_CALLTYPE GetLocalTime(SDKTime &time) const =0
Gets Local time.
virtual SDKResult SDK_CALLTYPE GetUTCTime(SDKTime &time) const =0
Gets UTC time.
@ kSystemTimeProperty_TimeZoneBias
Time zone bias.
Definition: system_time_interface.h:24
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
virtual SDKResult SDK_CALLTYPE AdjustTime(const SDKTime ¤t_time)=0
Adjusts time.
virtual SDKResult SDK_CALLTYPE UTCToLocal(const SDKTime &utc_time, SDKTime &local_time) const =0
Converts UTC time to Local time.
Provides access to members that control the properties.
Definition: properties_interface.h:32
@ kSystemTimeProperty_TimeCorrection
Time correction (only get).
Definition: system_time_interface.h:26
@ kSystemTimeProperty_DaylightSavingBias
Daylight savings bias.
Definition: system_time_interface.h:25
virtual SDKResult SDK_CALLTYPE ResetTimeCorrection()=0
Reset the time correction.
SDK_END_NAMESPACE typedef SDKInt64 SDKTime
Milliseconds from Unix epoch.
Definition: base_types.h:56
System time manager interface.
Definition: system_time_interface.h:31
virtual SDKResult SDK_CALLTYPE LocalToUTC(const SDKTime &local_time, SDKTime &utc_time) const =0
Converts Local time to UTC time.
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.