![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <AbstractPointerCache.h>
Public Member Functions | |
virtual | ~AbstractPointerCache ()=default |
virtual void * | get (RuntimeManufactory &runtimeManufactory)=0 |
virtual void | cleanup ()=0 |
Common parent class for an object used to cache an instance.
|
virtualdefault |
Destructor.
|
pure virtual |
Release any unneeded references in the cache after calling get().
Implemented in alexaClientSDK::acsdkManufactory::internal::SharedPointerCache, and alexaClientSDK::acsdkManufactory::internal::WeakPointerCache.
|
pure virtual |
Get the instance from the cache.
runtimeManufactory | The RuntimeManufactory to use to acquire an instance if the cache is empty. |
Implemented in alexaClientSDK::acsdkManufactory::internal::SharedPointerCache, and alexaClientSDK::acsdkManufactory::internal::WeakPointerCache.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0