NAOqi Core - Overview | API
Namespace : AL
#include <alproxies/albehaviormanagerproxy.h>
As any module, this module inherits methods from ALModule API. It also has the following specific methods:
Deprecated methods
Set the given behavior as default
Parameters: |
|
---|
Get tags found on the given behavior. For more details about tags, see: ALAnimatedSpeech - Advanced
Parameters: |
|
---|---|
Returns: | The list of tags found. |
Get installed behaviors directories names and filter it by tag. For more details about tags, see: ALAnimatedSpeech - Advanced
Parameters: |
|
---|---|
Returns: | Returns the behaviors list. |
Get the nature of the given behavior. For more details about natures, see: Behavior property list
Parameters: |
|
---|---|
Returns: | Returns the nature name of the behavior. |
Get default behaviors
Returns: | Return default behaviors |
---|
Returns: | Returns the behaviors list |
---|
Get loaded behaviors
Returns: | Returns loaded behaviors |
---|
Get running behaviors
Returns: | Return running behaviors |
---|
Get tags found on installed behaviors. For more details about tags, see: ALAnimatedSpeech - Advanced
Returns: | The list of tags found. |
---|
Parameters: |
|
---|---|
Returns: | Returns true if it is a valid behavior |
Tell if supplied name corresponds to a loaded behavior
Parameters: |
|
---|---|
Returns: | Returns true if the name supplied is a loaded behavior |
Tell if supplied name corresponds to a running behavior
Parameters: |
|
---|---|
Returns: | Returns true if the name supplied is a running behavior |
Load a behavior
Parameters: |
|
---|---|
Returns: | Returns true if it was successfully loaded. |
Remove the given behavior from the default behaviors
Parameters: |
|
---|
Find out the actual <package>/<behavior> path behind a behavior name.
Parameters: |
|
---|---|
Returns: | Returns the actual <package>/<behavior> path if found, else an empty string. Throws an ALERROR if two behavior names conflicted. |
Start a behavior and wait for its end. Return when the behavior is stopped. Throw if the behavior cannot be started or does not exist.
Parameters: |
|
---|
Start a behavior. Return when the behavior is started. Throw if the behavior cannot be started or does not exist.
Parameters: |
|
---|
Stop a behavior
Parameters: |
|
---|
Deprecated since version 1.14: use ALBehaviorManagerProxy::getInstalledBehaviors() instead
Get behaviors
Returns: | Returns the list of behaviors prefixed by their type (User/ or System/). |
---|
Deprecated since version 1.18: use Choregraphe Application Manager instead.
Get system behaviors
Returns: | Returns the list of system behaviors prefixed by System/. |
---|
Deprecated since version 1.14: use ALBehaviorManagerProxy::getInstalledBehaviors() instead
Get user’s behaviors
Returns: | Returns the list of user’s behaviors prefixed by User/. |
---|
Deprecated since version 1.18: use Choregraphe Application Manager instead.
There are two overloads of this function:
Install a behavior.
Parameters: |
|
---|---|
Returns: | true on success, false otherwise. |
Deprecated since version 1.18: use Choregraphe Application Manager instead.
Install a behavior.
Parameters: |
|
---|---|
Returns: | true on success, false otherwise. |
Deprecated since version 1.14: use ALBehaviorManagerProxy::isBehaviorInstalled() instead
Tell if the supplied name corresponds to an existing behavior.
Parameters: |
|
---|---|
Returns: | Returns true if it is an existing behavior |
Deprecated since version 1.18: use Choregraphe Application Manager instead.
Remove a behavior from the filesystem
Parameters: |
|
---|---|
Returns: | Return true if succeeded, else false |
Raised when a behavior is installed.
Parameters: |
|
---|
Raised when a behavior is removed.
Parameters: |
|
---|
Raised when a behavior is updated.
Parameters: |
|
---|
Raised when a package containing behaviors is installed.
Parameters: |
|
---|
Raised when the list of running behaviors change.
Parameters: |
|
---|
Signals are part of the qimessaging framework, see Experimental: qimessaging API.
Triggered : | When behaviors are removed. |
---|---|
Parameters: |
|
Triggered : | When a behavior stops on error. |
---|---|
Parameters: |
|
Triggered : | When behaviors are added. |
---|---|
Param : | behaviorsAdded: Paths of the added behaviors. |
Triggered : | When a behavior is stopped. |
---|---|
Param : | behaviorName: Name of the stopped behavior. |
Triggered : | When a behavior is started. |
---|---|
Param : | behaviorName: Name of the started behavior. |
Triggered : | When a behavior is loaded. |
---|---|
Param : | behaviorName: Name of the loaded behavior. |