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 168 of file OSGPriorityAction.h.
| osg::PriorityAction::StateRefCount::StateRefCount | ( | const StateRefCount & | source | ) | [inline] |
Copy constructor.
Dev:
Definition at line 149 of file OSGPriorityAction.inl.
| osg::PriorityAction::StateRefCount::StateRefCount | ( | const StateStoreIt & | itState | ) | [inline, explicit] |
Constructor.
Dev: The ref count is initalized to 0.
Definition at line 163 of file OSGPriorityAction.inl.
| osg::PriorityAction::StateRefCount::StateRefCount | ( | const StateStoreIt & | itState, | |
| Int32 | refCount | |||
| ) | [inline, explicit] |
| PriorityAction::StateStoreIt osg::PriorityAction::StateRefCount::getState | ( | void | ) | const [inline] |
Return the state store iterator.
Definition at line 185 of file OSGPriorityAction.inl.
References _itState.
00186 { 00187 return _itState; 00188 }
| void osg::PriorityAction::StateRefCount::setState | ( | const StateStoreIt & | itState | ) | [inline] |
Set the state store iterator.
Definition at line 194 of file OSGPriorityAction.inl.
References _itState.
00195 { 00196 _itState = itState; 00197 }
| Int32 osg::PriorityAction::StateRefCount::getRefCount | ( | void | ) | const [inline] |
Return the ref count.
Definition at line 203 of file OSGPriorityAction.inl.
References _refCount.
00204 { 00205 return _refCount; 00206 }
| void osg::PriorityAction::StateRefCount::incRefCount | ( | Int32 | inc = 1 |
) | [inline] |
Increment the ref count.
Definition at line 212 of file OSGPriorityAction.inl.
References _refCount.
00213 { 00214 _refCount += inc; 00215 }
| void osg::PriorityAction::StateRefCount::decRefCount | ( | Int32 | dec = 1 |
) | [inline] |
Decrement the ref count.
Definition at line 221 of file OSGPriorityAction.inl.
References _refCount.
00222 { 00223 _refCount -= dec; 00224 }
Definition at line 186 of file OSGPriorityAction.h.
Referenced by decRefCount(), getRefCount(), and incRefCount().
1.5.5