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:
Set the given behavior as default
| 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/). |
|---|
Get default behaviors
| Returns: | Return default behaviors |
|---|
| Returns: | Returns the behaviors list |
|---|
Get running behaviors
| Returns: | Return running behaviors |
|---|
Get system behaviors
| Returns: | Returns the list of system behaviors prefixed by System/. |
|---|
Get user’s behaviors
Deprecated since version 1.14: use ALBehaviorManagerProxy::getInstalledBehaviors() instead
| Returns: | Returns the list of user’s behaviors prefixed by User/. |
|---|
There are two overloads of this function:
Install a behavior.
Check and take the behavior found at the given absolute path and import it to the given local path, relative to behaviors path.
On success, behavior added signal is emitted.
| Parameters: |
|
|---|---|
| Returns: | true on success, false otherwise. |
Install a behavior.
Check the given local path for a valid behavior.
On success, behavior added or updated signal is emitted.
| Parameters: |
|
|---|---|
| Returns: | true on success, false otherwise. |
| Parameters: |
|
|---|---|
| Returns: | Returns true if it is a valid behavior |
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 |
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 a behavior from the filesystem
| Parameters: |
|
|---|---|
| Returns: | Return true if succeeded, else false |
Remove the given behavior from the default behaviors
| Parameters: |
|
|---|
Run a behavior
| Parameters: |
|
|---|
Stop a behavior
| Parameters: |
|
|---|
Raised when a behavior is installed.
| Parameters: |
|
|---|
Raised when a behavior is removed.
| Parameters: |
|
|---|
Raised when a behavior is updated.
| Parameters: |
|
|---|
Raised when the list of running behaviors change.
| Parameters: |
|
|---|