This module is intended to manage behaviors.
bool preloadBehavior (const string& name)
Load a behavior from its directory name
The behavior directory name
Returns true if it was successfully loaded.
bool removeBehavior (const string& name)
Remove a behavior from the filesystem
The behavior directory name
Return true if succeeded, else false
bool isBehaviorInstalled (const string& name)
Tell if supplied name corresponds to a valid behavior
The behavior directory name
Returns true if it is a valid behavior
vector<string> getInstalledBehaviors ()
Get installed behaviors names
Returns the behaviors list.
bool isBehaviorRunning (const string& name)
Tell if supplied name corresponds to a running behavior
The behavior directory name
Returns true if it is a running behavior
void removeDefaultBehavior (const string& name)
Remove the given behavior from the default behaviors
The behavior directory name
string version ()
Returns the version of the module.
A string containing the version of the module.
AL::ALValue getMethodHelp (const string& methodName)
Retrieves a method's description.
The name of the method.
A structure containing the method's description.
AL::ALValue getModuleHelp ()
Retrieves the module's description.
A structure describing the module.
string getUsage (const string& name)
Gets the method usage string. This summarise how to use the method.
The name of the method.
A string that summarises the usage of the method.