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/BalancedMultiWindow/OSGBalancedMultiWindowBase.cpp

    r1032 r1039  
    362362 
    363363//! create a new instance of the class 
    364 BalancedMultiWindowBase::ObjRefPtr 
     364BalancedMultiWindowBase::ObjTransitPtr 
    365365BalancedMultiWindowBase::create(void) 
    366366{ 
    367     ObjRefPtr pFC; 
     367    ObjTransitPtr pFC; 
    368368 
    369369    if(getClassType().getPrototype() != NullFC) 
    370370    { 
    371         pFC = boost::dynamic_pointer_cast<BalancedMultiWindow>( 
     371        pFC = boost::dynamic_pointer_cast< BalancedMultiWindow >( 
    372372            getClassType().getPrototype()->shallowCopy()); 
    373373    } 
     
    386386} 
    387387 
    388 FieldContainerRefPtr 
     388FieldContainerTransitPtr 
    389389BalancedMultiWindowBase::shallowCopy(void) const 
    390390{ 
     
    393393    newPtr(returnValue, dynamic_cast<const BalancedMultiWindow *>(this)); 
    394394 
    395     return FieldContainerRefPtr(returnValue); 
     395    return FieldContainerTransitPtr(returnValue); 
    396396} 
    397397