16 #ifndef ALEXA_CLIENT_SDK_ENDPOINTS_INCLUDE_ENDPOINTS_DEFAULTENDPOINTBUILDER_H_ 17 #define ALEXA_CLIENT_SDK_ENDPOINTS_INCLUDE_ENDPOINTS_DEFAULTENDPOINTBUILDER_H_ 86 const std::shared_ptr<avsCommon::utils::DeviceInfo>& deviceInfo,
87 const std::shared_ptr<avsCommon::sdkInterfaces::ContextManagerInterface>& contextManager,
88 const std::shared_ptr<avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface>& exceptionSender,
89 const std::shared_ptr<capabilityAgents::alexa::AlexaInterfaceMessageSenderInternalInterface>&
114 const std::vector<std::map<std::string, std::string>>& connections)
override;
117 std::shared_ptr<avsCommon::sdkInterfaces::powerController::PowerControllerInterface> powerController,
118 bool isProactivelyReported,
119 bool isRetrievable)
override;
121 std::shared_ptr<avsCommon::sdkInterfaces::toggleController::ToggleControllerInterface> toggleController,
124 bool isProactivelyReported,
126 bool isNonControllable =
false)
override;
128 const std::shared_ptr<avsCommon::sdkInterfaces::endpoints::EndpointCapabilitiesBuilderInterface>&
129 endpointCapabilitiesBuilder)
override;
131 std::shared_ptr<avsCommon::sdkInterfaces::modeController::ModeControllerInterface> modeController,
134 bool isProactivelyReported,
136 bool isNonControllable =
false)
override;
138 std::shared_ptr<avsCommon::sdkInterfaces::rangeController::RangeControllerInterface> rangeController,
141 bool isProactivelyReported,
143 bool isNonControllable =
false)
override;
146 std::shared_ptr<DirectiveHandlerInterface> directiveHandler)
override;
148 const std::shared_ptr<avsCommon::sdkInterfaces::CapabilityConfigurationInterface>& configurationInterface,
149 std::shared_ptr<DirectiveHandlerInterface> directiveHandler)
override;
151 const std::shared_ptr<avsCommon::sdkInterfaces::CapabilityConfigurationInterface>& configurationInterface)
153 std::unique_ptr<EndpointInterface>
build()
override;
165 std::unique_ptr<EndpointBuilder> m_builder;
171 #endif // ALEXA_CLIENT_SDK_ENDPOINTS_INCLUDE_ENDPOINTS_DEFAULTENDPOINTBUILDER_H_ Definition: ModeControllerAttributes.h:39
DefaultEndpointBuilder & withFriendlyName(const std::string &friendlyName) override
avsCommon::sdkInterfaces::endpoints::EndpointIdentifier EndpointIdentifier
Definition: DefaultEndpointBuilder.h:57
static acsdkManufactory::Annotated< DefaultEndpointAnnotation, EndpointBuilderInterface > createDefaultEndpointBuilderInterface(const std::shared_ptr< avsCommon::utils::DeviceInfo > &deviceInfo, const std::shared_ptr< avsCommon::sdkInterfaces::ContextManagerInterface > &contextManager, const std::shared_ptr< avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface > &exceptionSender, const std::shared_ptr< capabilityAgents::alexa::AlexaInterfaceMessageSenderInternalInterface > &alexaMessageSender)
DefaultEndpointBuilder & withEndpointCapabilitiesBuilder(const std::shared_ptr< avsCommon::sdkInterfaces::endpoints::EndpointCapabilitiesBuilderInterface > &endpointCapabilitiesBuilder) override
virtual ~DefaultEndpointBuilder()
DefaultEndpointBuilder & withManufacturerName(const std::string &manufacturerName) override
::std::string string
Definition: gtest-port.h:1097
Definition: RangeControllerAttributes.h:38
DefaultEndpointBuilder & withPowerController(std::shared_ptr< avsCommon::sdkInterfaces::powerController::PowerControllerInterface > powerController, bool isProactivelyReported, bool isRetrievable) override
static acsdkManufactory::Annotated< DefaultEndpointAnnotation, EndpointCapabilitiesRegistrarInterface > createDefaultEndpointCapabilitiesRegistrarInterface(acsdkManufactory::Annotated< DefaultEndpointAnnotation, EndpointBuilderInterface > builder)
DefaultEndpointBuilder & withCookies(const std::map< std::string, std::string > &cookies) override
DefaultEndpointBuilder & withToggleController(std::shared_ptr< avsCommon::sdkInterfaces::toggleController::ToggleControllerInterface > toggleController, const std::string &instance, const avsCommon::sdkInterfaces::toggleController::ToggleControllerAttributes &toggleControllerAttributes, bool isProactivelyReported, bool isRetrievable, bool isNonControllable=false) override
avsCommon::sdkInterfaces::endpoints::DefaultEndpointAnnotation DefaultEndpointAnnotation
Definition: AlexaInterfaceCapabilityAgentTest.cpp:50
DefaultEndpointBuilder & withDeviceRegistration() override
DefaultEndpointBuilder & withModeController(std::shared_ptr< avsCommon::sdkInterfaces::modeController::ModeControllerInterface > modeController, const std::string &instance, const avsCommon::sdkInterfaces::modeController::ModeControllerAttributes &modeControllerAttributes, bool isProactivelyReported, bool isRetrievable, bool isNonControllable=false) override
Definition: EndpointBuilderInterface.h:66
Definition: DefaultEndpointAnnotation.h:26
Definition: Annotated.h:35
std::unique_ptr< EndpointInterface > build() override
DefaultEndpointBuilder & withDisplayCategory(const std::vector< std::string > &displayCategories) override
DefaultEndpointBuilder & withRangeController(std::shared_ptr< avsCommon::sdkInterfaces::rangeController::RangeControllerInterface > rangeController, const std::string &instance, const avsCommon::sdkInterfaces::rangeController::RangeControllerAttributes &rangeControllerAttributes, bool isProactivelyReported, bool isRetrievable, bool isNonControllable=false) override
DefaultEndpointBuilder & withCapability(const CapabilityConfiguration &configuration, std::shared_ptr< DirectiveHandlerInterface > directiveHandler) override
DefaultEndpointBuilder & withConnections(const std::vector< std::map< std::string, std::string >> &connections) override
Definition: AVSDiscoveryEndpointAttributes.h:41
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
DefaultEndpointBuilder & withEndpointId(const EndpointIdentifier &endpointId) override
Definition: ToggleControllerAttributes.h:34
DefaultEndpointBuilder & withDerivedEndpointId(const std::string &suffix) override
Definition: DefaultEndpointBuilder.h:52
Definition: DirectiveHandlerInterface.h:39
std::string EndpointIdentifier
Definition: EndpointIdentifier.h:38
Definition: CapabilityConfiguration.h:42
DefaultEndpointBuilder & withAdditionalAttributes(const std::string &manufacturer, const std::string &model, const std::string &serialNumber, const std::string &firmwareVersion, const std::string &softwareVersion, const std::string &customIdentifier) override
DefaultEndpointBuilder & withDescription(const std::string &description) override
DefaultEndpointBuilder & withCapabilityConfiguration(const std::shared_ptr< avsCommon::sdkInterfaces::CapabilityConfigurationInterface > &configurationInterface) override
Definition: EndpointInterface.h:38