nl::Weave::DeviceLayer::TimeSyncManager

#include <src/adaptations/device-layer/include/Weave/DeviceLayer/TimeSyncManager.h>

Quản lý đồng bộ hoá thời gian cho Weave Devices.

Tóm tắt

Loại công khai

TimeSyncMode enum

Lớp học bạn bè

Internal::GenericPlatformManagerImpl
friend class
Internal::GenericPlatformManagerImpl_FreeRTOS
friend class

Hàm công khai

GetMode()
TimeSyncMode
GetSyncInterval()
uint32_t
IsTimeSynchronized()
bool
SetMode(TimeSyncMode newMode)
SetSyncInterval(uint32_t intervalSec)
void

Hàm được bảo vệ

TimeSyncManager()=default
TimeSyncManager(const TimeSyncManager &)=delete
TimeSyncManager(const TimeSyncManager &&)=delete
operator=(const TimeSyncManager &)=delete
~TimeSyncManager()=default

Loại công khai

TimeSyncMode

 TimeSyncMode

Lớp học bạn bè

Nội bộ::GenericPlatformManagerImpl

friend class Internal::GenericPlatformManagerImpl

Internal::GenericPlatformManagerImpl_FreeRTOS

friend class Internal::GenericPlatformManagerImpl_FreeRTOS

Hàm công khai

GetMode

TimeSyncMode GetMode()

GetSyncInterval

uint32_t GetSyncInterval()

IsTimeSynchronized

bool IsTimeSynchronized()

SetMode

WEAVE_ERROR SetMode(
  TimeSyncMode newMode
)

SetSyncInterval

void SetSyncInterval(
  uint32_t intervalSec
)

Hàm được bảo vệ

TimeSyncManager

 TimeSyncManager()=default

TimeSyncManager

 TimeSyncManager(
  const TimeSyncManager &
)=delete

TimeSyncManager

 TimeSyncManager(
  const TimeSyncManager &&
)=delete

operator=

TimeSyncManager & operator=(
  const TimeSyncManager &
)=delete

~TimeSyncManager

 ~TimeSyncManager()=default