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: |
|
---|
Warning
DEPRECATED: 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
Warning
DEPRECATED: use ALBehaviorManagerProxy::getInstalledBehaviors() instead
Returns: | Returns the list of user’s behaviors prefixed by User/. |
---|
Parameters: |
|
---|---|
Returns: | Returns true if it is a valid behavior |
Warning
DEPRECATED: use :cpp:func: ALBehaviorManagerProxy::isBehaviorInstalled(const std::string& name) 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 the list of running behaviors change.
Parameters: |
|
---|
Internal event, do not use.