VOS::PropertyListener Class Reference
[libmetaobject_property]
#include <vos/metaobjects/property/propertylistener.hh>
Inheritance diagram for VOS::PropertyListener:

Detailed Description
PropertyListener objects will be notified of all changes to Properties to which they are listening.Create a subclass and override notifyPropertyChanged, create an instance, and then use Property::addPropertyListener to register your listener with that property.
Definition at line 44 of file propertylistener.hh.
Public Member Functions
- virtual ~PropertyListener ()
- virtual void notifyPropertyChange (const PropertyEvent &event)=0
Constructor & Destructor Documentation
| virtual VOS::PropertyListener::~PropertyListener | ( | ) | [inline, virtual] |
Definition at line 46 of file propertylistener.hh.
Member Function Documentation
| virtual void VOS::PropertyListener::notifyPropertyChange | ( | const PropertyEvent & | event | ) | [pure virtual] |
Notification interface that a property has been changed.
Override this method in your subclass.
- Parameters:
-
event Event describing what happened. Note the 'const' declaration.
Implemented in csMetaLight, csMetaMaterial, csMetaModel, csMetaObject3D, csVosSector, csMetaTexture, VOS::IrcClient, VOS::DoNothingPropertyListener, and VOS::RemotePropertyListener.
Referenced by VOS::PropertyEvent::deliverTo().
The documentation for this class was generated from the following file:
- /home/tetron/hack/vos/libs/vos/vos/propertylistener.hh