Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

plist::PrimitiveListener Class Reference

#include <plistBase.h>

Inheritance diagram for plist::PrimitiveListener:

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 97 of file plistBase.h.


Public Member Functions

virtual void plistValueChanged (const PrimitiveBase &pl)=0
 This will be called whenever a plist you have registered with is changed.
virtual void plistValueTouched (const PrimitiveBase &)
 This will be called whenever a plist you have registered with is reassigned is current value (usually something you'll want to ignore...).

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

virtual void plist::PrimitiveListener::plistValueTouched ( const PrimitiveBase  )  [inline, virtual]

This will be called whenever a plist you have registered with is reassigned is current value (usually something you'll want to ignore...).

Argument is const to help you avoid infinite recursion from an accidental modification of its value -- use a const cast if you're sure you know what you're doing

Definition at line 109 of file plistBase.h.


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

Tekkotsu v4.0
Generated Thu Nov 22 00:58:52 2007 by Doxygen 1.5.4