NUGU SDK Linux
1.7.6
|
CapabilityHelper interface. More...
#include <capability_helper_interface.hh>
Public Member Functions | |
virtual bool | getCapabilityProperties (const std::string &cap, const std::string &property, std::list< std::string > &values)=0 |
Get properties from CapabilityAgent. More... | |
virtual bool | getCapabilityProperty (const std::string &cap, const std::string &property, std::string &value)=0 |
Get property from CapabilityAgent. More... | |
virtual IDirectiveSequencer * | getDirectiveSequencer ()=0 |
Get IDirectiveSequencer instance. More... | |
virtual IFocusManager * | getFocusManager ()=0 |
Get IFocusManager instance. More... | |
virtual IInteractionControlManager * | getInteractionControlManager ()=0 |
Get IInteractionControlManager instance. More... | |
virtual IPlaySyncManager * | getPlaySyncManager ()=0 |
Get IPlaySyncManager instance. More... | |
virtual IRoutineManager * | getRoutineManager ()=0 |
Get IRoutineManager instance. More... | |
virtual ISessionManager * | getSessionManager ()=0 |
Get ISessionManager instance. More... | |
virtual std::string | getWakeupWord ()=0 |
Get wakeup keyword for detection. | |
virtual std::string | makeAllContextInfo ()=0 |
Get context info from All CapabilityAgents. | |
virtual std::string | makeContextInfo (const std::string &cname, NJson::Value &ctx)=0 |
Get context info. More... | |
virtual void | requestEventResult (NuguEvent *event)=0 |
Request to send event result via CapabilityManager. More... | |
virtual void | restoreAll ()=0 |
Restore previous suspended capability action. | |
virtual bool | sendCommand (const std::string &from, const std::string &to, const std::string &command, const std::string ¶m)=0 |
Send command between CapabilityAgents. More... | |
virtual bool | setMute (bool mute)=0 |
Set Audio Recorder mute/unmute. More... | |
virtual void | suspendAll ()=0 |
Suspend all current capability action. | |
CapabilityHelper interface.
|
pure virtual |
Get IPlaySyncManager instance.
|
pure virtual |
Get IFocusManager instance.
|
pure virtual |
Get ISessionManager instance.
|
pure virtual |
Get IInteractionControlManager instance.
|
pure virtual |
Get IDirectiveSequencer instance.
|
pure virtual |
Get IRoutineManager instance.
|
pure virtual |
Set Audio Recorder mute/unmute.
[in] | mute | mute/unmute |
|
pure virtual |
Send command between CapabilityAgents.
[in] | from | source CapabilityAgent |
[in] | to | target CapabilityAgent |
[in] | command | command |
[in] | param | parameter |
true | CapabilityAgent and command are valid |
false | CapabilityAgent or command is invalid |
|
pure virtual |
Request to send event result via CapabilityManager.
[in] | event | event for monitoring result |
|
pure virtual |
Get property from CapabilityAgent.
[in] | cap | CapabilityAgent |
[in] | property | property key |
[in] | value | property value |
true | CapabilityAgent and property are valid |
false | CapabilityAgent or property is invalid |
|
pure virtual |
Get properties from CapabilityAgent.
[in] | cap | CapabilityAgent |
[in] | property | property key |
[in] | values | property values |
true | CapabilityAgent and property are valid |
false | CapabilityAgent or property is invalid |
|
pure virtual |
Get context info.
[in] | cname | The name of the capability requesting the context |
[in] | ctx | reference object for storing context info |