Public Member Functions | Protected Member Functions | Protected Attributes | Friends
Aseba::VariableListener Class Reference

Classes that want to listen to variable changes should inherit from this class. More...

#include <TargetModels.h>

Inheritance diagram for Aseba::VariableListener:
Inheritance graph
[legend]

List of all members.

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

TargetVariablesModelvariablesModel

Friends

class TargetVariablesModel

Detailed Description

Classes that want to listen to variable changes should inherit from this class.

Definition at line 42 of file TargetModels.h.


Member Function Documentation

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.


Friends And Related Function Documentation

friend class TargetVariablesModel [friend]

Definition at line 57 of file TargetModels.h.


Member Data Documentation

Definition at line 45 of file TargetModels.h.


The documentation for this class was generated from the following files:


aseba
Author(s): Stéphane Magnenat
autogenerated on Thu Jan 2 2014 11:17:18