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

    r1033 r1039  
    9393 
    9494    typedef MTRefCountPtrBuilder      <MoveManipulator>::Ptr ObjMTRefPtr; 
     95    typedef GlobalMTRefCountPtrBuilder<MoveManipulator>::Ptr ObjGlobalMTRefPtr; 
    9596    typedef RefCountPtrBuilder        <MoveManipulator>::Ptr ObjRefPtr; 
     97    typedef GlobalRefCountPtrBuilder  <MoveManipulator>::Ptr ObjGlobalRefPtr; 
    9698    typedef ParentPtrBuilder          <MoveManipulator>::Ptr ObjParentPtr; 
    9799    typedef WeakRefCountPtrBuilder    <MoveManipulator>::Ptr ObjWeakRefPtr; 
    98100    typedef InternalRefCountPtrBuilder<MoveManipulator>::Ptr ObjInternalRefPtr; 
     101    typedef TransitPtrBuilder         <MoveManipulator>::Ptr ObjTransitPtr; 
    99102     
    100103    /*! \}                                                                 */ 
     
    138141    /*! \{                                                                 */ 
    139142 
    140     static  ObjRefPtr        create     (void); 
     143    static  ObjTransitPtr    create     (void); 
    141144    static  MoveManipulatorPtr createEmpty(void); 
    142145 
     
    146149    /*! \{                                                                 */ 
    147150 
    148     virtual FieldContainerRefPtr shallowCopy(void) const; 
     151    virtual FieldContainerTransitPtr shallowCopy(void) const; 
    149152 
    150153    /*! \}                                                                 */ 
     
    227230 
    228231typedef MoveManipulatorBase::ObjRefPtr         MoveManipulatorRefPtr; 
     232typedef MoveManipulatorBase::ObjGlobalRefPtr   MoveManipulatorGlobalRefPtr; 
    229233typedef MoveManipulatorBase::ObjMTRefPtr       MoveManipulatorMTRefPtr; 
     234typedef MoveManipulatorBase::ObjGlobalMTRefPtr MoveManipulatorGlobalMTRefPtr; 
    230235typedef MoveManipulatorBase::ObjWeakRefPtr     MoveManipulatorWeakRefPtr; 
    231236typedef MoveManipulatorBase::ObjParentPtr      MoveManipulatorParentPtr; 
    232237typedef MoveManipulatorBase::ObjInternalRefPtr MoveManipulatorInternalRefPtr; 
     238typedef MoveManipulatorBase::ObjTransitPtr     MoveManipulatorTransitPtr; 
    233239 
    234240typedef boost::mpl::if_c<