AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Protected Member Functions | List of all members
alexaClientSDK::sdkClient::FeatureClientBuilderInterface Class Referenceabstract

#include <FeatureClientBuilderInterface.h>

Inheritance diagram for alexaClientSDK::sdkClient::FeatureClientBuilderInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~FeatureClientBuilderInterface ()=default
 
virtual std::string name ()=0
 

Protected Member Functions

template<typename ComponentType >
ACSDK_INLINE_VISIBILITY void addRequiredType ()
 

Detailed Description

Interface to be implemented by Feature Client Builders

Note
During construction of the feature client builder any required types must be requested by calling the addRequiredType<T> function exposed by the FeatureClientBuilderInterface.
MyFeature::MyFeature() {
addRequiredType<RequiredType1>();
addRequiredType<RequiredType2>();
}

Constructor & Destructor Documentation

◆ ~FeatureClientBuilderInterface()

virtual alexaClientSDK::sdkClient::FeatureClientBuilderInterface::~FeatureClientBuilderInterface ( )
virtualdefault

Virtual destructor

Member Function Documentation

◆ addRequiredType()

template<typename ComponentType >
ACSDK_INLINE_VISIBILITY void alexaClientSDK::sdkClient::FeatureClientBuilderInterface::addRequiredType ( )
inlineprotected

Adds a type which is required for the construction of the client. Types added in this way are guaranteed to be available when construct is called. All required types should be registered in the constructor of the feature client.

Template Parameters
ComponentTypeThe type which is required

◆ name()

virtual std::string alexaClientSDK::sdkClient::FeatureClientBuilderInterface::name ( )
pure virtual

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

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