nl::Weave::DeviceLayer::TimeSyncManager

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

管理 Weave 裝置的時間同步處理作業。

摘要

公開類型

TimeSyncMode 列舉

好友課程

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

公開函式

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

受保護的函式

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

公開類型

TimeSyncMode

 TimeSyncMode

好友課程

內部::GenericPlatformManagerImpl

friend class Internal::GenericPlatformManagerImpl

Internal::GenericPlatformManagerImpl_FreeRTOS

friend class Internal::GenericPlatformManagerImpl_FreeRTOS

公開函式

GetMode

TimeSyncMode GetMode()

GetSyncInterval

uint32_t GetSyncInterval()

IsTimeSynchronized

bool IsTimeSynchronized()

SetMode

WEAVE_ERROR SetMode(
  TimeSyncMode newMode
)

SetSyncInterval

void SetSyncInterval(
  uint32_t intervalSec
)

受保護的函式

TimeSyncManager

 TimeSyncManager()=default

TimeSyncManager

 TimeSyncManager(
  const TimeSyncManager &
)=delete

TimeSyncManager

 TimeSyncManager(
  const TimeSyncManager &&
)=delete

operator=

TimeSyncManager & operator=(
  const TimeSyncManager &
)=delete

~TimeSyncManager

 ~TimeSyncManager()=default