Show
Ignore:
Timestamp:
01/16/08 16:07:40 (11 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/Contrib/Manipulators/OSGRotateManipulatorBase.h

    r1033 r1039  
    9393 
    9494    typedef MTRefCountPtrBuilder      <RotateManipulator>::Ptr ObjMTRefPtr; 
     95    typedef GlobalMTRefCountPtrBuilder<RotateManipulator>::Ptr ObjGlobalMTRefPtr; 
    9596    typedef RefCountPtrBuilder        <RotateManipulator>::Ptr ObjRefPtr; 
     97    typedef GlobalRefCountPtrBuilder  <RotateManipulator>::Ptr ObjGlobalRefPtr; 
    9698    typedef ParentPtrBuilder          <RotateManipulator>::Ptr ObjParentPtr; 
    9799    typedef WeakRefCountPtrBuilder    <RotateManipulator>::Ptr ObjWeakRefPtr; 
    98100    typedef InternalRefCountPtrBuilder<RotateManipulator>::Ptr ObjInternalRefPtr; 
     101    typedef TransitPtrBuilder         <RotateManipulator>::Ptr ObjTransitPtr; 
    99102     
    100103    /*! \}                                                                 */ 
     
    138141    /*! \{                                                                 */ 
    139142 
    140     static  ObjRefPtr        create     (void); 
     143    static  ObjTransitPtr    create     (void); 
    141144    static  RotateManipulatorPtr createEmpty(void); 
    142145 
     
    146149    /*! \{                                                                 */ 
    147150 
    148     virtual FieldContainerRefPtr shallowCopy(void) const; 
     151    virtual FieldContainerTransitPtr shallowCopy(void) const; 
    149152 
    150153    /*! \}                                                                 */ 
     
    227230 
    228231typedef RotateManipulatorBase::ObjRefPtr         RotateManipulatorRefPtr; 
     232typedef RotateManipulatorBase::ObjGlobalRefPtr   RotateManipulatorGlobalRefPtr; 
    229233typedef RotateManipulatorBase::ObjMTRefPtr       RotateManipulatorMTRefPtr; 
     234typedef RotateManipulatorBase::ObjGlobalMTRefPtr RotateManipulatorGlobalMTRefPtr; 
    230235typedef RotateManipulatorBase::ObjWeakRefPtr     RotateManipulatorWeakRefPtr; 
    231236typedef RotateManipulatorBase::ObjParentPtr      RotateManipulatorParentPtr; 
    232237typedef RotateManipulatorBase::ObjInternalRefPtr RotateManipulatorInternalRefPtr; 
     238typedef RotateManipulatorBase::ObjTransitPtr     RotateManipulatorTransitPtr; 
    233239 
    234240typedef boost::mpl::if_c<