Show
Ignore:
Timestamp:
04/05/08 20:16:18 (8 months ago)
Author:
vossg
Message:

changed: renamed {X}RefCounts?{X}RefCountPolicy?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/System/FieldContainer/Base/OSGRefCountPolicies.h

    r1112 r1126  
    4545OSG_BEGIN_NAMESPACE 
    4646 
    47 struct RecordedRefCounts 
     47struct RecordedRefCountPolicy 
    4848{ 
    4949    static void addRef(FieldContainerPtrConst objectP) 
     
    6262                        SourceT  pSource) 
    6363    { 
    64         RecordedRefCounts::addRef(pSource); 
    65         RecordedRefCounts::subRef(pTarget); 
     64        RecordedRefCountPolicy::addRef(pSource); 
     65        RecordedRefCountPolicy::subRef(pTarget); 
    6666     
    6767        pTarget = pSource; 
     
    9393}; 
    9494 
    95 struct MTRecordedRefCounts : public RecordedRefCounts 
     95struct MTRecordedRefCountPolicy : public RecordedRefCountPolicy 
    9696{ 
    9797    template <class T> 
     
    108108}; 
    109109 
    110 struct UnrecordedRefCounts 
     110struct UnrecordedRefCountPolicy 
    111111{ 
    112112    static void addRef(FieldContainerPtrConst objectP) 
     
    125125                        SourceT  pSource) 
    126126    { 
    127         UnrecordedRefCounts::addRef(pSource); 
    128         UnrecordedRefCounts::subRef(pTarget); 
     127        UnrecordedRefCountPolicy::addRef(pSource); 
     128        UnrecordedRefCountPolicy::subRef(pTarget); 
    129129     
    130130        pTarget = pSource; 
     
    151151}; 
    152152 
    153 struct NoRefCounts 
     153struct NoRefCountPolicy 
    154154{ 
    155155    static void addRef(FieldContainerPtrConst) 
     
    180180}; 
    181181 
    182 struct WeakRefCounts 
     182struct WeakRefCountPolicy 
    183183{ 
    184184    static void addRef(FieldContainerPtrConst objectP) 
     
    198198                        SourceT  pSource) 
    199199    { 
    200         WeakRefCounts::addRef(pSource); 
    201         WeakRefCounts::subRef(pTarget); 
     200        WeakRefCountPolicy::addRef(pSource); 
     201        WeakRefCountPolicy::subRef(pTarget); 
    202202     
    203203        pTarget = pSource;