osgEarth 2.1.1
Public Member Functions | Public Attributes

anonymous_namespace{MapNode.cpp}::MapNodeMapCallbackProxy Struct Reference

Inheritance diagram for anonymous_namespace{MapNode.cpp}::MapNodeMapCallbackProxy:
Collaboration diagram for anonymous_namespace{MapNode.cpp}::MapNodeMapCallbackProxy:

List of all members.

Public Member Functions

 MapNodeMapCallbackProxy (MapNode *node)
void onModelLayerAdded (ModelLayer *layer, unsigned int index)
void onModelLayerRemoved (ModelLayer *layer)
void onModelLayerMoved (ModelLayer *layer, unsigned int oldIndex, unsigned int newIndex)

Public Attributes

osg::observer_ptr< MapNode_node

Detailed Description

Definition at line 37 of file MapNode.cpp.


Constructor & Destructor Documentation

anonymous_namespace{MapNode.cpp}::MapNodeMapCallbackProxy::MapNodeMapCallbackProxy ( MapNode node) [inline]

Definition at line 39 of file MapNode.cpp.

: _node(node) { }

Member Function Documentation

void anonymous_namespace{MapNode.cpp}::MapNodeMapCallbackProxy::onModelLayerAdded ( ModelLayer layer,
unsigned int  index 
) [inline, virtual]

Reimplemented from osgEarth::MapCallback.

Definition at line 41 of file MapNode.cpp.

                                                                        {
            _node->onModelLayerAdded( layer, index );
        }
void anonymous_namespace{MapNode.cpp}::MapNodeMapCallbackProxy::onModelLayerMoved ( ModelLayer layer,
unsigned int  oldIndex,
unsigned int  newIndex 
) [inline, virtual]

Reimplemented from osgEarth::MapCallback.

Definition at line 47 of file MapNode.cpp.

                                                                                                  {
            _node->onModelLayerMoved( layer, oldIndex, newIndex);
        }
void anonymous_namespace{MapNode.cpp}::MapNodeMapCallbackProxy::onModelLayerRemoved ( ModelLayer layer) [inline, virtual]

Reimplemented from osgEarth::MapCallback.

Definition at line 44 of file MapNode.cpp.

                                                      {
            _node->onModelLayerRemoved( layer );
        }

Member Data Documentation

osg::observer_ptr<MapNode> anonymous_namespace{MapNode.cpp}::MapNodeMapCallbackProxy::_node

Definition at line 59 of file MapNode.cpp.


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