Show
Ignore:
Timestamp:
12/03/07 15:48:13 (1 year ago)
Author:
cneumann
Message:

fixed: compile errors

reference counting


It compiles on linux (when disabling the VRML Loader) and the first
ref counting tests seem to work.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork2/Source/System/FieldContainer/Base/OSGFieldContainer.h

    r1017 r1030  
    5252#include "OSGChangedFunctorMFields.h" 
    5353#include "OSGAspectStore.h" 
    54 #include "OSGRefPtr.h" 
    55 #include "OSGWeakPtr.h" 
     54 
     55#include "OSGReferenceCountPointer.h" 
     56 
    5657 
    5758OSG_BEGIN_NAMESPACE 
     
    7980    typedef FieldContainer                                   Self; 
    8081 
    81  
    8282    OSG_GEN_INTERNALPTR(FieldContainer); 
     83     
     84    typedef WeakRefCountPtrBuilder<FieldContainer>::Ptr ObjWeakRefPtr; 
     85    typedef MTRefCountPtrBuilder  <FieldContainer>::Ptr ObjMTRefPtr; 
     86    typedef RefCountPtrBuilder    <FieldContainer>::Ptr ObjRefPtr; 
     87    typedef ParentPtrBuilder      <FieldContainer>::Ptr ObjParentPtr; 
    8388 
    8489    struct  attempt_to_create_CoredNodePtr_on_non_NodeCore_FC {}; 
     
    258263    Int32                     _internalRefCount; 
    259264    Int32                     _weakRefCount; 
     265    bool                      _resolveInProgress; 
     266    bool                      _destroyInProgress; 
    260267 
    261268    /*! \}                                                                 */ 
     
    351358    /*! \name                MT Construction                               */ 
    352359    /*! \{                                                                 */ 
    353  
     360    
    354361            bool destroyAspect(UInt32 const uiContainerId,  
    355362                               UInt32 const uiAspect      ); 
     
    443450}; 
    444451 
     452typedef FieldContainer::ObjRefPtr      FieldContainerRefPtr; 
     453typedef FieldContainer::ObjMTRefPtr    FieldContainerMTRefPtr; 
     454typedef FieldContainer::ObjWeakRefPtr  FieldContainerWeakRefPtr; 
     455typedef FieldContainer::ObjParentPtr   FieldContainerParentPtr; 
     456 
     457 
    445458OSG_SYSTEM_DLLMAPPING 
    446459void appendTypesVector(