Classes that want to listen to variable changes should inherit from this class. More...
#include <TargetModels.h>
Public Member Functions | |
void | invalidateVariableModel () |
bool | subscribeToVariableOfInterest (const QString &name) |
void | unsubscribeToVariableOfInterest (const QString &name) |
void | unsubscribeToVariablesOfInterest () |
VariableListener (TargetVariablesModel *variablesModel) | |
virtual | ~VariableListener () |
Protected Member Functions | |
virtual void | variableValueUpdated (const QString &name, const VariablesDataVector &values)=0 |
New values are available for a variable this plugin is interested in. | |
Protected Attributes | |
TargetVariablesModel * | variablesModel |
Friends | |
class | TargetVariablesModel |
Classes that want to listen to variable changes should inherit from this class.
Definition at line 42 of file TargetModels.h.
virtual void Aseba::VariableListener::variableValueUpdated | ( | const QString & | name, |
const VariablesDataVector & | values | ||
) | [protected, pure virtual] |
New values are available for a variable this plugin is interested in.
Implemented in Aseba::NodeTab, and Aseba::LinearCameraViewPlugin.
friend class TargetVariablesModel [friend] |
Definition at line 57 of file TargetModels.h.
Definition at line 45 of file TargetModels.h.