WhirlyGlobe  1.1
A 3D interactive globe toolkit for ios
WhirlyGlobe::DrawableChangeRequest Class Reference

#include <Drawable.h>

Inheritance diagram for WhirlyGlobe::DrawableChangeRequest:
WhirlyGlobe::ChangeRequest WhirlyGlobe::ColorChangeRequest WhirlyGlobe::OnOffChangeRequest WhirlyGlobe::VisibilityChangeRequest

List of all members.

Public Member Functions

 DrawableChangeRequest (SimpleIdentity drawId)
 Construct with the ID of the Drawable we'll be changing.
void execute (GlobeScene *scene, WhirlyGlobeView *view)
 This will look for the drawable by ID and then call execute2()
virtual void execute2 (GlobeScene *scene, Drawable *draw)=0
 This is the one you override.

Protected Attributes

SimpleIdentity drawId

Detailed Description

Drawable Change Request is a subclass of the change request for drawables. This is, itself, subclassed for specific change requests.


Member Function Documentation

virtual void WhirlyGlobe::DrawableChangeRequest::execute2 ( GlobeScene scene,
Drawable draw 
) [pure virtual]

This is the one you override.

This is called by execute if there's a drawable to modify.

Implemented in WhirlyGlobe::VisibilityChangeRequest, WhirlyGlobe::OnOffChangeRequest, and WhirlyGlobe::ColorChangeRequest.


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