plist::PrimitiveListener Class Reference#include <plist.h>
Inheritance diagram for plist::PrimitiveListener:
[legend]List of all members.
Detailed Description
If you wish to be notified any time a particular plist primitive's value has been changed, inherit from this and implement the callback, then register it with the plist object through Primitive::addPrimitiveListener().
Definition at line 50 of file plist.h.
|
Public Member Functions |
virtual void | plistValueChanged (const PrimitiveBase &pl)=0 |
| This will be called whenever a plist you have registered with is changed.
|
Member Function Documentation
virtual void plist::PrimitiveListener::plistValueChanged |
( |
const PrimitiveBase & |
pl |
) |
[pure virtual] |
|
|
This will be called whenever a plist you have registered with is changed.
pl is const to help you avoid infinite recursion from an accidental modification of pl's value -- use a const cast if you're sure you know what you're doing |
The documentation for this class was generated from the following file:
|