48 void InitInternalVtable() {
50 .GetNetworkTimeFn = &GetNetworkTimeWrapper,
51 .GetLocalTimeFn = &GetLocalTimeWrapper};
52 mInstance.
vtable = &mVTable;
56 details::ITimeAccessorInternalVTable mVTable{};
Result value type used by nn libraries.
ITimeAccessor & operator=(const ITimeAccessor &other)
ITimeAccessor(ITimeAccessor &src)
~ITimeAccessor() override=default
ITimeAccessor & operator=(ITimeAccessor &&src) noexcept
virtual nn::Result GetLocalTime(OSTime *, bool *) const =0
virtual nn::Result GetNetworkTime(OSTime *, bool *) const =0
ITimeAccessorBase * instance
struct nn::sl::details::ITimeAccessorInternal ITimeAccessorInternal
ITimeAccessorInternalVTable * vtable
details::ITimeAccessorBase & GetDefaultTimeAccessor()