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

    r1014 r1030  
    5151#include "OSGSystemDef.h" 
    5252#include "OSGBaseTypes.h" 
     53#include "OSGLog.h" 
    5354#include "OSGMemoryObject.h" 
    5455#include "OSGThread.h" 
     
    7576    { 
    7677        Create               = 0x0001, 
    77         AddReference         = 0x0002, 
    78         SubReference         = 0x0004, 
    79         DepSubReference      = 0x0008, 
    80         AddExternalReference = 0x0010, 
    81         SubExternalReference = 0x0020, 
    82         Change               = 0x0040 
     78        AddExternalReference = 0x0002, 
     79        SubExternalReference = 0x0004, 
     80        Change               = 0x0010 
    8381    }; 
    8482 
     
    254252 
    255253    UInt32             _uiAspect; 
    256     Int32              _iSubRefLevel; 
    257254 
    258255    bool               _bExternal; 
     
    282279    /*! \{                                                                 */ 
    283280 
    284     void addAddRefd        (const UInt32 uiContainerId); 
    285     void addSubRefd        (const UInt32 uiContainerId, 
    286                                   bool   ignoreLevel = false); 
    287  
    288     void addAddExternalRefd(const UInt32 uiContainerId); 
    289     void addSubExternalRefd(const UInt32 uiContainerId); 
     281    void addAddExternalRef(const UInt32 uiContainerId); 
     282    void addSubExternalRef(const UInt32 uiContainerId); 
    290283                             
    291     void addCreated        (const UInt32 uiContainerId); 
     284    void addCreated       (const UInt32 uiContainerId); 
    292285 
    293286    /*! \}                                                                 */ 
     
    305298 
    306299    void addUncommited(ContainerChangeEntry *pEntry); 
    307  
    308     /*! \}                                                                 */ 
    309     /*---------------------------------------------------------------------*/ 
    310     /*! \name                    Assignment                                */ 
    311     /*! \{                                                                 */ 
    312  
    313     void incSubRefLevel(void); 
    314     void decSubRefLevel(void); 
    315300 
    316301    /*! \}                                                                 */