SoftBank Robotics documentation What's new in NAOqi 2.5?

ALExpressionWatcher API

NAOqi Core - Overview | API | ExpressionObject API


Namespace : AL

Method list

class ALExpressionWatcher

Methods

ExpressionObject ALExpressionWatcher::add(const std::string& expression, const int& report_mode)

Adds a condition expression to ALExpressionWatcher engine.

Return an ExpressionObject that embeds some methods and a qi::Signal triggered each time the condition expression is valid with condition expression value.

Note: this ExpressionObject should be kept alive as a variable otherwise the expression is not watched anymore. For further details, see: Example.

Parameters:
Returns:

Correspondig ExpressionObject.