ObserverNodePath is an observer class for tracking changes to a NodePath, that automatically invalidates it when nodes are deleted.
More...
List of all members.
Detailed Description
ObserverNodePath is an observer class for tracking changes to a NodePath, that automatically invalidates it when nodes are deleted.
Member Typedef Documentation
Constructor & Destructor Documentation
osg::ObserverNodePath::ObserverNodePath |
( |
| ) |
|
osg::ObserverNodePath::ObserverNodePath |
( |
const osg::NodePath & |
nodePath | ) |
|
osg::ObserverNodePath::~ObserverNodePath |
( |
| ) |
|
Member Function Documentation
void osg::ObserverNodePath::_clearNodePath |
( |
| ) |
|
|
protected |
void osg::ObserverNodePath::clearNodePath |
( |
| ) |
|
bool osg::ObserverNodePath::empty |
( |
| ) |
const |
|
inline |
bool osg::ObserverNodePath::getNodePath |
( |
NodePath & |
nodePath | ) |
const |
Get a lightweight NodePath that isn't thread safe but may be safely used in single threaded applications, or when its known that the NodePath won't be invalidated during usage of the NodePath.
return true if NodePath is valid.
bool osg::ObserverNodePath::getRefNodePath |
( |
RefNodePath & |
refNodePath | ) |
const |
Get a thread safe RefNodePath, return true if NodePath is valid.
get the NodePath from the first parental chain back to root, plus the specified node.
Member Data Documentation
OpenThreads::Mutex osg::ObserverNodePath::_mutex |
|
mutableprotected |
The documentation for this class was generated from the following file: