Google is committed to advancing racial equity for Black communities. See how.

nl::Weave::DeviceLayer::TimeSyncManager

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

Manages time synchronization for Weave Devices.

Summary

Public types

TimeSyncMode enum

Friend classes

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

Public functions

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

Protected functions

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

Public types

TimeSyncMode

 TimeSyncMode

Friend classes

Internal::GenericPlatformManagerImpl

friend class Internal::GenericPlatformManagerImpl

Internal::GenericPlatformManagerImpl_FreeRTOS

friend class Internal::GenericPlatformManagerImpl_FreeRTOS

Public functions

GetMode

TimeSyncMode GetMode()

GetSyncInterval

uint32_t GetSyncInterval()

IsTimeSynchronized

bool IsTimeSynchronized()

SetMode

WEAVE_ERROR SetMode(
  TimeSyncMode newMode
)

SetSyncInterval

void SetSyncInterval(
  uint32_t intervalSec
)

Protected functions

TimeSyncManager

 TimeSyncManager()=default

TimeSyncManager

 TimeSyncManager(
  const TimeSyncManager &
)=delete

TimeSyncManager

 TimeSyncManager(
  const TimeSyncManager &&
)=delete

operator=

TimeSyncManager & operator=(
  const TimeSyncManager &
)=delete

~TimeSyncManager

 ~TimeSyncManager()=default