16 #ifndef ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_ALEXAPRESENTATION_IPCAPLAGENT_H_ 17 #define ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_ALEXAPRESENTATION_IPCAPLAGENT_H_ 29 namespace sampleApplications {
30 namespace ipcServerSampleApp {
43 static std::shared_ptr<IPCAPLAgent>
create(std::shared_ptr<gui::GUIClientInterface> guiClient);
60 void addObserver(std::shared_ptr<aplCapabilityCommonInterfaces::APLCapabilityAgentObserverInterface> observer);
62 void removeObserver(std::shared_ptr<aplCapabilityCommonInterfaces::APLCapabilityAgentObserverInterface> observer);
92 explicit IPCAPLAgent(std::shared_ptr<gui::GUIClientInterface> guiClient);
95 std::shared_ptr<gui::GUIClientInterface> m_guiClient;
102 #endif // ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_ALEXAPRESENTATION_IPCAPLAGENT_H_ Definition: APLEventPayload.h:137
Definition: APLEventPayload.h:86
Definition: PresentationSession.h:40
void onActiveDocumentChanged(const std::string &token, const aplCapabilityCommonInterfaces::PresentationSession &session) override
void clearExecuteCommands(const std::string &token=std::string(), bool markAsFailed=true) override
void addObserver(std::shared_ptr< aplCapabilityCommonInterfaces::APLCapabilityAgentObserverInterface > observer)
Definition: APLEventPayload.h:178
void processExecuteCommandsResult(const std::string &token, alexaClientSDK::aplCapabilityCommonInterfaces::APLCommandExecutionEvent event, const std::string &error) override
::std::string string
Definition: gtest-port.h:1097
void removeObserver(std::shared_ptr< aplCapabilityCommonInterfaces::APLCapabilityAgentObserverInterface > observer)
unsigned int ContextRequestToken
Alias for the token used to identify a context request.
Definition: ContextRequestToken.h:23
void sendDataSourceFetchRequestEvent(const alexaClientSDK::aplCapabilityCommonInterfaces::aplEventPayload::DataSourceFetch &fetchPayload) override
static std::shared_ptr< IPCAPLAgent > create(std::shared_ptr< gui::GUIClientInterface > guiClient)
void setAPLMaxVersion(const std::string &APLMaxVersion)
void onDocumentDismissed(const std::string &token)
void proactiveStateReport() override
virtual ~IPCAPLAgent()=default
void processRenderDocumentResult(const std::string &token, const bool result, const std::string &error) override
Definition: APLCapabilityAgentInterface.h:35
void sendUserEvent(const alexaClientSDK::aplCapabilityCommonInterfaces::aplEventPayload::UserEvent &payload) override
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: IPCAPLAgent.h:35
void sendRuntimeErrorEvent(const alexaClientSDK::aplCapabilityCommonInterfaces::aplEventPayload::RuntimeError &payload) override
void onVisualContextAvailable(alexaClientSDK::avsCommon::sdkInterfaces::ContextRequestToken requestToken, const alexaClientSDK::aplCapabilityCommonInterfaces::aplEventPayload::VisualContext &visualContext) override
Definition: APLEventPayload.h:31
APLCommandExecutionEvent
Enumeration of APL Command Execution Events that can be reported to the APL capability agent...
Definition: APLCommandExecutionEvent.h:27
void recordRenderComplete(const std::chrono::steady_clock::time_point ×tamp) override