osgEarth 2.1.1
Public Member Functions | Public Attributes

anonymous_namespace{StreamingTile.cpp}::TileGenRequest Struct Reference

Inheritance diagram for anonymous_namespace{StreamingTile.cpp}::TileGenRequest:
Collaboration diagram for anonymous_namespace{StreamingTile.cpp}::TileGenRequest:

List of all members.

Public Member Functions

 TileGenRequest (StreamingTile *tile, const TileUpdate &update)
void operator() (ProgressCallback *progress)

Public Attributes

osg::ref_ptr< StreamingTile_tile
TileUpdate _update

Detailed Description

Definition at line 172 of file StreamingTile.cpp.


Constructor & Destructor Documentation

anonymous_namespace{StreamingTile.cpp}::TileGenRequest::TileGenRequest ( StreamingTile tile,
const TileUpdate update 
) [inline]

Definition at line 174 of file StreamingTile.cpp.

                                                                        :
            _tile( tile ), _update(update) { }

Member Function Documentation

void anonymous_namespace{StreamingTile.cpp}::TileGenRequest::operator() ( ProgressCallback progress) [inline, virtual]

Implements osgEarth::TaskRequest.

Definition at line 177 of file StreamingTile.cpp.

        {
            if (_tile.valid())
            {
                CustomTerrainTechnique* tech = dynamic_cast<CustomTerrainTechnique*>( _tile->getTerrainTechnique() );
                if (tech)
                {
                    tech->compile( _update, progress );
                }
            }

            //We don't need the tile anymore
            _tile = NULL;
        }

Here is the call graph for this function:


Member Data Documentation

osg::ref_ptr< StreamingTile > anonymous_namespace{StreamingTile.cpp}::TileGenRequest::_tile

Definition at line 192 of file StreamingTile.cpp.

TileUpdate anonymous_namespace{StreamingTile.cpp}::TileGenRequest::_update

Definition at line 193 of file StreamingTile.cpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines