Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
plist::AutoCollectionListener Struct ReferenceMonitors a collection to keep tabs on all its entries, so PrimitiveListener::plistValueChanged will be called if any entry is changed. More...
Inheritance diagram for plist::AutoCollectionListener:
Detailed DescriptionMonitors a collection to keep tabs on all its entries, so PrimitiveListener::plistValueChanged will be called if any entry is changed. Definition at line 206 of file plistCollections.h.
Constructor & Destructor Documentation
constructor, specify collection to monitor and whether you want plistValueChanged to be called when new entries are added Definition at line 208 of file plistCollections.h.
destructor, unsubscribe from everything Definition at line 214 of file plistCollections.h.
copy is a bad idea: as a member of a collection, don't want to listen to original collection's values Member Function Documentation
add listeners Reimplemented in plist::CollectionCallbackMember< O >, plist::CollectionCallbackMember< LinkComponent >, and plist::CollectionCallbackMember< PhysicsBody >. Definition at line 227 of file plistCollections.h. Referenced by AutoCollectionListener().
remove listeners Definition at line 248 of file plistCollections.cc. Referenced by ~AutoCollectionListener().
assignment (no-op) Definition at line 218 of file plistCollections.h.
This will be called whenever an entry is replaced, or multiple entries are added/removed at once, such as when an assignment occurs. Reimplemented from plist::CollectionListener. Definition at line 276 of file plistCollections.cc. Referenced by activate().
This will be called whenever an entry is added to the collection. Reimplemented from plist::CollectionListener. Definition at line 262 of file plistCollections.cc.
This will be called whenever an entry is added to the collection. Reimplemented from plist::CollectionListener. Definition at line 270 of file plistCollections.cc.
called if any sub collections are added for potential recursive handling Definition at line 223 of file plistCollections.h. Referenced by plistCollectionEntryAdded().
called if any sub collections are removed for potential recursive handling Definition at line 224 of file plistCollections.h. Referenced by plistCollectionEntryRemoved(). Member Data Documentationthe collection being monitored Definition at line 235 of file plistCollections.h. Referenced by activate(), deactivate(), and plistCollectionEntriesChanged(). whether to call plistValueChanged whenever new primitives are added to the collection Definition at line 236 of file plistCollections.h. Referenced by plist::CollectionCallbackMember< PhysicsBody >::activate(), plist::CollectionCallbackMember< PhysicsBody >::CollectionCallbackMember(), and plistCollectionEntryAdded(). The documentation for this struct was generated from the following files: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:24 2016 by Doxygen 1.6.3 |