16 #ifndef ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_IPC_COMPONENTS_TEMPLATERUNTIMEHANDLER_H_ 17 #define ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_IPC_COMPONENTS_TEMPLATERUNTIMEHANDLER_H_ 28 namespace sampleApplications {
29 namespace ipcServerSampleApp {
39 ,
public std::enable_shared_from_this<TemplateRuntimeHandler> {
48 static std::shared_ptr<TemplateRuntimeHandler>
create(
49 const std::shared_ptr<IPCHandlerRegistrationInterface>& ipcHandlerRegistrar,
50 const std::shared_ptr<TemplateRuntimeHandlerInterface>& templateRuntimeComponent);
78 std::shared_ptr<IPCHandlerRegistrationInterface> ipcHandlerRegistrar,
79 std::shared_ptr<TemplateRuntimeHandlerInterface> templateRuntimeComponent);
82 std::shared_ptr<IPCHandlerRegistrationInterface> m_ipcHandlerRegistrar;
85 std::shared_ptr<IPCDispatcherInterface> m_ipcDispatcher;
88 std::shared_ptr<TemplateRuntimeHandlerInterface> m_templateRuntimeComponent;
96 #endif // ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_IPC_COMPONENTS_TEMPLATERUNTIMEHANDLER_H_ void renderPlayerInfoCard(const std::string &jsonPayload, templateRuntimeInterfaces::TemplateRuntimeObserverInterface::AudioPlayerInfo audioPlayerInfo) override
Definition: TemplateRuntimeObserverInterface.h:39
::std::string string
Definition: gtest-port.h:1097
Definition: TemplateRuntimeHandler.h:35
Definition: RequiresShutdown.h:32
Definition: IPCHandlerBase.h:33
void clearPlayerInfoCard() override
void clearRenderTemplateCard() override
void doShutdown() override
void registerHandlers()
Register this handler for its namespace and its methods for the corresponding namespace functions...
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
void renderTemplateCard(const std::string &jsonPayload) override
Definition: TemplateRuntimePresentationAdapterObserverInterface.h:30
static std::shared_ptr< TemplateRuntimeHandler > create(const std::shared_ptr< IPCHandlerRegistrationInterface > &ipcHandlerRegistrar, const std::shared_ptr< TemplateRuntimeHandlerInterface > &templateRuntimeComponent)