AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Static Public Member Functions | List of all members
alexaClientSDK::acsdkSystemClockMonitor::SystemClockMonitor Class Reference

#include <SystemClockMonitor.h>

Inheritance diagram for alexaClientSDK::acsdkSystemClockMonitor::SystemClockMonitor:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::acsdkSystemClockMonitor::SystemClockMonitor:
Collaboration graph
[legend]

Public Member Functions

SystemClockMonitorInterface methods.
void onSystemClockSynchronized () override
 
- Public Member Functions inherited from alexaClientSDK::acsdkSystemClockMonitorInterfaces::SystemClockMonitorInterface
virtual ~SystemClockMonitorInterface ()=default
 

Static Public Member Functions

static std::shared_ptr< acsdkSystemClockMonitorInterfaces::SystemClockMonitorInterfacecreateSystemClockMonitorInterface (const std::shared_ptr< acsdkSystemClockMonitorInterfaces::SystemClockNotifierInterface > &notifier)
 

Detailed Description

Implementation of SystemClockMonitorInterface.

When onSystemClockSynchronized() is called, observers that have added themselves via SystemClockNotifierInterface will have their onSystemClockSynchronized() method called.

Member Function Documentation

◆ createSystemClockMonitorInterface()

static std::shared_ptr<acsdkSystemClockMonitorInterfaces::SystemClockMonitorInterface> alexaClientSDK::acsdkSystemClockMonitor::SystemClockMonitor::createSystemClockMonitorInterface ( const std::shared_ptr< acsdkSystemClockMonitorInterfaces::SystemClockNotifierInterface > &  notifier)
static

Create a new instance of SystemClockMonitorInterface.

Parameters
notifierThe notifier to use to invoke SystemClockMonitorObserverInterface::onSystemClockSynchronized().

◆ onSystemClockSynchronized()

void alexaClientSDK::acsdkSystemClockMonitor::SystemClockMonitor::onSystemClockSynchronized ( )
overridevirtual

Notify observers when the system clock is synchronized.

Implements alexaClientSDK::acsdkSystemClockMonitorInterfaces::SystemClockMonitorInterface.


The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0