AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Static Public Member Functions | List of all members
alexaClientSDK::sampleApplications::ipcServerSampleApp::gui::GUIActivityEventNotifier Class Reference

#include <GUIActivityEventNotifier.h>

Inheritance diagram for alexaClientSDK::sampleApplications::ipcServerSampleApp::gui::GUIActivityEventNotifier:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::sampleApplications::ipcServerSampleApp::gui::GUIActivityEventNotifier:
Collaboration graph
[legend]

Public Member Functions

void notifyObserversOfGUIActivityEvent (const std::string &source, const avsCommon::sdkInterfaces::GUIActivityEvent &activityEvent) override
 
- Public Member Functions inherited from alexaClientSDK::notifier::Notifier< avsCommon::sdkInterfaces::GUIActivityEventObserverInterface >
 Notifier ()
 
void addObserver (const std::shared_ptr< avsCommon::sdkInterfaces::GUIActivityEventObserverInterface > &observer) override
 Add an observer. More...
 
void removeObserver (const std::shared_ptr< avsCommon::sdkInterfaces::GUIActivityEventObserverInterface > &observer) override
 Remove an observer. More...
 
void addWeakPtrObserver (const std::weak_ptr< avsCommon::sdkInterfaces::GUIActivityEventObserverInterface > &observer) override
 Add a weak reference to an observer. More...
 
void removeWeakPtrObserver (const std::weak_ptr< avsCommon::sdkInterfaces::GUIActivityEventObserverInterface > &observer) override
 Remove an observer. More...
 
void notifyObservers (std::function< void(const std::shared_ptr< avsCommon::sdkInterfaces::GUIActivityEventObserverInterface > &)> notify) override
 Notify the observers in the order that they were added. More...
 
bool notifyObserversInReverse (std::function< void(const std::shared_ptr< avsCommon::sdkInterfaces::GUIActivityEventObserverInterface > &)> notify) override
 Notify the observers in the reverse order that they were added. More...
 
void setAddObserverFunction (std::function< void(const std::shared_ptr< avsCommon::sdkInterfaces::GUIActivityEventObserverInterface > &)> addObserverFunc) override
 Set a function for notifications on an observer additions. More...
 
- Public Member Functions inherited from alexaClientSDK::notifierInterfaces::NotifierInterface< avsCommon::sdkInterfaces::GUIActivityEventObserverInterface >
virtual ~NotifierInterface ()=default
 

Static Public Member Functions

static std::shared_ptr< GUIActivityEventNotifiercreate ()
 

Detailed Description

Manages all observers of GUIActivityEvent

Member Function Documentation

◆ create()

static std::shared_ptr<GUIActivityEventNotifier> alexaClientSDK::sampleApplications::ipcServerSampleApp::gui::GUIActivityEventNotifier::create ( )
static

Create an instance of GUIActivityEventNotifier

Returns
shared pointer to GUIActivityEventNotifier

◆ notifyObserversOfGUIActivityEvent()

void alexaClientSDK::sampleApplications::ipcServerSampleApp::gui::GUIActivityEventNotifier::notifyObserversOfGUIActivityEvent ( const std::string &  source,
const avsCommon::sdkInterfaces::GUIActivityEvent activityEvent 
)
overridevirtual

The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0