Show
Ignore:
Timestamp:
04/02/08 14:18:07 (8 months ago)
Author:
cneumann
Message:

replaced pointer field implementation
split FieldContainer/Fields? directory into Base and Handle subdir

Status: - ref counting seems to work (mt, cluster)

  • new OSB loader works (well, the unittest does)
  • VRML loader is deactivated
  • get/edit handle for dynamic (pointer) fields missing
  • need to remove some more old files - they get moved in this commit
  • generated (i.e. base) code in following commit
Files:

Legend:

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

    r1033 r1072  
    7272    typedef MTRefCountPtrBuilder  <FieldContainerAttachment>::Ptr ObjMTRefPtr; 
    7373    typedef RefCountPtrBuilder    <FieldContainerAttachment>::Ptr ObjRefPtr; 
    74     typedef ParentPtrBuilder      <FieldContainerAttachment>::Ptr ObjParentPtr; 
    7574     
    7675    /*! \}                                                                 */ 
     
    125124    /*! \{                                                                 */ 
    126125 
    127     void addParent(      FieldContainerPtrConst parent,  
    128                    const UInt16                 uiStoredInFieldId =  
    129                                                             InvalidParentEPos); 
    130  
    131     void subParent(FieldContainerPtrConst       parent                       ); 
     126//     void addParent(      FieldContainerPtrConst parent,  
     127//                    const UInt16                 uiStoredInFieldId =  
     128//                                                             InvalidParentEPos); 
     129//  
     130//     void subParent(FieldContainerPtrConst       parent                       ); 
    132131 
    133132    /*! \}                                                                 */ 
     
    169168    /*! \}                                                                 */ 
    170169    /*---------------------------------------------------------------------*/ 
    171     /*! \name Parent Linking                                               */ 
     170    /*! \name Child Linking                                                */ 
    172171    /*! \{                                                                 */ 
    173172 
    174173    OSG_SYSTEM_DLLMAPPING 
    175     virtual bool linkParent  (ReflexiveContainer * const pParent, 
    176                               UInt16               const childrenFieldId, 
    177                               UInt16               const parentFieldId   ); 
     174    virtual bool linkParent  (FieldContainerPtrConst pParent, 
     175                              UInt16 const           childFieldId, 
     176                              UInt16 const          parentFieldId   ); 
    178177    OSG_SYSTEM_DLLMAPPING 
    179     virtual bool unlinkParent(ReflexiveContainer * const pParent, 
    180                               UInt16               const childrenFieldId, 
    181                               UInt16               const parentFieldId   ); 
     178    virtual bool unlinkParent(FieldContainerPtrConst pParent, 
     179                              UInt16 const           parentFieldId   ); 
    182180     
    183181    /*! \}                                                                 */ 
     
    262260typedef FieldContainerAttachment::ObjMTRefPtr       FieldContainerAttachmentMTRefPtr; 
    263261typedef FieldContainerAttachment::ObjWeakRefPtr     FieldContainerAttachmentWeakRefPtr; 
    264 typedef FieldContainerAttachment::ObjParentPtr      FieldContainerAttachmentParentPtr; 
    265262 
    266263#ifdef OSG_1_COMPAT