Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

plist::PrimitiveListener Class Reference

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(). More...

#include <plistBase.h>

Inheritance diagram for plist::PrimitiveListener:

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

List of all members.

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]
virtual void plist::PrimitiveListener::plistValueTouched ( const PrimitiveBase  )  [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 115 of file plistBase.h.


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:24 2016 by Doxygen 1.6.3