|
| ~APLCATest ()=default |
|
| APLCATest (std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface > exceptionSender, std::shared_ptr< alexaClientSDK::avsCommon::utils::metrics::MetricRecorderInterface > metricRecorder, std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::MessageSenderInterface > messageSender, std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::ContextManagerInterface > contextManager, std::string aplVersion, std::shared_ptr< alexaClientSDK::aplCapabilityCommonInterfaces::VisualStateProviderInterface > visualStateProvider=nullptr) |
|
|
alexaClientSDK::avsCommon::avs::DirectiveHandlerConfiguration | getAPLDirectiveConfiguration () const override |
| Template Methods to be implemented in Concrete Implementations. More...
|
|
std::unordered_set< std::shared_ptr< alexaClientSDK::avsCommon::avs::CapabilityConfiguration > > | getAPLCapabilityConfigurations (const std::string &APLMaxVersion) override |
|
aplCapabilityCommon::BaseAPLCapabilityAgent::DirectiveType | getDirectiveType (std::shared_ptr< DirectiveInfo > info) override |
|
const std::string & | getConfigurationRootKey () override |
|
const std::string & | getMetricDataPointName (aplCapabilityCommon::BaseAPLCapabilityAgent::MetricEvent event) override |
|
const std::string & | getMetricActivityName (aplCapabilityCommon::BaseAPLCapabilityAgent::MetricActivity activity) override |
|
aplCapabilityCommon::BaseAPLCapabilityAgent::PresentationSessionFieldNames | getPresentationSessionFieldNames () override |
|
const bool | shouldPackPresentationSessionToAvsEvents () override |
|
| BaseAPLCapabilityAgent (const std::string &avsNamespace, std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface > exceptionSender, std::shared_ptr< alexaClientSDK::avsCommon::utils::metrics::MetricRecorderInterface > metricRecorder, std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::MessageSenderInterface > messageSender, std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::ContextManagerInterface > contextManager, const std::string &APLMaxVersion, std::shared_ptr< alexaClientSDK::aplCapabilityCommonInterfaces::VisualStateProviderInterface > visualStateProvider=nullptr) |
|
virtual | ~BaseAPLCapabilityAgent ()=default |
|
virtual bool | initialize () |
|
void | setExecutor (const std::shared_ptr< alexaClientSDK::avsCommon::utils::threading::Executor > &executor) |
| Tests Facing interfaces. More...
|
|
void | handleDirectiveImmediately (std::shared_ptr< alexaClientSDK::avsCommon::avs::AVSDirective > directive) override |
|
void | preHandleDirective (std::shared_ptr< DirectiveInfo > info) override |
|
void | handleDirective (std::shared_ptr< DirectiveInfo > info) override |
|
void | cancelDirective (std::shared_ptr< DirectiveInfo > info) override |
|
alexaClientSDK::avsCommon::avs::DirectiveHandlerConfiguration | getConfiguration () const override |
|
std::unordered_set< std::shared_ptr< alexaClientSDK::avsCommon::avs::CapabilityConfiguration > > | getCapabilityConfigurations () override |
|
void | onContextAvailable (const std::string &jsonContext) override |
|
void | onContextFailure (const alexaClientSDK::avsCommon::sdkInterfaces::ContextRequestError error) override |
|
void | provideState (const alexaClientSDK::avsCommon::avs::NamespaceAndName &stateProviderName, unsigned int stateRequestToken) override |
|
void | doShutdown () override |
|
void | onActiveDocumentChanged (const aplCapabilityCommonInterfaces::PresentationToken &token, const alexaClientSDK::aplCapabilityCommonInterfaces::PresentationSession &session) override |
|
void | clearExecuteCommands (const aplCapabilityCommonInterfaces::PresentationToken &token=std::string(), const bool markAsFailed=true) override |
|
void | sendUserEvent (const aplCapabilityCommonInterfaces::aplEventPayload::UserEvent &eventPayload) override |
|
void | sendDataSourceFetchRequestEvent (const aplCapabilityCommonInterfaces::aplEventPayload::DataSourceFetch &fetchPayload) override |
|
void | sendRuntimeErrorEvent (const aplCapabilityCommonInterfaces::aplEventPayload::RuntimeError &errors) override |
|
void | onVisualContextAvailable (avsCommon::sdkInterfaces::ContextRequestToken requestToken, const aplCapabilityCommonInterfaces::aplEventPayload::VisualContext &context) override |
|
void | processRenderDocumentResult (const aplCapabilityCommonInterfaces::PresentationToken &token, const bool result, const std::string &error) override |
|
void | processExecuteCommandsResult (const aplCapabilityCommonInterfaces::PresentationToken &token, aplCapabilityCommonInterfaces::APLCommandExecutionEvent event, const std::string &error) override |
|
void | recordRenderComplete (const std::chrono::steady_clock::time_point ×tamp) override |
|
void | proactiveStateReport () override |
|
virtual | ~CapabilityAgent ()=default |
|
void | preHandleDirective (std::shared_ptr< AVSDirective > directive, std::unique_ptr< sdkInterfaces::DirectiveHandlerResultInterface > result) override final |
|
bool | handleDirective (const std::string &messageId) override final |
|
void | cancelDirective (const std::string &messageId) override final |
|
void | onDeregistered () override |
|
void | onFocusChanged (FocusState newFocus, MixingBehavior behavior) override |
|
Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::DirectiveHandlerInterface |
virtual | ~DirectiveHandlerInterface ()=default |
|
virtual void | handleDirectiveImmediately (std::shared_ptr< avsCommon::avs::AVSDirective > directive)=0 |
|
virtual void | preHandleDirective (std::shared_ptr< avsCommon::avs::AVSDirective > directive, std::unique_ptr< DirectiveHandlerResultInterface > result)=0 |
|
virtual | ~ChannelObserverInterface ()=default |
|
virtual | ~StateProviderInterface ()=default |
|
virtual void | provideState (const avs::CapabilityTag &stateProviderName, const ContextRequestToken stateRequestToken) |
|
virtual bool | canStateBeRetrieved () |
|
virtual bool | hasReportableStateProperties () |
|
virtual bool | shouldQueryState () |
|
virtual | ~ContextRequesterInterface ()=default |
|
virtual void | onContextAvailable (const endpoints::EndpointIdentifier &endpointId, const avs::AVSContext &endpointContext, ContextRequestToken requestToken) |
|
virtual void | onContextFailure (const ContextRequestError error, ContextRequestToken token) |
|
| RequiresShutdown (const std::string &name) |
|
virtual | ~RequiresShutdown () |
| Destructor. More...
|
|
const std::string & | name () const |
|
void | shutdown () |
|
bool | isShutdown () const |
|
virtual | ~CapabilityConfigurationInterface ()=default |
|
virtual | ~APLCapabilityAgentInterface ()=default |
|
| Notifier () |
|
void | addObserver (const std::shared_ptr< aplCapabilityCommonInterfaces::APLCapabilityAgentObserverInterface > &observer) override |
| Add an observer. More...
|
|
void | removeObserver (const std::shared_ptr< aplCapabilityCommonInterfaces::APLCapabilityAgentObserverInterface > &observer) override |
| Remove an observer. More...
|
|
void | addWeakPtrObserver (const std::weak_ptr< aplCapabilityCommonInterfaces::APLCapabilityAgentObserverInterface > &observer) override |
| Add a weak reference to an observer. More...
|
|
void | removeWeakPtrObserver (const std::weak_ptr< aplCapabilityCommonInterfaces::APLCapabilityAgentObserverInterface > &observer) override |
| Remove an observer. More...
|
|
void | notifyObservers (std::function< void(const std::shared_ptr< aplCapabilityCommonInterfaces::APLCapabilityAgentObserverInterface > &)> notify) override |
| Notify the observers in the order that they were added. More...
|
|
bool | notifyObserversInReverse (std::function< void(const std::shared_ptr< aplCapabilityCommonInterfaces::APLCapabilityAgentObserverInterface > &)> notify) override |
| Notify the observers in the reverse order that they were added. More...
|
|
void | setAddObserverFunction (std::function< void(const std::shared_ptr< aplCapabilityCommonInterfaces::APLCapabilityAgentObserverInterface > &)> addObserverFunc) override |
| Set a function for notifications on an observer additions. More...
|
|
virtual | ~NotifierInterface ()=default |
|
|
enum | DirectiveType {
DirectiveType::RENDER_DOCUMENT,
DirectiveType::SHOW_DOCUMENT,
DirectiveType::EXECUTE_COMMAND,
DirectiveType::DYNAMIC_TOKEN_DATA_SOURCE_UPDATE,
DirectiveType::DYNAMIC_INDEX_DATA_SOURCE_UPDATE,
DirectiveType::UNKNOWN
} |
| Concrete Implementation Facing Interfaces. More...
|
|
enum | MetricEvent { MetricEvent::RENDER_DOCUMENT
} |
| Enumeration of timer metrics events that could be emitted. More...
|
|
enum | MetricActivity { MetricActivity::ACTIVITY_RENDER_DOCUMENT,
MetricActivity::ACTIVITY_RENDER_DOCUMENT_FAIL
} |
| Enumeration of timer metric activity names that could be emitted. More...
|
|
void | handleUnknownDirective (std::shared_ptr< DirectiveInfo > info) |
|
void | setHandlingCompleted (std::shared_ptr< DirectiveInfo > info) |
|
std::shared_ptr< alexaClientSDK::avsCommon::utils::threading::Executor > | getExecutor () |
|
| CapabilityAgent (const std::string &nameSpace, std::shared_ptr< sdkInterfaces::ExceptionEncounteredSenderInterface > exceptionEncounteredSender) |
|
virtual std::shared_ptr< DirectiveInfo > | createDirectiveInfo (std::shared_ptr< AVSDirective > directive, std::unique_ptr< sdkInterfaces::DirectiveHandlerResultInterface > result) |
|
void | removeDirective (const std::string &messageId) |
|
void | sendExceptionEncounteredAndReportFailed (std::shared_ptr< DirectiveInfo > info, const std::string &message, avsCommon::avs::ExceptionErrorType type=avsCommon::avs::ExceptionErrorType::INTERNAL_ERROR) |
|
const std::pair< std::string, std::string > | buildJsonEventString (const std::string &eventName, const std::string &dialogRequestIdString="", const std::string &payload="{}", const std::string &context="") const |
|
const std::string | m_namespace |
| The namespace of the capability agent. More...
|
|
std::shared_ptr< sdkInterfaces::ExceptionEncounteredSenderInterface > | m_exceptionEncounteredSender |
| Object to use to send exceptionEncountered messages. More...
|
|