OpenWalnut  1.4.0
Public Member Functions | Public Attributes
WGEBorderLayout::SafeUpdateCallback Class Reference

Node callback to actually layout the objects. More...

#include <WGEBorderLayout.h>

+ Inheritance diagram for WGEBorderLayout::SafeUpdateCallback:

List of all members.

Public Member Functions

 SafeUpdateCallback (osg::ref_ptr< WGEBorderLayout > layout)
 Constructor.
virtual void operator() (osg::Node *node, osg::NodeVisitor *nv)
 operator () - called during the update traversal.

Public Attributes

osg::ref_ptr< WGEBorderLayoutm_layouter
 The layouter owning this callback.

Detailed Description

Node callback to actually layout the objects.

Definition at line 81 of file WGEBorderLayout.h.


Constructor & Destructor Documentation

WGEBorderLayout::SafeUpdateCallback::SafeUpdateCallback ( osg::ref_ptr< WGEBorderLayout layout) [inline, explicit]

Constructor.

Parameters:
layoutjust set the creating layout as pointer for later reference.

Definition at line 89 of file WGEBorderLayout.h.


Member Function Documentation

void WGEBorderLayout::SafeUpdateCallback::operator() ( osg::Node *  node,
osg::NodeVisitor *  nv 
) [virtual]

operator () - called during the update traversal.

Parameters:
nodethe osg node
nvthe node visitor

Definition at line 74 of file WGEBorderLayout.cpp.

References WGraphicsEngine::getGraphicsEngine(), and m_layouter.


Member Data Documentation

The layouter owning this callback.

Todo:
All:(ebaum) the layoiter insance will never be freed -> cyclic dependency

Definition at line 105 of file WGEBorderLayout.h.

Referenced by operator()().


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