osgEarth 2.1.1
Public Member Functions | Public Attributes

osgEarth::TerrainEngineNodeCallbackProxy Struct Reference

Inheritance diagram for osgEarth::TerrainEngineNodeCallbackProxy:
Collaboration diagram for osgEarth::TerrainEngineNodeCallbackProxy:

List of all members.

Public Member Functions

 TerrainEngineNodeCallbackProxy (TerrainEngineNode *node)
void onMapInfoEstablished (const MapInfo &mapInfo)
void onMapModelChanged (const MapModelChange &change)

Public Attributes

osg::observer_ptr
< TerrainEngineNode
_node

Detailed Description

Definition at line 36 of file TerrainEngineNode.cpp.


Constructor & Destructor Documentation

osgEarth::TerrainEngineNodeCallbackProxy::TerrainEngineNodeCallbackProxy ( TerrainEngineNode node) [inline]

Definition at line 38 of file TerrainEngineNode.cpp.

: _node(node) { }

Member Function Documentation

void osgEarth::TerrainEngineNodeCallbackProxy::onMapInfoEstablished ( const MapInfo mapInfo) [inline, virtual]

Reimplemented from osgEarth::MapCallback.

Definition at line 41 of file TerrainEngineNode.cpp.

        {
            osg::ref_ptr<TerrainEngineNode> safeNode = _node.get();
            if ( safeNode.valid() )
                safeNode->onMapInfoEstablished( mapInfo );
        }
void osgEarth::TerrainEngineNodeCallbackProxy::onMapModelChanged ( const MapModelChange change) [inline, virtual]

Reimplemented from osgEarth::MapCallback.

Definition at line 48 of file TerrainEngineNode.cpp.

        {
            osg::ref_ptr<TerrainEngineNode> safeNode = _node.get();
            if ( safeNode.valid() )
                safeNode->onMapModelChanged( change );
        }

Member Data Documentation

Definition at line 39 of file TerrainEngineNode.cpp.


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