AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::settings::SettingCallbackAdapterInterface< ManagerT > Class Template Referenceabstract

#include <SettingCallbackAdapter.h>

Inheritance diagram for alexaClientSDK::settings::SettingCallbackAdapterInterface< ManagerT >:
Inheritance graph
[legend]

Public Member Functions

virtual ~SettingCallbackAdapterInterface ()=default
 
virtual bool addToManager (ManagerT &manager)=0
 
virtual void removeFromManager (ManagerT &manager)=0
 

Detailed Description

template<typename ManagerT>
class alexaClientSDK::settings::SettingCallbackAdapterInterface< ManagerT >

Interface for the SettingCallbackAdapter that will allow callbacks to be stored in one single container.

Template Parameters
ManagerTThe setting manager type that this callback will be added to.

Constructor & Destructor Documentation

◆ ~SettingCallbackAdapterInterface()

template<typename ManagerT >
virtual alexaClientSDK::settings::SettingCallbackAdapterInterface< ManagerT >::~SettingCallbackAdapterInterface ( )
virtualdefault

Member Function Documentation

◆ addToManager()

template<typename ManagerT >
virtual bool alexaClientSDK::settings::SettingCallbackAdapterInterface< ManagerT >::addToManager ( ManagerT &  manager)
pure virtual

Add callback to the given manager.

Parameters
managerManager that has the setting to be observed.
Returns
true if it succeeds; otherwise.

Implemented in alexaClientSDK::settings::SettingCallbackAdapter< ManagerT, id >.

◆ removeFromManager()

template<typename ManagerT >
virtual void alexaClientSDK::settings::SettingCallbackAdapterInterface< ManagerT >::removeFromManager ( ManagerT &  manager)
pure virtual

Remove callback from the given manager.

Parameters
managerManager that has the setting that was being observed.

Implemented in alexaClientSDK::settings::SettingCallbackAdapter< ManagerT, id >.


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