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/OSGAttachmentContainer.h

    r1017 r1030  
    7575    typedef AttachmentObjPtrMap::iterator     AttachmentObjPtrMapIt; 
    7676 
     77    OSG_GEN_INTERNALPTR(AttachmentContainer); 
     78 
     79    typedef WeakRefCountPtrBuilder<AttachmentContainer>::Ptr ObjWeakRefPtr; 
     80    typedef MTRefCountPtrBuilder  <AttachmentContainer>::Ptr ObjMTRefPtr; 
     81    typedef RefCountPtrBuilder    <AttachmentContainer>::Ptr ObjRefPtr; 
     82    typedef ParentPtrBuilder      <AttachmentContainer>::Ptr ObjParentPtr; 
    7783     
    78     OSG_GEN_INTERNALPTR(AttachmentContainer); 
    79  
    8084    /*! \}                                                                 */ 
    8185    /*---------------------------------------------------------------------*/ 
     
    266270OSG_GEN_CONTAINERPTR(AttachmentContainer); 
    267271 
    268 typedef RefPtr<AttachmentContainerPtr>      AttachmentContainerRefPtr; 
    269 typedef WeakPtr<AttachmentContainerPtr>     AttachmentContainerWeakPtr; 
     272typedef AttachmentContainer::ObjRefPtr     AttachmentContainerRefPtr; 
     273typedef AttachmentContainer::ObjMTRefPtr   AttachmentContainerMTRefPtr; 
     274typedef AttachmentContainer::ObjWeakRefPtr AttachmentContainerWeakRefPtr; 
     275typedef AttachmentContainer::ObjParentPtr  AttachmentContainerParentPtr; 
     276 
    270277 
    271278OSG_SYSTEM_DLLMAPPING