16 #ifndef ACSDK_SAMPLE_ENDPOINT_ENDPOINTCAPABILITIESBUILDER_H_ 17 #define ACSDK_SAMPLE_ENDPOINT_ENDPOINTCAPABILITIESBUILDER_H_ 21 #include <unordered_set> 29 #ifdef ALEXA_KEYPAD_CONTROLLER 33 #ifdef ALEXA_PLAYBACK_CONTROLLER 38 #ifdef ALEXA_SEEK_CONTROLLER 42 #ifdef ALEXA_VIDEO_RECORDER 46 #ifdef ALEXA_CHANNEL_CONTROLLER 50 #ifdef ALEXA_RECORD_CONTROLLER 54 #ifdef ALEXA_REMOTE_VIDEO_PLAYER 59 namespace sampleApplications {
75 std::pair<std::list<Capability>, std::list<std::shared_ptr<alexaClientSDK::avsCommon::utils::RequiresShutdown>>>
78 const std::shared_ptr<alexaClientSDK::avsCommon::sdkInterfaces::ContextManagerInterface>& contextManager,
79 const std::shared_ptr<alexaClientSDK::avsCommon::sdkInterfaces::AlexaInterfaceMessageSenderInterface>&
81 const std::shared_ptr<alexaClientSDK::avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface>&
82 exceptionSender)
override;
93 std::mutex m_buildCapabilitiesMutex;
96 bool m_capabilitiesBuilt;
99 std::shared_ptr<EndpointFocusAdapter> m_focusAdapter;
102 std::shared_ptr<EndpointAlexaLauncherHandler> m_launcherHandler;
104 #ifdef ALEXA_KEYPAD_CONTROLLER 105 std::shared_ptr<EndpointAlexaKeypadControllerHandler> m_keypadControllerHandler;
109 #ifdef ALEXA_PLAYBACK_CONTROLLER 110 std::shared_ptr<EndpointAlexaPlaybackControllerHandler> m_playbackControllerHandler;
114 #ifdef ALEXA_SEEK_CONTROLLER 115 std::shared_ptr<EndpointAlexaSeekControllerHandler> m_seekControllerHandler;
119 #ifdef ALEXA_VIDEO_RECORDER 120 std::shared_ptr<EndpointAlexaVideoRecorderHandler> m_videoRecorderHandler;
124 #ifdef ALEXA_CHANNEL_CONTROLLER 125 std::shared_ptr<EndpointAlexaChannelControllerHandler> m_channelControllerHandler;
129 #ifdef ALEXA_RECORD_CONTROLLER 130 std::shared_ptr<EndpointAlexaRecordControllerHandler> m_recordControllerHandler;
134 #ifdef ALEXA_REMOTE_VIDEO_PLAYER 135 std::shared_ptr<EndpointAlexaRemoteVideoPlayerHandler> m_remoteVideoPlayerHandler;
144 #endif // ACSDK_SAMPLE_ENDPOINT_ENDPOINTCAPABILITIESBUILDER_H_
std::shared_ptr< EndpointAlexaLauncherHandler > getAlexaLauncherHandler() const
Definition: EndpointCapabilitiesBuilderInterface.h:44
std::pair< std::list< Capability >, std::list< std::shared_ptr< alexaClientSDK::avsCommon::utils::RequiresShutdown > > > buildCapabilities(const alexaClientSDK::avsCommon::sdkInterfaces::endpoints::EndpointIdentifier &endpointId, const std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::ContextManagerInterface > &contextManager, const std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::AlexaInterfaceMessageSenderInterface > &responseSender, const std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface > &exceptionSender) override
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: EndpointCapabilitiesBuilder.h:64
std::string EndpointIdentifier
Definition: EndpointIdentifier.h:38
EndpointCapabilitiesBuilder(std::shared_ptr< EndpointFocusAdapter > focusAdapter=nullptr)