NUGU SDK Linux
1.7.6
|
#include <focus_manager_interface.hh>
Public Member Functions | |
virtual void | addObserver (IFocusManagerObserver *observer)=0 |
Add the Observer object. More... | |
virtual FocusState | convertToFocusState (const std::string &state_text)=0 |
Convert state text to matched FocusState enum. More... | |
virtual std::string | getStateString (FocusState state)=0 |
Get state string. More... | |
virtual bool | holdFocus (const std::string &type)=0 |
Hold focus. If requested to hold focus, the low priority focus is not preempted. More... | |
virtual bool | releaseFocus (const std::string &type, const std::string &name)=0 |
Release focus. More... | |
virtual void | removeObserver (IFocusManagerObserver *observer)=0 |
Remove the Observer object. More... | |
virtual bool | requestFocus (const std::string &type, const std::string &name, IFocusResourceListener *listener)=0 |
Request Focus. More... | |
virtual void | setConfigurations (std::vector< FocusConfiguration > &request, std::vector< FocusConfiguration > &release)=0 |
Set focus configurations. More... | |
virtual void | stopAllFocus ()=0 |
Stop all focus. | |
virtual void | stopForegroundFocus ()=0 |
Stop highest priority of focus that is foreground state. | |
virtual bool | unholdFocus (const std::string &type)=0 |
Unhold focus. More... | |