Show
Ignore:
Timestamp:
01/16/08 16:07:40 (10 months ago)
Author:
cneumann
Message:

changed: - factory functions return a TransitPtr? that can not be implicitly

converted to C Ptr. Should help with porting.

added: - GlobalRefPtr?, needed for cases where upon return from main

a RefPtr? goes out of scope (it would attempt to access the
FCFactory which is already shutdown at that point).

status: - vrml loader does not compile (needs porting to ref ptr)

  • tutorials compile, run and exit cleanly
  • multithreading and cluster are untested, yet
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork2/Source/System/Cluster/Window/SortLast/OSGSortLastWindowBase.h

    r1033 r1039  
    9999 
    100100    typedef MTRefCountPtrBuilder      <SortLastWindow>::Ptr ObjMTRefPtr; 
     101    typedef GlobalMTRefCountPtrBuilder<SortLastWindow>::Ptr ObjGlobalMTRefPtr; 
    101102    typedef RefCountPtrBuilder        <SortLastWindow>::Ptr ObjRefPtr; 
     103    typedef GlobalRefCountPtrBuilder  <SortLastWindow>::Ptr ObjGlobalRefPtr; 
    102104    typedef ParentPtrBuilder          <SortLastWindow>::Ptr ObjParentPtr; 
    103105    typedef WeakRefCountPtrBuilder    <SortLastWindow>::Ptr ObjWeakRefPtr; 
    104106    typedef InternalRefCountPtrBuilder<SortLastWindow>::Ptr ObjInternalRefPtr; 
     107    typedef TransitPtrBuilder         <SortLastWindow>::Ptr ObjTransitPtr; 
    105108     
    106109    /*! \}                                                                 */ 
     
    233236    /*! \{                                                                 */ 
    234237 
    235     static  ObjRefPtr        create     (void); 
     238    static  ObjTransitPtr    create     (void); 
    236239    static  SortLastWindowPtr createEmpty(void); 
    237240 
     
    241244    /*! \{                                                                 */ 
    242245 
    243     virtual FieldContainerRefPtr shallowCopy(void) const; 
     246    virtual FieldContainerTransitPtr shallowCopy(void) const; 
    244247 
    245248    /*! \}                                                                 */ 
     
    338341 
    339342typedef SortLastWindowBase::ObjRefPtr         SortLastWindowRefPtr; 
     343typedef SortLastWindowBase::ObjGlobalRefPtr   SortLastWindowGlobalRefPtr; 
    340344typedef SortLastWindowBase::ObjMTRefPtr       SortLastWindowMTRefPtr; 
     345typedef SortLastWindowBase::ObjGlobalMTRefPtr SortLastWindowGlobalMTRefPtr; 
    341346typedef SortLastWindowBase::ObjWeakRefPtr     SortLastWindowWeakRefPtr; 
    342347typedef SortLastWindowBase::ObjParentPtr      SortLastWindowParentPtr; 
    343348typedef SortLastWindowBase::ObjInternalRefPtr SortLastWindowInternalRefPtr; 
     349typedef SortLastWindowBase::ObjTransitPtr     SortLastWindowTransitPtr; 
    344350 
    345351typedef boost::mpl::if_c<