- Timestamp:
- 04/05/08 20:16:18 (8 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/System/FieldContainer/Base/OSGRefCountPolicies.h
r1112 r1126 45 45 OSG_BEGIN_NAMESPACE 46 46 47 struct RecordedRefCount s47 struct RecordedRefCountPolicy 48 48 { 49 49 static void addRef(FieldContainerPtrConst objectP) … … 62 62 SourceT pSource) 63 63 { 64 RecordedRefCount s::addRef(pSource);65 RecordedRefCount s::subRef(pTarget);64 RecordedRefCountPolicy::addRef(pSource); 65 RecordedRefCountPolicy::subRef(pTarget); 66 66 67 67 pTarget = pSource; … … 93 93 }; 94 94 95 struct MTRecordedRefCount s : public RecordedRefCounts95 struct MTRecordedRefCountPolicy : public RecordedRefCountPolicy 96 96 { 97 97 template <class T> … … 108 108 }; 109 109 110 struct UnrecordedRefCount s110 struct UnrecordedRefCountPolicy 111 111 { 112 112 static void addRef(FieldContainerPtrConst objectP) … … 125 125 SourceT pSource) 126 126 { 127 UnrecordedRefCount s::addRef(pSource);128 UnrecordedRefCount s::subRef(pTarget);127 UnrecordedRefCountPolicy::addRef(pSource); 128 UnrecordedRefCountPolicy::subRef(pTarget); 129 129 130 130 pTarget = pSource; … … 151 151 }; 152 152 153 struct NoRefCount s153 struct NoRefCountPolicy 154 154 { 155 155 static void addRef(FieldContainerPtrConst) … … 180 180 }; 181 181 182 struct WeakRefCount s182 struct WeakRefCountPolicy 183 183 { 184 184 static void addRef(FieldContainerPtrConst objectP) … … 198 198 SourceT pSource) 199 199 { 200 WeakRefCount s::addRef(pSource);201 WeakRefCount s::subRef(pTarget);200 WeakRefCountPolicy::addRef(pSource); 201 WeakRefCountPolicy::subRef(pTarget); 202 202 203 203 pTarget = pSource;
