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/Contrib/Manipulators/OSGScaleManipulatorBase.cpp

    r1032 r1039  
    160160 
    161161//! create a new instance of the class 
    162 ScaleManipulatorBase::ObjRefPtr 
     162ScaleManipulatorBase::ObjTransitPtr 
    163163ScaleManipulatorBase::create(void) 
    164164{ 
    165     ObjRefPtr pFC; 
     165    ObjTransitPtr pFC; 
    166166 
    167167    if(getClassType().getPrototype() != NullFC) 
    168168    { 
    169         pFC = boost::dynamic_pointer_cast<ScaleManipulator>( 
     169        pFC = boost::dynamic_pointer_cast< ScaleManipulator >( 
    170170            getClassType().getPrototype()->shallowCopy()); 
    171171    } 
     
    184184} 
    185185 
    186 FieldContainerRefPtr 
     186FieldContainerTransitPtr 
    187187ScaleManipulatorBase::shallowCopy(void) const 
    188188{ 
     
    191191    newPtr(returnValue, dynamic_cast<const ScaleManipulator *>(this)); 
    192192 
    193     return FieldContainerRefPtr(returnValue); 
     193    return FieldContainerTransitPtr(returnValue); 
    194194} 
    195195