AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
StartupManager.h
Go to the documentation of this file.
1 /*
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0/
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
16 #ifndef ACSDKSTARTUPMANAGER_STARTUPMANAGER_H_
17 #define ACSDKSTARTUPMANAGER_STARTUPMANAGER_H_
18 
19 #include <memory>
20 
23 
24 namespace alexaClientSDK {
25 namespace acsdkStartupManager {
26 
31 public:
37  static std::shared_ptr<acsdkStartupManagerInterfaces::StartupManagerInterface> createStartupManagerInterface(
38  const std::shared_ptr<acsdkStartupManagerInterfaces::StartupNotifierInterface>& notifier);
39 
42  bool startup() override;
44 
45 private:
51  StartupManager(const std::shared_ptr<acsdkStartupManagerInterfaces::StartupNotifierInterface>& notifier);
52 
54  std::shared_ptr<acsdkStartupManagerInterfaces::StartupNotifierInterface> m_notifier;
55 };
56 
57 } // namespace acsdkStartupManager
58 } // namespace alexaClientSDK
59 
60 #endif // ACSDKSTARTUPMANAGER_STARTUPMANAGER_H_
alexaClientSDK::acsdkStartupManager::StartupManager::createStartupManagerInterface
static std::shared_ptr< acsdkStartupManagerInterfaces::StartupManagerInterface > createStartupManagerInterface(const std::shared_ptr< acsdkStartupManagerInterfaces::StartupNotifierInterface > &notifier)
Definition: StartupManager.cpp:62
alexaClientSDK::acsdkStartupManager::StartupManager
Definition: StartupManager.h:30
alexaClientSDK::acsdkStartupManager::StartupManager::startup
bool startup() override
Definition: StartupManager.cpp:72
alexaClientSDK
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
StartupNotifierInterface.h
alexaClientSDK::acsdkStartupManagerInterfaces::StartupManagerInterface
Definition: StartupManagerInterface.h:29
StartupManagerInterface.h

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