Public Member Functions | |
| StateRefCount (const StateRefCount &source) | |
| StateRefCount (const StateStoreIt &itState) | |
| StateRefCount (const StateStoreIt &itState, Int32 refCount) | |
| StateStoreIt | getState (void) const |
| void | setState (const StateStoreIt &itState) |
| Int32 | getRefCount (void) const |
| void | incRefCount (Int32 inc=1) |
| void | decRefCount (Int32 dec=1) |
Private Attributes | |
| StateStoreIt | _itState |
| Int32 | _refCount |
Definition at line 173 of file OSGDepthFirstStateAction.h.
| osg::DepthFirstStateAction::StateRefCount::StateRefCount | ( | const StateRefCount & | source | ) | [inline] |
| osg::DepthFirstStateAction::StateRefCount::StateRefCount | ( | const StateStoreIt & | itState | ) | [inline, explicit] |
| osg::DepthFirstStateAction::StateRefCount::StateRefCount | ( | const StateStoreIt & | itState, | |
| Int32 | refCount | |||
| ) | [inline, explicit] |
| DepthFirstStateAction::StateStoreIt osg::DepthFirstStateAction::StateRefCount::getState | ( | void | ) | const [inline] |
Return the state store iterator.
Definition at line 259 of file OSGDepthFirstStateAction.inl.
References _itState.
00260 { 00261 return _itState; 00262 }
| void osg::DepthFirstStateAction::StateRefCount::setState | ( | const StateStoreIt & | itState | ) | [inline] |
Set the state store iterator.
Definition at line 268 of file OSGDepthFirstStateAction.inl.
References _itState.
00269 { 00270 _itState = itState; 00271 }
| Int32 osg::DepthFirstStateAction::StateRefCount::getRefCount | ( | void | ) | const [inline] |
Return the ref count.
Definition at line 277 of file OSGDepthFirstStateAction.inl.
References _refCount.
00278 { 00279 return _refCount; 00280 }
| void osg::DepthFirstStateAction::StateRefCount::incRefCount | ( | Int32 | inc = 1 |
) | [inline] |
Increment the ref count.
Definition at line 286 of file OSGDepthFirstStateAction.inl.
References _refCount.
00287 { 00288 _refCount += inc; 00289 }
| void osg::DepthFirstStateAction::StateRefCount::decRefCount | ( | Int32 | dec = 1 |
) | [inline] |
Decrement the ref count.
Definition at line 295 of file OSGDepthFirstStateAction.inl.
References _refCount.
00296 { 00297 _refCount -= dec; 00298 }
Definition at line 190 of file OSGDepthFirstStateAction.h.
Referenced by getState(), and setState().
Definition at line 191 of file OSGDepthFirstStateAction.h.
Referenced by decRefCount(), getRefCount(), and incRefCount().
1.5.5