interreality.org [VOS]
[Home] [About]
[Screenshots]
[Download]
[News]
[Community]
[Documentation] [Manual]
[Bugs & Requests] [Wiki]

VOS::PropertyListener Class Reference
[libmetaobject_property]

#include <vos/metaobjects/property/propertylistener.hh>

Inheritance diagram for VOS::PropertyListener:

csMetaLight csMetaMaterial csMetaObject3D csMetaTexture csVosSector VOS::DoNothingPropertyListener VOS::IrcClient VOS::RemotePropertyListener List of all members.

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


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: